autopkgtest autopkgtest fails on xenial when run under autopkgtest
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autopkgtest (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Iain Lane |
Bug Description
[ Description ]
autopkgtest's own autopkgtests are failing in xenial. The environment now exports $ADT_NORMAL_USER into the tests, and one of the tests checks that this is not set. Commit cbac10742cc44d6
[ Fix ]
Cherry pick that commit.
[ QA ]
This is a testsuite fix. Check that the package builds and that the autopkgtests pass.
[ Regression potential ]
It's a test fix only. If it's bad then the test won't be fixed. If the test fix itself is wrong then we could be allowing a regression to pass through. But this fix is in subsequent releases.
[ Development fix ]
The commit is in ≥ yakkety.
[ Original description ]
=======
FAIL: test_setup_
--setup-commands with command string
-------
Traceback (most recent call last):
File "/tmp/autopkgte
self.
AssertionError: 16 != 0 : adt-run [12:25:30]: version @version@
adt-run [12:25:30]: host autopkgtest-
adt-run [12:25:31]: @@@@@@@
adt-run [12:25:31]: ERROR: testbed failure: testbed setup commands failed with status 1
-------
Ran 211 tests in 189.417s
FAILED (failures=1, skipped=141)
autopkgtest [13:28:08]: test adt-run: -------
autopkgtest [13:28:08]: test adt-run: - - - - - - - - - - results - - - - - - - - - -
adt-run FAIL non-zero exit status 1
autopkgtest [13:28:09]: - - - - - - - - - - running shell - - - - - - - - - -
root@autopkgtes
test_setup_
--setup-commands with command string ... ok
-------
Ran 1 test in 4.185s
OK
root@autopkgtes
This is happening on xenial and prevents smooth SRU landings.
Status changed to 'Confirmed' because the bug affects multiple users.