Build failed in Jenkins: Osmocom_OBS_master #4606
See <https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_master/4606/display/redirect>
Changes:
------------------------------------------
Started by upstream project "master-osmo-gsm-tester" build number 1904
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 cdd4eece45ccf1cf4ac60e96ff6483c9b53a4324 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f cdd4eece45ccf1cf4ac60e96ff6483c9b53a4324 # timeout=10
Commit message: "data/build_rpm: force refresh of package indexes"
> git rev-list --no-walk cdd4eece45ccf1cf4ac60e96ff6483c9b53a4324 # timeout=10
[Osmocom_OBS_master] $ /bin/sh -xe /tmp/jenkins1353379364292066878.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-11-osmocom-obs-build-srcpkg
+ run_in_docker_and_exit(): ['docker', 'build', '--build-arg', 'DISTRO=debian:11', '--build-arg', 'DISTRO_FROM=debian:11', '--build-arg', 'UID=1000', '-t', 'debian-11-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/8 : FROM debian:bullseye
---> 34b4fa67dc04
Step 2/8 : ARG UID
---> Using cache
---> 9de66e8350c2
Step 3/8 : RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends ca-certificates gnupg2 && apt-get clean
---> Using cache
---> a307ff5a8ca4
Step 4/8 : COPY Release.key /tmp/Release.key
---> Using cache
---> 0414b3d3d74b
Step 5/8 : RUN apt-key add /tmp/Release.key && rm /tmp/Release.key && echo "deb https://downloads.osmocom.org/packages/osmocom:/latest/Debian_11/ ./" > /etc/apt/sources.list.d/osmocom-latest.list
---> Using cache
---> e048c7108c49
Step 6/8 : RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends debhelper dh-python dpkg-dev fakeroot git git-review meson osc python3-setuptools rebar3 sed && apt-get clean
---> Using cache
---> 3e6deeced63b
Step 7/8 : RUN useradd --uid=${UID} -m user
---> Using cache
---> a1ecdac723fe
Step 8/8 : USER user
---> Using cache
---> 0eec289dacc8
[Warning] One or more build-args [DISTRO DISTRO_FROM] were not consumed
Successfully built 0eec289dacc8
Successfully tagged debian-11-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 (2f173b712e590472641ef0ac6bccdbf85d59523c is up-to-date)
libasn1c: getting head from git remote for master
libasn1c: getting OBS version
libasn1c: skipping (3e483e59502fac088198b486fc44c1a20dc73b50 is up-to-date)
libgtpnl: getting head from git remote for master
libgtpnl: getting OBS version
libgtpnl: skipping (b59bc14f174d7983fa3d77d9320b99a2f6ab5908 is up-to-date)
libosmo-abis: getting head from git remote for master
libosmo-abis: getting OBS version
libosmo-abis: skipping (1e74d29937e415b48ec3b96aa1313fcebabb3331 is up-to-date)
libosmo-dsp: getting head from git remote for master
libosmo-dsp: getting OBS version
libosmo-dsp: skipping (6964e3657cf9f9652f79738db9d7871004e72d5c is up-to-date)
libosmo-gprs: getting head from git remote for master
libosmo-gprs: getting OBS version
libosmo-gprs: skipping (73bc3768d9879a4477f00d8ec92998e45930df50 is up-to-date)
libosmo-netif: getting head from git remote for master
libosmo-netif: getting OBS version
libosmo-netif: skipping (ee17c3890a707b7ee5c38a487e92ad7f4845f044 is up-to-date)
libosmo-pfcp: getting head from git remote for master
libosmo-pfcp: getting OBS version
libosmo-pfcp: skipping (934b2ceefd0d97bc7b8ae23fda5d81b2432bc4f6 is up-to-date)
libosmo-sccp: getting head from git remote for master
libosmo-sccp: getting OBS version
libosmo-sccp: skipping (1f50d451a0f302d30a2f4ec57e301b9b40e667e5 is up-to-date)
libosmocore: getting head from git remote for master
libosmocore: getting OBS version
libosmocore: skipping (cbbd17e3f4e460f410d59cbb1523ae0b25d130d8 is up-to-date)
libsmpp34: getting head from git remote for master
libsmpp34: getting OBS version
libsmpp34: skipping (86ff275bb17573c05025e7068e6d5f3b0770366f is up-to-date)
libusrp: getting head from git remote for master
libusrp: getting OBS version
libusrp: skipping (312f964ed22428a999a6dde923af81bcffe8f668 is up-to-date)
osmo-bsc: getting head from git remote for master
osmo-bsc: getting OBS version
osmo-bsc: skipping (1f3bfff66835f1a4359211c181f40d04c5ed2170 is up-to-date)
osmo-bsc-nat: getting head from git remote for master
osmo-bsc-nat: getting OBS version
osmo-bsc-nat: skipping (cf2bc81fdd3e8de345a2231e18096246f89c7db3 is up-to-date)
osmo-bts: getting head from git remote for master
osmo-bts: getting OBS version
osmo-bts: skipping (9cc85c1a6a89ca1027deb999f0937c5c84515683 is up-to-date)
osmo-cbc: getting head from git remote for master
ERROR: command failed unexpectedly
*** command ***
['git', 'ls-remote', 'https://gerrit.osmocom.org/osmo-cbc', 'heads/master']
*** returncode ***
128
*** output ***
fatal: unable to access 'https://gerrit.osmocom.org/osmo-cbc/': gnutls_handshake() failed: Error in the pull function.
*** 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 143, in build_srcpkgs
build_srcpkg_if_needed(pkgs_remote, package, False)
File "/obs/update_obs_project.py", line 91, in build_srcpkg_if_needed
latest_version = lib.git.get_head_remote(package, branch,
File "/obs/lib/git.py", line 99, in get_head_remote
ls_remote = lib.run_cmd(["git", "ls-remote", repo_url, f"heads/{branch}"])
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
See <https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_master/4607/display/redirect> Changes: ------------------------------------------ Started by upstream project "master-osmo-ccid-firmware" build number 1322 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 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/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2734) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:2111) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:623) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:852) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:158) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:151) at hudson.remoting.UserRequest.perform(UserRequest.java:211) at hudson.remoting.UserRequest.perform(UserRequest.java:54) at hudson.remoting.Request$2.run(Request.java:377) at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to build2-deb10build-ansible at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356) at hudson.remoting.Channel.call(Channel.java:1000) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:143) at jdk.internal.reflect.GeneratedMethodAccessor408.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:129) at com.sun.proxy.$Proxy158.execute(Unknown Source) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1226) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1309) at hudson.scm.SCM.checkout(SCM.java:540) at hudson.model.AbstractProject.checkout(AbstractProject.java:1241) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:649) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:85) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:521) at hudson.model.Run.execute(Run.java:1900) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) at hudson.model.ResourceController.execute(ResourceController.java:107) at hudson.model.Executor.run(Executor.java:449) ERROR: Error cloning remote repo 'origin'
participants (1)
-
jenkins@lists.osmocom.org