See 
<https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_master/22377/display/redirect>

Changes:


------------------------------------------
Started by upstream project "master-osmo-gmr" build number 7728
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 15777116dd4942c47ca7c8f22a4801d2c4a3fb0e 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 15777116dd4942c47ca7c8f22a4801d2c4a3fb0e # timeout=10
Commit message: "obs: build_binpkg: no network during build"
 > git rev-list --no-walk 15777116dd4942c47ca7c8f22a4801d2c4a3fb0e # timeout=10
[Osmocom_OBS_master] $ /bin/sh -xe /tmp/jenkins5476182898532179240.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
osmocom-master: skipping (1.0.0 is up-to-date)
erlang/osmo_dia2gsup: getting head from git remote for master
erlang/osmo_dia2gsup: getting OBS version
erlang/osmo_dia2gsup: skipping (3c8e580ce69e498f17b0f748826ff99b906d2013 is 
up-to-date)
erlang/osmo-epdg: getting head from git remote for master
erlang/osmo-epdg: getting OBS version
erlang/osmo-epdg: skipping (c6d863d6b6c3ca94aa7e1992bcc7d7e4148fbf6c is 
up-to-date)
libasn1c: getting head from git remote for master
libasn1c: getting OBS version
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

ERROR: command failed unexpectedly

*** command ***
['osc', '-A', 'https://obs.osmocom.org', 'list', 'osmocom:master', 'libasn1c']

*** returncode ***
1

*** output ***
Server returned an error: HTTP Error 504: Gateway Time-out

Request: https://obs.osmocom.org/source/osmocom:master/libasn1c?rev=latest
Headers:
Server: nginx
Date: Fri, 06 Oct 2023 21:24:55 GMT
Content-Type: text/html
Content-Length: 160
Connection: close

*** python trace ***
    build_srcpkgs(pkgs_remote, packages)
  File "/obs/update_obs_project.py", line 144, in build_srcpkgs
    build_srcpkg_if_needed(pkgs_remote, package, False)
  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

Reply via email to