** Description changed:

- Regression tests upstream for AppArmor were updated by
- https://gitlab.com/apparmor/apparmor/-/merge_requests/1788 to include
- workarounds and fixes for issues caused Rust coreutils. Some of these
- are no longer necessary, but the ones that still are should be packaged
- up as well.
+ [ Impact ]
+ 
+ Some of the AppArmor regression tests (file_unbindable_mount,
+ overlayfs_kernel, overlayfs_fuse) were failing spuriously due to the
+ introduction of Rust coreutils. While this is not a bug in AppArmor
+ itself, these failures could mask other bugs that would genuinely cause
+ these tests to fail.
+ 
+ [ Test Plan ]
+ 
+ The regression tests are run as part of the QRT test suite.
+  * To prepare the QRT test suite (can be done on any machine):
+    - `git clone https://git.launchpad.net/qa-regression-testing`
+    - `./scripts/make-test-tarball ./scripts/test-apparmor.py`
+  * To run the QRT test suite:
+    - Copy the tarball onto the machine with the new AppArmor installed and 
extract it
+    - `sudo ./install-packages test-apparmor.py`
+    - Reboot after dependency installation
+    - `sudo ./test-apparmor.py -v`
+ 
+ [ Where problems could occur ]
+ 
+ These are only changes to the testsuite as opposed to anything that gets
+ packaged in the final binary packages. However, the potential exists for
+ the testsuites changes to inadvertently loosen the tests in a way that
+ would cause the affected tests to pass when they should not.
+ 
+ [ Other Info ]
+ 
+ The tests were first updated upstream at
+ https://gitlab.com/apparmor/apparmor/-/merge_requests/1788. Not all of
+ the changes in that MR are needed anymore, so the Ubuntu patch cherry-
+ picks the ones that are.

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

Title:
  Regression test updates for Rust coreutils needs packaging

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2129779/+subscriptions


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

Reply via email to