duplicity PPA and SNAP builds failing with git errors

Bug #2038769 reported by Kenneth Loafman

This bug report was marked for expiration 211 days ago. (find out why)

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
launchpad-buildd
Incomplete
Undecided
Unassigned

Bug Description

duplicity builds are failing with git errors, but nothing is descriptive in error.

The build is failing at the end. See full log here: https://launchpadlibrarian.net/690965469/buildlog.txt.gz

Building recipe:
# git-build-recipe format 0.4 deb-version 2.1.3-ppa{revtime}
lp:duplicity main

RUN ['git-build-recipe', '--safe', '--no-build', '--manifest', '/home/buildd/build-RECIPEBRANCHBUILD-3614627/chroot-autobuild/home/buildd/work/tree/manifest', '--distribution', 'focal', '--allow-fallback-to-native', '--append-version', '~ubuntu20.04.1', '/home/buildd/build-RECIPEBRANCHBUILD-3614627/chroot-autobuild/home/buildd/work/recipe', '/home/buildd/build-RECIPEBRANCHBUILD-3614627/chroot-autobuild/home/buildd/work/tree']
fatal: unable to access 'https://git.launchpad.net/duplicity/': gnutls_handshake() failed: Error in the pull function.
Initialized empty Git repository in /home/buildd/build-RECIPEBRANCHBUILD-3614627/chroot-autobuild/home/buildd/work/tree/recipe/.git/
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gitbuildrecipe/recipe.py", line 308, in pull_or_clone
    fetch_branches(base_branch)
  File "/usr/lib/python3/dist-packages/gitbuildrecipe/recipe.py", line 344, in fetch_branches
    child_branch.git_call(
  File "/usr/lib/python3/dist-packages/gitbuildrecipe/recipe.py", line 660, in git_call
    output = subprocess.check_output(
  File "/usr/lib/python3.8/subprocess.py", line 415, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', '-C', '/home/buildd/build-RECIPEBRANCHBUILD-3614627/chroot-autobuild/home/buildd/work/tree/recipe', 'fetch', 'lp:duplicity', 'refs/heads/*:refs/remotes/source/*']' returned non-zero exit status 128.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/bin/git-build-recipe", line 11, in <module>
    load_entry_point('git-build-recipe==0.1', 'console_scripts', 'git-build-recipe')()
  File "/usr/lib/python3/dist-packages/gitbuildrecipe/main.py", line 110, in main
    build_tree(base_branch, working_directory)
  File "/usr/lib/python3/dist-packages/gitbuildrecipe/recipe.py", line 489, in build_tree
    _build_inner_tree(base_branch, target_path)
  File "/usr/lib/python3/dist-packages/gitbuildrecipe/recipe.py", line 410, in _build_inner_tree
    pull_or_clone(base_branch, target_path)
  File "/usr/lib/python3/dist-packages/gitbuildrecipe/recipe.py", line 310, in pull_or_clone
    raise FetchFailed(e.output)
gitbuildrecipe.recipe.FetchFailed: git fetch failed:
fatal: unable to access 'https://git.launchpad.net/duplicity/': gnutls_handshake() failed: Error in the pull function.

RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=focal --arch=amd64 RECIPEBRANCHBUILD-3614627
Scanning for processes to kill in build RECIPEBRANCHBUILD-3614627

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote :

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

summary: - duplicity PPA builds failing with git errors
+ duplicity PPA and SNAP builds failing with git errors
Revision history for this message
Jürgen Gmach (jugmac00) wrote :

Could you please retry? There was an issue with our git hosting service, which has been resolved meanwhile.

Jürgen Gmach (jugmac00)
Changed in launchpad-buildd:
status: New → Incomplete
Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote :

Thanks for the heads up. It appears to be working now. Please close this.

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.