| Summary: |
testimage requires sudo password to execute runqemu-ifup and runqemu-ifdown |
| Product: |
[QA/Testing] Runtime Testing
|
Reporter: |
Stephano Cetola <stephano> |
| Component: |
general | Assignee: |
Stephano Cetola <stephano> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
Medium
|
CC: |
sgw
|
| Version: |
unspecified | |
|
| Target Milestone: |
2.2 M4 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
| Attachments: |
|
Created attachment 3323 [details] warnings and errors from "-c testimage" If the user has not added runqemu-ifup and runqemu-ifdown to their sudoers file as "ALL=NOPASSWD", running "-c testimage" on any image will produce an error that is vague. Current Error: sudo: no tty present and no askpass program specified Error should say something like: Failed to run runqemu-ifup or runqemu-ifdown. Timed out waiting for sudo password. sudo: no tty present and no askpass program specified To be fair, it is very easy to google the fix for this error, assuming one knows which script is being called with 'sudo'.