See
<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/2146/display/redirect?page=changes>
Changes:
[Pau Espin Pedrol] sgsn: Fix running with testenv.py podman setup
[Pau Espin Pedrol] sgsn: Introduce test TC_attach_rau_a_b_wrong_old_ra
[Pau Espin Pedrol] deps/Makefile: Use upstream titan.TestPorts.SIPmsg
------------------------------------------
Started by timer
Running as SYSTEM
Building remotely on build4-deb12build-ansible (ttcn3 obs ttcn3_with_linux_6.1_or_higher
qemu io_uring osmocom-gerrit coverity osmocom-master) in workspace
<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/>
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository
https://gerrit.osmocom.org/osmo-ttcn3-hacks
git init
<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/> # timeout=10
Fetching upstream changes from
https://gerrit.osmocom.org/osmo-ttcn3-hacks
git --version # timeout=10
git --version # 'git version 2.39.2'
git fetch --tags --force --progress --
https://gerrit.osmocom.org/osmo-ttcn3-hacks
+refs/heads/*:refs/remotes/origin/* # timeout=10
git config remote.origin.url
https://gerrit.osmocom.org/osmo-ttcn3-hacks # 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 1851c85a04f2a3dc737f14c5eedd96b1e31f1b3f (origin/master)
git config core.sparsecheckout # timeout=10
git checkout -f 1851c85a04f2a3dc737f14c5eedd96b1e31f1b3f # timeout=10
Commit
message: "deps/Makefile: Use upstream titan.TestPorts.SIPmsg"
git rev-list --no-walk
6ec37f62651e8f3e9e841d32d62a1539b4dd25d0 # timeout=10
[ttcn3-mgw-test-latest] $
/bin/sh -xe /tmp/jenkins8675393816542736474.sh
+ DISTRO=debian:bookworm
+ echo debian:bookworm
+ tr : -
+
IMAGE=registry.osmocom.org/osmocom-build/debian-bookworm-osmo-ttcn3-testenv
+ podman pull
registry.osmocom.org/osmocom-build/debian-bookworm-osmo-ttcn3-testenv
Trying to pull
registry.osmocom.org/osmocom-build/debian-bookworm-osmo-ttcn3-testenv:latest...
Getting image source signatures
Copying blob sha256:e9aef93137af6e967e7242f3b3c8ecd8e6f571d1e6fdd9e72db0befeeae3cf13
Copying blob sha256:f513136e1852d554fdc336cc7c5adcd27c877bb56bb2f2db92e027c2e5f54424
Copying blob sha256:3bc7bb1a64a7cd53d88315d220d58601bfed208588029741b1af9d08d2924c29
Copying blob sha256:c31904ac65f639e6feee2983216d5d93105e7fc3916212bc772cbbc26649c315
Copying blob sha256:0ed50084e1bdd27da4114235020df0289e48ae91c26c7a24841ff281b1e1d4ff
Copying blob sha256:2b2cfc71b576579b63fb0bd3499ab7257ee29d842f0143f8b1a1a0b6f7c1182d
Copying blob sha256:63e1dcb1cea667d6aa137056d5d025cc5427bab558e0c94ae80313f2ca20eda1
Copying blob sha256:f7abd782a2bc094ed87d0ee31cffb027b2ff09016cb9aac51e3a1f9bf266fc9a
Copying blob sha256:64216985e278721b53b9aaa6cc49ea16466d9046652f9fea80eaff91cd21687e
Copying blob sha256:6a31deceeb26c7979bf4fa24dae3e4b8cf960a6288a222f30ffde449156de7ee
Copying config sha256:9652caef22b9451cf85de7545d042b76bb092553d8dd0affd83478d0abd9ff64
Writing manifest to image destination
Storing signatures
9652caef22b9451cf85de7545d042b76bb092553d8dd0affd83478d0abd9ff64
+ rm -rf logs _cache
+ set +x
+ ./testenv.py run mgw --podman --cache
<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/_cache> --ccache
/home/osmocom-build/ccache/testenv --log-dir
<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/logs> -b
osmocom:latest
[0;94m[testenv] Binary repository ends in :latest, using latest configs[0m
[1;34m[testenv] Logging to:
<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/logs[0m>
[0;94m[testenv] + ['podman', 'image', 'exists',
'debian-bookworm-osmo-ttcn3-testenv'][0m
[0;94m[testenv] + ['podman', 'history',
'debian-bookworm-osmo-ttcn3-testenv', '--format', 'json'][0m
[0;94m[testenv] Image creation date: 2024-07-15 11:13:48[0m
[0;94m[testenv] Assuming the podman image is up-to-date[0m
[0;94m[testenv] + ['podman', 'run', '--rm', '--name',
'testenv-mgw-osmocom-latest-20240821-1025-b9a2f8d4', '--detach',
'--security-opt=seccomp=<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/_testenv/data/podman/seccomp.json',>
'--cap-add=NET_ADMIN', '--cap-add=NET_RAW',
'--device=/dev/net/tun', '--volume',
'<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/_cache/podman/var-cache-apt>:/var/cache/apt',
'--volume',
'<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/_cache/podman/var-lib-apt>:/var/lib/apt',
'--volume',
'<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/logs>:<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/logs',>
'--volume',
'<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/_cache>:<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/_cache',>
'--volume',
'/home/osmocom-build/ccache/testenv:/home/osmocom-build/ccache/testenv',
'--volume',
'/home/osmocom-build/jenkins/workspace:/home/osmocom-build/jenkins/workspace',
'debian-bookworm-osmo-ttcn3-testenv',
'<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/_testenv/data/scripts/testenv-podman-main.sh'][0m>
adc62a45e86647b6020c795f4e1592e44095d560a19f1c535c52196097a38092
[0;94m[testenv] + ['podman', 'exec', '-e',
'CCACHE_DIR=/home/osmocom-build/ccache/testenv', '-e',
'TESTENV_CACHE_DIR=<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/_cache',>
'-e', 'TESTENV_SRC_DIR=/home/osmocom-build/jenkins/workspace',
'-e', 'TERM=dumb', '-e',
'TESTENV_GIT_DIR=<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/_cache/git',>
'-e',
'PATH=<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/_testenv/data/scripts>:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'-e', 'HOME=/home/osmocom-build', '-t',
'testenv-mgw-osmocom-latest-20240821-1025-b9a2f8d4', 'rm',
'/etc/apt/apt.conf.d/docker-clean'][0m
Error: can only create exec sessions on running containers: container state improper
[1;91m[testenv] Command failed unexpectedly[0m
[0;94m[testenv] Command: ['podman', 'exec', '-e',
'CCACHE_DIR=/home/osmocom-build/ccache/testenv', '-e',
'TESTENV_CACHE_DIR=<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/_cache',>
'-e', 'TESTENV_SRC_DIR=/home/osmocom-build/jenkins/workspace',
'-e', 'TERM=dumb', '-e',
'TESTENV_GIT_DIR=<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/_cache/git',>
'-e',
'PATH=<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/_testenv/data/scripts>:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'-e', 'HOME=/home/osmocom-build', '-t',
'testenv-mgw-osmocom-latest-20240821-1025-b9a2f8d4', 'rm',
'/etc/apt/apt.conf.d/docker-clean'][0m
[0;94m[testenv] Returncode: 255[0m
Error: container adc62a45e86647b6020c795f4e1592e44095d560a19f1c535c52196097a38092 does not
exist in database: no such container
[1;91m[testenv] podman container crashed![0m
Traceback (most recent call last):
File
"<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/./testenv.py",>
line 115, in <module>
main()
File
"<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/./testenv.py",>
line 104, in main
run()
File
"<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/./testenv.py",>
line 33, in run
testenv.podman.start()
File
"<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/_testenv/testenv/podman.py",>
line 223, in start
exec_cmd(["rm", "/etc/apt/apt.conf.d/docker-clean"])
File
"<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/_testenv/testenv/podman.py",>
line 133, in exec_cmd
testenv.cmd.run(
File
"<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/_testenv/testenv/cmd.py",>
line 103, in run
exit_error_cmd(p, "Command failed unexpectedly")
File
"<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/_testenv/testenv/cmd.py",>
line 59, 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
[0;94m[testenv] Removing empty log dir[0m
[0;94m[testenv] + ['rm', '-d',
'<https://jenkins.osmocom.org/jenkins/job/ttcn3-mgw-test-latest/ws/logs'][0m>
Build step 'Execute shell' marked build as failure
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found.
Configuration error?