See
<https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_check_new_distros/7/display/redirect?page=changes>
Changes:
[Oliver Smith] README: update and convert to markdown
[Oliver Smith] README: document how to upgrade coverity
[Oliver Smith] coverity: upgrade to 2023.6.2
[Oliver Smith] ansible: fix updating /opt/coverity/current
[Oliver Smith] coverity: readlink /opt/coverity/current
------------------------------------------
Started by timer
Running as SYSTEM
Building remotely on build2-deb11build-ansible (ttcn3 obs osmocom-gerrit coverity
osmocom-master) in workspace
<https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_check_new_distros/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_check_new_distros/ws/> #
timeout=10
Fetching upstream changes from
https://gerrit.osmocom.org/osmo-ci
git --version # timeout=10
git --version # 'git version 2.30.2'
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 0bdf874252f8b1067053fe4bbf43485db59156e1 (origin/master)
git config core.sparsecheckout # timeout=10
git checkout -f 0bdf874252f8b1067053fe4bbf43485db59156e1 # timeout=10
Commit
message: "coverity: readlink /opt/coverity/current"
git rev-list --no-walk
11f9724c3992a0a1c920c5b103cff0a5095c5303 # timeout=10
[Osmocom_OBS_check_new_distros] $ /bin/sh -xe /tmp/jenkins1520947546496819012.sh
+ export PYTHONUNBUFFERED=1
+ ./scripts/obs/check_new_distros.py --docker
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_check_new_distros/ws/scripts/obs/data/build_srcpkg.Dockerfile',>
'<https://jenkins.osmocom.org/jenkins/job/Osmocom_OBS_check_new_distros/ws/scripts/obs/data']>
#0 building with "default" instance using docker driver
#1 [internal] load .dockerignore
#1 transferring context: 2B done
#1 DONE 0.0s
#2 [internal] load build definition from build_srcpkg.Dockerfile
#2 transferring dockerfile: 535B done
#2 DONE 0.0s
#3 [internal] load metadata for docker.io/library/debian:12
#3 DONE 0.8s
#4 [1/3] FROM
docker.io/library/debian:12@sha256:133a1f2aa9e55d1c93d0ae1aaa7b94fb141265d0ee3ea677175cdb96f5f990e5
#4 resolve
docker.io/library/debian:12@sha256:133a1f2aa9e55d1c93d0ae1aaa7b94fb141265d0ee3ea677175cdb96f5f990e5
0.0s done
#4 DONE 0.0s
#5 [2/3] 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
#5 CACHED
#6 [3/3] RUN USERADD --uid=1000 -m user
#6 CACHED
#7 exporting to image
#7 exporting layers done
#7 writing image sha256:a6ffd75ca7d109d3d057c07c56b57d8e0355b6fc30d656bf94a4526c4dd80874
done
#7 naming to docker.io/library/debian-12-osmocom-obs-build-srcpkg done
#7 DONE 0.0s
docker: running: check_new_distros.py inside docker
OBS: getting list of projects (
https://obs.osmocom.org)
OBS: getting list of projects (
https://api.opensuse.org)
ERROR: command failed unexpectedly
*** command ***
['osc', '-A', 'https://api.opensuse.org', 'ls']
*** returncode ***
1
*** output ***
Server returned an error: HTTP Error 401: Unauthorized
*** python trace ***
Traceback (most recent call last):
File "/obs/check_new_distros.py", line 110, in <module>
main()
File "/obs/check_new_distros.py", line 100, in main
projects_opensuse = lib.osc.get_projects()
^^^^^^^^^^^^^^^^^^^^^^
File "/obs/lib/osc.py", line 182, in get_projects
return lib.osc.run_osc(["ls"]).output.rstrip().split("\n")
^^^^^^^^^^^^^^^^^^^^^^^
File "/obs/lib/osc.py", line 58, in run_osc
return lib.run_cmd(cmd, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/obs/lib/__init__.py", line 179, in run_cmd
exit_error_cmd(p, "command failed unexpectedly")
File "/obs/lib/__init__.py", line 140, 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