canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #01071
[Bug 2028692] Re: Should not wait 30 minutes for an instance to be provisioned
That timeout is hardcoded in autopkgtest-virt-ssh:
(status, out, err) = VirtSubproc.execute_timeout(
None,
1800,
cmd,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
We could add a --timeout-setup-script flag to override it (to be submitted upstream). Should be easy to do.
--
You received this bug notification because you are a member of
Canonical's Ubuntu QA, which is subscribed to Auto Package Testing.
https://bugs.launchpad.net/bugs/2028692
Title:
Should not wait 30 minutes for an instance to be provisioned
Status in Auto Package Testing:
New
Bug description:
I've recently seen patterns of s390x instances being requested and
their provisioning, or connectivity to them, failing for unknown
reasons which results in this traceback.
untu/autopkgtest-cloud/worker/worker[3812943]: ERROR: 0s autopkgtest [17:21:44]: starting date: 2023-07-25
0s autopkgtest [17:21:44]: git checkout: cabdbf6 Add timestamps to logfile
0s autopkgtest [17:21:44]: host juju-4d1272-prod-proposed-migration-14; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-di>
1800s No UUID given. Instance won't be deleted!
1800s Unexpected error:
1800s Traceback (most recent call last):
1800s File "/home/ubuntu/autopkgtest/lib/VirtSubproc.py", line 740, in mainloop
1800s command()
1800s File "/home/ubuntu/autopkgtest/lib/VirtSubproc.py", line 669, in command
1800s r = f(c, ce)
1800s File "/home/ubuntu/autopkgtest/lib/VirtSubproc.py", line 258, in cmd_open
1800s caller.hook_open()
1800s File "/home/ubuntu/autopkgtest/virt/autopkgtest-virt-ssh", line 436, in hook_open
1800s host_setup('open')
1800s File "/home/ubuntu/autopkgtest/virt/autopkgtest-virt-ssh", line 263, in host_setup
1800s execute_setup_script(command)
1800s File "/home/ubuntu/autopkgtest/virt/autopkgtest-virt-ssh", line 202, in execute_setup_script
1800s (status, out, err) = VirtSubproc.execute_timeout(
1800s File "/home/ubuntu/autopkgtest/lib/VirtSubproc.py", line 144, in execute_timeout
1800s (out, err) = sp.communicate(instr)
1800s File "/usr/lib/python3.8/subprocess.py", line 1028, in communicate
1800s stdout, stderr = self._communicate(input, endtime, timeout)
1800s File "/usr/lib/python3.8/subprocess.py", line 1868, in _communicate
1800s ready = selector.select(timeout)
1800s File "/usr/lib/python3.8/selectors.py", line 415, in select
1800s fd_event_list = self._selector.poll(timeout)
1800s File "/home/ubuntu/autopkgtest/lib/VirtSubproc.py", line 64, in alarm_handler
1800s raise Timeout()
1800s VirtSubproc.Timeout
1801s autopkgtest [17:51:45]: ERROR: testbed failure: cannot send to testbed: [Errno 32] Broken pipe
I wonder if there is a way for us to wait a shorter period of time for
the instance to be provisioned without affecting any other timeouts.
To manage notifications about this bug go to:
https://bugs.launchpad.net/auto-package-testing/+bug/2028692/+subscriptions
References