See
<https://jenkins.osmocom.org/jenkins/job/Osmocom-repo-install-debian10/feed=latest,label=qemu/1020/display/redirect?page=changes>
Changes:
[Oliver Smith] scripts/tarballs: create release dir if missing
[Oliver Smith] scripts/repo-install-test: fix sftp compat
------------------------------------------
Started by upstream project "Osmocom-repo-install-debian10" build number 1020
originally caused by:
Started by timer
Running as SYSTEM
Building remotely on build3-deb11build-ansible (ttcn3 obs qemu osmocom-gerrit coverity
osmocom-master) in workspace
<https://jenkins.osmocom.org/jenkins/job/Osmocom-repo-install-debian10/feed=latest,label=qemu/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-repo-install-debian10/feed=latest,label=qemu/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
Checking out Revision a779121725e2080174a128c1d1af0296e1870f61 (origin/master)
git config core.sparsecheckout # timeout=10
git checkout -f a779121725e2080174a128c1d1af0296e1870f61 # timeout=10
Commit
message: "scripts/repo-install-test: fix sftp compat"
git rev-list --no-walk
7fbb49f87d2ab4f320fe4896e04c2b79e9aa508b # timeout=10
[qemu] $ /bin/sh -xe
/tmp/jenkins1216063574028721551.sh
+ export FEED=latest
+ scripts/repo-install-test.sh debian10
+ dirname scripts/repo-install-test.sh
+ . scripts/common.sh
+ dirname scripts/repo-install-test.sh
+ realpath scripts/..
+
OSMO_CI_DIR=<https://jenkins.osmocom.org/jenkins/job/Osmocom-repo-instal…
+
OSMO_GIT_URL_GITEA=https://gitea.osmocom.org
+
OSMO_GIT_URL_GERRIT=https://gerrit.osmocom.org
+ OSMO_RELEASE_REPOS=
libasn1c
libosmo-abis
libosmo-gprs
libosmo-netif
libosmo-pfcp
libosmo-sccp
libosmocore
libsmpp34
libusrp
osmo-bsc
osmo-bts
osmo-cbc
osmo-e1d
osmo-gbproxy
osmo-ggsn
osmo-gsm-manuals
osmo-hlr
osmo-hnodeb
osmo-hnbgw
osmo-iuh
osmo-mgw
osmo-msc
osmo-pcap
osmo-pcu
osmo-remsim
osmo-sgsn
osmo-sip-connector
osmo-smlc
osmo-sysmon
osmo-trx
osmo-uecups
osmo-upf
osmocom-bb
simtrace2
+ OSMO_BRANCH_DOCKER_PLAYGROUND=master
+
DOMAIN=downloads.osmocom.org
+ DISTRO=debian10
+ DISTROS=
centos8
debian10
debian11
debian12
+ IMG_DIR=/opt/qemu
+ TEST_DIR=scripts/repo-install-test
+ IMG_PATH=_repo_install_test_data/temp.qcow2
+ PID_FILE=_repo_install_test_data/qemu.pid
+ PORT_FILE=_repo_install_test_data/qemu.port
+ LOG_FILE=_repo_install_test_data/qemu.log
+ check_usage
+ local i
+ [ debian10 = centos8 ]
+ [ debian10 = debian10 ]
+ return
+ FEED=latest
+ PROJ=osmocom:latest
+ [ -z ]
+ TESTS=
test_conflict
install_repo_packages
test_binaries
services_check
+ [ -z ]
+ PROJ_CONFLICT=osmocom:nightly
+ clean_up
+ [ -n ]
+ [ -e _repo_install_test_data/qemu.pid ]
+ rm -f _repo_install_test_data/temp.qcow2
+ trap clean_up_trap EXIT INT TERM 0
+ qemu_start
+ [ -n ]
+ prepare_img
+ dirname _repo_install_test_data/temp.qcow2
+ mkdir -p _repo_install_test_data
+ get_backing_img_path
+ local ret=
+ ret=/opt/qemu/debian-10.qcow2
+ [ -e /opt/qemu/debian-10.qcow2 ]
+ echo /opt/qemu/debian-10.qcow2
+ qemu-img create -f qcow2 -b /opt/qemu/debian-10.qcow2 -F qcow2
_repo_install_test_data/temp.qcow2
Formatting '_repo_install_test_data/temp.qcow2', fmt=qcow2 cluster_size=65536
extended_l2=off compression_type=zlib size=6442450944
backing_file=/opt/qemu/debian-10.qcow2 backing_fmt=qcow2 lazy_refcounts=off
refcount_bits=16
+ find_free_ssh_port
+ echo (1219460 % 1000) + 22022
+ bc
+ SSH_PORT=22482
+ nc -z 127.0.0.1 22482
+ echo 22482
+ qemu_ssh_wait
+ set +x
Waiting for VM to boot up...
+ sleep 1
+ timeout 1h qemu-system-x86_64 -cpu host -device virtio-net-pci,netdev=net -display none
-drive file=_repo_install_test_data/temp.qcow2,format=qcow2 -enable-kvm -m 1024 -netdev
user,id=net,hostfwd=tcp:127.0.0.1:22482-:22 -nodefaults -pidfile
_repo_install_test_data/qemu.pid -serial stdio -smp 16
+ cat _repo_install_test_data/qemu.pid
+ local pid=1219487
+ seq 1 6
+ [ -z 1219487 ]
+ kill -0 1219487
+ TIMEOUT=10s qemu_ssh true
+ timeout 10s sshpass -p root ssh -p 22482 -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/dev/null root(a)127.0.0.1 -- true
+ sleep 1
+ [ -z 1219487 ]
+ kill -0 1219487
+ TIMEOUT=10s qemu_ssh true
+ timeout 10s sshpass -p root ssh -p 22482 -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/dev/null root(a)127.0.0.1 -- true
Warning: Permanently added '[127.0.0.1]:22482' (ECDSA) to the list of known
hosts.
+ return
+ set +x
VM is running!
+ qemu_run_test_script
+ cat
+ qemu_ssh rm -rf /repo-install-test/
+ timeout 1m sshpass -p root ssh -p 22482 -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/dev/null root(a)127.0.0.1 -- rm -rf /repo-install-test/
Warning: Permanently added '[127.0.0.1]:22482' (ECDSA) to the list of known
hosts.
+ qemu_ssh mkdir /repo-install-test
+ timeout 1m sshpass -p root ssh -p 22482 -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/dev/null root(a)127.0.0.1 -- mkdir /repo-install-test
Warning: Permanently added '[127.0.0.1]:22482' (ECDSA) to the list of known
hosts.
+ qemu_scp -r scripts/repo-install-test root@127.0.0.1:/repo-install-test
+ timeout 1m sshpass -p root scp -P 22482 -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/dev/null -r scripts/repo-install-test
root@127.0.0.1:/repo-install-test
Warning: Permanently added '[127.0.0.1]:22482' (ECDSA) to the list of known
hosts.
+ TIMEOUT=1h qemu_ssh sh -ex /repo-install-test/run-inside-env.sh
+ timeout 1h sshpass -p root ssh -p 22482 -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/dev/null root(a)127.0.0.1 -- sh -ex
/repo-install-test/run-inside-env.sh
Warning: Permanently added '[127.0.0.1]:22482' (ECDSA) to the list of known
hosts.
sh: 0: Can't open /repo-install-test/run-inside-env.sh
+ clean_up_trap
+ [ -n ]
+ set +x
### Clean up ###
+ trap - EXIT INT TERM 0
+ clean_up
+ [ -n ]
+ [ -e _repo_install_test_data/qemu.pid ]
+ cat _repo_install_test_data/qemu.pid
+ kill 1219487
+ rm -f _repo_install_test_data/temp.qcow2
Build step 'Execute shell' marked build as failure