canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #00635
[Bug 2021908] Re: fwupd: network-based tests failed to run
Thanks for the links Mario, this is quite helpful.
In one of the test runs,
https://autopkgtest.ubuntu.com/results/autopkgtest-
mantic/mantic/ppc64el/f/fwupd/20230513_202849_b9c5e@/log.gz, we can see
fwupd.test fail downloading.
Downloading… [***************
]Downloading… [***************
]Downloading…: 100%
failed to load emulation data: emulation is not allowed from config
FAIL: fwupd/fwupd.test (Child process exited with code 1)
>From the begging of the log we can see that particular test was run in
bos01.
autopkgtest [20:17:37]: host lrg-root4; command line:
/home/ubuntu/autopkgtest/runner/autopkgtest --output-dir
/tmp/autopkgtest-work.hbte3epz/out --timeout-copy=6000 --setup-commands
/home/ubuntu/autopkgtest-cloud/worker-config-production/setup-
canonical.sh --setup-commands /home/ubuntu/autopkgtest/setup-
commands/setup-testbed --apt-pocket=proposed=src:fwupd --apt-upgrade
fwupd --timeout-short=300 --timeout-copy=20000 --timeout-build=20000
--env=ADT_TEST_TRIGGERS=fwupd/1.9.1-1 -- ssh -s
/home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest
--security-groups autopkgtest-lrg-root4@bos01-ppc64el-7.secgroup --name
adt-mantic-ppc64el-fwupd-20230513-201737-lrg-root4 --image adt/ubuntu-
mantic-ppc64el-server --keyname testbed-lrg-root4 --net-id=net_prod-
proposed-migration -e TERM=linux -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,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpad.net,10.24.0.0/24'"'"''
--mirror=http://us.ports.ubuntu.com/ubuntu-ports/
However, the test run that passed,
https://autopkgtest.ubuntu.com/results/autopkgtest-
mantic/mantic/ppc64el/f/fwupd/20230514_032026_71fd9@/log.gz, was run in
bos02. So this is clearly is an issue with the proxy server
configuration. I'll work on getting it sorted out.
--
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/2021908
Title:
fwupd: network-based tests failed to run
Status in Auto Package Testing:
New
Status in fwupd package in Ubuntu:
New
Bug description:
`fwupd` package added network-based tests (to test whether firmware
updates could be performed) since version 1.9.1.
The tests failed due to the HTTP proxy blocklist (which needs access
to cdn.fwupd.org).
The issue was discovered in the local runner with these log lines:
..snip
failed to download http://cdn.fwupd.org/downloads/01b95b0206f1a42a2bf95a432d162ef1f9f1f71edb5696127c923ceffadfdf68-a3bu-xplained123.zip: Failed to download, server response was 403: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<meta type="copyright" content="Copyright (C) 1996-2019 The Squid Software Foundation and contributors">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>ERROR: The requested URL could not be retrieved</title>
In the Ubuntu-hosted autopkgtest runners, it failed with a cryptic message:
...snip
failed to load emulation data: emulation is not allowed from config
FAIL: fwupd/fwupd.test (Child process exited with code 1)
To manage notifications about this bug go to:
https://bugs.launchpad.net/auto-package-testing/+bug/2021908/+subscriptions
References