-
Notifications
You must be signed in to change notification settings - Fork 72
Fix: wireless_scanning needs to be run as root while run it remotely. (BugFix) #669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
I'm very late to the game, sorry about this! I tried to run
Result: (don't mind the error in the middle of the output, I logged it as #778 ) Moreover, I don't know how to read the Jenkins log... it seems no Checkbox job was run at all? |
|
Updated the link of the failure job, you should be able to see the failure directly. |
|
I've run the following test on a Raspberry Pi 4 running UC22. The wireless module is the same as on the device you're having problems with: If I try to run the If I add It looks indeed like some wireless modules only expose information to the root user. It's the case for this module, for instance: In my case, I have not been able to reproduce the issue you were having ( So I guess we can, indeed, make sure that this job is executed as root. |
|
@kevinyehk can you:
|
5388005 to
470cb41
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #669 +/- ##
======================================
Coverage ? 4.63%
======================================
Files ? 126
Lines ? 14030
Branches ? 2374
======================================
Hits ? 650
Misses ? 13322
Partials ? 58
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
@pieqq Done! |
yphus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
… (BugFix) (canonical#669) Fix: wireless_scanning needs to be run as root while run it remotely.
Description
During the setup of Denver Keurig project, I found that when I run the test from Jenkins, wireless_scanning_wlan0 will fail, but when I run the test from the DUT directly, it will pass.
According to past experience, it should be the issue which the test case didn't indicate the user: root.
Resolved issues
Please refer to the failure from Jenkins job
Documentation
N/A
Tests