lorry mirrors for download.samba.org get a lorry internal error
Looking through the status page for the lorry-controller, I spotted an unusual error when lorrying Infrastructure/Mirrors/lorry-mirrors/download_samba_org/tar-files
The full error text is:
DEBUG sys.argv: ['/usr/local/bin/lorry', '--config=/config/lorry.conf', '/tmp/tmp_3wboezi']
DEBUG current working directory: /
DEBUG uid: 0
DEBUG effective uid: 0
DEBUG gid: 0
DEBUG effective gid: 0
DEBUG environment variables:
DEBUG environment: HOSTNAME=5d3ef3646753
DEBUG environment: PYTHON_VERSION=3.10.2
DEBUG environment: SSH_AUTH_SOCK=/tmp/ssh-Kavs0OoLrRtY/agent.9
DEBUG environment: SSH_AGENT_PID=10
DEBUG environment: PWD=/
DEBUG environment: PYTHON_SETUPTOOLS_VERSION=58.1.0
DEBUG environment: HOME=/root
DEBUG environment: LANG=C.UTF-8
DEBUG environment: GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
DEBUG environment: SHLVL=0
DEBUG environment: PYTHON_PIP_VERSION=21.2.4
DEBUG environment: PYTHON_GET_PIP_SHA256=7c5239cea323cadae36083079a5ee6b2b3d56f25762a0c060d2867b89e5e06c5
DEBUG environment: PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/2caf84b14febcda8077e59e9b8a6ef9a680aa392/public/get-pip.py
DEBUG environment: PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
DEBUG Config:
[config]
output =
log = stderr
log-level = debug
log-max = 0
log-keep = 10
log-mode = 0600
dump-memory-profile = simple
memory-dump-interval = 300
working-area = /data/working-area
mirror-base-url-push = ssh://git@gitlab.gnome.org
mirror-base-url-fetch = ssh://git@gitlab.gnome.org
pull-only = False
verbose = True
repack = True
command-stdout = None
command-stderr = None
bundle = never
bundle-dest =
tarball = never
tarball-dest = git-tars
keep-multiple-backups = False
push-option =
bazaar-command = /usr/bin/bzr
check-certificates = True
DEBUG Python version: 3.10.2 (main, Jan 29 2022, 03:24:05) [GCC 8.3.0]
DEBUG Processing spec file /tmp/tmp_3wboezi
DEBUG Getting: Infrastructure/Mirrors/lorry-mirrors/download_samba_org/tar-files
DEBUG Getting Infrastructure/Mirrors/lorry-mirrors/download_samba_org/tar-files
DEBUG .. updating existing clone
DEBUG Mirror of Infrastructure/Mirrors/lorry-mirrors/download_samba_org/tar-files failed, state before mirror is saved at /data/working-area/Infrastructure_Mirrors_lorry-mirrors_download_samba_org_tar-files/git-b and state after mirror is saved at /data/working-area/Infrastructure_Mirrors_lorry-mirrors_download_samba_org_tar-files/git-post-fail
Error mirroring:
Traceback (most recent call last):
File \"/usr/local/bin/lorry\", line 303, in process_args
self.gitify(name, specs[name])
File \"/usr/local/bin/lorry\", line 438, in gitify
table[vcstype](name, dirname, temp_repo, spec)
File \"/usr/local/bin/lorry\", line 910, in gitify_raw_file
url = src[\"url\"]
TypeError: string indices must be integers
ERROR Traceback (most recent call last):
File \"/usr/local/bin/lorry\", line 303, in process_args
self.gitify(name, specs[name])
File \"/usr/local/bin/lorry\", line 438, in gitify
table[vcstype](name, dirname, temp_repo, spec)
File \"/usr/local/bin/lorry\", line 910, in gitify_raw_file
url = src[\"url\"]
TypeError: string indices must be integers
DEBUG Total Mirrors failed: 1
DEBUG Done
Processing spec file /tmp/tmp_3wboezi
Getting: Infrastructure/Mirrors/lorry-mirrors/download_samba_org/tar-files
Getting Infrastructure/Mirrors/lorry-mirrors/download_samba_org/tar-files
.. updating existing clone
Mirror of Infrastructure/Mirrors/lorry-mirrors/download_samba_org/tar-files failed, state before mirror is saved at /data/working-area/Infrastructure_Mirrors_lorry-mirrors_download_samba_org_tar-files/git-b and state after mirror is saved at /data/working-area/Infrastructure_Mirrors_lorry-mirrors_download_samba_org_tar-files/git-post-fail
Done
The critical part appears to be
File \"/usr/local/bin/lorry\", line 303, in process_args
self.gitify(name, specs[name])
File \"/usr/local/bin/lorry\", line 438, in gitify
table[vcstype](name, dirname, temp_repo, spec)
File \"/usr/local/bin/lorry\", line 910, in gitify_raw_file
url = src[\"url\"]
TypeError: string indices must be integers