Public bug reported:

7373s =================================== FAILURES 
===================================
7373s __________________________ T.test_crash_system_slice 
___________________________
7373s 
7373s self = <tests.system.test_signal_crashes.T 
testMethod=test_crash_system_slice>
7373s 
7373s     @unittest.skipIf(
7373s         get_init_system() != "systemd", "running init system is not 
systemd"
7373s     )
7373s     @skip_if_command_is_missing("systemd-run")
7373s     @unittest.skipIf(os.geteuid() != 0, "this test needs to be run as 
root")
7373s     def test_crash_system_slice(self):
7373s         """Report generation for a protected process running in the system
7373s         slice"""
7373s         apport.fileutils.report_dir = self.orig_report_dir
7373s         self.test_report = os.path.join(
7373s             apport.fileutils.report_dir,
7373s             f"{self.TEST_EXECUTABLE.replace('/', 
'_')}.{os.getuid()}.crash",
7373s         )
7373s     
7373s         system_run = self.create_test_process(
7373s             command="/usr/bin/systemd-run",
7373s             args=[
7373s                 "-t",
7373s                 "-q",
7373s                 "--slice=system.slice",
7373s                 "-p",
7373s                 "ProtectSystem=true",
7373s                 self.TEST_EXECUTABLE,
7373s             ]
7373s             + self.TEST_ARGS,
7373s         )
7373s         try:
7373s             pids = pidof(self.TEST_EXECUTABLE) - 
self.running_test_executables
7373s >           self.assertEqual(len(pids), 1)
7373s E           AssertionError: 0 != 1
7373s 
7373s 
/tmp/autopkgtest.JkYKWH/autopkgtest_tmp/tests/system/test_signal_crashes.py:240:
 AssertionError


https://autopkgtest.ubuntu.com/results/autopkgtest-noble/noble/armhf/a/apport/20240802_185146_b3174@/log.gz

** Affects: apport
     Importance: Undecided
     Assignee: Chris Peterson (cpete)
         Status: In Progress

** Affects: apport (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: apport
   Importance: Undecided
       Status: New

** Changed in: apport
     Assignee: (unassigned) => Chris Peterson (cpete)

** Changed in: apport
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2076186

Title:
  tests/system/test_signal_crashes::T::test_crash_system_slice fails on
  armhf

Status in Apport:
  In Progress
Status in apport package in Ubuntu:
  New

Bug description:
  7373s =================================== FAILURES 
===================================
  7373s __________________________ T.test_crash_system_slice 
___________________________
  7373s 
  7373s self = <tests.system.test_signal_crashes.T 
testMethod=test_crash_system_slice>
  7373s 
  7373s     @unittest.skipIf(
  7373s         get_init_system() != "systemd", "running init system is not 
systemd"
  7373s     )
  7373s     @skip_if_command_is_missing("systemd-run")
  7373s     @unittest.skipIf(os.geteuid() != 0, "this test needs to be run as 
root")
  7373s     def test_crash_system_slice(self):
  7373s         """Report generation for a protected process running in the 
system
  7373s         slice"""
  7373s         apport.fileutils.report_dir = self.orig_report_dir
  7373s         self.test_report = os.path.join(
  7373s             apport.fileutils.report_dir,
  7373s             f"{self.TEST_EXECUTABLE.replace('/', 
'_')}.{os.getuid()}.crash",
  7373s         )
  7373s     
  7373s         system_run = self.create_test_process(
  7373s             command="/usr/bin/systemd-run",
  7373s             args=[
  7373s                 "-t",
  7373s                 "-q",
  7373s                 "--slice=system.slice",
  7373s                 "-p",
  7373s                 "ProtectSystem=true",
  7373s                 self.TEST_EXECUTABLE,
  7373s             ]
  7373s             + self.TEST_ARGS,
  7373s         )
  7373s         try:
  7373s             pids = pidof(self.TEST_EXECUTABLE) - 
self.running_test_executables
  7373s >           self.assertEqual(len(pids), 1)
  7373s E           AssertionError: 0 != 1
  7373s 
  7373s 
/tmp/autopkgtest.JkYKWH/autopkgtest_tmp/tests/system/test_signal_crashes.py:240:
 AssertionError

  
  
https://autopkgtest.ubuntu.com/results/autopkgtest-noble/noble/armhf/a/apport/20240802_185146_b3174@/log.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/2076186/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to