Public bug reported:

In bionic, linux-image-$kvers-$flavor is now built from the linux-signed
source package on amd64, not from the linux source package.  This now
causes a test to fail in the apport test suite:

[...]
======================================================================
FAIL: test_run_crash_kernel (__main__.T)
run_crash() for a kernel error
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test_ui.py", line 1305, in test_run_crash_kernel
    self.assertEqual(self.ui.opened_url, 'http://linux.bugs.example.com/%i' % se
lf.ui.crashdb.latest_id())
AssertionError: 'http://linux-signed.bugs.example.com/5' != 'http://linux.bugs.e
xample.com/5'
- http://linux-signed.bugs.example.com/5
?             -------
+ http://linux.bugs.example.com/5

----------------------------------------------------------------------
Ran 70 tests in 79.815s

FAILED (failures=1)
[...]

(https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
/autopkgtest-bionic/bionic/amd64/a/apport/20180424_222219_45dc8@/log.gz)

This test needs to be fixed to know about the packaging change.

Note that this packaging change is expected to soon be SRUed back to all
Ubuntu releases, so apport's testsuite change should also be SRUed.

** Affects: apport (Ubuntu)
     Importance: High
         Status: Triaged

** Changed in: apport (Ubuntu)
   Importance: Undecided => High

** Changed in: apport (Ubuntu)
       Status: New => Triaged

** Description changed:

  In bionic, linux-image-$kvers-$flavor is now built from the linux-signed
  source package on amd64, not from the linux source package.  This now
  causes a test to fail in the apport test suite:
  
  [...]
  ======================================================================
  FAIL: test_run_crash_kernel (__main__.T)
  run_crash() for a kernel error
  ----------------------------------------------------------------------
  Traceback (most recent call last):
-   File "./test_ui.py", line 1305, in test_run_crash_kernel
-     self.assertEqual(self.ui.opened_url, 'http://linux.bugs.example.com/%i' % 
se
+   File "./test_ui.py", line 1305, in test_run_crash_kernel
+     self.assertEqual(self.ui.opened_url, 'http://linux.bugs.example.com/%i' % 
se
  lf.ui.crashdb.latest_id())
  AssertionError: 'http://linux-signed.bugs.example.com/5' != 
'http://linux.bugs.e
  xample.com/5'
  - http://linux-signed.bugs.example.com/5
  ?             -------
  + http://linux.bugs.example.com/5
  
- 
  ----------------------------------------------------------------------
  Ran 70 tests in 79.815s
  
  FAILED (failures=1)
  [...]
  
+ 
(https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
+ /autopkgtest-bionic/bionic/amd64/a/apport/20180424_222219_45dc8@/log.gz)
+ 
  This test needs to be fixed to know about the packaging change.
  
  Note that this packaging change is expected to soon be SRUed back to all
  Ubuntu releases, so apport's testsuite change should also be SRUed.

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

Title:
  apport autopkgtest regression due to kernel packaging changes

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

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

Reply via email to