Build failed in Jenkins: Osmocom_OBS_master #166162
See <https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_master/166162/display/redirect>
Changes:
------------------------------------------
Started by upstream project "master-osmo-hnbgw" build number 15706
originally caused by:
Started by timer
Running as SYSTEM
Building remotely on build5-deb12build-ansible (ttcn3 obs osmo-gsm-tester-build qemu io_uring linux-shallow-clone osmocom-build-x86_64 osmocom-gerrit coverity 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.39.5'
> 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 origin/master^{commit} # timeout=10
Checking out Revision d125a4062c364d5ad4980b56a881bc9e8de39fea (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f d125a4062c364d5ad4980b56a881bc9e8de39fea # timeout=10
Commit message: "jobs/registry-rebuild-upload-gerrit: new job"
> git rev-list --no-walk d125a4062c364d5ad4980b56a881bc9e8de39fea # timeout=10
[Osmocom_OBS_master] $ /bin/sh -xe /tmp/jenkins6802884514924495696.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-13-osmocom-obs-build-srcpkg
+ run_in_docker_and_exit(): ['docker', 'build', '--build-arg', 'DISTRO=debian:13', '--build-arg', 'DISTRO_FROM=debian:trixie', '--build-arg', 'UID=1000', '-t', 'debian-13-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']>
#0 building with "default" instance using docker driver
#1 [internal] load build definition from build_srcpkg.Dockerfile
#1 transferring dockerfile: 1.48kB done
#1 WARN: InvalidDefaultArgInFrom: Default value for ARG ${DISTRO_FROM} results in empty or invalid base image name (line 3)
#1 DONE 0.0s
#2 [internal] load metadata for docker.io/library/debian:trixie
#2 DONE 0.0s
#3 [internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s
#4 [1/4] FROM docker.io/library/debian:trixie
#4 DONE 0.0s
#5 [2/4] RUN APT-GET update && apt-get upgrade -y && apt-get install -y --no-install-recommends ca-certificates colordiff debhelper default-libmysqlclient-dev dh-cmake dh-python dh-runit dh-virtualenv dpkg-dev erlang-nox fakeroot git git-review gnupg2 libxml2-utils lsb-release meson osc pkgconf python3-packaging python3-pip python3-setuptools quilt sed sphinx-common wget && apt-get clean
#5 CACHED
#6 [3/4] RUN WGET https://github.com/erlang/rebar3/releases/download/3.24.0/rebar3 -O /usr/bin/rebar3 && echo "d2d31cfb98904b8e4917300a75f870de12cb5167cd6214d1043e973a56668a54 /usr/bin/rebar3" | sha256sum -c && chmod +x /usr/bin/rebar3 && rebar3 --version
#6 CACHED
#7 [4/4] RUN USERADD --uid=1000 -m user
#7 CACHED
#8 exporting to image
#8 exporting layers done
#8 writing image sha256:fa97bfffc846c1b1bdf5cd61868b259b60ac9878d56f9f70ffedb034b6ebd46d done
#8 naming to docker.io/library/debian-13-osmocom-obs-build-srcpkg done
#8 DONE 0.0s
[33m1 warning found (use docker --debug to expand):
[0m - InvalidDefaultArgInFrom: Default value for ARG ${DISTRO_FROM} results in empty or invalid base image name (line 3)
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.1.0 is up-to-date)
osmocom-keyring: getting head from git remote for master
ERROR: command failed unexpectedly
*** command ***
['git', 'ls-remote', 'https://gerrit.osmocom.org/osmocom-keyring', 'heads/master']
*** returncode ***
128
*** output ***
error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504
fatal: expected flush after ref listing
*** python trace ***
Traceback (most recent call last):
File "/obs/update_obs_project.py", line 265, in <module>
main()
~~~~^^
File "/obs/update_obs_project.py", line 259, in main
build_srcpkgs(pkgs_remote, packages)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/obs/update_obs_project.py", line 151, in build_srcpkgs
build_srcpkg_if_needed(pkgs_remote, package, False)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/obs/update_obs_project.py", line 97, in build_srcpkg_if_needed
latest_version = lib.git.get_head_remote(package, branch,
branch_missing_ok=delete)
File "/obs/lib/git.py", line 101, in get_head_remote
ls_remote = lib.run_cmd(["git", "ls-remote", repo_url, f"heads/{branch}"])
File "/obs/lib/__init__.py", line 202, in run_cmd
exit_error_cmd(p, "command failed unexpectedly")
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/obs/lib/__init__.py", line 163, in exit_error_cmd
raise RuntimeError("shell command related error, find details right above"
" this python trace")
RuntimeError: shell command related error, find details right above this python trace
Build step 'Execute shell' marked build as failure
See <https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_master/166163/display/redirect> Changes: ------------------------------------------ Started by upstream project "master-libgtpnl" build number 3283 originally caused by: Started by timer Running as SYSTEM Building remotely on build4-deb12build-ansible (ttcn3 obs osmo-gsm-tester-build qemu io_uring linux-shallow-clone osmocom-build-x86_64 osmocom-gerrit coverity 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.39.5' git fetch --tags --force --progress -- https://gerrit.osmocom.org/osmo-ci +refs/heads/*:refs/remotes/origin/* # timeout=10 ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException: Command "git fetch --tags --force --progress -- https://gerrit.osmocom.org/osmo-ci +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: fatal: unable to access 'https://gerrit.osmocom.org/osmo-ci/': The requested URL returned error: 502
at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2852) at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:2193) at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:638) at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:880) at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:173) at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:164) at hudson.remoting.UserRequest.perform(UserRequest.java:225) at hudson.remoting.UserRequest.perform(UserRequest.java:50) at hudson.remoting.Request$2.run(Request.java:391) at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:81) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:330) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614) at java.base/java.lang.Thread.run(Thread.java:1516) Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to build4-deb12build-ansible at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1916) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:384) at hudson.remoting.Channel.call(Channel.java:1108) at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:155) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at PluginClassLoader for git-client//org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:140) at PluginClassLoader for git-client/jdk.proxy67/jdk.proxy67.$Proxy144.execute(Unknown Source) at PluginClassLoader for git//hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1236) at PluginClassLoader for git//hudson.plugins.git.GitSCM._checkout(GitSCM.java:1326) at PluginClassLoader for git//hudson.plugins.git.GitSCM.checkout(GitSCM.java:1293) at hudson.scm.SCM.checkout(SCM.java:540) at hudson.model.AbstractProject.checkout(AbstractProject.java:1254) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:648) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:84) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:521) at hudson.model.Run.execute(Run.java:1849) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:456) ERROR: Error cloning remote repo 'origin'
participants (1)
-
jenkins@lists.osmocom.org