test regression: TestCloneUpgrade.test_clone_upgrade_synthetic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-clone (Ubuntu) |
Invalid
|
High
|
Michael Vogt |
Bug Description
apt-clone's tests have worked fine in wily (http://
This can be reproduced fast in a simple schroot with the test deps installed:
$ cd tests; PYTHONPATH=.. python3 test_clone_
[...]
=======
FAIL: test_clone_
test clone upgrade with on-the-fly generated chroots
-------
Traceback (most recent call last):
File "test_clone_
self.
AssertionError: False is not true
I added
to the test, and I get
--------- ubuntu-standard -----
[]
--------- ubuntu-desktop -----
[<Package: name:'libvisual
--------- kubuntu-desktop -----
[<Package: name:'libvisual
--------- xubuntu-desktop -----
[<Package: name:'libvisual
So the check works for the metapackages except ubuntu-standard. More curiously, when running the test on wily *now*, it also fails, which suggests that perhaps the very late distro-info update for xenial may have influenced this?
But I haven't the slightest idea what this test is trying to do, so I don't know how to fix this.
Related branches
- Iain Lane: Approve
-
Diff: 14 lines (+2/-1)1 file modifiedubuntu-release (+2/-1)
Changed in apt-clone (Ubuntu): | |
importance: | Undecided → High |
assignee: | nobody → Michael Vogt (mvo) |
I tried to reproduce this in a freshly created xenial schroot:
(xenial- amd64)egon@ top:~/devel/ apt-clone/ trunk/tests$ PYTHONPATH=.. python3 test_clone_ upgrade. py -v TestCloneUpgrad e.test_ clone_upgrade_ synthetic upgrade_ synthetic (__main_ _.TestCloneUpgr ade) v/etc/apt/ trusted. gpg.d/. No keyring installed in /tmp/tmp9iiq3yq u/etc/apt/ trusted. gpg.d/. No keyring installed in /tmp/tmp1jj8qkm 0/etc/apt/ trusted. gpg.d/. No keyring installed in /tmp/tmp6vdf20b p/etc/apt/ trusted. gpg.d/. test_clone_ upgrade. py:52: ResourceWarning: unclosed file <_io.TextIOWrapper name=13 mode='r' encoding= 'ANSI_X3. 4-1968' > upgrade. py:52: ResourceWarning: unclosed file <_io.TextIOWrapper name=14 mode='w' encoding= 'ANSI_X3. 4-1968' > 3/etc/apt/ trusted. gpg.d/. No keyring installed in /tmp/tmpzgfgyh4 f/etc/apt/ trusted. gpg.d/. test_clone_ upgrade. py:52: ResourceWarning: unclosed file <_io.TextIOWrapper name=4 mode='r' encoding= 'ANSI_X3. 4-1968' > upgrade. py:52: ResourceWarning: unclosed file <_io.TextIOWrapper name=5 mode='w' encoding= 'ANSI_X3. 4-1968' > 6/etc/apt/ trusted. gpg.d/. No keyring installed in /tmp/tmpwj3nkit 5/etc/apt/ trusted. gpg.d/. test_clone_ upgrade. py:52: ResourceWarning: unclosed file <_io.TextIOWrapper name=15 mode='r' encoding= 'ANSI_X3. 4-1968' > upgrade. py:52: ResourceWarning: unclosed file <_io.TextIOWrapper name=16 mode='w' encoding= 'ANSI_X3. 4-1968' > python3. 5/unittest/ case.py: 600: ResourceWarning: unclosed file <_io.TextIOWrapper name=6 mode='r' encoding= 'ANSI_X3. 4-1968' > python3. 5/unittest/ case.py: 600: ResourceWarning: unclosed file <_io.TextIOWrapper name=7 mode='w' encoding= 'ANSI_X3. 4-1968' >
test_clone_
test clone upgrade with on-the-fly generated chroots ... No keyring installed in /tmp/tmp6xbo2nk
clone = AptClone()
test_clone_
clone = AptClone()
No keyring installed in /tmp/tmpi96mkeo
clone = AptClone()
test_clone_
clone = AptClone()
No keyring installed in /tmp/tmp9mam7od
clone = AptClone()
test_clone_
clone = AptClone()
/usr/lib/
testMethod()
/usr/lib/
testMethod()
ok
------- ------- ------- ------- ------- ------- ------- ------- ------- -------
Ran 1 test in 139.030s
OK
same when I apt-get source apt-clone