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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1930741

Title:
  autopkgtest failures on all (most?) releases

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

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

Reply via email to