← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2021908] Re: fwupd: network-based tests failed to run

 

On the proxy settings: looks like this is one case where we set the
proxy variables in autopkgtest environment, but there's is a daemon
involved (fwupd) with its own environment where proxy vars are not set
(same situation we have e.g. with Docker).

I had a quick look at fwupd and apparently it uses GProxyResolver, which
is a GLib thing. I'm not sure on how to manually configure an http/https
proxy so that GProxyResolver will use it.

-- 
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