tests:wifi: Replace deprecated ISC dhclient & fail properly#541
Merged
slyon merged 5 commits intocanonical:mainfrom Feb 6, 2025
Merged
tests:wifi: Replace deprecated ISC dhclient & fail properly#541slyon merged 5 commits intocanonical:mainfrom
slyon merged 5 commits intocanonical:mainfrom
Conversation
Contributor
Author
|
Now that the We can also see that the wifi tests are now properly marked as SKIP: |
Avoid warnings like this across the test suite: ** (process:7269): WARNING **: 09:18:54.621: Permissions for /etc/netplan/01-main.yaml are too open. Netplan configuration should NOT be accessible by others.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
We cannot rely blindly on ISC
dhclient(which is deprecated and not pre-installed in Ubuntu anymore) leading to failures, like:Also, we should not just SKIP tests which then report as Success (OK/PASS), but rather check the conditions (ability to
modprobe cfg80211&modprobe mac80211_hwsim) and SKIP if those are not given. Avoiding false-positives like this:This should go hand-in-hand with (and CI will only PASS again, once that's in Debian testing / Ubuntu devel):
https://salsa.debian.org/debian/netplan.io/-/commit/268f63ed128af009e8e6778643db93bdd4fc1d4f
https://salsa.debian.org/debian/netplan.io/-/commit/51bc66b47ad065eb1651d3e9391492c88a3ba949
Checklist
make checksuccessfully.make check-coverage).