2017-04-25 12:43:35 |
Dimitri John Ledkov |
bug |
|
|
added bug |
2017-04-25 14:10:11 |
Launchpad Janitor |
autopkgtest (Ubuntu): status |
New |
Confirmed |
|
2017-04-25 14:10:47 |
Iain Lane |
nominated for series |
|
Ubuntu Xenial |
|
2017-04-25 14:10:47 |
Iain Lane |
bug task added |
|
autopkgtest (Ubuntu Xenial) |
|
2017-04-25 14:10:57 |
Iain Lane |
autopkgtest (Ubuntu): status |
Confirmed |
Fix Released |
|
2017-04-25 14:11:04 |
Iain Lane |
autopkgtest (Ubuntu Xenial): status |
New |
In Progress |
|
2017-04-25 14:11:06 |
Iain Lane |
autopkgtest (Ubuntu Xenial): assignee |
|
Iain Lane (laney) |
|
2017-04-25 14:30:03 |
Iain Lane |
description |
======================================================================
FAIL: test_setup_commands_string (__main__.ChrootRunner)
--setup-commands with command string
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest.4F1JtS/build.knp/autopkgtest-3.20.4/tests/adt-run", line 1628, in test_setup_commands_string
self.assertEqual(code, 0, err)
AssertionError: 16 != 0 : adt-run [12:25:30]: version @version@
adt-run [12:25:30]: host autopkgtest-lxd-muplzd; command line: /tmp/autopkgtest.4F1JtS/build.knp/autopkgtest-3.20.4/runner/adt-run -B --unbuilt-tree=/tmp/test.adt-run.4aqx12ew/testpkg --setup-commands '[ -z $ADT_NORMAL_USER ];sleep 3; cp /bin/cp /bin/cp_cp; echo setup_success > /setup.log' --setup-commands 'cp /bin/cp /bin/cp_cp' --timeout-short=1 --timeout-copy=1 --- chroot /tmp/test.adt-run.4aqx12ew/chroot
adt-run [12:25:31]: @@@@@@@@@@@@@@@@@@@@ test bed setup
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@autopkgtest-lxd-muplzd:/tmp/autopkgtest.4F1JtS/build.knp/autopkgtest-3.20.4# ./tests/adt-run ChrootRunner.test_setup_commands_string
test_setup_commands_string (__main__.ChrootRunner)
--setup-commands with command string ... ok
----------------------------------------------------------------------
Ran 1 test in 4.185s
OK
root@autopkgtest-lxd-muplzd:/tmp/autopkgtest.4F1JtS/build.knp/autopkgtest-3.20.4#
This is happening on xenial and prevents smooth SRU landings. |
[ 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 cbac10742cc44d66c82ee9776157273a5cce7a59 cleans it out of the test in question's environment.
[ 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_commands_string (__main__.ChrootRunner)
--setup-commands with command string
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest.4F1JtS/build.knp/autopkgtest-3.20.4/tests/adt-run", line 1628, in test_setup_commands_string
self.assertEqual(code, 0, err)
AssertionError: 16 != 0 : adt-run [12:25:30]: version @version@
adt-run [12:25:30]: host autopkgtest-lxd-muplzd; command line: /tmp/autopkgtest.4F1JtS/build.knp/autopkgtest-3.20.4/runner/adt-run -B --unbuilt-tree=/tmp/test.adt-run.4aqx12ew/testpkg --setup-commands '[ -z $ADT_NORMAL_USER ];sleep 3; cp /bin/cp /bin/cp_cp; echo setup_success > /setup.log' --setup-commands 'cp /bin/cp /bin/cp_cp' --timeout-short=1 --timeout-copy=1 --- chroot /tmp/test.adt-run.4aqx12ew/chroot
adt-run [12:25:31]: @@@@@@@@@@@@@@@@@@@@ test bed setup
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@autopkgtest-lxd-muplzd:/tmp/autopkgtest.4F1JtS/build.knp/autopkgtest-3.20.4# ./tests/adt-run ChrootRunner.test_setup_commands_string
test_setup_commands_string (__main__.ChrootRunner)
--setup-commands with command string ... ok
----------------------------------------------------------------------
Ran 1 test in 4.185s
OK
root@autopkgtest-lxd-muplzd:/tmp/autopkgtest.4F1JtS/build.knp/autopkgtest-3.20.4#
This is happening on xenial and prevents smooth SRU landings. |
|
2017-05-04 21:58:11 |
Brian Murray |
autopkgtest (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2017-05-04 21:58:14 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2017-05-04 21:58:17 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2017-05-04 21:58:21 |
Brian Murray |
tags |
|
verification-needed |
|
2017-07-05 12:57:37 |
Jean-Baptiste Lallement |
tags |
verification-needed |
verification-done-xenial |
|
2017-07-05 14:45:02 |
Robie Basak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2017-07-05 14:55:05 |
Launchpad Janitor |
autopkgtest (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|