Recently the autopkgtest infrastructure configuration has been changed
to add ::1 to no_proxy. This works on Focal and up, but breaks unknown
number of tests in Bionic and earlier releases.


commit f3679e7609b2f03d59aca28fe7329e4228350200
Author: Steve Langasek <steve.langa...@canonical.com>
Date:   Fri Dec 4 12:00:02 2020 -0800

    Include ipv6 localhost in the list of addresses not to use the proxy for.
    
    This fixes schleuder autopkgtest failure on armhf, which tries to connect
    to [::1]:4443 and fails because it's routed to the proxy.
    
    This failure does not affect the VM-based autopkgtest runners because
    containers also have some strangeness regarding binding to ::1 being treated
    as bindv6only=1, and schleuder's test only requires that ipv4 *or* ipv6
    succeeds; but the change is appropriate across all architectures.

 lxc-slave-admin/setup-adt-lxc.commands             | 2 +-
 tools/armhf-lxd-slave.userdata                     | 2 +-
 worker-config-production/worker-bos01-arm64.conf   | 2 +-
 worker-config-production/worker-bos01-ppc64el.conf | 2 +-
 worker-config-production/worker-bos01-s390x.conf   | 2 +-
 worker-config-production/worker-bos01.conf         | 2 +-
 worker-config-production/worker-bos02-arm64.conf   | 2 +-
 worker-config-production/worker-bos02-ppc64el.conf | 2 +-
 worker-config-production/worker-bos02-s390x.conf   | 2 +-
 worker-config-production/worker-canonistack.conf   | 2 +-
 worker-config-production/worker-lxd.conf           | 2 +-
 worker-config-production/worker.conf               | 2 +-
 12 files changed, 12 insertions(+), 12 deletions(-)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to curl in Ubuntu.
https://bugs.launchpad.net/bugs/1908136

Title:
  no_proxy=::1 is not honored in Bionic and earlier versions

Status in Auto Package Testing:
  New
Status in curl package in Ubuntu:
  Fix Released
Status in curl source package in Xenial:
  New
Status in curl source package in Bionic:
  New
Status in curl source package in Focal:
  Fix Released

Bug description:
  Bionic:

  env no_proxy=::1 http_proxy=http://foo:8080 curl -v http://[::1]:80/bar.html
  * Could not resolve proxy: foo
  * Closing connection 0
  curl: (5) Could not resolve proxy: foo

  Focal:

  $ env no_proxy=::1 http_proxy=http://foo:8080 curl -v http://[::1]:80/bar.html
  * Uses proxy env variable no_proxy == '::1'
  *   Trying ::1:80...
  * TCP_NODELAY set
  * Immediate connect fail for ::1: Network is unreachable
  * Closing connection 0
  curl: (7) Couldn't connect to server

To manage notifications about this bug go to:
https://bugs.launchpad.net/auto-package-testing/+bug/1908136/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to