[Bug 1481574] Re: Testbed setup times out waiting on ssh
Launchpad Bug Tracker
1481574 at bugs.launchpad.net
Fri Aug 28 08:40:06 UTC 2015
This bug was fixed in the package autopkgtest - 3.16.3
---------------
autopkgtest (3.16.3) unstable; urgency=medium
* adt-setup-vm: Use /etc/cloud.cfg.d/ to avoid conffile prompts on upgrades.
(LP: #1477626)
* Don't invoke QEMU with -localtime. QEMU defaults to and Linux prefers the
hw clock in UTC. This avoids large time jumps when doing NTP.
* adt-setup-vm: Start autopkgtest shell after all other SysV init
scripts/facilities, to avoid a too early start of tests while boot is
still in progress.
* doc/README.package-tests.rst: Use comma separator in examples.
* VirtSubproc.check_exec(): Actually error out on stderr as documented.
* adt-virt-ssh: Verify that sudo does not write errors, as that
interferes with auxverbs and generally is a sign of host mis-configuration
(typically wrong hostname).
* ssh-setup-nova: Set hostname to "adt". This avoids overly long host names
from defaulting to nova instance names (which can be very long).
* ssh-setup/nova: Fix parsing of IP address from "nova show" to avoid
tripping over instance names containing "network". (LP: #1481574)
* Fix error message and code for "invalid test depends" errors.
* tests/pep8: Ignore E402 ("module level import not at top of file"), as
that's impossible to satisfy; we have to set sys.path before.
* ssh-setup/nova: In cleanup(), wait until the instance gets deleted. This
avoids name collisions and instance quota overflow.
* adt-run: Always show summary at the end, which is particularly helpful for
multiple tests. (LP: #1484991)
* adt-run.1: Clarify that without any logging options adt-run only logs to
stderr. (LP: #1485661)
* adt-virt-lxc: If the executed command exits with 255, translate that to
253 in the auxverb wrapper, as 255 is the exit code for failures of the
auxverb itself. This avoids considering ordinary test failures as
temporary testbed failures.
* adt-run: Show host name, to more easily identify hosts with frequent
failures.
* adt-virt-lxc: Always call lxc-stop with --kill, as the containers are not
precious and normal shutdown might hang.
* adt-virt-lxc: In cleanup, stop LXC container before removing the shared
downtmp, to ensure that we always clean up the running container. Also
don't fail on errors. (LP: #1488879)
* ssh-setup/nova: Add missing apt sources for -updates/-security
restricted/multiverse pockets.
-- Martin Pitt <mpitt at debian.org> Thu, 27 Aug 2015 19:54:51 +0200
** Changed in: autopkgtest (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1481574
Title:
Testbed setup times out waiting on ssh
Status in autopkgtest package in Ubuntu:
Fix Released
Bug description:
Some tests like http://autopkgtest.ubuntu.com/packages/n/network-
manager/ consistently fail with
adt-run [03:15:17]: command line: /home/ubuntu/autopkgtest/runner/adt-run --output-dir /tmp/adt-run.out.WS2k9a --timeout-copy=6000 --setup-commands 'if grep -q trusty /etc/lsb-release; then apt-get install -y build-essential; fi' --apt-pocket=proposed --apt-upgrade network-manager --setup-commands /home/ubuntu/autopkgtest/setup-commands/cloud-vm-setup --- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor m1.small --image ubuntu/ubuntu-wily-daily-amd64-server-20150802-disk1.img --name adt-wily-amd64-network-manager-20150805-025937 --keyname=testbed-juju-prod-ues-proposed-migration-machine-3 --net-id=net_ues_proposed_migration -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,novalocal,internal,archive.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu
Timed out waiting for ssh. Aborting!
<VirtSubproc>: failure: setup script failed with code 1: /home/ubuntu/autopkgtest/ssh-setup/nova open --flavor m1.small --image ubuntu/ubuntu-wily-daily-amd64-server-20150802-disk1.img --name adt-wily-amd64-network-manager-20150805-025937 --keyname=testbed-juju-prod-ues-proposed-migration-machine-3 --net-id=net_ues_proposed_migration -e 'http_proxy=http://squid.internal:3128' -e 'https_proxy=http://squid.internal:3128' -e 'no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,novalocal,internal,archive.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com' --mirror=http://ftpmaster.internal/ubuntu
adt-run [03:20:39]: ERROR: testbed failed: cannot send to testbed: ['BrokenPipeError: [Errno 32] Broken pipe\n']
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1481574/+subscriptions
More information about the foundations-bugs
mailing list