+ OSSTEST_JOB=test-amd64-amd64-livepatch + export OSSTEST_JOB + OSSTEST_TESTID=livepatch-run + shift + export OSSTEST_TESTID + ./ts-livepatch-run host 2021-11-22 23:06:10 Z starting 166296.test-amd64-amd64-livepatch 2021-11-22 23:06:10 Z runvar all_host_di_version=2021-06-22 2021-11-22 23:06:10 Z runvar all_hostflags=arch-amd64,arch-xen-amd64,suite-buster,purpose-test 2021-11-22 23:06:10 Z runvar all_host_suite=buster 2021-11-22 23:06:10 Z runvar all_host_xenstored=oxenstored 2021-11-22 23:06:10 Z runvar arch=amd64 2021-11-22 23:06:10 Z runvar buildjob=build-amd64 2021-11-22 23:06:10 Z runvar host=nocera1 2021-11-22 23:06:10 Z runvar host_console=hvc0 2021-11-22 23:06:10 Z runvar host_lifecycle=@:5 + 2021-11-22 23:06:10 Z runvar host_power_install=SSH 2021-11-22 23:06:10 Z runvar hosts_infraprioritygroup=7:test-166296-g9hnQ4Mq6CrdxdPQD8IuXdvMPX_CaqDgEXT9HQ 2021-11-22 23:06:10 Z runvar host_xen_kernel_path=/boot/vmlinuz-4.19.80+ 2021-11-22 23:06:10 Z runvar host_xen_kernel_ver=4.19.80+ 2021-11-22 23:06:10 Z runvar kernbuildjob=build-amd64-pvops 2021-11-22 23:06:10 Z runvar runtime_host_hostflags=reuse-test-166296-g9hnQ4Mq6CrdxdPQD8IuXdvMPX_CaqDgEXT9HQ 2021-11-22 23:06:10 Z runvar syslog_server=172.16.144.3:36125 2021-11-22 23:06:10 Z runvar toolstack=xl 2021-11-22 23:06:10 Z runvar xen_boot_append=loglvl=all 2021-11-22 23:06:10 Z runvar xenbuildjob=build-amd64 2021-11-22 23:06:10 Z serial method sympathy nocera1: serial0 /root/sympathy/nocera1 /root/sympathy/nocera1.log* 2021-11-22 23:06:10 Z TftpScope is default 2021-11-22 23:06:10 Z task 1878343 ownd [172.16.144.3]:40553: dbrekau@osstest 166296 test-amd64-amd64-livepatch 2021-11-22 23:06:10 Z host host: selected nocera1 c4:54:44:da:a9:21 172.16.144.23 - shared test-166296-g9hnQ4Mq6CrdxdPQD8IuXdvMPX_CaqDgEXT9HQ 6929cae97a36b0196d0fa97f41bb3d0e4bea5c9a mid-test 1 2021-11-22 23:06:10 Z executing ssh ... osstest@172.16.144.23 if test -e /usr/lib/debug/xen-livepatch/xen_hello_world.livepatch; then echo y; fi 2021-11-22 23:06:11 Z executing ssh ... osstest@172.16.144.23 if test -e /usr/lib/debug/xen-livepatch/xen_replace_world.livepatch; then echo y; fi 2021-11-22 23:06:11 Z executing ssh ... osstest@172.16.144.23 if test -e /usr/lib/debug/xen-livepatch/xen_bye_world.livepatch; then echo y; fi 2021-11-22 23:06:11 Z executing ssh ... osstest@172.16.144.23 if test -e /usr/lib/debug/xen-livepatch/xen_nop.livepatch; then echo y; fi 2021-11-22 23:06:11 Z Have 37 test-cases 2021-11-22 23:06:11 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch list) 2021-11-22 23:06:11 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch list) 2021-11-22 23:06:11 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xl info) 2021-11-22 23:06:12 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xl info) 2021-11-22 23:06:12 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch revert xen_hello_world) Failed to get status of xen_hello_world. Error 2: No such file or directory 2021-11-22 23:06:12 Z command nonzero waitstatus 256: timeout 60 ssh -o StrictHostKeyChecking=no -o BatchMode=yes -o ConnectTimeout=100 -o ServerAliveInterval=100 -o PasswordAuthentication=no -o ChallengeResponseAuthentication=no -o UserKnownHostsFile=tmp/t.known_hosts_166296.test-amd64-amd64-livepatch root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch revert xen_hello_world) 2021-11-22 23:06:12 Z ... that failure (256) was as required; all is well. 2021-11-22 23:06:12 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch load xen_hello_world.livepatch) 2021-11-22 23:06:12 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch load xen_hello_world.livepatch) Error 17: File exists 2021-11-22 23:06:12 Z command nonzero waitstatus 256: timeout 60 ssh -o StrictHostKeyChecking=no -o BatchMode=yes -o ConnectTimeout=100 -o ServerAliveInterval=100 -o PasswordAuthentication=no -o ChallengeResponseAuthentication=no -o UserKnownHostsFile=tmp/t.known_hosts_166296.test-amd64-amd64-livepatch root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch load xen_hello_world.livepatch) 2021-11-22 23:06:12 Z ... that failure (256) was as required; all is well. 2021-11-22 23:06:12 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch list) 2021-11-22 23:06:13 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xl info) 2021-11-22 23:06:13 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch revert xen_hello_world) 2021-11-22 23:06:13 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xl info) 2021-11-22 23:06:13 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch unload xen_hello_world) 2021-11-22 23:06:13 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch unload xen_hello_world) Failed to get status of xen_hello_world. Error 2: No such file or directory 2021-11-22 23:06:14 Z command nonzero waitstatus 256: timeout 60 ssh -o StrictHostKeyChecking=no -o BatchMode=yes -o ConnectTimeout=100 -o ServerAliveInterval=100 -o PasswordAuthentication=no -o ChallengeResponseAuthentication=no -o UserKnownHostsFile=tmp/t.known_hosts_166296.test-amd64-amd64-livepatch root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch unload xen_hello_world) 2021-11-22 23:06:14 Z ... that failure (256) was as required; all is well. 2021-11-22 23:06:14 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xl info) 2021-11-22 23:06:14 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch load xen_hello_world.livepatch) 2021-11-22 23:06:14 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xl info) 2021-11-22 23:06:14 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch load xen_bye_world.livepatch) 2021-11-22 23:06:14 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xl info) 2021-11-22 23:06:15 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch upload xen_replace xen_replace_world.livepatch) 2021-11-22 23:06:15 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch replace xen_replace) 2021-11-22 23:06:15 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xl info) 2021-11-22 23:06:15 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch apply xen_hello_world) Error 22: Invalid argument 2021-11-22 23:06:15 Z command nonzero waitstatus 256: timeout 60 ssh -o StrictHostKeyChecking=no -o BatchMode=yes -o ConnectTimeout=100 -o ServerAliveInterval=100 -o PasswordAuthentication=no -o ChallengeResponseAuthentication=no -o UserKnownHostsFile=tmp/t.known_hosts_166296.test-amd64-amd64-livepatch root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch apply xen_hello_world) 2021-11-22 23:06:15 Z ... that failure (256) was as required; all is well. 2021-11-22 23:06:15 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch apply xen_bye_world) Error 22: Invalid argument 2021-11-22 23:06:16 Z command nonzero waitstatus 256: timeout 60 ssh -o StrictHostKeyChecking=no -o BatchMode=yes -o ConnectTimeout=100 -o ServerAliveInterval=100 -o PasswordAuthentication=no -o ChallengeResponseAuthentication=no -o UserKnownHostsFile=tmp/t.known_hosts_166296.test-amd64-amd64-livepatch root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch apply xen_bye_world) 2021-11-22 23:06:16 Z ... that failure (256) was as required; all is well. 2021-11-22 23:06:16 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch apply xen_replace) 2021-11-22 23:06:16 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch revert xen_replace) 2021-11-22 23:06:16 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch unload xen_replace) 2021-11-22 23:06:16 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch unload xen_hello_world) 2021-11-22 23:06:16 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch unload xen_bye_world) 2021-11-22 23:06:17 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch list) 2021-11-22 23:06:17 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xl info) 2021-11-22 23:06:17 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch load xen_nop.livepatch) 2021-11-22 23:06:17 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch revert xen_nop) 2021-11-22 23:06:17 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch apply xen_nop) 2021-11-22 23:06:18 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xl info) 2021-11-22 23:06:18 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch unload xen_nop) xen_nop is in the wrong state. Current state: APPLIED Expected state: CHECKED 2021-11-22 23:06:18 Z command nonzero waitstatus 256: timeout 60 ssh -o StrictHostKeyChecking=no -o BatchMode=yes -o ConnectTimeout=100 -o ServerAliveInterval=100 -o PasswordAuthentication=no -o ChallengeResponseAuthentication=no -o UserKnownHostsFile=tmp/t.known_hosts_166296.test-amd64-amd64-livepatch root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch unload xen_nop) 2021-11-22 23:06:18 Z ... that failure (256) was as required; all is well. 2021-11-22 23:06:18 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch revert xen_nop) 2021-11-22 23:06:18 Z executing ssh ... root@172.16.144.23 (set -e;cd /usr/lib/debug/xen-livepatch;xen-livepatch unload xen_nop) 2021-11-22 23:06:18 Z Livepatch test returned 0 + rc=0 + date -u +%Y-%m-%d %H:%M:%S Z exit status 0 2021-11-22 23:06:18 Z exit status 0 + exit 0