← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1591966] Re: Running Unit Tests got 5 errors in Aarch64

 

** Changed in: nova
       Status: In Progress => Fix Released

** Changed in: nova
       Status: Fix Released => Fix Committed

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1591966

Title:
  Running Unit Tests got 5 errors in Aarch64

Status in OpenStack Compute (nova):
  Fix Committed

Bug description:
  Description
  ===========
  Using nova to create an instance in Aarch64,the disk.config is the 'cdrom' and has the type of 'scsi'.After instance creation ,log into the instance and can't see the cdrom device.

  Steps to reproduce
  ==================
  1.Using devstack to deploy openstack. Using default local.conf.

  2.Enter into the nova directory
  $ cd /opt/stack/nova
  $ tox -e py27

  Expected result
  ===============
  After running the tests, return:

  ======
  Totals
  ======
  Ran: 13479 tests in 662.0000 sec.
   - Passed: 13423
   - Skipped: 56
   - Expected Fail: 0
   - Unexpected Success: 0
   - Failed: 0
  Sum of execute time for each test: 4490.9027 sec.

  ==============
  Worker Balance
  ==============
   - Worker 0 (1685 tests) => 0:09:26.657728
   - Worker 1 (1687 tests) => 0:09:37.397435
   - Worker 2 (1684 tests) => 0:09:32.077593
   - Worker 3 (1684 tests) => 0:09:26.830573
   - Worker 4 (1684 tests) => 0:09:23.826421
   - Worker 5 (1685 tests) => 0:09:32.041672
   - Worker 6 (1685 tests) => 0:09:15.550618
   - Worker 7 (1685 tests) => 0:09:23.697743
  __________________________________________________________ summary __________________________________________________________

    py27: commands succeeded
    congratulations :)

  Actual result
  =============
  Got 5 errors while running the tests.
  The test cases are:
  nova.tests.unit.virt.libvirt.test_blockinfo.LibvirtBlockInfoTest.test_get_disk_mapping_cdrom_configdrive
  nova.tests.unit.virt.libvirt.test_blockinfo.LibvirtBlockInfoTest.test_get_disk_mapping_simple_configdrive
  nova.tests.unit.virt.libvirt.test_driver.LibvirtConnTestCase.test_xml_disk_bus_ide
  nova.tests.unit.virt.libvirt.test_driver.LibvirtConnTestCase.test_xml_disk_bus_ide_and_virtio
  nova.tests.unit.virt.libvirt.test_driver.LibvirtConnTestCase.test_get_guest_config_with_configdrive

  The detailed information is in the attaching log file.
  Environment
  ===========
  1. Exact version of OpenStack you are running. See the following
    list for all releases: http://docs.openstack.org/releases/
     Nova development, commit code: 6e2e1dc912199e057e5c3a5e07d39f26cbbbdd5b

  2. Which hypervisor did you use?
      Libvirt+KVM
      $ kvm --version
      QEMU emulator version 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.1), Copyright (c) 2003-2008 Fabrice Bellard
      $ libvirtd --version
      libvirtd (libvirt) 1.3.1

  2. Which storage type did you use?
     In the host file system,all in one physics machine.
  stack@u202154:/opt/stack/nova$ df -hl
  Filesystem Size Used Avail Use% Mounted on
  udev 7.8G 0 7.8G 0% /dev
  tmpfs 1.6G 61M 1.6G 4% /run
  /dev/sda2 917G 41G 830G 5% /
  tmpfs 7.9G 0 7.9G 0% /dev/shm
  tmpfs 5.0M 0 5.0M 0% /run/lock
  tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup
  /dev/sda1 511M 888K 511M 1% /boot/efi
  cgmfs 100K 0 100K 0% /run/cgmanager/fs
  tmpfs 1.6G 0 1.6G 0% /run/user/1002
  tmpfs 1.6G 0 1.6G 0% /run/user/1000
  tmpfs 1.6G 0 1.6G 0% /run/user/0

  3. Which networking type did you use?
     nova-network

  4. Environment information:
     Architecture : AARCH64
     OS: Ubuntu 16.04

  Detailed log info is in the accessory.
  The guest xml is also in the log info.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1591966/+subscriptions


References