Comment 1 for bug 2038769

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote : Re: duplicity PPA builds failing with git errors

This is also affecting Snap builds as far as I can tell.

Running repo phase...
Cloning into 'snapcraft-duplicity-6e26c4ba4cad6cae6d2c4e998d79ed7a'...
error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500
fatal: the remote end hung up unexpectedly
[08/Oct/2023:17:46:27 +0000] "CONNECT git.launchpad.net:443 HTTP/1.1" 200 4577 "-" "git/2.25.1"
Build failed
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/lpbuildd/target/build_snap.py", line 264, in run
    self.repo()
  File "/usr/lib/python3/dist-packages/lpbuildd/target/build_snap.py", line 181, in repo
    self.vcs_fetch(self.args.name, cwd="/build", env=env)
  File "/usr/lib/python3/dist-packages/lpbuildd/target/vcs.py", line 86, in vcs_fetch
    self.backend.run(cmd, cwd=cwd, env=full_env)
  File "/usr/lib/python3/dist-packages/lpbuildd/target/lxd.py", line 716, in run
    subprocess.check_call(cmd, **kwargs)
  File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['lxc', 'exec', 'lp-focal-amd64', '--env', 'LANG=C.UTF-8', '--env', 'SHELL=/bin/sh', '--env', 'http_proxy=http://10.10.10.1:8222/', '--env', 'https_proxy=http://10.10.10.1:8222/', '--env', 'GIT_PROXY_COMMAND=/usr/local/bin/lpbuildd-git-proxy', '--env', 'SNAPPY_STORE_NO_CDN=1', '--', '/bin/sh', '-c', "cd /build && linux64 git clone -n 'https://<email address hidden>/~kenneth-loafman/+git/snapcraft-duplicity-6e26c4ba4cad6cae6d2c4e998d79ed7a/' snapcraft-duplicity-6e26c4ba4cad6cae6d2c4e998d79ed7a"]' returned non-zero exit status 128.
Revoking proxy token...
RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=lxd --series=focal --arch=amd64 SNAPBUILD-2254617
Scanning for processes to kill in build SNAPBUILD-2254617