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
This is also affecting Snap builds as far as I can tell.
Running repo phase... duplicity- 6e26c4ba4cad6ca e6d2c4e998d79ed 7a'... 2023:17: 46:27 +0000] "CONNECT git.launchpad. net:443 HTTP/1.1" 200 4577 "-" "git/2.25.1" python3/ dist-packages/ lpbuildd/ target/ build_snap. py", line 264, in run python3/ dist-packages/ lpbuildd/ target/ build_snap. py", line 181, in repo vcs_fetch( self.args. name, cwd="/build", env=env) python3/ dist-packages/ lpbuildd/ target/ vcs.py" , line 86, in vcs_fetch backend. run(cmd, cwd=cwd, env=full_env) python3/ dist-packages/ lpbuildd/ target/ lxd.py" , line 716, in run check_call( cmd, **kwargs) python3. 8/subprocess. py", line 364, in check_call ror(retcode, cmd) CalledProcessEr ror: 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- 6e26c4ba4cad6ca e6d2c4e998d79ed 7a/' snapcraft- duplicity- 6e26c4ba4cad6ca e6d2c4e998d79ed 7a"]' returned non-zero exit status 128. launchpad- buildd/ bin/in- target scan-for-processes --backend=lxd --series=focal --arch=amd64 SNAPBUILD-2254617
Cloning into 'snapcraft-
error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500
fatal: the remote end hung up unexpectedly
[08/Oct/
Build failed
Traceback (most recent call last):
File "/usr/lib/
self.repo()
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
subprocess.
File "/usr/lib/
raise CalledProcessEr
subprocess.
Revoking proxy token...
RUN: /usr/share/
Scanning for processes to kill in build SNAPBUILD-2254617