[Bug 1992172] Re: test_run_crash_kernel fails on ppc64el

Benjamin Drung 1992172 at bugs.launchpad.net
Thu Nov 24 10:50:51 UTC 2022


I saw this failure on a bionic autopkgtest. So this fix should be
backported as SRU as well.

** Description changed:

+ [Impact]
+ 
  The autopkgtest for apport 2.23.1-0ubuntu1 fails on ppc64el:
  
  ```
  ======================================================================
  FAIL: test_run_crash_kernel (tests.integration.test_ui.T)
  run_crash() for a kernel error
  ----------------------------------------------------------------------
  Traceback (most recent call last):
-   File "/usr/lib/python3.10/unittest/mock.py", line 1369, in patched
-     return func(*newargs, **newkeywargs)
-   File "/tmp/autopkgtest.W5WLIN/autopkgtest_tmp/tests/integration/test_ui.py", line 1617, in test_run_crash_kernel
-     self.assertEqual(
+   File "/usr/lib/python3.10/unittest/mock.py", line 1369, in patched
+     return func(*newargs, **newkeywargs)
+   File "/tmp/autopkgtest.W5WLIN/autopkgtest_tmp/tests/integration/test_ui.py", line 1617, in test_run_crash_kernel
+     self.assertEqual(
  AssertionError: 'http://linux.bugs.example.com/5' != 'http://linux-signed.bugs.example.com/5'
  - http://linux.bugs.example.com/5
  + http://linux-signed.bugs.example.com/5
  ?             +++++++
- 
  
  ----------------------------------------------------------------------
  ```
  
  Full log: https://autopkgtest.ubuntu.com/results/autopkgtest-
  kinetic/kinetic/ppc64el/a/apport/20221007_113450_023d9@/log.gz
+ 
+ [Test Plan]
+ 
+ Check that the autopkgtest succeed all architectures (except for i386).
+ 
+ [Where problems could occur]
+ 
+ The test cases are only part of the apport source package and are not
+ copied in any binary packages. Changes to the test will only affect the
+ package build and test execution.

** Also affects: apport (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: apport (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: apport (Ubuntu Bionic)
   Importance: Undecided
       Status: New

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

Title:
  test_run_crash_kernel fails on ppc64el

Status in Apport:
  Fix Committed
Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Bionic:
  New
Status in apport source package in Focal:
  New
Status in apport source package in Jammy:
  New

Bug description:
  [Impact]

  The autopkgtest for apport 2.23.1-0ubuntu1 fails on ppc64el:

  ```
  ======================================================================
  FAIL: test_run_crash_kernel (tests.integration.test_ui.T)
  run_crash() for a kernel error
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/usr/lib/python3.10/unittest/mock.py", line 1369, in patched
      return func(*newargs, **newkeywargs)
    File "/tmp/autopkgtest.W5WLIN/autopkgtest_tmp/tests/integration/test_ui.py", line 1617, in test_run_crash_kernel
      self.assertEqual(
  AssertionError: 'http://linux.bugs.example.com/5' != 'http://linux-signed.bugs.example.com/5'
  - http://linux.bugs.example.com/5
  + http://linux-signed.bugs.example.com/5
  ?             +++++++

  ----------------------------------------------------------------------
  ```

  Full log: https://autopkgtest.ubuntu.com/results/autopkgtest-
  kinetic/kinetic/ppc64el/a/apport/20221007_113450_023d9@/log.gz

  [Test Plan]

  Check that the autopkgtest succeed all architectures (except for
  i386).

  [Where problems could occur]

  The test cases are only part of the apport source package and are not
  copied in any binary packages. Changes to the test will only affect
  the package build and test execution.

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




More information about the foundations-bugs mailing list