** Also affects: network-manager (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Also affects: network-manager (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Changed in: network-manager (Ubuntu Jammy)
       Status: New => Confirmed

** Changed in: network-manager (Ubuntu Noble)
       Status: New => Confirmed

** Description changed:

  In jammy and noble, debian/tests/nm.py uses apparmor_parser.  I don't
- see this in question or resolute.
+ see this in questing or resolute.
  
  The problem is debian/tests/control does not list apparmor.  This causes
  autopkgtests to fail.  I assume that in the past, apparmor was simply
  always there, but now (to my surprise) it does not seem to be.
  
  This is easily reproduced locally using autopkgtest, and it also caused
  the dnsmasq jammy-proposed build failure.
  
  This should have no impact on any real users, but is blocking other
  packages from being SRUd.
  
   affects ubuntu/network-manager

** Description changed:

  In jammy and noble, debian/tests/nm.py uses apparmor_parser.  I don't
  see this in questing or resolute.
  
  The problem is debian/tests/control does not list apparmor.  This causes
  autopkgtests to fail.  I assume that in the past, apparmor was simply
  always there, but now (to my surprise) it does not seem to be.
  
  This is easily reproduced locally using autopkgtest, and it also caused
  the dnsmasq jammy-proposed build failure.
  
  This should have no impact on any real users, but is blocking other
  packages from being SRUd.
  
   affects ubuntu/network-manager
+ 
+ SRU Justification:
+ 
+ 
+ [ Impact ]
+ 
+  * This prevents updates from passing autopkgtest, and is blocking
+    a dnsmasq fix in jammy.
+  * The fix simply ensures that apparmor package (for apparmor_parser
+    utility) is installed.
+  * Questing and raring are not impacted because they no longer have
+    the apparmor_parser call in the nm.py test.
+ 
+ [ Test Plan ]
+ 
+  * I simply did
+ 
+    sudo autopkgtest -s network-manager_1.36.6-0ubuntu2.2.dsc -- qemu
+ /home/serge/autopkgtest-jammy-amd64.img
+ 
+    to reproduce the failure, and then
+ 
+    sudo autopkgtest -s network-manager_1.36.6-0ubuntu2.3.dsc -- qemu
+ /home/serge/autopkgtest-jammy-amd64.img
+ 
+    with the new package, showing it passed the tests.
+ 
+    Note that if you use autopkgtest-buildvm-ubuntu, you end up with
+    a kvm kernel which lacks a network driver which causes another
+    test to fail.  You can either mount the .img file and edit
+    /boot/grub/grub.cfg to switch to the generic kernel, or, if using
+    autopkgtest -s, you can hit enter after that failed test to proceed
+    to the nm.py tests.
+ 
+ [ Where problems could occur ]
+ 
+  * The actual network-manager code and packaging is not changed.  The
+    only change is to the directives for autopkgtest.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2142407

Title:
  network manager tests use apparmor_parser

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/2142407/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to