Launchpad fails to build snaps with proxy authentication error

Bug #1594370 reported by Simon Fels
This bug report is a duplicate of:  Bug #1572130: Fails to build snaps. Edit Remove
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
launchpad-buildd
New
Undecided
Unassigned

Bug Description

I tried to build a snap for our modem-manager project today on https://code.launchpad.net/~snappy-hwe-team/+snap/modem-manager but all builds failed with

Fetched 57.4 MB in 6s (1085 kB/s)
Failed to fetch http://ftpmaster.internal/ubuntu/pool/main/p/python2.7
/libpython2.7-stdlib_2.7.11-7ubuntu1_armhf.deb 407 Proxy
Authentication Required Failed to fetch
http://ftpmaster.internal/ubuntu/pool/main/c/ca-certificates/ca-
certificates_20160104ubuntu1_all.deb 407 Proxy Authentication
Required
Traceback (most recent call last):
  File "/usr/share/launchpad-buildd/slavebin/buildsnap", line 194, in main
    builder.pull()
  File "/usr/share/launchpad-buildd/slavebin/buildsnap", line 135, in pull
    env=env)
  File "/usr/share/launchpad-buildd/slavebin/buildsnap", line 92, in run_build_command
    self.chroot(["/bin/sh", "-c", command], echo=echo)
  File "/usr/share/launchpad-buildd/slavebin/buildsnap", line 66, in chroot
    "/usr/bin/sudo", "/usr/sbin/chroot", self.chroot_path] + args)
  File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '['/usr/bin/sudo', '/usr/sbin/chroot', '/home/buildd/build-SNAPBUILD-1304/chroot-autobuild', 'linux32', '/bin/sh', '-c', 'cd /build/modem-manager && env LANG=C.UTF-8 https_proxy=https://snap-proxy.launchpad.net:3128 http_proxy=http://snap-proxy.launchpad.net:3128 SNAPCRAFT_LOCAL_SOURCES=1 snapcraft pull']' returned non-zero exit status 1

Example build for this is https://code.launchpad.net/~snappy-hwe-team/+snap/modem-manager/+build/1304

Colin Watson (cjwatson)
affects: launchpad → launchpad-buildd
Revision history for this message
keshavbhatt (keshavnrj) wrote :

Same happened with me while building snap package of my application:

make[1]: Nothing to be done for 'install'.
make[1]: Leaving directory '/build/temperory-snap/parts/qt57/build/qtqa'
Staging qt57
Preparing to pull whatsapp-qt

Ign http://ppa.launchpad.net/snappy-dev/tools/ubuntu xenial InRelease

Ign http://ftpmaster.internal/ubuntu xenial InRelease

Ign http://ppa.launchpad.net/snappy-dev/tools/ubuntu xenial Release

Ign http://ftpmaster.internal/ubuntu xenial-security InRelease

Ign http://ftpmaster.internal/ubuntu xenial-updates InRelease

Ign http://ppa.launchpad.net/snappy-dev/tools/ubuntu xenial/main amd64 Packages.diff/Index

Ign http://ftpmaster.internal/ubuntu xenial Release

Err http://ppa.launchpad.net/snappy-dev/tools/ubuntu xenial/main all Packages

  407 Proxy Authentication Required

Ign http://ppa.launchpad.net/snappy-dev/tools/ubuntu xenial/main Translation-en.diff/Index

Ign http://ftpmaster.internal/ubuntu xenial-security Release

Err http://ppa.launchpad.net/snappy-dev/tools/ubuntu xenial/main amd64 Packages

  407 Proxy Authentication Required

Ign http://ftpmaster.internal/ubuntu xenial-updates Release

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.