Unverified Commit 7f1e57ce authored by Kip's avatar Kip Committed by GitHub

Merge pull request #959 from Tachi107/autopkgtest-warn-testbed-failure

autopkgtest: don't fail on testbed failures
parents 614953be 88733d00
......@@ -99,10 +99,21 @@ jobs:
# Currently this sometimes fails on i386 with
# <VirtSubproc>: failure: timed out waiting for 'login prompt on serial
# console'
# and on arm64 and armhf with
# on arm64 and armhf with
# host login: <VirtSubproc>: failure: The VM does not start a root shell
# on ttyS1 or hvc1 already. The only other supported login mechanism is
# through --user and -*** the guest ttyS0
# on almost all architectures with
# ERROR: testbed failure: sent `auxverb_debug_fail', got `timeout',
# expected `ok...'
- name: Run autopkgtest
run: autopkgtest ../pistache_*.dsc -- autopkgtest-virt-qemu --dpkg-architecture=${{ matrix.arch }} --timeout-reboot=120 --ram-size=3072 $HOME/autopkgtest-testing.img
run: |
exit_code=0
autopkgtest ../pistache_*.dsc -- autopkgtest-virt-qemu --dpkg-architecture=${{ matrix.arch }} --timeout-reboot=120 --ram-size=3072 $HOME/autopkgtest-testing.img || exit_code=$?
if [ $exit_code -eq 16 ]
then
echo "::warning::autopkgtest failed, but it's not your fault"
else
exit $exit_code
fi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment