Comment 24 for bug 1744722

Revision history for this message
Julian Andres Klode (juliank) wrote :

While I cannot seem to reproduce thsi with the provided sources.list, my test case works. I had to delete the DistUpgrade package from the source tree to get autopkgtest to pick up the installed version (or autopkgtest here apparently test the source tree, which is wrong).

With 17.10.9:

======================================================================
FAIL: test sources.list rewrite of an obsolete mirror
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "/tmp/autopkgtest.qMDThe/tree/tests/test_sources_list.py", line 169, in test_sources_list_inactive_mirror
    """)
  File "/tmp/autopkgtest.qMDThe/tree/tests/test_sources_list.py", line 584, in _verifySources2Way
    (l, sources_list))
AssertionError: False is not true : unexpected entry 'deb http://archive.ubuntu.com/ubuntu stable main # auto generated by ubuntu-release-upgrader' in sources.list. got:

With 17.10.10 (--apt-pocket=proposed):

autopkgtest [11:01:33]: test nose-tests: [-----------------------
...
** (nosetests3:6104): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

(nosetests3:6104): Gtk-CRITICAL **: gtk_main_quit: assertion 'main_loops != NULL' failed
.....................................äää....
----------------------------------------------------------------------
Ran 44 tests in 11.451s

OK
autopkgtest [11:01:45]: test nose-tests: -----------------------]