See
<https://jenkins.osmocom.org/jenkins/job/ttcn3-pcu-test-sns/1434/display/redirect?page=changes>
Changes:
[Oliver Smith] ttcn3-*/jenkins*.sh: use $SUBNET everywhere
[Oliver Smith] network_create: find free subnet automatically
------------------------------------------
[...truncated 35.66 KB...]
make[4]: Leaving directory '/tmp/osmo-pcu/contrib/systemd'
make[3]: Leaving directory '/tmp/osmo-pcu/contrib/systemd'
make[3]: Entering directory '/tmp/osmo-pcu/contrib'
make[4]: Entering directory '/tmp/osmo-pcu/contrib'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/tmp/osmo-pcu/contrib'
make[3]: Leaving directory '/tmp/osmo-pcu/contrib'
make[2]: Leaving directory '/tmp/osmo-pcu/contrib'
make[2]: Entering directory '/tmp/osmo-pcu'
make[3]: Entering directory '/tmp/osmo-pcu'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/tmp/osmo-pcu'
make[2]: Leaving directory '/tmp/osmo-pcu'
make[1]: Leaving directory '/tmp/osmo-pcu'
Removing intermediate container 5660663f2108
---> 4e18c8c2188d
Step 11/14 : VOLUME /data
---> Running in 979e0e5d98d5
Removing intermediate container 979e0e5d98d5
---> 8f182c8ca70b
Step 12/14 : COPY osmo-pcu.cfg /data/osmo-pcu.cfg
---> 58cb891b1838
Step 13/14 : WORKDIR /data
---> Running in 3039a957451e
Removing intermediate container 3039a957451e
---> e869c456f2ef
Step 14/14 : CMD ["/usr/local/bin/osmo-pcu", "-i",
"172.18.0.230"]
---> Running in 9046357cd200
Removing intermediate container 9046357cd200
---> 577edb4beb54
[Warning] One or more build-args [OSMO_BSC_BRANCH REGISTRY UID OSMO_UECUPS_BRANCH
OSMO_BTS_BRANCH OSMO_HLR_BRANCH OSMO_SIP_BRANCH OSMO_HNODEB_BRANCH OSMO_STP_BRANCH
UPSTREAM_DISTRO LIBOSMOCORE_BRANCH OPEN5GS_BRANCH OSMO_GGSN_BRANCH OSMO_MGW_BRANCH
OSMO_NITB_BRANCH OSMO_TTCN3_BRANCH OSMOCOM_REPO_MIRROR OSMOCOM_REPO_TESTSUITE_MIRROR
OSMO_CBC_BRANCH OSMO_IUH_BRANCH OSMO_SGSN_BRANCH OSMO_BB_BRANCH OSMO_GBPROXY_BRANCH
OSMO_GSM_TESTER_BRANCH OSMO_HNBGW_BRANCH OSMOCOM_REPO_VERSION OSMO_MSC_BRANCH
OSMOCOM_REPO_PATH] were not consumed
Successfully built 577edb4beb54
Successfully tagged osmocom-build/osmo-pcu-master:latest
rm -rf .common
make: Leaving directory
'<https://jenkins.osmocom.org/jenkins/job/ttcn3-pcu-test-sns/ws/osmo-pcu-master'>
+ docker_image_exists osmo-pcu-master
+ docker images -q osmocom-build/osmo-pcu-master
+ test -n 577edb4beb54
+ list_osmo_packages debian-bullseye osmo-pcu-master
+ local distro=debian-bullseye
+ local image=osmo-pcu-master
+ local docker_run_sh=docker run --rm --entrypoint=/bin/sh osmocom-build/osmo-pcu-master
-c
+ [ -n ]
+ set +x
### Installed Osmocom packages in: osmo-pcu-master ###
ii libosmocodec0:amd64 1.7.0.96.a13d.202301170007 amd64 Osmo
codec library
ii libosmocoding0:amd64 1.7.0.96.a13d.202301170007 amd64 Osmo
coding library
ii libosmocore 1.7.0.96.a13d.202301170007 amd64 Open
Source MObile COMmunications CORE library (metapackage)
ii libosmocore-dev:amd64 1.7.0.96.a13d.202301170007 amd64
Development headers for Open Source MObile COMmunications CORE library
ii libosmocore19:amd64 1.7.0.96.a13d.202301170007 amd64 Osmo Core
library
ii libosmoctrl0:amd64 1.7.0.96.a13d.202301170007 amd64 Osmo
control library
ii libosmogb14:amd64 1.7.0.96.a13d.202301170007 amd64 Osmo GPRS
GB library
ii libosmogsm18:amd64 1.7.0.96.a13d.202301170007 amd64 Osmo GSM
utility library
ii libosmosim2:amd64 1.7.0.96.a13d.202301170007 amd64 Osmo SIM
library
ii libosmousb0:amd64 1.7.0.96.a13d.202301170007 amd64 Osmo USB
library
ii libosmovty9:amd64 1.7.0.96.a13d.202301170007 amd64 Osmo VTY
library
ii osmocom-nightly 202301170007 amd64 Dummy
package, conflicts with ['osmocom-2022q1', 'osmocom-2022q2',
'osmocom-2023q1', 'osmocom-latest', 'osmocom-master']
+ [
registry.osmocom.org =
registry.osmocom.org ]
+ docker_depends ttcn3-pcu-test
+ local feed
+ echo debian-bullseye-titan
+ depends=debian-bullseye-titan
+ [ -n debian-bullseye-titan ]
+ docker_images_require debian-bullseye-titan
+ local i
+ local from_line
+ local pull_arg
+ local upstream_distro_arg
+ local distro_arg
+ local depends
+ local dir
+ [
registry.osmocom.org =
registry.osmocom.org ]
+ docker pull
registry.osmocom.org/osmocom-build/debian-bullseye-titan
Using default tag: latest
latest: Pulling from osmocom-build/debian-bullseye-titan
Digest: sha256:33c02949d71e8f89cbe9ab1eed644c821e98199744d8b90820c9b324dff3d6d6
Status: Image is up to date for
registry.osmocom.org/osmocom-build/debian-bullseye-titan:latest
registry.osmocom.org/osmocom-build/debian-bullseye-titan:latest
+ continue
+ docker_distro_from_image_name ttcn3-pcu-test
+ echo debian-bullseye
+ distro_arg=debian-bullseye
+ [ -z ]
+ docker_upstream_distro_from_image_name ttcn3-pcu-test
+ echo debian:bullseye
+ upstream_distro_arg=debian:bullseye
+ docker_dir_from_image_name ttcn3-pcu-test
+ echo ttcn3-pcu-test
+ dir=ttcn3-pcu-test
+ pull_arg=--pull
+ grep ^FROM ../ttcn3-pcu-test/Dockerfile
+ from_line=FROM $REGISTRY/$USER/debian-bullseye-titan
+ echo FROM $REGISTRY/$USER/debian-bullseye-titan
+ grep -q $USER
+ pull_arg=
+ set +x
Building image: ttcn3-pcu-test (export NO_DOCKER_IMAGE_BUILD=1 to prevent this)
+ make -C ../ttcn3-pcu-test BUILD_ARGS= UPSTREAM_DISTRO=debian:bullseye
DISTRO=debian-bullseye IMAGE=osmocom-build/ttcn3-pcu-test
make: Entering directory
'<https://jenkins.osmocom.org/jenkins/job/ttcn3-pcu-test-sns/ws/ttcn3-pcu-test'>
awk: fatal: cannot open file `.release' for reading: No such file or directory
awk: fatal: cannot open file `.release' for reading: No such file or directory
awk: fatal: cannot open file `.release' for reading: No such file or directory
rm -rf .common
cp -r <https://jenkins.osmocom.org/jenkins/job/ttcn3-pcu-test-sns/ws/common>
.common
INFO: .release created
release=0.0.0
docker build \
--build-arg USER=osmocom-build \
--build-arg UID=1000 \
--build-arg
REGISTRY=registry.osmocom.org \
--build-arg OSMO_TTCN3_BRANCH=master \
--build-arg UPSTREAM_DISTRO=debian:bullseye \
--build-arg DISTRO=debian-bullseye \
--build-arg
OSMOCOM_REPO_MIRROR=https://downloads.osmocom.org \
--build-arg OSMOCOM_REPO_PATH=packages/osmocom: \
--build-arg OSMOCOM_REPO_VERSION=latest \
--build-arg
OSMOCOM_REPO_TESTSUITE_MIRROR=https://downloads.osmocom.org \
--build-arg LIBOSMOCORE_BRANCH=master \
--build-arg OSMO_BB_BRANCH=master \
--build-arg OSMO_BSC_BRANCH=master \
--build-arg OSMO_BTS_BRANCH=master \
--build-arg OSMO_CBC_BRANCH=master \
--build-arg OSMO_GBPROXY_BRANCH=master \
--build-arg OSMO_GGSN_BRANCH=master \
--build-arg OSMO_GSM_TESTER_BRANCH=master \
--build-arg OSMO_HLR_BRANCH=master \
--build-arg OSMO_HNBGW_BRANCH=master \
--build-arg OSMO_HNODEB_BRANCH=master \
--build-arg OSMO_IUH_BRANCH=master \
--build-arg OSMO_MGW_BRANCH=master \
--build-arg OSMO_MSC_BRANCH=master \
--build-arg OSMO_NITB_BRANCH=master \
--build-arg OSMO_PCU_BRANCH=master \
--build-arg OSMO_SGSN_BRANCH=master \
--build-arg OSMO_SIP_BRANCH=master \
--build-arg OSMO_STP_BRANCH=master \
--build-arg OSMO_UECUPS_BRANCH=master \
--build-arg OPEN5GS_BRANCH=main \
-t osmocom-build/ttcn3-pcu-test:latest .
Sending build context to Docker daemon 34.82kB
Step 1/9 : ARG REGISTRY
Step 2/9 : ARG USER
Step 3/9 : FROM $REGISTRY/$USER/debian-bullseye-titan
---> c52b3a0afa2b
Step 4/9 : ARG OSMO_TTCN3_BRANCH="master"
---> Using cache
---> 7fd781eb90de
Step 5/9 :
ADD
https://gerrit.osmocom.org/plugins/gitiles/osmo-ttcn3-hacks/+/$OSMO_TTCN3_B…
/tmp/commit
---> Using cache
---> 00095faa6a88
Step 6/9 : RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" pcu
---> Using cache
---> c0743dc759cc
Step 7/9 : VOLUME /data
---> Using cache
---> 108c9c58179d
Step 8/9 : COPY PCU_Tests.cfg /data/PCU_Tests.cfg
---> Using cache
---> 544a51b7626c
Step 9/9 : CMD ttcn3-docker-run pcu PCU_Tests
---> Using cache
---> e8bc26a3cc10
[Warning] One or more build-args [OSMO_BSC_BRANCH OSMO_SIP_BRANCH OPEN5GS_BRANCH
OSMO_BB_BRANCH OSMO_BTS_BRANCH OSMO_CBC_BRANCH OSMO_HNBGW_BRANCH UPSTREAM_DISTRO
OSMO_MGW_BRANCH OSMO_NITB_BRANCH OSMO_STP_BRANCH OSMOCOM_REPO_MIRROR LIBOSMOCORE_BRANCH
OSMOCOM_REPO_PATH OSMOCOM_REPO_TESTSUITE_MIRROR OSMO_GGSN_BRANCH OSMO_HNODEB_BRANCH
OSMO_IUH_BRANCH OSMO_SGSN_BRANCH OSMO_GBPROXY_BRANCH OSMO_HLR_BRANCH OSMO_MSC_BRANCH
OSMO_PCU_BRANCH OSMO_UECUPS_BRANCH UID DISTRO OSMOCOM_REPO_VERSION OSMO_GSM_TESTER_BRANCH]
were not consumed
Successfully built e8bc26a3cc10
Successfully tagged osmocom-build/ttcn3-pcu-test:latest
rm -rf .common
make: Leaving directory
'<https://jenkins.osmocom.org/jenkins/job/ttcn3-pcu-test-sns/ws/ttcn3-pcu-test'>
+ docker_image_exists ttcn3-pcu-test
+ docker images -q osmocom-build/ttcn3-pcu-test
+ test -n e8bc26a3cc10
+ list_osmo_packages debian-bullseye ttcn3-pcu-test
+ local distro=debian-bullseye
+ local image=ttcn3-pcu-test
+ local docker_run_sh=docker run --rm --entrypoint=/bin/sh osmocom-build/ttcn3-pcu-test
-c
+ [ -n ]
+ return
+ set_clean_up_trap
+ trap clean_up_common EXIT INT TERM 0
+ set -e
+ mkdir
<https://jenkins.osmocom.org/jenkins/job/ttcn3-pcu-test-sns/1434/artifact/logs/pcu-tester>
+ mkdir
<https://jenkins.osmocom.org/jenkins/job/ttcn3-pcu-test-sns/1434/artifact/logs/pcu-tester/unix>
+ cp sns/PCU_Tests.cfg
<https://jenkins.osmocom.org/jenkins/job/ttcn3-pcu-test-sns/1434/artifact/logs/pcu-tester/>
+ write_mp_osmo_repo
<https://jenkins.osmocom.org/jenkins/job/ttcn3-pcu-test-sns/1434/artifact/logs/pcu-tester/PCU_Tests.cfg>
+ local repo=nightly
+ local
config=<https://jenkins.osmocom.org/jenkins/job/ttcn3-pcu-test-sns/1434/…
+ local line
+ [ -e
<https://jenkins.osmocom.org/jenkins/job/ttcn3-pcu-test-sns/1434/artifact/logs/pcu-tester/PCU_Tests.cfg>
]
+ line=Misc_Helpers.mp_osmo_repo := "nightly"
+ sed -i s/\[MODULE_PARAMETERS\]/\[MODULE_PARAMETERS\]\nMisc_Helpers.mp_osmo_repo :=
"nightly"/g
<https://jenkins.osmocom.org/jenkins/job/ttcn3-pcu-test-sns/1434/artifact/logs/pcu-tester/PCU_Tests.cfg>
+ mkdir
<https://jenkins.osmocom.org/jenkins/job/ttcn3-pcu-test-sns/1434/artifact/logs/pcu>
+ mkdir
<https://jenkins.osmocom.org/jenkins/job/ttcn3-pcu-test-sns/1434/artifact/logs/pcu/unix>
+ cp sns/osmo-pcu.cfg
<https://jenkins.osmocom.org/jenkins/job/ttcn3-pcu-test-sns/1434/artifact/logs/pcu/>
+ mkdir
<https://jenkins.osmocom.org/jenkins/job/ttcn3-pcu-test-sns/1434/artifact/logs/unix>
+ network_create
+ docker network ls
+ grep -q ttcn3-pcu-test-sns
+ set +x
Removing stale network and containers...
+ network_clean
+ docker network inspect ttcn3-pcu-test-sns
+ grep Name
+ cut -d : -f2
+ awk -F" NR>1{print $2}
+ xargs -rn1 docker kill
jenkins-TTCN3-centos-pcu-test-sns-978-ttcn3-pcu-test-sns
jenkins-TTCN3-centos-pcu-test-sns-978-pcu-sns
+ network_remove
+ set +x
Removing network ttcn3-pcu-test-sns
+ docker network remove ttcn3-pcu-test-sns
Error: No such network: ttcn3-pcu-test-sns
+ clean_up_common
+ set +e
+ set +x
### Clean up ###
+ trap - EXIT INT TERM 0
+ type clean_up
+ network_clean
+ docker network inspect ttcn3-pcu-test-sns
+ grep Name
+ cut -d : -f2
+ awk -F" NR>1{print $2}
+ xargs -rn1 docker kill
Error: No such network: ttcn3-pcu-test-sns
+ network_remove
+ set +x
Removing network ttcn3-pcu-test-sns
+ docker network remove ttcn3-pcu-test-sns
Error: No such network: ttcn3-pcu-test-sns
+ rm -rf
<https://jenkins.osmocom.org/jenkins/job/ttcn3-pcu-test-sns/1434/artifact/logs/unix>
+ fix_perms
+ set +x
Fixing permissions
+ docker run --rm -v
<https://jenkins.osmocom.org/jenkins/job/ttcn3-pcu-test-sns/ws/logs>:/data -v
<https://jenkins.osmocom.org/jenkins/job/ttcn3-pcu-test-sns/ws/_cache>:/cache --name
jenkins-ttcn3-pcu-test-sns-1434-cleaner debian:bullseye chmod -R a+rX /data/ /cache/
+ collect_logs
+ cat
<https://jenkins.osmocom.org/jenkins/job/ttcn3-pcu-test-sns/1434/artifact/logs/*/junit-*.log>
cat:
'<https://jenkins.osmocom.org/jenkins/job/ttcn3-pcu-test-sns/1434/artifact/logs/*/junit-*.log'>:
No such file or directory
+ true
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?