[Bug 1930741] [NEW] autopkgtest failures on all (most?) releases

Brian Murray 1930741 at bugs.launchpad.net
Thu Jun 3 18:10:44 UTC 2021


Public bug reported:

Recently aptdaemon started having autopkgtest failures with its
tests.test_configparser.ConfigurationParserTestCase test. The failure
follows:

Test if credentials of repositories are store securely in a ... ok

======================================================================
ERROR: test_ (tests.test_configparser.ConfigurationParserTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autopkgtest.cp3vHc/build.adU/src/tests/test_configparser.py", line 82, in test_
    config[key.lower()]]
KeyError: 'apt::install::pre-invoke'

----------------------------------------------------------------------
Ran 79 tests in 109.732s

FAILED (errors=1, skipped=21)
Test failed: <unittest.runner.TextTestResult run=79 errors=1 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=79 errors=1 failures=0>

The "APT::Install::Pre-Invoke" key is provided by /etc/apt/apt.conf.d
/20apt-esm-hook.conf which is from ubuntu-advantage-tools, so I'd guess
this started happening when it moved to -updates (on 20210513). This
would also explain why it is affecting every release.

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


** Tags: update-excuse

** Description changed:

  Recently aptdaemon started having autopkgtest failures with its
  tests.test_configparser.ConfigurationParserTestCase test. The failure
  follows:
  
  Test if credentials of repositories are store securely in a ... ok
  
  ======================================================================
  ERROR: test_ (tests.test_configparser.ConfigurationParserTestCase)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
-   File "/tmp/autopkgtest.cp3vHc/build.adU/src/tests/test_configparser.py", line 82, in test_
-     config[key.lower()]]
+   File "/tmp/autopkgtest.cp3vHc/build.adU/src/tests/test_configparser.py", line 82, in test_
+     config[key.lower()]]
  KeyError: 'apt::install::pre-invoke'
  
  ----------------------------------------------------------------------
  Ran 79 tests in 109.732s
  
  FAILED (errors=1, skipped=21)
  Test failed: <unittest.runner.TextTestResult run=79 errors=1 failures=0>
  error: Test failed: <unittest.runner.TextTestResult run=79 errors=1 failures=0>
  
  The "APT::Install::Pre-Invoke" key is provided by /etc/apt/apt.conf.d
  /20apt-esm-hook.conf which is from ubuntu-advantage-tools, so I'd guess
- this started happening when it moved to -updates. This would also
- explain why it is affecting every release.
+ this started happening when it moved to -updates (on 20210513). This
+ would also explain why it is affecting every release.

** Tags added: update-excuse

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

Title:
  autopkgtest failures on all (most?) releases

Status in aptdaemon package in Ubuntu:
  New

Bug description:
  Recently aptdaemon started having autopkgtest failures with its
  tests.test_configparser.ConfigurationParserTestCase test. The failure
  follows:

  Test if credentials of repositories are store securely in a ... ok

  ======================================================================
  ERROR: test_ (tests.test_configparser.ConfigurationParserTestCase)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/tmp/autopkgtest.cp3vHc/build.adU/src/tests/test_configparser.py", line 82, in test_
      config[key.lower()]]
  KeyError: 'apt::install::pre-invoke'

  ----------------------------------------------------------------------
  Ran 79 tests in 109.732s

  FAILED (errors=1, skipped=21)
  Test failed: <unittest.runner.TextTestResult run=79 errors=1 failures=0>
  error: Test failed: <unittest.runner.TextTestResult run=79 errors=1 failures=0>

  The "APT::Install::Pre-Invoke" key is provided by /etc/apt/apt.conf.d
  /20apt-esm-hook.conf which is from ubuntu-advantage-tools, so I'd
  guess this started happening when it moved to -updates (on 20210513).
  This would also explain why it is affecting every release.

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



More information about the foundations-bugs mailing list