Skip to contentSkip to conversation

64958: regressions - trouble: broken/fail/pass

osstest test Ian Campbell 2 participants 4 messages Nov 25, 2015 – Dec 3, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi Jim,

On Sun, 2015-11-22 at 08:54 +0000, osstest service owner wrote:

This flight was an attempt to update osstest to use Debian Jessie instead of Wheezy as the OS used on hosts and in guests. This should mean that the test-armhf-armhf-* jobs which use d-i should now start working (since Jessie d-i works on xen/arm where Wheezy did not).

However this seems to not be the case for the libvirt toolstack.

Quoted 4 lines

Tests which did not succeed, but are not blocking:

[...]
 test-armhf-armhf-libvirt-qcow2  9 debian-di-install            fail never pass

http://logs.test-lab.xenproject.org/osstest/logs/64958/test-armhf-armhf-libvirt-qcow2/9.ts-debian-di-install.log

2015-11-21 23:06:44 Z executing ssh ... [email protected] virsh domxml-from-native xen-xl /etc/xen/debian.jessie.guest.osstest.cfg > /etc/xen/debian.jessie.guest.osstest.cfg.xml 

error: An error occurred, but the cause is unknown

This was always masked before now because when running with Wheezy osstest failed to find a suitable kernel+initramfs before this point.

http://logs.test-lab.xenproject.org/osstest/logs/64958/test-armhf-armhf-libvirt-qcow2/arndale-metrocentre---var-log-libvirt-libvirtd.log.gz
just has:

    2015-11-21 23:06:44.686+0000: 1648: debug : virConnectDomainXMLFromNative:2626 : conn=0xb4000598, format=xen-xl, config=name        = 'debian.jessie.guest.osstest'
    memory = 512
    vif         = [ 'mac=5a:36:0e:be:00:09' ]
    #
    on_poweroff = 'preserve'
    on_reboot   = 'restart'
    on_crash    = 'preserve'
    #
    vcpus = 2
    #
    kernel      = "/root/64958-test-armhf-armhf-libvirt-qcow2-di/kernel_jessie_armhf"
    ramdisk     = "/root/64958-test-armhf-armhf-libvirt-qcow2-di/ramdisk_jessie_armhf"
    extra       = "debian-installer/exit/poweroff=true domain=test-lab.xenproject.org console=hvc0 auto=true preseed hw-detect/load_firmware=false DEBCONF_DEBUG=5 DEBIAN_FRONTEND=text hostname=debian.jessie.guest.osstest url=osstest.test-lab.xenproject.org/~osstest/osstest/arndale-metrocentre_debian.jessie.guest.osstest_preseed netcfg/dhcp_timeout=150 netcfg/choose_interface=auto -- console=hvc0"
    #
    disk        = [
                 'format=qcow2,vdev=xvda,target=/var/lib/xen/images/debian/disk.qcow2'
                ]

    #

    , flags=0

and seemingly no information on the mysterious failure. The config looks perfectly find to me (and FWIW xl create likes it just fine)

I'll dig in but I wondered if you had any pointers, to either what might be failing or why the error reporting seems to not filter through.

Cheers,
Ian.

Quoted 112 lines

 test-armhf-armhf-xl-credit2  13 saverestore-support-check    fail   never pass test-armhf-armhf-xl-credit2  12 migrate-support-check        fail   never pass test-armhf-armhf-xl-vhd      11 migrate-support-check        fail   never pass test-armhf-armhf-xl-vhd      12 saverestore-support-check    fail   never pass test-amd64-i386-libvirt-qemuu-debianhvm-amd64-xsm 10 migrate-support-check fail never pass test-amd64-i386-libvirt      12 migrate-support-check        fail   never pass

version targeted for testing:
 osstest              2b83c10eb530fbd6a501717deb5aac1beff0cf80 baseline version:
 osstest              b0c5663a03e7ad679841dea72785db4ca981efe8

Last test of basis    64659  2015-11-18 01:58:35 Z    4 days Testing same since    64958  2015-11-20 15:06:13 Z    1 days    1 attempts

jobs:
 build-amd64-xsm                                              pass build-armhf-xsm                                              pass build-i386-xsm                                               pass build-amd64                                                  pass build-armhf                                                  pass build-i386                                                   pass build-amd64-libvirt                                          pass build-armhf-libvirt                                          pass build-i386-libvirt                                           pass build-amd64-pvops                                            pass build-armhf-pvops                                            pass build-i386-pvops                                             pass build-amd64-rumpuserxen                                      pass build-i386-rumpuserxen                                       pass test-amd64-amd64-xl                                          pass test-armhf-armhf-xl                                          pass test-amd64-i386-xl                                           pass test-amd64-amd64-xl-qemut-debianhvm-amd64-xsm                pass test-amd64-i386-xl-qemut-debianhvm-amd64-xsm                 pass test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm           pass test-amd64-i386-libvirt-qemuu-debianhvm-amd64-xsm            pass test-amd64-amd64-xl-qemuu-debianhvm-amd64-xsm                pass test-amd64-i386-xl-qemuu-debianhvm-amd64-xsm                 pass test-amd64-amd64-xl-qemut-stubdom-debianhvm-amd64-xsm        pass test-amd64-i386-xl-qemut-stubdom-debianhvm-amd64-xsm         fail test-amd64-amd64-libvirt-xsm                                 pass test-armhf-armhf-libvirt-xsm                                 fail test-amd64-i386-libvirt-xsm                                  pass test-amd64-amd64-xl-xsm                                      pass test-armhf-armhf-xl-xsm                                      pass test-amd64-i386-xl-xsm                                       pass test-amd64-amd64-xl-pvh-amd                                  fail test-amd64-i386-qemut-rhel6hvm-amd                           pass test-amd64-i386-qemuu-rhel6hvm-amd                           pass test-amd64-amd64-xl-qemut-debianhvm-amd64                    pass test-amd64-i386-xl-qemut-debianhvm-amd64                     pass test-amd64-amd64-xl-qemuu-debianhvm-amd64                    pass test-amd64-i386-xl-qemuu-debianhvm-amd64                     pass test-amd64-i386-freebsd10-amd64                              pass test-amd64-amd64-xl-qemuu-ovmf-amd64                         pass test-amd64-i386-xl-qemuu-ovmf-amd64                          pass test-amd64-amd64-rumpuserxen-amd64                           pass test-amd64-amd64-xl-qemut-win7-amd64                         pass test-amd64-i386-xl-qemut-win7-amd64                          fail test-amd64-amd64-xl-qemuu-win7-amd64                         pass test-amd64-i386-xl-qemuu-win7-amd64                          fail test-armhf-armhf-xl-arndale                                  pass test-amd64-amd64-xl-credit2                                  pass test-armhf-armhf-xl-credit2                                  pass test-armhf-armhf-xl-cubietruck                               fail test-amd64-i386-freebsd10-i386                               pass test-amd64-i386-rumpuserxen-i386                             pass test-amd64-amd64-xl-pvh-intel                                fail test-amd64-i386-qemut-rhel6hvm-intel                         pass test-amd64-i386-qemuu-rhel6hvm-intel                         pass test-amd64-amd64-libvirt                                     pass test-armhf-armhf-libvirt                                     fail test-amd64-i386-libvirt                                      pass test-amd64-amd64-xl-multivcpu                                pass test-armhf-armhf-xl-multivcpu                                pass test-amd64-amd64-qemuu-nested                                broken test-amd64-amd64-pair                                        pass test-amd64-i386-pair                                         pass test-amd64-amd64-libvirt-pair                                pass test-amd64-i386-libvirt-pair                                 pass test-amd64-amd64-amd64-pvgrub                                pass test-amd64-amd64-i386-pvgrub                                 pass test-amd64-amd64-pygrub                                      pass test-armhf-armhf-libvirt-qcow2                               fail test-amd64-amd64-xl-qcow2                                    pass test-armhf-armhf-libvirt-raw                                 fail test-amd64-i386-xl-raw                                       pass test-amd64-amd64-xl-rtds                                     pass test-armhf-armhf-xl-rtds                                     pass test-amd64-i386-xl-qemut-winxpsp3-vcpus1                     pass test-amd64-i386-xl-qemuu-winxpsp3-vcpus1                     pass test-amd64-amd64-libvirt-vhd                                 pass test-armhf-armhf-xl-vhd                                      pass test-amd64-amd64-xl-qemut-winxpsp3                           pass test-amd64-i386-xl-qemut-winxpsp3                            pass test-amd64-amd64-xl-qemuu-winxpsp3                           pass test-amd64-i386-xl-qemuu-winxpsp3                            pass

------------------------------------------------------------
sg-report-flight on osstest.test-lab.xenproject.org
logs: /home/logs/logs
images: /home/logs/images

Logs, config files, etc. are available at
    http://logs.test-lab.xenproject.org/osstest/logs

Explanation of these reports, and of osstest in general, is at
    http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README.email;hb=master
    http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README;hb=master

Quoted 6 lines

Test harness code can be found at
    http://xenbits.xen.org/gitweb?p=osstest.git;a=summary

Not pushing.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#2 lore raw
Quoted 2 lines · Ian Campbell
2015-11-21 23:06:44 Z executing ssh ... [email protected] virsh domxml-from-native xen-xl /etc/xen/debian.jessie.guest.osstest.cfg > /etc/xen/debian.jessie.guest.osstest.cfg.xml 

error: An error occurred, but the cause is unknown

This turned out to be the check of vcpus vs MAX_VIRT_CPUS in xenParseCPUFeatures.

MAX_VIRT_CPUS is defined (by libvirt) as XEN_LEGACY_MAX_VCPUS, which is mostly wrong on x86 (which supports more than that for guests using vcpu placement) but is very wrong on ARM where we insist on vcpu placement and XEN_LEGACY_MAX_VCPUS is therefore 1.

This test was trying to create a 2 cpu guest.

Since this check is in xen_common.c I think it might take a little unravelling to fix this, since it seems to have lead to various other assumptions to do with CPU masks fitting into an unsigned long in the libvirt code base.

/me rolls up sleeves.

Ian.

Quoted 46 lines

This was always masked before now because when running with Wheezy osstest
failed to find a suitable kernel+initramfs before this point.

http://logs.test-lab.xenproject.org/osstest/logs/64958/test-armhf-armhf-l
ibvirt-qcow2/arndale-metrocentre---var-log-libvirt-libvirtd.log.gz just has:

    2015-11-21 23:06:44.686+0000: 1648: debug :

virConnectDomainXMLFromNative:2626 : conn=0xb4000598, format=xen-xl, config=name        = 'debian.jessie.guest.osstest'
    memory = 512
    vif         = [ 'mac=5a:36:0e:be:00:09' ]
    #
    on_poweroff = 'preserve'
    on_reboot   = 'restart'
    on_crash    = 'preserve'
    #
    vcpus = 2
    #
    kernel      = "/root/64958-test-armhf-armhf-libvirt-qcow2- di/kernel_jessie_armhf"
    ramdisk     = "/root/64958-test-armhf-armhf-libvirt-qcow2- di/ramdisk_jessie_armhf"

    extra       = "debian-installer/exit/poweroff=true domain=test- lab.xenproject.org console=hvc0 auto=true preseed hw- detect/load_firmware=false DEBCONF_DEBUG=5 DEBIAN_FRONTEND=text hostname=debian.jessie.guest.osstest url=osstest.test- lab.xenproject.org/~osstest/osstest/arndale- metrocentre_debian.jessie.guest.osstest_preseed netcfg/dhcp_timeout=150 netcfg/choose_interface=auto -- console=hvc0"
    #
    disk        = [ 'format=qcow2,vdev=xvda,target=/var/lib/xen/images/debia n/disk.qcow2'
                ]

    #

    , flags=0

and seemingly no information on the mysterious failure. The config looks perfectly find to me (and FWIW xl create likes it just fine)

Quoted 133 lines

I'll dig in but I wondered if you had any pointers, to either what might be
failing or why the error reporting seems to not filter through.

Cheers,
Ian.

Quoted 126 lines

 test-armhf-armhf-xl-credit2  13 saverestore-support-
check    fail   never pass
 test-armhf-armhf-xl-credit2  12 migrate-support-
check        fail   never pass
 test-armhf-armhf-xl-vhd      11 migrate-support-
check        fail   never pass
 test-armhf-armhf-xl-vhd      12 saverestore-support-
check    fail   never pass test-amd64-i386-libvirt-qemuu-debianhvm-amd64-xsm 10 migrate-support- check fail never pass
 test-amd64-i386-libvirt      12 migrate-support-
check        fail   never pass

version targeted for testing:
 osstest              2b83c10eb530fbd6a501717deb5aac1beff0cf80 baseline version:
 osstest              b0c5663a03e7ad679841dea72785db4ca981efe8

Last test of basis    64659  2015-11-18 01:58:35 Z    4 days Testing same since    64958  2015-11-20 15:06:13 Z    1 days    1 attempts

jobs:
 build-amd64-xsm                                              pass build-armhf-xsm                                              pass build-i386-xsm                                               pass build-amd64                                                  pass build-armhf                                                  pass build-i386                                                   pass build-amd64-libvirt                                          pass build-armhf-libvirt                                          pass build-i386-libvirt                                           pass build-amd64-pvops                                            pass build-armhf-pvops                                            pass build-i386-pvops                                             pass build-amd64-rumpuserxen                                      pass build-i386-rumpuserxen                                       pass test-amd64-amd64-xl                                          pass test-armhf-armhf-xl                                          pass test-amd64-i386-xl                                           pass test-amd64-amd64-xl-qemut-debianhvm-amd64-xsm                pass test-amd64-i386-xl-qemut-debianhvm-amd64-xsm                 pass test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm           pass test-amd64-i386-libvirt-qemuu-debianhvm-amd64-xsm            pass test-amd64-amd64-xl-qemuu-debianhvm-amd64-xsm                pass test-amd64-i386-xl-qemuu-debianhvm-amd64-xsm                 pass test-amd64-amd64-xl-qemut-stubdom-debianhvm-amd64-xsm        pass test-amd64-i386-xl-qemut-stubdom-debianhvm-amd64-xsm         fail test-amd64-amd64-libvirt-xsm                                 pass test-armhf-armhf-libvirt-xsm                                 fail test-amd64-i386-libvirt-xsm                                  pass test-amd64-amd64-xl-xsm                                      pass test-armhf-armhf-xl-xsm                                      pass test-amd64-i386-xl-xsm                                       pass test-amd64-amd64-xl-pvh-amd                                  fail test-amd64-i386-qemut-rhel6hvm-amd                           pass test-amd64-i386-qemuu-rhel6hvm-amd                           pass test-amd64-amd64-xl-qemut-debianhvm-amd64                    pass test-amd64-i386-xl-qemut-debianhvm-amd64                     pass test-amd64-amd64-xl-qemuu-debianhvm-amd64                    pass test-amd64-i386-xl-qemuu-debianhvm-amd64                     pass test-amd64-i386-freebsd10-amd64                              pass test-amd64-amd64-xl-qemuu-ovmf-amd64                         pass test-amd64-i386-xl-qemuu-ovmf-amd64                          pass test-amd64-amd64-rumpuserxen-amd64                           pass test-amd64-amd64-xl-qemut-win7-amd64                         pass test-amd64-i386-xl-qemut-win7-amd64                          fail test-amd64-amd64-xl-qemuu-win7-amd64                         pass test-amd64-i386-xl-qemuu-win7-amd64                          fail test-armhf-armhf-xl-arndale                                  pass test-amd64-amd64-xl-credit2                                  pass test-armhf-armhf-xl-credit2                                  pass test-armhf-armhf-xl-cubietruck                               fail test-amd64-i386-freebsd10-i386                               pass test-amd64-i386-rumpuserxen-i386                             pass test-amd64-amd64-xl-pvh-intel                                fail test-amd64-i386-qemut-rhel6hvm-intel                         pass test-amd64-i386-qemuu-rhel6hvm-intel                         pass test-amd64-amd64-libvirt                                     pass test-armhf-armhf-libvirt                                     fail test-amd64-i386-libvirt                                      pass test-amd64-amd64-xl-multivcpu                                pass test-armhf-armhf-xl-multivcpu                                pass test-amd64-amd64-qemuu-nested                                broken test-amd64-amd64-pair                                        pass test-amd64-i386-pair                                         pass test-amd64-amd64-libvirt-pair                                pass test-amd64-i386-libvirt-pair                                 pass test-amd64-amd64-amd64-pvgrub                                pass test-amd64-amd64-i386-pvgrub                                 pass test-amd64-amd64-pygrub                                      pass test-armhf-armhf-libvirt-qcow2                               fail test-amd64-amd64-xl-qcow2                                    pass test-armhf-armhf-libvirt-raw                                 fail test-amd64-i386-xl-raw                                       pass test-amd64-amd64-xl-rtds                                     pass test-armhf-armhf-xl-rtds                                     pass test-amd64-i386-xl-qemut-winxpsp3-vcpus1                     pass test-amd64-i386-xl-qemuu-winxpsp3-vcpus1                     pass test-amd64-amd64-libvirt-vhd                                 pass test-armhf-armhf-xl-vhd                                      pass test-amd64-amd64-xl-qemut-winxpsp3                           pass test-amd64-i386-xl-qemut-winxpsp3                            pass test-amd64-amd64-xl-qemuu-winxpsp3                           pass test-amd64-i386-xl-qemuu-winxpsp3                            pass

------------------------------------------------------------
sg-report-flight on osstest.test-lab.xenproject.org
logs: /home/logs/logs
images: /home/logs/images

Logs, config files, etc. are available at
    http://logs.test-lab.xenproject.org/osstest/logs

Explanation of these reports, and of osstest in general, is at
    http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README.email;
hb=master
    http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README;hb=mas
ter

Test harness code can be found at
    http://xenbits.xen.org/gitweb?p=osstest.git;a=summary

Not pushing.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#3 lore raw
Quoted 11 lines · Ian Campbell
Quoted 2 lines · Ian Campbell
2015-11-21 23:06:44 Z executing ssh ... [email protected] virsh domxml-from-native xen-xl /etc/xen/debian.jessie.guest.osstest.cfg > /etc/xen/debian.jessie.guest.osstest.cfg.xml 

error: An error occurred, but the cause is unknown

This turned out to be the check of vcpus vs MAX_VIRT_CPUS in xenParseCPUFeatures.

MAX_VIRT_CPUS is defined (by libvirt) as XEN_LEGACY_MAX_VCPUS, which is mostly wrong on x86 (which supports more than that for guests using vcpu placement) but is very wrong on ARM where we insist on vcpu placement and XEN_LEGACY_MAX_VCPUS is therefore 1.

Quoted 6 lines

This test was trying to create a 2 cpu guest.

Since this check is in xen_common.c I think it might take a little unravelling to fix this, since it seems to have lead to various other assumptions to do with CPU masks fitting into an unsigned long in the libvirt code base.

Hi Ian,

Sorry for the delay. I'm still catching up on mail after some days away.

Quoted 1 line

/me rolls up sleeves.

I see that your toiling has produced some patches. I'm slowly making it through patch reviews too, and will get to those soon.

Regards,
Jim

#4 lore raw
Quoted 18 lines · Jim Fehlig
Quoted 17 lines · Ian Campbell
Quoted 4 lines · Ian Campbell
2015-11-21 23:06:44 Z executing ssh ... [email protected] virsh

domxml-from-native xen-xl /etc/xen/debian.jessie.guest.osstest.cfg > /etc/xen/debian.jessie.guest.osstest.cfg.xml
error: An error occurred, but the cause is unknown

This turned out to be the check of vcpus vs MAX_VIRT_CPUS in xenParseCPUFeatures.

MAX_VIRT_CPUS is defined (by libvirt) as XEN_LEGACY_MAX_VCPUS, which is mostly wrong on x86 (which supports more than that for guests using vcpu
placement) but is very wrong on ARM where we insist on vcpu placement and
XEN_LEGACY_MAX_VCPUS is therefore 1.

This test was trying to create a 2 cpu guest.

Quoted 8 lines
Quoted 4 lines

Since this check is in xen_common.c I think it might take a little unravelling to fix this, since it seems to have lead to various other assumptions to do with CPU masks fitting into an unsigned long in the libvirt code base.

Hi Ian,

Sorry for the delay. I'm still catching up on mail after some days away.

No problem!

Quoted 4 lines
Quoted 1 line

/me rolls up sleeves.

I see that your toiling has produced some patches. I'm slowly making it through patch reviews too, and will get to those soon.

Cool, thanks. I gathered (since posting) that libvirt was in an rc/freeze phase at the minute, in any case there's certainly no hurry in so far as this issue is only visible in osstest after it has been upgraded to Debian Jessie, which is blocked on other things right now.

Cheers,
Ian.

Quoted 4 lines

Regards,
Jim