See
<https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_master/22177/display/redirect>
Changes:
------------------------------------------
Started by upstream project "master-osmo-bsc" build number 23181
originally caused by:
Started by upstream project "master-osmo-mgw" build number 10722
originally caused by:
Started by timer
Running as SYSTEM
Building remotely on build2-deb10build-ansible (obs osmo-gsm-tester-build
osmocom-master-debian10 ttcn3-ggsn-test-kernel-git osmocom-gerrit-debian10 osmocom-gerrit
repo-install-test osmocom-master) in workspace
<https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_master/ws/>
The recommended git tool is: NONE
No credentials specified
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository
https://gerrit.osmocom.org/osmo-ci
git init
<https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_master/ws/> # timeout=10
Fetching upstream changes from
https://gerrit.osmocom.org/osmo-ci
git --version # timeout=10
git --version # 'git version 2.20.1'
git fetch --tags --force --progress --
https://gerrit.osmocom.org/osmo-ci
+refs/heads/*:refs/remotes/origin/* # timeout=10
git config remote.origin.url
https://gerrit.osmocom.org/osmo-ci # timeout=10
git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
git rev-parse
refs/remotes/origin/refs/remotes/origin/master^{commit} # timeout=10
git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out
Revision b206b2f1d22def7197c1913feeba167314ff2564 (refs/remotes/origin/master)
git config core.sparsecheckout # timeout=10
git checkout -f b206b2f1d22def7197c1913feeba167314ff2564 # timeout=10
Commit
message: "scripts/docker-cleanup: remove containers > 24h"
git rev-list --no-walk
b206b2f1d22def7197c1913feeba167314ff2564 # timeout=10
[Osmocom_OBS_master] $ /bin/sh
-xe /tmp/jenkins14662265135747566150.sh
+ export PYTHONUNBUFFERED=1
+ ./scripts/obs/update_obs_project.py --apiurl
https://obs.osmocom.org --conflict-version
--docker --feed master --meta osmocom:master
docker: building image debian-12-osmocom-obs-build-srcpkg
+ run_in_docker_and_exit(): ['docker', 'build', '--build-arg',
'DISTRO=debian:12', '--build-arg', 'DISTRO_FROM=debian:12',
'--build-arg', 'UID=1000', '-t',
'debian-12-osmocom-obs-build-srcpkg', '-f',
'<https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_master/ws/scripts/obs/data/build_srcpkg.Dockerfile',>
'<https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_master/ws/scripts/obs/data']>
Sending build context to Docker daemon 15.36kB
Step 1/6 : ARG DISTRO_FROM
Step 2/6 : FROM ${DISTRO_FROM}
---> 3676c78a12ad
Step 3/6 : ARG UID
---> Using cache
---> 425129de7ffe
Step 4/6 : RUN apt-get update && apt-get upgrade -y && apt-get install
-y --no-install-recommends ca-certificates colordiff debhelper dh-python
dpkg-dev fakeroot git git-review gnupg2 libxml2-utils meson osc
python3-packaging python3-setuptools rebar3 sed && apt-get clean
---> Using cache
---> 46fff3eb8168
Step 5/6 : RUN useradd --uid=${UID} -m user
---> Using cache
---> dd3804a18a16
Step 6/6 : USER user
---> Using cache
---> 3f429e397d8d
[Warning] One or more build-args [DISTRO] were not consumed
Successfully built 3f429e397d8d
Successfully tagged debian-12-osmocom-obs-build-srcpkg:latest
docker: running: update_obs_project.py inside docker
OBS: getting packages in osmocom:master
### Building source packages ###
osmocom-master: getting OBS version
ERROR: command failed unexpectedly
*** command ***
['osc', '-A', 'https://obs.osmocom.org', 'list',
'osmocom:master', 'osmocom-master']
*** returncode ***
1
*** output ***
Server returned an error: HTTP Error 500: Internal Server Error
Request:
https://obs.osmocom.org/source/osmocom:master/osmocom-master?rev=latest
Headers:
Server: nginx
Date: Thu, 05 Oct 2023 08:35:01 GMT
Content-Type: application/xml; charset=utf-8
Content-Length: 131
Connection: close
X-Request-Id: aac880d4-bb97-4f2f-ae2c-d57f8aa99f07
X-Runtime: 0.240088
X-Powered-By: Phusion Passenger(R) 6.0.14
Status: 500 Internal Server Error
Cache-Control: public
*** python trace ***
Traceback (most recent call last):
File "/obs/update_obs_project.py", line 251, in <module>
main()
File "/obs/update_obs_project.py", line 245, in main
build_srcpkgs(pkgs_remote, packages)
File "/obs/update_obs_project.py", line 141, in build_srcpkgs
build_srcpkg_if_needed(pkgs_remote, f"osmocom-{feed}", True)
File "/obs/update_obs_project.py", line 109, in build_srcpkg_if_needed
obs_version = lib.osc.get_package_version(package)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/obs/lib/osc.py", line 70, in get_package_version
ret = run_osc(["list", proj, os.path.basename(package)])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/obs/lib/osc.py", line 58, in run_osc
return lib.run_cmd(cmd, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/obs/lib/__init__.py", line 176, in run_cmd
exit_error_cmd(p, "command failed unexpectedly")
File "/obs/lib/__init__.py", line 137, in exit_error_cmd
raise RuntimeError("shell command related error, find details right above"
RuntimeError: shell command related error, find details right above this python trace
Build step 'Execute shell' marked build as failure