adt tests fail on zesty for apport

Bug #1651623 reported by Dimitri John Ledkov
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Undecided
Unassigned
Xenial
Invalid
Undecided
Unassigned
Yakkety
Fix Released
Undecided
Brian Murray
Zesty
Fix Released
Undecided
Brian Murray

Bug Description

[Impact]
Apport autopkgtests are failing with GPG errors e.g.:
SystemError: W:GPG error: http://archive.ubuntu.com/ubuntu trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32, E:The repository 'http://archive.ubuntu.com/ubuntu trusty Release' is not signed.

[Test Case]
Run the autopkgtests and observe failures regarding GPG.
With the test fixed there should be no failures.

[Regression Potential]
While not a regression its possible fixing these tests will reveal other failures.

https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-zesty/zesty/amd64/a/apport/20161214_232615_2ff4a@/log.gz

fails.

Related branches

Revision history for this message
Brian Murray (brian-murray) wrote :
Revision history for this message
Łukasz Zemczak (sil2100) wrote :
tags: added: rls-z-incoming
Changed in apport (Ubuntu):
milestone: ubuntu-17.01 → ubuntu-17.02
Revision history for this message
Brian Murray (brian-murray) wrote :

Is there any update on this?

Changed in apport (Ubuntu):
milestone: ubuntu-17.02 → ubuntu-17.03
Changed in apport (Ubuntu):
milestone: ubuntu-17.03 → ubuntu-17.05
tags: added: rls-aa-incoming
Changed in apport (Ubuntu):
status: New → Fix Committed
assignee: Dimitri John Ledkov (xnox) → nobody
Revision history for this message
Brian Murray (brian-murray) wrote :

The tests for artful are now failing for a different reason:

======================================================================
ERROR: test_add_gdb_info_abort_glib (__main__.T)
add_gdb_info() with glib assertion
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test_report.py", line 852, in test_add_gdb_info_abort_glib
    self.assertTrue(pr['AssertionMessage'].startswith('ERROR:<stdin>:2:main: assertion failed (1 < 0):'),
  File "/usr/lib/python3.5/collections/__init__.py", line 989, in __getitem__
    raise KeyError(key)
KeyError: 'AssertionMessage'

I've spent some time digging into this and it seems "print __glib_assert_msg" is behaving differently and has been for a bit.

Revision history for this message
Dimitri John Ledkov (xnox) wrote : Re: [Bug 1651623] Re: adt tests fail on zesty for apport

I did notice that, but did not dig into that failure, as I wanted to only
fix the gpg stuff.

On 6 May 2017 at 00:16, Brian Murray <email address hidden> wrote:

> The tests for artful are now failing for a different reason:
>
> ======================================================================
> ERROR: test_add_gdb_info_abort_glib (__main__.T)
> add_gdb_info() with glib assertion
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "./test_report.py", line 852, in test_add_gdb_info_abort_glib
> self.assertTrue(pr['AssertionMessage'].startswith('ERROR:<stdin>:2:main:
> assertion failed (1 < 0):'),
> File "/usr/lib/python3.5/collections/__init__.py", line 989, in
> __getitem__
> raise KeyError(key)
> KeyError: 'AssertionMessage'
>
> I've spent some time digging into this and it seems "print
> __glib_assert_msg" is behaving differently and has been for a bit.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1651623
>
> Title:
> adt tests fail on zesty for apport
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/apport/+bug/
> 1651623/+subscriptions
>

--
Regards,

Dimitri.

Revision history for this message
Brian Murray (brian-murray) wrote :

Sure, I was mostly making a note for myself since it was Friday. ;-)

On Sat, May 06, 2017 at 06:39:32PM -0000, Dimitri John Ledkov wrote:
> I did notice that, but did not dig into that failure, as I wanted to only
> fix the gpg stuff.
>
> On 6 May 2017 at 00:16, Brian Murray <email address hidden> wrote:
>
> > The tests for artful are now failing for a different reason:
> >
> > ======================================================================
> > ERROR: test_add_gdb_info_abort_glib (__main__.T)
> > add_gdb_info() with glib assertion
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > File "./test_report.py", line 852, in test_add_gdb_info_abort_glib
> > self.assertTrue(pr['AssertionMessage'].startswith('ERROR:<stdin>:2:main:
> > assertion failed (1 < 0):'),
> > File "/usr/lib/python3.5/collections/__init__.py", line 989, in
> > __getitem__
> > raise KeyError(key)
> > KeyError: 'AssertionMessage'
> >
> > I've spent some time digging into this and it seems "print
> > __glib_assert_msg" is behaving differently and has been for a bit.
> >
> > --
> > You received this bug notification because you are subscribed to the bug
> > report.
> > https://bugs.launchpad.net/bugs/1651623
> >
> > Title:
> > adt tests fail on zesty for apport
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/ubuntu/+source/apport/+bug/
> > 1651623/+subscriptions
> >
>
>
> --
> Regards,
>
> Dimitri.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1651623
>
> Title:
> adt tests fail on zesty for apport
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1651623/+subscriptions
>
--
Brian Murray

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 2.20.4-0ubuntu6

---------------
apport (2.20.4-0ubuntu6) artful; urgency=medium

   * Disable report.test_add_gdb_info_abort_glib test case for now, as the
     glib assertion message is broken under current Ubuntu (LP: #1689344)
  * etc/apport/crashdb.conf: Enable Launchpad crash reports for artful.

 -- Brian Murray <email address hidden> Mon, 08 May 2017 11:10:34 -0700

Changed in apport (Ubuntu):
status: Fix Committed → Fix Released
Changed in apport (Ubuntu Zesty):
assignee: nobody → Brian Murray (brian-murray)
milestone: none → zesty-updates
Changed in apport (Ubuntu Yakkety):
status: New → In Progress
assignee: nobody → Brian Murray (brian-murray)
Changed in apport (Ubuntu Zesty):
status: New → In Progress
description: updated
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Dimitri, or anyone else affected,

Accepted apport into zesty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/apport/2.20.4-0ubuntu4.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in apport (Ubuntu Zesty):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Dimitri, or anyone else affected,

Accepted apport into yakkety-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/apport/2.20.3-0ubuntu8.3 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in apport (Ubuntu Yakkety):
status: In Progress → Fix Committed
Revision history for this message
Brian Murray (brian-murray) wrote :

Some autopkgtests fail on xenial but not for this reason, so I'm setting the task to Invalid.

Changed in apport (Ubuntu Xenial):
status: New → Invalid
Revision history for this message
Brian Murray (brian-murray) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 2.20.4-0ubuntu4.1

---------------
apport (2.20.4-0ubuntu4.1) zesty; urgency=medium

  * Disable report.test_add_gdb_info_abort_glib test case for now, as the
    glib assertion message is broken under current Ubuntu (LP: #1689344)
  * Resolve autopkgtest failures in test_backend_apt_dpkg.py due to issues
    with apt key ring. Thanks to Dimitri John Ledkov for the patch.
    (LP: #1651623)

 -- Brian Murray <email address hidden> Wed, 10 May 2017 17:05:11 -0700

Changed in apport (Ubuntu Zesty):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for apport has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 2.20.3-0ubuntu8.3

---------------
apport (2.20.3-0ubuntu8.3) yakkety; urgency=medium

  * Resolve autopkgtest failures in test_backend_apt_dpkg.py due to issues
    with apt key ring. Thanks to Dimitri John Ledkov for the patch.
    (LP: #1651623)
  * Disable report.test_add_gdb_info_abort_glib test case for now, as the
    glib assertion message is broken under current Ubuntu (LP: #1689344)
  * data/general/ubuntu.py: Collect a minimal version of /proc/cpuinfo in
    every report. (LP: #1673557)

 -- Brian Murray <email address hidden> Wed, 10 May 2017 18:10:32 -0700

Changed in apport (Ubuntu Yakkety):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.