Verified successful autopkgtest on
https://autopkgtest.ubuntu.com/packages/apport:

oracular apport/2.30.0-0ubuntu4.2:

* amd64: 
https://autopkgtest.ubuntu.com/results/autopkgtest-oracular/oracular/amd64/a/apport/20250228_193806_c5e66@/log.gz
* arm64: 
https://autopkgtest.ubuntu.com/results/autopkgtest-oracular/oracular/arm64/a/apport/20250228_211342_c5e66@/log.gz
* armhf: 
https://autopkgtest.ubuntu.com/results/autopkgtest-oracular/oracular/armhf/a/apport/20250228_194143_c5e66@/log.gz
* i386: expect to fail as before (separate issue of not skipping some tests in 
tests/system/test_apport_retrace.py)
* ppc64el: 
https://autopkgtest.ubuntu.com/results/autopkgtest-oracular/oracular/ppc64el/a/apport/20250228_193716_0b463@/log.gz
* s390x: 
https://autopkgtest.ubuntu.com/results/autopkgtest-oracular/oracular/s390x/a/apport/20250228_201300_0b463@/log.gz

noble apport/2.28.1-0ubuntu3.5:

* amd64: 
https://autopkgtest.ubuntu.com/results/autopkgtest-noble/noble/amd64/a/apport/20250228_194115_24805@/log.gz
* arm64: 
https://autopkgtest.ubuntu.com/results/autopkgtest-noble/noble/arm64/a/apport/20250228_200424_b07f5@/log.gz
* armhf: 
https://autopkgtest.ubuntu.com/results/autopkgtest-noble/noble/armhf/a/apport/20250301_001111_8d0bb@/log.gz
* i386: 
https://autopkgtest.ubuntu.com/results/autopkgtest-noble/noble/i386/a/apport/20250303_150851_c0b2c@/log.gz
* ppc64el: 
https://autopkgtest.ubuntu.com/results/autopkgtest-noble/noble/ppc64el/a/apport/20250228_200430_0fc85@/log.gz
* s390x: 
https://autopkgtest.ubuntu.com/results/autopkgtest-noble/noble/s390x/a/apport/20250228_193316_71ed0@/log.gz

** Tags removed: verification-needed verification-needed-noble 
verification-needed-oracular
** Tags added: verification-done verification-done-noble 
verification-done-oracular

-- 
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/2076269

Title:
  invalid base64 encoded gzip data on s390x causes autopkgtest failures

Status in Apport:
  In Progress
Status in Ubuntu on IBM z Systems:
  Fix Released
Status in apport package in Ubuntu:
  In Progress
Status in apport source package in Noble:
  Fix Committed
Status in apport source package in Oracular:
  Fix Committed

Bug description:
  [ Impact ]

  The following tests all fail with an encoding/decoding issue:

  tests/unit/test_problem_report.py::T:test_modify
  
tests/unit/test_report.py::T::test_report_from_systemd_coredump_storage_journal
  tests/integration/test_problem_report::T::test_write_file

  Example failure:

  564s =================================== FAILURES 
===================================
  564s ________________________________ T.test_modify 
_________________________________
  564s
  564s self = <tests.unit.test_problem_report.T testMethod=test_modify>
  564s
  564s     def test_modify(self):
  564s         """reading, modifying fields, and writing back."""
  564s         report = textwrap.dedent(
  564s             """\
  564s             ProblemType: Crash
  564s             Date: now!
  564s             Long:
  564s              xxx
  564s              .
  564s              yyy
  564s             Short: Bar
  564s             File: base64
  564s              H4sICAAAAAAC/0ZpbGUA
  564s              c3RyxIAMcBAFAK/2p9MfAAAA
  564s             """
  564s         ).encode()
  564s
  564s         pr = problem_report.ProblemReport()
  564s         pr.load(io.BytesIO(report))
  564s
  564s         self.assertEqual(pr["Long"], "xxx\n.\nyyy")
  564s
  564s         # write back unmodified
  564s         out = io.BytesIO()
  564s         pr.write(out)
  564s >       self.assertEqual(out.getvalue(), report)
  564s E       AssertionError: b'Pro[73 chars]e64\n H4sICAAAAAAC/0ZpbGUA\n 
cnTChAxwEA==\n BRgAr/an0x8AAAA=\n' != b'Pro[73 chars]e64\n 
H4sICAAAAAAC/0ZpbGUA\n c3RyxIAMcBAFAK/2p9MfAAAA\n'
  564s
  564s tests/unit/test_problem_report.py:509: AssertionError

  Autopkgtest noble log: 
https://autopkgtest.ubuntu.com/results/autopkgtest-noble/noble/s390x/a/apport/20240807_023039_8850a@/log.gz
  oracular log: 
https://autopkgtest.ubuntu.com/results/autopkgtest-oracular/oracular/s390x/a/apport/20240805_132135_d3a80@/log.gz

  This failure was seen on noble (log above) but also on oracular.

  [ Test Plan ]

  Check that the fixed Apport does not have failing unit-and-
  integration-tests autopkgtests on all archs.

  [ Where problems could occur ]

  The fix only touches test code. It could only affect the test results,
  but not code installed on the users machines.

To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/2076269/+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