See
<https://jenkins.osmocom.org/jenkins/job/Osmocom-repo-install-debian11/feed=latest,label=qemu/1104/display/redirect>
Changes:
------------------------------------------
[...truncated 3.58 KiB...]
+ check_usage
+ local i
+ [ debian11 = centos8 ]
+ [ debian11 = debian10 ]
+ [ debian11 = debian11 ]
+ 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-11.qcow2
+ [ -e /opt/qemu/debian-11.qcow2 ]
+ echo /opt/qemu/debian-11.qcow2
+ qemu-img create -f qcow2 -b /opt/qemu/debian-11.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-11.qcow2 backing_fmt=qcow2 lazy_refcounts=off
refcount_bits=16
+ find_free_ssh_port
+ echo (467273 % 1000) + 22022
+ bc
+ SSH_PORT=22295
+ nc -z 127.0.0.1 22295
+ echo 22295
+ 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:22295-:22 -nodefaults -pidfile
_repo_install_test_data/qemu.pid -serial stdio -smp 16
+ cat _repo_install_test_data/qemu.pid
+ local pid=467299
+ seq 1 6
+ [ -z 467299 ]
+ kill -0 467299
+ TIMEOUT=10s qemu_ssh true
+ timeout 10s sshpass -p root ssh -p 22295 -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/dev/null root(a)127.0.0.1 -- true
+ sleep 1
+ [ -z 467299 ]
+ kill -0 467299
+ TIMEOUT=10s qemu_ssh true
+ timeout 10s sshpass -p root ssh -p 22295 -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/dev/null root(a)127.0.0.1 -- true
Warning: Permanently added '[127.0.0.1]:22295' (ED25519) to the list of known
hosts.
+ return
+ set +x
VM is running!
+ qemu_prepare_vm
+ qemu_run_test_script
+ cat
+ qemu_ssh rm -rf /repo-install-test/
+ timeout 1m sshpass -p root ssh -p 22295 -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]:22295' (ED25519) to the list of known
hosts.
+ qemu_ssh mkdir /repo-install-test
+ timeout 1m sshpass -p root ssh -p 22295 -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/dev/null root(a)127.0.0.1 -- mkdir /repo-install-test
Warning: Permanently added '[127.0.0.1]:22295' (ED25519) to the list of known
hosts.
+ qemu_scp -r scripts/repo-install-test/run-inside-env.sh
scripts/repo-install-test/run-inside.sh root@127.0.0.1:/repo-install-test
+ timeout 1m sshpass -p root scp -P 22295 -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/dev/null -r scripts/repo-install-test/run-inside-env.sh
scripts/repo-install-test/run-inside.sh root@127.0.0.1:/repo-install-test
Warning: Permanently added '[127.0.0.1]:22295' (ED25519) 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 22295 -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]:22295' (ED25519) to the list of known
hosts.
+ export DISTRO=debian11
+ export
DOMAIN=downloads.osmocom.org
+ export FEED=latest
+ export PROJ=osmocom:latest
+ export PROJ_CONFLICT=osmocom:nightly
+ export SKIP_PREPARE_VM=
+ export TESTS=
test_conflict
install_repo_packages
test_binaries
services_check
+ /repo-install-test/run-inside.sh
+ SERVICES=
osmo-bsc
osmo-bts-virtual
osmo-cbc
osmo-e1d
osmo-gbproxy
osmo-ggsn
osmo-gtphub
osmo-hlr
osmo-hnbgw
osmo-hnodeb
osmo-mgw
osmo-msc
osmo-pcap-client
osmo-pcap-server
osmo-pcu
osmo-remsim-bankd
osmo-remsim-server
osmo-sgsn
osmo-sip-connector
osmo-smlc
osmo-stp
+ SERVICES_NIGHTLY=
osmo-bsc-nat
+ distro_obsdir
+ echo Debian_11
+ DISTRO_OBSDIR=Debian_11
+ check_env
+ [ -n latest ]
Checking feed: latest
Checking project: osmocom:latest
Checking conflicting project: osmocom:nightly
Linux distribution: debian11
Enabled tests:
test_conflict
install_repo_packages
test_binaries
services_check
+ echo Checking feed: latest
+ [ -n osmocom:latest ]
+ echo Checking project: osmocom:latest
+ [ -n osmocom:nightly ]
+ echo Checking conflicting project: osmocom:nightly
+ [ -n debian11 ]
+ echo Linux distribution: debian11
+ [ -n
test_conflict
install_repo_packages
test_binaries
services_check
]
+ echo Enabled tests:
test_conflict
install_repo_packages
test_binaries
services_check
+ prepare_vm
+ [ -n ]
+ prepare_vm_debian
+ ln -sf /bin/true /usr/bin/fmtutil
+ echo path-exclude=/usr/bin/fmtutil
+ apt-get update --allow-releaseinfo-change
Get:1
http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:2
http://security.debian.org/debian-security bullseye-security InRelease [27.2 kB]
Get:3
http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:4
http://security.debian.org/debian-security bullseye-security/main Sources [243 kB]
Get:5
http://security.debian.org/debian-security bullseye-security/main amd64 Packages
[381 kB]
Get:6
http://security.debian.org/debian-security bullseye-security/main Translation-en
[253 kB]
Get:7
http://deb.debian.org/debian bullseye/main Sources [8,500 kB]
Get:8
http://deb.debian.org/debian bullseye-updates/main Sources.diff/Index [26.3 kB]
Get:9
http://deb.debian.org/debian bullseye-updates/main amd64 Packages.diff/Index [26.3
kB]
Ign:9
http://deb.debian.org/debian bullseye-updates/main amd64 Packages.diff/Index
Get:10
http://deb.debian.org/debian bullseye-updates/main Translation-en.diff/Index [11.7
kB]
Get:11
http://deb.debian.org/debian bullseye-updates/main Sources
T-2023-12-29-1403.39-F-2022-01-24-2024.03.pdiff [7,722 B]
Get:11
http://deb.debian.org/debian bullseye-updates/main Sources
T-2023-12-29-1403.39-F-2022-01-24-2024.03.pdiff [7,722 B]
Get:12
http://deb.debian.org/debian bullseye-updates/main Translation-en
T-2023-12-29-1403.39-F-2022-09-22-1635.40.pdiff [9,047 B]
Get:12
http://deb.debian.org/debian bullseye-updates/main Translation-en
T-2023-12-29-1403.39-F-2022-09-22-1635.40.pdiff [9,047 B]
Get:13
http://deb.debian.org/debian bullseye/main amd64 Packages [8,066 kB]
Get:14
http://deb.debian.org/debian bullseye/main Translation-en [6,235 kB]
Get:15
http://deb.debian.org/debian bullseye-updates/main amd64 Packages [18.8 kB]
Get:16
http://deb.debian.org/debian bullseye-updates/main Sources [7,908 B]
Get:17
http://deb.debian.org/debian bullseye-updates/main Translation-en [10.9 kB]
Fetched 24.0 MB in 2s (11.0 MB/s)
Reading package lists...
+ apt-get install -y --no-install-recommends aptitude ca-certificates gnupg2 wget
Reading package lists...
Building dependency tree...
Reading state information...
ca-certificates is already the newest version (20210119).
The following additional packages will be installed:
aptitude-common dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent
gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv libassuan0
libboost-iostreams1.74.0 libcwidget4 libksba8 libnpth0 libsigc++-2.0-0v5
libxapian30 pinentry-curses
Suggested packages:
apt-xapian-index aptitude-doc-en | aptitude-doc debtags dbus-user-session
pinentry-gnome3 tor parcimonie xloadimage scdaemon libcwidget-dev
xapian-tools pinentry-doc
Recommended packages:
libdpkg-perl
The following NEW packages will be installed:
aptitude aptitude-common dirmngr gnupg gnupg-l10n gnupg-utils gnupg2 gpg
gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libassuan0
libboost-iostreams1.74.0 libcwidget4 libksba8 libnpth0 libsigc++-2.0-0v5
libxapian30 pinentry-curses
The following packages will be upgraded:
gpgv wget
2 upgraded, 21 newly installed, 0 to remove and 138 not upgraded.
Need to get 14.5 MB of archives.
After this operation, 37.0 MB of additional disk space will be used.
Get:1
http://deb.debian.org/debian bullseye/main amd64 gpgv amd64 2.2.27-2+deb11u2 [626
kB]
Get:2
http://security.debian.org/debian-security bullseye-security/main amd64 wget amd64
1.21-1+deb11u2 [964 kB]
Get:3
http://deb.debian.org/debian bullseye/main amd64 aptitude-common all 0.8.13-3 [1,776
kB]
Err:3
http://deb.debian.org/debian bullseye/main amd64 aptitude-common all 0.8.13-3
Error reading from server - read (104: Connection reset by peer) [IP: 146.75.122.132
80]
Get:4
http://deb.debian.org/debian bullseye/main amd64 libboost-iostreams1.74.0 amd64
1.74.0-9 [264 kB]
Get:5
http://deb.debian.org/debian bullseye/main amd64 libsigc++-2.0-0v5 amd64 2.10.4-2
[31.3 kB]
Get:6
http://deb.debian.org/debian bullseye/main amd64 libcwidget4 amd64 0.5.18-5 [315
kB]
Get:7
http://deb.debian.org/debian bullseye/main amd64 libxapian30 amd64 1.4.18-3+deb11u1
[1,089 kB]
Get:8
http://deb.debian.org/debian bullseye/main amd64 aptitude amd64 0.8.13-3 [1,349 kB]
Get:9
http://deb.debian.org/debian bullseye/main amd64 libassuan0 amd64 2.5.3-7.1 [50.5
kB]
Get:10
http://deb.debian.org/debian bullseye/main amd64 gpgconf amd64 2.2.27-2+deb11u2
[548 kB]
Get:11
http://deb.debian.org/debian bullseye/main amd64 libksba8 amd64 1.5.0-3+deb11u2
[123 kB]
Get:12
http://deb.debian.org/debian bullseye/main amd64 libnpth0 amd64 1.6-3 [19.0 kB]
Get:13
http://deb.debian.org/debian bullseye/main amd64 dirmngr amd64 2.2.27-2+deb11u2
[763 kB]
Get:14
http://deb.debian.org/debian bullseye/main amd64 gnupg-l10n all 2.2.27-2+deb11u2
[1,086 kB]
Get:15
http://deb.debian.org/debian bullseye/main amd64 gnupg-utils amd64 2.2.27-2+deb11u2
[905 kB]
Get:16
http://deb.debian.org/debian bullseye/main amd64 gpg amd64 2.2.27-2+deb11u2 [928
kB]
Get:17
http://deb.debian.org/debian bullseye/main amd64 pinentry-curses amd64 1.1.0-4
[64.9 kB]
Get:18
http://deb.debian.org/debian bullseye/main amd64 gpg-agent amd64 2.2.27-2+deb11u2
[669 kB]
Get:19
http://deb.debian.org/debian bullseye/main amd64 gpg-wks-client amd64
2.2.27-2+deb11u2 [524 kB]
Get:20
http://deb.debian.org/debian bullseye/main amd64 gpg-wks-server amd64
2.2.27-2+deb11u2 [516 kB]
Get:21
http://deb.debian.org/debian bullseye/main amd64 gpgsm amd64 2.2.27-2+deb11u2 [645
kB]
Get:22
http://deb.debian.org/debian bullseye/main amd64 gnupg all 2.2.27-2+deb11u2 [825
kB]
Get:23
http://deb.debian.org/debian bullseye/main amd64 gnupg2 all 2.2.27-2+deb11u2 [434
kB]
Fetched 12.7 MB in 0s (41.3 MB/s)
E: Failed to fetch
http://deb.debian.org/debian/pool/main/a/aptitude/aptitude-common_0.8.13-3_… Error
reading from server - read (104: Connection reset by peer) [IP: 146.75.122.132 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
+ 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 467299
+ rm -f _repo_install_test_data/temp.qcow2
Build step 'Execute shell' marked build as failure