Replace hanging virt-copy-out commands 48/1548/5
authoramin m <amin.m@nokia.com>
Fri, 6 Sep 2019 12:18:45 +0000 (17:48 +0530)
committerSaku Chydenius <saku.chydenius@nokia.com>
Tue, 10 Sep 2019 07:35:07 +0000 (10:35 +0300)
commit075a6c6d1b58d6fd81a3c65df61569ec10a59684
tree963337fbefea9be32503a8adeb3d318985ddd109
parent8265fa1035ead0cbc60c0438f2daa30194675de4
Replace hanging virt-copy-out commands

Most often virt-copy-out just hangs on the LinuxFoundation Jenkins build
slaves until timeout exceeds and Jenkins interrupts the build. Nested
virtualization required by virt-copy-out (via qemu-kvm) seems not
stable. This is purely a workaround for LF Jenkins.

Example trace of the issue with virt-copy-out:

        /usr/libexec/qemu-kvm \
                -global virtio-blk-pci.scsi=off \
                -nodefconfig \
                -enable-fips \
        [...some output omitted...]
        KVM: entry failed, hardware error 0x0
        EAX=00000000 EBX=00000000 ECX=00000000 EDX=000306a9
        ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000
        EIP=0000fff0 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
        ES =0000 00000000 0000ffff 00009300
        CS =f000 ffff0000 0000ffff 00009b00
        SS =0000 00000000 0000ffff 00009300
        DS =0000 00000000 0000ffff 00009300
        FS =0000 00000000 0000ffff 00009300
        GS =0000 00000000 0000ffff 00009300
        LDT=0000 00000000 0000ffff 00008200
        TR =0000 00000000 0000ffff 00008b00
        GDT=     00000000 0000ffff
        IDT=     00000000 0000ffff
        CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000
        DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
        DR6=00000000ffff0ff0 DR7=0000000000000400
        EFER=0000000000000000
        Code=00 66 89 d8 66 e8 14 a4 ff ff 66 83 c4 0c 66 5b 66 5e 66 c3 <ea> 5b e0 00 f0 30 36 2f 32 33 2f 39 39 00 fc 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        Build timed out (after 120 minutes). Marking the build as failed.

Change-Id: I0346abc3f28f0bf2687d0c2538c50dfd71e1d32c
Signed-off-by: Tamas Lendvay <tamas.lendvay@nokia.com>
build_step_create_install_cd.sh