← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2125614] [NEW] boot-and-services: FAIL: test_profile (__main__.AppArmorTest.test_profile)

 

Public bug reported:

899s ======================================================================
899s FAIL: test_profile (__main__.AppArmorTest.test_profile)
899s AppArmor confined unit
899s ----------------------------------------------------------------------
899s Traceback (most recent call last):
899s   File "/tmp/autopkgtest.BE8zv7/build.fTo/src/debian/tests/boot-and-services", line 269, in test_profile
899s     self.assertIn('inactive', out)
899s     ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
899s AssertionError: 'inactive' not found in "× violator.service - AppArmor test\n     Loaded: loaded (/run/systemd/system/violator.service; static)\n     Active: failed (Result: exit-code) since Tue 2025-09-23 14:43:46 UTC; 8ms ago\n   Duration: 21ms\n Invocation: 74779bd28b034c1d8c62d034e6f1d3ec\n    Process: 1524 ExecStart=/bin/sh -euc echo CP1; cat /etc/machine-id; echo CP2; if cat /etc/passwd; then exit 1; fi; echo CP3 (code=exited, status=126)\n   Main PID: 1524 (code=exited, status=126)\n   Mem peak: 1.7M\n        CPU: 3ms\n\nSep 23 14:43:46 autopkgtest systemd[1]: Started violator.service - AppArmor test.\nSep 23 14:43:46 autopkgtest sh[1524]: CP1\nSep 23 14:43:46 autopkgtest sh[1526]: /bin/sh: 1: cat: Permission denied\nSep 23 14:43:46 autopkgtest systemd[1]: violator.service: Main process exited, code=exited, status=126/n/a\nSep 23 14:43:46 autopkgtest systemd[1]: violator.service: Failed with result 'exit-code'.\n"
899s
899s ----------------------------------------------------------------------
899s Ran 21 tests in 7.258s
899s

This appears to be related to the apparmor/coreutils churn.

https://autopkgtest.ubuntu.com/results/autopkgtest-
questing/questing/amd64/s/systemd/20250923_120028_eface@/log.gz

** Affects: systemd (Ubuntu)
     Importance: Undecided
     Assignee: Nick Rosbrook (enr0n)
         Status: New


** Tags: dcr-incoming

** Description changed:

  899s ======================================================================
  899s FAIL: test_profile (__main__.AppArmorTest.test_profile)
  899s AppArmor confined unit
  899s ----------------------------------------------------------------------
  899s Traceback (most recent call last):
  899s   File "/tmp/autopkgtest.BE8zv7/build.fTo/src/debian/tests/boot-and-services", line 269, in test_profile
  899s     self.assertIn('inactive', out)
  899s     ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  899s AssertionError: 'inactive' not found in "× violator.service - AppArmor test\n     Loaded: loaded (/run/systemd/system/violator.service; static)\n     Active: failed (Result: exit-code) since Tue 2025-09-23 14:43:46 UTC; 8ms ago\n   Duration: 21ms\n Invocation: 74779bd28b034c1d8c62d034e6f1d3ec\n    Process: 1524 ExecStart=/bin/sh -euc echo CP1; cat /etc/machine-id; echo CP2; if cat /etc/passwd; then exit 1; fi; echo CP3 (code=exited, status=126)\n   Main PID: 1524 (code=exited, status=126)\n   Mem peak: 1.7M\n        CPU: 3ms\n\nSep 23 14:43:46 autopkgtest systemd[1]: Started violator.service - AppArmor test.\nSep 23 14:43:46 autopkgtest sh[1524]: CP1\nSep 23 14:43:46 autopkgtest sh[1526]: /bin/sh: 1: cat: Permission denied\nSep 23 14:43:46 autopkgtest systemd[1]: violator.service: Main process exited, code=exited, status=126/n/a\nSep 23 14:43:46 autopkgtest systemd[1]: violator.service: Failed with result 'exit-code'.\n"
- 899s 
+ 899s
  899s ----------------------------------------------------------------------
  899s Ran 21 tests in 7.258s
- 899s 
+ 899s
  
  This appears to be related to the apparmor/coreutils churn.
+ 
+ https://autopkgtest.ubuntu.com/results/autopkgtest-
+ questing/questing/amd64/s/systemd/20250923_120028_eface@/log.gz

** Tags added: dcr-incoming

** Changed in: systemd (Ubuntu)
     Assignee: (unassigned) => Nick Rosbrook (enr0n)

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2125614

Title:
  boot-and-services: FAIL: test_profile
  (__main__.AppArmorTest.test_profile)

Status in systemd package in Ubuntu:
  New

Bug description:
  899s ======================================================================
  899s FAIL: test_profile (__main__.AppArmorTest.test_profile)
  899s AppArmor confined unit
  899s ----------------------------------------------------------------------
  899s Traceback (most recent call last):
  899s   File "/tmp/autopkgtest.BE8zv7/build.fTo/src/debian/tests/boot-and-services", line 269, in test_profile
  899s     self.assertIn('inactive', out)
  899s     ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  899s AssertionError: 'inactive' not found in "× violator.service - AppArmor test\n     Loaded: loaded (/run/systemd/system/violator.service; static)\n     Active: failed (Result: exit-code) since Tue 2025-09-23 14:43:46 UTC; 8ms ago\n   Duration: 21ms\n Invocation: 74779bd28b034c1d8c62d034e6f1d3ec\n    Process: 1524 ExecStart=/bin/sh -euc echo CP1; cat /etc/machine-id; echo CP2; if cat /etc/passwd; then exit 1; fi; echo CP3 (code=exited, status=126)\n   Main PID: 1524 (code=exited, status=126)\n   Mem peak: 1.7M\n        CPU: 3ms\n\nSep 23 14:43:46 autopkgtest systemd[1]: Started violator.service - AppArmor test.\nSep 23 14:43:46 autopkgtest sh[1524]: CP1\nSep 23 14:43:46 autopkgtest sh[1526]: /bin/sh: 1: cat: Permission denied\nSep 23 14:43:46 autopkgtest systemd[1]: violator.service: Main process exited, code=exited, status=126/n/a\nSep 23 14:43:46 autopkgtest systemd[1]: violator.service: Failed with result 'exit-code'.\n"
  899s
  899s ----------------------------------------------------------------------
  899s Ran 21 tests in 7.258s
  899s

  This appears to be related to the apparmor/coreutils churn.

  https://autopkgtest.ubuntu.com/results/autopkgtest-
  questing/questing/amd64/s/systemd/20250923_120028_eface@/log.gz

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



Follow ups