ubuntu_kvm_smoke_test failed on Intel KVM node with D-KVM kernel

Bug #1837365 reported by Po-Hsu Lin on 2019-07-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Undecided
Unassigned
linux-kvm (Ubuntu)
Undecided
Unassigned

Bug Description

The KVM can be started in our KVM node (zeppo) with the D-KVM kernel.
But it looks like that we can't run it on the Intel Cloud KVM nodes (automation-vm8)

Test failed with:
+ uvt-kvm wait bjf-test --insecure --ssh-private-key-file /home/ubuntu/.ssh/id_rsa
uvt-kvm: error: timed out waiting for dnsmasq lease for 52:54:00:67:78:dc.
++ uvt-kvm ip bjf-test
uvt-kvm: error: no IP address found for libvirt machine 'bjf-test'.

    sudo -u ubuntu /home/ubuntu/autotest/client/tests/ubuntu_kvm_smoke_test
    /the-test amd64
    Exit status: 1
    Duration: 354.469812155

    stdout:
    INFO: /dev/kvm exists
    KVM acceleration can be used
    Generating public/private rsa key pair.
    Your identification has been saved in /home/ubuntu/.ssh/id_rsa.
    Your public key has been saved in /home/ubuntu/.ssh/id_rsa.pub.
    The key fingerprint is:
    SHA256:hXBMvlRcr+MMJACF2ymdbkl+gxISLagx0ZUSlOYR/+E ubuntu@automation-vm8
    The key's randomart image is:
    +---[RSA 2048]----+
    |.=+*o=+oo.... |
    |+ O.+ =.o. . |
    |.= =.+.o= o . |
    |. o +o*o = . |
    | . *EoS . o |
    | . * o + . |
    | o . . o |
    | |
    | |
    +----[SHA256]-----+
    ** ERROR: The codename returned from lsb_release -c was ( ) and we were expecting 'disco'
    stderr:
    + SUT=bjf-test
 + SSH_KEY=/home/ubuntu/.ssh/id_rsa
 + SSH_OPTIONS='-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -i /home/ubuntu/.ssh/id_rsa'
 ++ lsb_release -c
 ++ awk '{print$2}'
 + DISTRO=disco
 + ARCHITECTURE=amd64
 + '[' -z amd64 ']'
 + kvm-ok
 + '[' 0 '!=' 0 ']'
 + '[' '!' -f /home/ubuntu/.ssh/id_rsa ']'
 + ssh-keygen -f /home/ubuntu/.ssh/id_rsa -t rsa -N ''
 + '[' amd64 = ppc64el ']'
 ++ grep -P 'disco.*amd64'
 ++ uvt-simplestreams-libvirt query
 + image=
 + '[' -z '' ']'
 + uvt-simplestreams-libvirt sync --source http://cloud-images.ubuntu.com/daily release=disco arch=amd64
 + uvt-kvm create bjf-test release=disco arch=amd64
 + uvt-kvm wait bjf-test --insecure --ssh-private-key-file /home/ubuntu/.ssh/id_rsa
 uvt-kvm: error: timed out waiting for dnsmasq lease for 52:54:00:67:78:dc.
 ++ uvt-kvm ip bjf-test
 uvt-kvm: error: no IP address found for libvirt machine 'bjf-test'.
 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -i /home/ubuntu/.ssh/id_rsa ubuntu@ uname -a
 +++ uvt-kvm ip bjf-test
 ++ cut '-d ' -f 2
 uvt-kvm: error: no IP address found for libvirt machine 'bjf-test'.
 ++ ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -i /home/ubuntu/.ssh/id_rsa ubuntu@ lsb_release -c
 + RESULT=
 + '[' '' '!=' disco ']'
 + echo '** ERROR: The codename returned from lsb_release -c was (' ') and we were expecting '\''disco'\'''
 + exit 1

Po-Hsu Lin (cypressyew) on 2019-07-22
tags: added: 5.0 disco sru-20190701 ubuntu-kvm-smoke-test
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers