See
<https://jenkins.osmocom.org/jenkins/job/ttcn3-hnodeb-test-latest/684/display/redirect?page=changes>
Changes:
[Oliver Smith] debian-bookworm-*: useradd -d -m instead of mkdir
------------------------------------------
[...truncated 30.92 KB...]
#9 [4/4] COPY HNB_TESTS.CFG /data/HNB_Tests.cfg
#9 CACHED
#10 exporting to image
#10 exporting layers done
#10 writing image sha256:c2105df8fdebc8f460ba9d3fc06526561025cd89d0ccd0942c7225ccabf071a5
done
#10 naming to docker.io/osmocom-build/ttcn3-hnodeb-test:latest done
#10 DONE 0.0s
rm -rf .common
make: Leaving directory
'/home/osmocom-build/jenkins/workspace/ttcn3-hnodeb-test-latest/ttcn3-hnodeb-test'
+ docker_image_exists ttcn3-hnodeb-test
+ docker images -q osmocom-build/ttcn3-hnodeb-test
+ test -n c2105df8fdeb
+ list_osmo_packages debian-bookworm ttcn3-hnodeb-test
+ local distro=debian-bookworm
+ local image=ttcn3-hnodeb-test
+ local docker_run_sh=docker run --rm --entrypoint=/bin/sh osmocom-build/ttcn3-hnodeb-test
-c
+ [ -n ]
+ return
+ set_clean_up_trap
+ trap clean_up_common EXIT INT TERM 0
+ set -e
+ mkdir /home/osmocom-build/jenkins/workspace/ttcn3-hnodeb-test-latest/logs/hnodeb-tester
+ mkdir
/home/osmocom-build/jenkins/workspace/ttcn3-hnodeb-test-latest/logs/hnodeb-tester/unix
+ cp HNB_Tests.cfg
/home/osmocom-build/jenkins/workspace/ttcn3-hnodeb-test-latest/logs/hnodeb-tester/
+ write_mp_osmo_repo
/home/osmocom-build/jenkins/workspace/ttcn3-hnodeb-test-latest/logs/hnodeb-tester/HNB_Tests.cfg
+ local repo=nightly
+ local
config=/home/osmocom-build/jenkins/workspace/ttcn3-hnodeb-test-latest/logs/hnodeb-tester/HNB_Tests.cfg
+ local line
+ [ -e
/home/osmocom-build/jenkins/workspace/ttcn3-hnodeb-test-latest/logs/hnodeb-tester/HNB_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
/home/osmocom-build/jenkins/workspace/ttcn3-hnodeb-test-latest/logs/hnodeb-tester/HNB_Tests.cfg
+ mkdir /home/osmocom-build/jenkins/workspace/ttcn3-hnodeb-test-latest/logs/hnodeb
+ mkdir /home/osmocom-build/jenkins/workspace/ttcn3-hnodeb-test-latest/logs/hnodeb/unix
+ cp osmo-hnodeb.cfg
/home/osmocom-build/jenkins/workspace/ttcn3-hnodeb-test-latest/logs/hnodeb/
+ mkdir /home/osmocom-build/jenkins/workspace/ttcn3-hnodeb-test-latest/logs/unix
+ network_create
+ SUBNET=4142949
+ seq 1 30
+ echo (4142949 + 1) % 256
+ bc
+ SUBNET=102
+ NET_NAME=ttcn3-hnodeb-test-102
+ SUB4=172.18.102.0/24
+ SUB6=fd02:db8:102::/64
+ set +x
Creating network ttcn3-hnodeb-test-102, trying SUBNET=102...
+ docker network create --internal --subnet 172.18.102.0/24 --ipv6 --subnet
fd02:db8:102::/64 ttcn3-hnodeb-test-102
39779794801a4d6019c9dde1948496c693408b530875359411c7920d941e3d82
+ set +x
### Network ttcn3-hnodeb-test-102 created (SUBNET=102) ###
+ return
+ network_replace_subnet_in_configs
+ set +x
Applying SUBNET=102 to:
/home/osmocom-build/jenkins/workspace/ttcn3-hnodeb-test-latest/logs/hnodeb-tester/HNB_Tests.cfg
Applying SUBNET=102 to:
/home/osmocom-build/jenkins/workspace/ttcn3-hnodeb-test-latest/logs/hnodeb/osmo-hnodeb.cfg
+ echo Starting container with HNodeB
Starting container with HNodeB
+ docker_network_params 102 20
+ NET=102
+ ADDR_SUFIX=20
+ echo --network ttcn3-hnodeb-test-102 --ip 172.18.102.20 --ip6 fd02:db8:102::20
+ docker run --rm --network ttcn3-hnodeb-test-102 --ip 172.18.102.20 --ip6
fd02:db8:102::20 --ulimit core=-1 -v
/home/osmocom-build/jenkins/workspace/ttcn3-hnodeb-test-latest/logs/hnodeb:/data -v
/home/osmocom-build/jenkins/workspace/ttcn3-hnodeb-test-latest/logs/unix:/data/unix --name
jenkins-ttcn3-hnodeb-test-latest-684-hnodeb -d osmocom-build/osmo-hnodeb-latest
f53d5debc5ed5b1b65bb63485939659dfa1ead884aa0f3acd2841ffd6071f31b
+ echo Starting container with HNodeB testsuite
Starting container with HNodeB testsuite
+ docker_network_params 102 203
+ NET=102
+ ADDR_SUFIX=203
+ echo --network ttcn3-hnodeb-test-102 --ip 172.18.102.203 --ip6 fd02:db8:102::203
+ docker run --rm --network ttcn3-hnodeb-test-102 --ip 172.18.102.203 --ip6
fd02:db8:102::203 --ulimit core=-1 -e TTCN3_PCAP_PATH=/data -e OSMO_SUT_HOST=172.18.102.20
-e OSMO_SUT_PORT=4273 -v
/home/osmocom-build/jenkins/workspace/ttcn3-hnodeb-test-latest/logs/hnodeb-tester:/data -v
/home/osmocom-build/jenkins/workspace/ttcn3-hnodeb-test-latest/logs/unix:/data/unix --name
jenkins-ttcn3-hnodeb-test-latest-684-ttcn3-hnodeb-test osmocom-build/ttcn3-hnodeb-test
+ SUBDIR=hnodeb
+ SUITE=HNB_Tests
+ '[' -n '' ']'
+ cd /data
+ EXTRA_ARGS=
+ '[' -n '' ']'
+ /osmo-ttcn3-hacks/start-testsuite.sh /osmo-ttcn3-hacks/hnodeb/HNB_Tests HNB_Tests.cfg
ttcn3_start: Starting the test suite
ttcn3_start: warning: TTCN3_DIR environment variable is not set
spawn mctr_cli HNB_Tests.cfg
*************************************************************************
* TTCN-3 Test Executor - Main Controller 2 *
* Version: 9.0.0 *
* Copyright (c) 2000-2023 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: HNB_Tests.cfg
MC@3ece2f7c4eff: Unix server socket created successfully.
MC@3ece2f7c4eff: Listening on TCP port 35567.
3ece2f7c4eff is the default
MC2> spawn /osmo-ttcn3-hacks/hnodeb/HNB_Tests 3ece2f7c4eff 35567
TTCN-3 Host Controller (parallel mode), version 9.0.0
MC@3ece2f7c4eff: New HC connected from 172.18.102.203 [172.18.102.203]. 3ece2f7c4eff:
Linux 6.1.0-13-amd64 on x86_64.
cmtc
MC@3ece2f7c4eff: Downloading configuration file to all HCs.
construct junitlogger
Initializing `JUnitLogger' (v2.0): JUnitLogger writes JUnit-compatible XML
HC@3ece2f7c4eff: Warning: Option `FileMask' was given more than once in section
[LOGGING] of the configuration file.
MC@3ece2f7c4eff: Configuration file was processed on all HCs.
MC@3ece2f7c4eff: Creating MTC on host 172.18.102.203.
MC@3ece2f7c4eff: MTC is created.
MC2> smtc
Executing all items of [EXECUTE] section.
MC2> MTC@3ece2f7c4eff: Starting external command `../ttcn3-tcpdump-start.sh
HNB_Tests.TC_hnb_register_request_accept'.
------ HNB_Tests.TC_hnb_register_request_accept ------
Wed Jun 12 10:47:12 UTC 2024
NOTE: unable to use dumpcap due to missing capabilities or suid bit
/usr/bin/tcpdump -U -s 1520 -n -i any -w
"/data/HNB_Tests.TC_hnb_register_request_accept.pcap"
>/data/HNB_Tests.TC_hnb_register_request_accept.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@3ece2f7c4eff: External command `../ttcn3-tcpdump-start.sh
HNB_Tests.TC_hnb_register_request_accept' was executed successfully (exit status: 0).
MTC@3ece2f7c4eff: Test case TC_hnb_register_request_accept started.
MTC@3ece2f7c4eff: "TC_hnb_register_request_accept() start"
TC_hnb_register_request_accept-HNBGW(4)@3ece2f7c4eff: Warning: sizes of 'struct
sctp_event_subscribe': compile-time 14, kernel: 14
FATAL: command execution failed
java.io.IOException
at hudson.remoting.Channel.close(Channel.java:1494)
at hudson.remoting.Channel.close(Channel.java:1450)
at hudson.slaves.SlaveComputer.closeChannel(SlaveComputer.java:943)
at hudson.slaves.SlaveComputer.kill(SlaveComputer.java:909)
at hudson.model.AbstractCIBase.killComputer(AbstractCIBase.java:97)
at jenkins.model.Jenkins.lambda$_cleanUpDisconnectComputers$11(Jenkins.java:3785)
at hudson.model.Queue._withLock(Queue.java:1401)
at hudson.model.Queue.withLock(Queue.java:1275)
at jenkins.model.Jenkins._cleanUpDisconnectComputers(Jenkins.java:3781)
at jenkins.model.Jenkins.cleanUp(Jenkins.java:3662)
at hudson.WebAppMain.contextDestroyed(WebAppMain.java:374)
at
org.eclipse.jetty.server.handler.ContextHandler.callContextDestroyed(ContextHandler.java:1059)
at
org.eclipse.jetty.servlet.ServletContextHandler.callContextDestroyed(ServletContextHandler.java:636)
at
org.eclipse.jetty.server.handler.ContextHandler.contextDestroyed(ContextHandler.java:1016)
at org.eclipse.jetty.servlet.ServletHandler.doStop(ServletHandler.java:306)
at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:182)
at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:205)
at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:97)
at org.eclipse.jetty.security.SecurityHandler.doStop(SecurityHandler.java:412)
at
org.eclipse.jetty.security.ConstraintSecurityHandler.doStop(ConstraintSecurityHandler.java:413)
at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:182)
at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:205)
at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:97)
at org.eclipse.jetty.server.session.SessionHandler.doStop(SessionHandler.java:497)
at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:182)
at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:205)
at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:97)
at org.eclipse.jetty.server.handler.ContextHandler.stopContext(ContextHandler.java:1039)
at
org.eclipse.jetty.servlet.ServletContextHandler.stopContext(ServletContextHandler.java:399)
at org.eclipse.jetty.webapp.WebAppContext.stopContext(WebAppContext.java:1311)
at org.eclipse.jetty.server.handler.ContextHandler.doStop(ContextHandler.java:1087)
at
org.eclipse.jetty.servlet.ServletContextHandler.doStop(ServletContextHandler.java:312)
at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:182)
at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:205)
at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:97)
at org.eclipse.jetty.server.Server.doStop(Server.java:517)
at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:132)
at winstone.Launcher.shutdown(Launcher.java:442)
at winstone.ShutdownHook.run(ShutdownHook.java:28)
Caused: hudson.remoting.ChannelClosedException: Channel
"hudson.remoting.Channel@b7a12df:build4-deb12build-ansible": Remote call on
build4-deb12build-ansible failed. The channel is closing down or has closed down
at hudson.remoting.Channel.call(Channel.java:996)
at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:285)
at jdk.proxy2/jdk.proxy2.$Proxy84.isAlive(Unknown Source)
at hudson.Launcher$RemoteLauncher$ProcImpl.isAlive(Launcher.java:1212)
at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:1204)
at hudson.tasks.CommandInterpreter.join(CommandInterpreter.java:195)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:145)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:92)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:818)
at hudson.model.Build$BuildExecution.build(Build.java:199)
at hudson.model.Build$BuildExecution.doRun(Build.java:164)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:526)
at hudson.model.Run.execute(Run.java:1895)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
at hudson.model.ResourceController.execute(ResourceController.java:101)
at hudson.model.Executor.run(Executor.java:442)
FATAL: Unable to delete script file /tmp/jenkins3037997006812450497.sh
java.io.IOException
at hudson.remoting.Channel.close(Channel.java:1494)
at hudson.remoting.Channel.close(Channel.java:1450)
at hudson.slaves.SlaveComputer.closeChannel(SlaveComputer.java:943)
at hudson.slaves.SlaveComputer.kill(SlaveComputer.java:909)
at hudson.model.AbstractCIBase.killComputer(AbstractCIBase.java:97)
at jenkins.model.Jenkins.lambda$_cleanUpDisconnectComputers$11(Jenkins.java:3785)
at hudson.model.Queue._withLock(Queue.java:1401)
at hudson.model.Queue.withLock(Queue.java:1275)
at jenkins.model.Jenkins._cleanUpDisconnectComputers(Jenkins.java:3781)
at jenkins.model.Jenkins.cleanUp(Jenkins.java:3662)
at hudson.WebAppMain.contextDestroyed(WebAppMain.java:374)
at
org.eclipse.jetty.server.handler.ContextHandler.callContextDestroyed(ContextHandler.java:1059)
at
org.eclipse.jetty.servlet.ServletContextHandler.callContextDestroyed(ServletContextHandler.java:636)
at
org.eclipse.jetty.server.handler.ContextHandler.contextDestroyed(ContextHandler.java:1016)
at org.eclipse.jetty.servlet.ServletHandler.doStop(ServletHandler.java:306)
at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:182)
at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:205)
at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:97)
at org.eclipse.jetty.security.SecurityHandler.doStop(SecurityHandler.java:412)
at
org.eclipse.jetty.security.ConstraintSecurityHandler.doStop(ConstraintSecurityHandler.java:413)
at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:182)
at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:205)
at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:97)
at org.eclipse.jetty.server.session.SessionHandler.doStop(SessionHandler.java:497)
at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:182)
at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:205)
at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:97)
at org.eclipse.jetty.server.handler.ContextHandler.stopContext(ContextHandler.java:1039)
at
org.eclipse.jetty.servlet.ServletContextHandler.stopContext(ServletContextHandler.java:399)
at org.eclipse.jetty.webapp.WebAppContext.stopContext(WebAppContext.java:1311)
at org.eclipse.jetty.server.handler.ContextHandler.doStop(ContextHandler.java:1087)
at
org.eclipse.jetty.servlet.ServletContextHandler.doStop(ServletContextHandler.java:312)
at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:182)
at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:205)
at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:97)
at org.eclipse.jetty.server.Server.doStop(Server.java:517)
at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:132)
at winstone.Launcher.shutdown(Launcher.java:442)
at winstone.ShutdownHook.run(ShutdownHook.java:28)
Caused: hudson.remoting.ChannelClosedException: Channel
"hudson.remoting.Channel@b7a12df:build4-deb12build-ansible": Remote call on
build4-deb12build-ansible failed. The channel is closing down or has closed down
at hudson.remoting.Channel.call(Channel.java:996)
at hudson.FilePath.act(FilePath.java:1192)
at hudson.FilePath.act(FilePath.java:1181)
at hudson.FilePath.delete(FilePath.java:1728)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:163)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:92)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:818)
at hudson.model.Build$BuildExecution.build(Build.java:199)
at hudson.model.Build$BuildExecution.doRun(Build.java:164)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:526)
at hudson.model.Run.execute(Run.java:1895)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
at hudson.model.ResourceController.execute(ResourceController.java:101)
at hudson.model.Executor.run(Executor.java:442)
Build step 'Execute shell' marked build as failure
ERROR: Step ‘Publish JUnit test result report’ failed: no workspace for
ttcn3-hnodeb-test-latest #684