ubuntu_kvm_smoke_test failed on Intel KVM node with D-KVM kernel

Bug #1837365 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Won't Fix
Undecided
Unassigned
linux-kvm (Ubuntu)
Won't Fix
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)
tags: added: 5.0 disco sru-20190701 ubuntu-kvm-smoke-test
Revision history for this message
Kelsey Steele (kelsey-steele) wrote :

Found on Groovy/linux 5.8.0-31.33

tags: added: 5.8 groovy sru-20201109
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Kernel EOL and we don't have this issue recorded in our hint database. Closing this bug.

Changed in ubuntu-kernel-tests:
status: New → Won't Fix
Changed in linux-kvm (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.