See
<https://jenkins.osmocom.org/jenkins/job/ttcn3-sip-test-latest/1560/display/redirect?page=changes>
Changes:
[Oliver Smith] ttcn3-*/jenkins*.sh: use $SUBNET everywhere
[Oliver Smith] network_create: find free subnet automatically
------------------------------------------
[...truncated 21.06 KB...]
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-sip-test
+ echo debian-bullseye
+ distro_arg=debian-bullseye
+ [ -z ]
+ docker_upstream_distro_from_image_name ttcn3-sip-test
+ echo debian:bullseye
+ upstream_distro_arg=debian:bullseye
+ docker_dir_from_image_name ttcn3-sip-test
+ echo ttcn3-sip-test
+ dir=ttcn3-sip-test
+ pull_arg=--pull
+ grep ^FROM ../ttcn3-sip-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-sip-test (export NO_DOCKER_IMAGE_BUILD=1 to prevent this)
+ make -C ../ttcn3-sip-test BUILD_ARGS= UPSTREAM_DISTRO=debian:bullseye
DISTRO=debian-bullseye IMAGE=osmocom-build/ttcn3-sip-test
make: Entering directory
'<https://jenkins.osmocom.org/jenkins/job/ttcn3-sip-test-latest/ws/ttcn3-sip-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-sip-test-latest/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-sip-test:latest .
Sending build context to Docker daemon 29.18kB
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
---> 1b7dc1b2b28d
Step 5/9 :
ADD
https://gerrit.osmocom.org/plugins/gitiles/osmo-ttcn3-hacks/+/$OSMO_TTCN3_B…
/tmp/commit
---> Using cache
---> 25938111891d
Step 6/9 : RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" sip
---> Using cache
---> 3caed0ae8700
Step 7/9 : VOLUME /data
---> Using cache
---> 1d4d76eba04b
Step 8/9 : COPY SIP_Tests.cfg /data/SIP_Tests.cfg
---> Using cache
---> a670e742a77a
Step 9/9 : CMD ttcn3-docker-run sip SIP_Tests
---> Using cache
---> e92029ae92af
[Warning] One or more build-args [OSMO_SGSN_BRANCH OSMOCOM_REPO_MIRROR
OSMOCOM_REPO_TESTSUITE_MIRROR OSMO_HLR_BRANCH OSMO_GSM_TESTER_BRANCH OSMO_MGW_BRANCH
OPEN5GS_BRANCH OSMOCOM_REPO_VERSION OSMO_GGSN_BRANCH OSMO_UECUPS_BRANCH OSMOCOM_REPO_PATH
OSMO_HNBGW_BRANCH OSMO_IUH_BRANCH OSMO_MSC_BRANCH DISTRO OSMO_GBPROXY_BRANCH
OSMO_HNODEB_BRANCH UID OSMO_BB_BRANCH OSMO_CBC_BRANCH OSMO_SIP_BRANCH LIBOSMOCORE_BRANCH
OSMO_PCU_BRANCH OSMO_STP_BRANCH UPSTREAM_DISTRO OSMO_BSC_BRANCH OSMO_BTS_BRANCH
OSMO_NITB_BRANCH] were not consumed
Successfully built e92029ae92af
Successfully tagged osmocom-build/ttcn3-sip-test:latest
rm -rf .common
make: Leaving directory
'<https://jenkins.osmocom.org/jenkins/job/ttcn3-sip-test-latest/ws/ttcn3-sip-test'>
+ docker_image_exists ttcn3-sip-test
+ docker images -q osmocom-build/ttcn3-sip-test
+ test -n e92029ae92af
+ list_osmo_packages debian-bullseye ttcn3-sip-test
+ local distro=debian-bullseye
+ local image=ttcn3-sip-test
+ local docker_run_sh=docker run --rm --entrypoint=/bin/sh osmocom-build/ttcn3-sip-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-sip-test-latest/1560/artifact/logs/sip-tester>
+ mkdir
<https://jenkins.osmocom.org/jenkins/job/ttcn3-sip-test-latest/1560/artifact/logs/sip-tester/unix>
+ cp SIP_Tests.cfg
<https://jenkins.osmocom.org/jenkins/job/ttcn3-sip-test-latest/1560/artifact/logs/sip-tester/>
+ write_mp_osmo_repo
<https://jenkins.osmocom.org/jenkins/job/ttcn3-sip-test-latest/1560/artifact/logs/sip-tester/SIP_Tests.cfg>
+ local repo=nightly
+ local
config=<https://jenkins.osmocom.org/jenkins/job/ttcn3-sip-test-latest/15…
+ local line
+ [ -e
<https://jenkins.osmocom.org/jenkins/job/ttcn3-sip-test-latest/1560/artifact/logs/sip-tester/SIP_Tests.cfg>
]
+ repo=latest
+ line=Misc_Helpers.mp_osmo_repo := "latest"
+ sed -i s/\[MODULE_PARAMETERS\]/\[MODULE_PARAMETERS\]\nMisc_Helpers.mp_osmo_repo :=
"latest"/g
<https://jenkins.osmocom.org/jenkins/job/ttcn3-sip-test-latest/1560/artifact/logs/sip-tester/SIP_Tests.cfg>
+ mkdir
<https://jenkins.osmocom.org/jenkins/job/ttcn3-sip-test-latest/1560/artifact/logs/sip>
+ mkdir
<https://jenkins.osmocom.org/jenkins/job/ttcn3-sip-test-latest/1560/artifact/logs/sip/unix>
+ cp osmo-sip-connector.cfg
<https://jenkins.osmocom.org/jenkins/job/ttcn3-sip-test-latest/1560/artifact/logs/sip/>
+ mkdir
<https://jenkins.osmocom.org/jenkins/job/ttcn3-sip-test-latest/1560/artifact/logs/unix>
+ network_create
+ docker network ls
+ grep -q ttcn3-sip-test
+ SUBNET=3423447
+ seq 1 30
+ echo (3423447 + 1) % 256
+ bc
+ SUBNET=216
+ SUB4=172.18.216.0/24
+ SUB6=fd02:db8:216::/64
+ set +x
Creating network ttcn3-sip-test, trying SUBNET=216...
+ docker network create --internal --subnet 172.18.216.0/24 --ipv6 --subnet
fd02:db8:216::/64 ttcn3-sip-test
24384be1757ecf4f52a5b2253d8714cacb9465a19f3965ef4081397826c7bccb
+ set +x
### Network ttcn3-sip-test created (SUBNET=216) ###
+ return
+ network_replace_subnet_in_configs
+ set +x
Applying SUBNET=216 to:
<https://jenkins.osmocom.org/jenkins/job/ttcn3-sip-test-latest/1560/artifact/logs/sip/osmo-sip-connector.cfg>
Applying SUBNET=216 to:
<https://jenkins.osmocom.org/jenkins/job/ttcn3-sip-test-latest/1560/artifact/logs/sip-tester/SIP_Tests.cfg>
+ echo Starting container with osmo-sip-connector
Starting container with osmo-sip-connector
+ docker_network_params 216 10
+ NET=216
+ ADDR_SUFIX=10
+ echo --network ttcn3-sip-test --ip 172.18.216.10 --ip6 fd02:db8:216::10
+ docker run --rm --network ttcn3-sip-test --ip 172.18.216.10 --ip6 fd02:db8:216::10
--ulimit core=-1 -v
<https://jenkins.osmocom.org/jenkins/job/ttcn3-sip-test-latest/1560/artifact/logs/sip>:/data
-v
<https://jenkins.osmocom.org/jenkins/job/ttcn3-sip-test-latest/1560/artifact/logs/unix>:/data/unix
--name jenkins-ttcn3-sip-test-latest-1560-sip-connector -d osmocom-build/osmo-sip-latest
/bin/sh -c osmo-sip-connector -c /data/osmo-sip-connector.cfg
>>/data/osmo-sip-connector.log 2>&1
49d0d1fb7bb9231132dc9fb9692cd75801cac1abd412311a05fb18396763c773
+ echo Starting container with SIP testsuite
Starting container with SIP testsuite
+ docker_network_params 216 103
+ NET=216
+ ADDR_SUFIX=103
+ echo --network ttcn3-sip-test --ip 172.18.216.103 --ip6 fd02:db8:216::103
+ docker run --rm --network ttcn3-sip-test --ip 172.18.216.103 --ip6 fd02:db8:216::103
--ulimit core=-1 -e TTCN3_PCAP_PATH=/data -v
<https://jenkins.osmocom.org/jenkins/job/ttcn3-sip-test-latest/1560/artifact/logs/sip-tester>:/data
-v
<https://jenkins.osmocom.org/jenkins/job/ttcn3-sip-test-latest/1560/artifact/logs/unix>:/data/unix
--name jenkins-ttcn3-sip-test-latest-1560-ttcn3-sip-test osmocom-build/ttcn3-sip-test
+ SUBDIR=sip
+ SUITE=SIP_Tests
+ '[' -n '' ']'
+ cd /data
+ /osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/sip/SIP_Tests
ttcn3_start: Starting the test suite
ttcn3_start: warning: TTCN3_DIR environment variable is not set
spawn mctr_cli SIP_Tests.cfg
*************************************************************************
* TTCN-3 Test Executor - Main Controller 2 *
* Version: 8.0.0 *
* Copyright (c) 2000-2021 Ericsson Telecom AB *
* All rights reserved. This program and the accompanying materials *
* are made available under the terms of the Eclipse Public License v2.0 *
* which accompanies this distribution, and is available at *
*
https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html *
*************************************************************************
Using configuration file: SIP_Tests.cfg
MC@6a223435fd87: Unix server socket created successfully.
MC@6a223435fd87: Listening on TCP port 34809.
6a223435fd87 is the default
MC2> spawn /osmo-ttcn3-hacks/sip/SIP_Tests 6a223435fd87 34809
TTCN-3 Host Controller (parallel mode), version 8.0.0
MC@6a223435fd87: New HC connected from 6a223435fd87 [172.18.216.103]. 6a223435fd87: Linux
5.10.0-14-amd64 on x86_64.
cmtc
MC@6a223435fd87: Downloading configuration file to all HCs.
construct junitlogger
Initializing `JUnitLogger' (v2.0): JUnitLogger writes JUnit-compatible XML
HC@6a223435fd87: Warning: Option `FileMask' was given more than once in section
[LOGGING] of the configuration file.
HC@6a223435fd87: Warning: Option `FileMask' was given more than once in section
[LOGGING] of the configuration file.
HC@6a223435fd87: Warning: Option `FileMask' was given more than once in section
[LOGGING] of the configuration file.
MC@6a223435fd87: Configuration file was processed on all HCs.
MC@6a223435fd87: Creating MTC on host 6a223435fd87.
MC@6a223435fd87: MTC is created.
MC2> smtc
Executing all items of [EXECUTE] section.
MC2> MTC@6a223435fd87: Starting external command `../ttcn3-tcpdump-start.sh
SIP_Tests.TC_mt_success_rel_gsm'.
------ SIP_Tests.TC_mt_success_rel_gsm ------
Tue Jan 17 07:30:11 UTC 2023
NOTE: unable to use dumpcap due to missing capabilities or suid bit
Waiting for packet dumper to start... 0
MTC@6a223435fd87: External command `../ttcn3-tcpdump-start.sh
SIP_Tests.TC_mt_success_rel_gsm' was executed successfully (exit status: 0).
MTC@6a223435fd87: Test case TC_mt_success_rel_gsm started.
MTC@6a223435fd87: end of f_init_mncc
SIP_Test-MNCC(3)@6a223435fd87: Warning: Re-starting timer T, which is already active
(running or expired).
SIP_Test-SIP(4)@6a223435fd87: Warning: The maximum number of open file descriptors
(1048576) is greater than FD_SETSIZE (1024). Ensure that Test Ports using Install_Handler
do not try to wait for events of file descriptors with values greater than FD_SETSIZE
(1024). (Current caller of Install_Handler is "SIP")
MTC@6a223435fd87: end of f_init_sip
MTC@6a223435fd87: end of f_init
TC_mt_success_rel_gsm(5)@6a223435fd87: Warning: Test port parameter local_sip_port is not
supported on port SIP.
TC_mt_success_rel_gsm(5)@6a223435fd87: Warning: Test port parameter default_local_address
is not supported on port SIP.
TC_mt_success_rel_gsm(5)@6a223435fd87: Warning: Test port parameter default_sip_protocol
is not supported on port SIP.
TC_mt_success_rel_gsm(5)@6a223435fd87: Warning: Test port parameter default_dest_port is
not supported on port SIP.
TC_mt_success_rel_gsm(5)@6a223435fd87: Warning: Test port parameter default_dest_address
is not supported on port SIP.
TC_mt_success_rel_gsm(5)@6a223435fd87: Warning: Test port parameter default_local_address
is not supported on port SIP.
TC_mt_success_rel_gsm(5)@6a223435fd87: Warning: Test port parameter default_dest_address
is not supported on port SIP.
SIP_Test-MNCC(3)@6a223435fd87: Created MnccExpect[0] for "98766" to be handled
at TC_mt_success_rel_gsm(5)
SIP_Test-SIP(4)@6a223435fd87: Added SIP Call Table entry [0] for
"A81DC60BE3FF71C" at TC_mt_success_rel_gsm(5)
SIP_Test-MNCC(3)@6a223435fd87: Found MnccExpect[0] for "98766" handled at
TC_mt_success_rel_gsm(5)
SIP_Test-MNCC(3)@6a223435fd87: Added conn table entry 0TC_mt_success_rel_gsm(5)5001
+ clean_up_common
+ set +e
+ set +x
### Clean up ###
+ trap - EXIT INT TERM 0
+ type clean_up
+ network_clean
+ docker network inspect ttcn3-sip-test
+ grep Name
+ cut -d : -f2
+ awk -F" NR>1{print $2}
+ xargs -rn1 docker kill
Error: No such network: ttcn3-sip-test
+ network_remove
+ set +x
Removing network ttcn3-sip-test
+ docker network remove ttcn3-sip-test
Error: No such network: ttcn3-sip-test
+ rm -rf
<https://jenkins.osmocom.org/jenkins/job/ttcn3-sip-test-latest/1560/artifact/logs/unix>
+ fix_perms
+ set +x
Fixing permissions
+ docker run --rm -v
<https://jenkins.osmocom.org/jenkins/job/ttcn3-sip-test-latest/ws/logs>:/data -v
<https://jenkins.osmocom.org/jenkins/job/ttcn3-sip-test-latest/ws/_cache>:/cache
--name jenkins-ttcn3-sip-test-latest-1560-cleaner debian:bullseye chmod -R a+rX /data/
/cache/
+ collect_logs
+ cat
<https://jenkins.osmocom.org/jenkins/job/ttcn3-sip-test-latest/1560/artifact/logs/sip-tester/junit-xml-21.log>
Build step 'Execute shell' marked build as failure
Recording test results
[Checks API] No suitable checks publisher found.