network-manager ADT tests fail with on ppc64el with artful/linux 4.13.0.17.18
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Fix Released
|
Medium
|
Seyeong Kim | ||
Artful |
Won't Fix
|
Medium
|
Unassigned | ||
Bionic |
Won't Fix
|
Medium
|
Seyeong Kim | ||
Disco |
Won't Fix
|
Medium
|
Unassigned | ||
Eoan |
Fix Released
|
Medium
|
Seyeong Kim | ||
Focal |
Fix Committed
|
Medium
|
Seyeong Kim |
Bug Description
[Impact]
The killswitches-
ppc64el ADT log from failed testcase: https:/
Testcase output:
-----
autopkgtest [10:04:48]: test killswitches-
make -C /lib/modules/
make[1]: Entering directory '/usr/src/
AR /tmp/autopkgtes
CC [M] /tmp/autopkgtes
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/autopkgtes
LD [M] /tmp/autopkgtes
make[1]: Leaving directory '/usr/src/
ERROR: NM could not track device state.
autopkgtest [10:05:20]: test killswitches-
autopkgtest [10:05:20]: test killswitches-
killswitches-
-----
Package versions [artful/ppc64el]:
network-manager 1.8.4-1ubuntu3
linux-meta 4.13.0.17.18
[Test Case]
Assume that test vm and host are ppc64
1. deploy ppc64 vm instance ( with 1 cpu )
2. modprobe mac80211_hwsim ( may need to install linux-modules-
3. apt install network-manager rfkill
4. modify /etc/netplan/
5. netplan apply
6. run below command
- nmcli radio wifi ; rfkill list 0 ; rfkill block 0 ; rfkill list 0 ; nmcli radio wifi ; rfkill list 0 ; rfkill unblock 0 ; rfkill list 0 ; nmcli radio wifi
enabled
0: fake: Wireless LAN
Soft blocked: no
Hard blocked: no
0: fake: Wireless LAN
Soft blocked: yes
Hard blocked: no
enabled
0: fake: Wireless LAN
Soft blocked: yes
Hard blocked: no
0: fake: Wireless LAN
Soft blocked: no
Hard blocked: no
enabled
second 'enabled' should be 'disabled' but not updated properly.
Adding "udevadm settle" in test file ( killswitches-
rfkill block/unblock and nmcli radio wifi will help updating status changes after rfkill block/unblock.
[Regression Potential]
This fixes testcase only, so any regression would cause incorrect test pass/fail, and might cause other missed bugs.
[scope]
this is needed for all releases. Debian does not include this autopkgtest, and so does not need this fix.
[Other Info]
this is caused by the 'systemd-
There are (at least) 2 options to fix this:
1) stop/disable the 'systemd-
2) call udevadm settle between the rfkill block/unblock and the nmcli call to check status
This does not need to be fixed outside the test case, as normal nmcli use should be not done by users in a script immediately after changing rfkill state, nor is there anything that either rfkill or nmcli could even do to address this (technically, nmcli could internally issue a 'udevadm settle' every time it's called, but that seems paranoid and extreme).
[original description]
On ppc64el architecture, it was observed that a fix for systemd is also needed (see bug 1734908) for the testcase to be successful.
# original test case
2.1. Download network-manager package source code
$ apt-get source network-manager
2.2. Run killswitches-
$ cd network-
$ sudo ./debian/
Changed in linux (Ubuntu Artful): | |
status: | New → Triaged |
Changed in linux (Ubuntu): | |
status: | Incomplete → Triaged |
Changed in linux (Ubuntu Artful): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: kernel-key |
description: | updated |
tags: | removed: kernel-key |
Changed in network-manager (Ubuntu): | |
importance: | Undecided → Medium |
Changed in network-manager (Ubuntu Artful): | |
importance: | Undecided → Medium |
no longer affects: | linux (Ubuntu Artful) |
no longer affects: | linux (Ubuntu) |
tags: | added: testcase |
Changed in network-manager (Ubuntu Disco): | |
status: | New → Won't Fix |
tags: | added: sts-sponsor-volunteer |
Changed in network-manager (Ubuntu Eoan): | |
assignee: | nobody → Dariusz Gadomski (dgadomski) |
Changed in network-manager (Ubuntu Focal): | |
assignee: | nobody → Dariusz Gadomski (dgadomski) |
Changed in network-manager (Ubuntu Eoan): | |
assignee: | Dariusz Gadomski (dgadomski) → nobody |
Changed in network-manager (Ubuntu Focal): | |
assignee: | Dariusz Gadomski (dgadomski) → nobody |
Changed in network-manager (Ubuntu Eoan): | |
status: | New → Won't Fix |
tags: | removed: artful |
description: | updated |
description: | updated |
description: | updated |
tags: | added: block-proposed-bionic block-proposed-eoan block-proposed-focal |
Changed in network-manager (Ubuntu Eoan): | |
status: | Won't Fix → In Progress |
Changed in network-manager (Ubuntu Focal): | |
status: | New → In Progress |
Changed in network-manager (Ubuntu Bionic): | |
status: | New → In Progress |
assignee: | nobody → Seyeong Kim (xtrusia) |
Changed in network-manager (Ubuntu Eoan): | |
assignee: | nobody → Seyeong Kim (xtrusia) |
Changed in network-manager (Ubuntu Bionic): | |
importance: | Undecided → Medium |
tags: | removed: block-proposed-focal |
tags: | removed: block-proposed-eoan |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1733321
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.