← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1279820] [NEW] libvirt: some tests taking longer than 2 seconds

 

Public bug reported:

py27 develop-inst-nodeps: /home/gkotton/nova
py27 runtests: commands[0] | python -m nova.openstack.common.lockutils python setup.py test --slowest --testr-args=nova.tests.virt.libvirt
[pbr] Excluding argparse: Python 2.6 only dependency
running test
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests --list 
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests  --load-list /tmp/tmp1dQ_3A
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests  --load-list /tmp/tmpSmMObk
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests  --load-list /tmp/tmpqnRKjm
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests  --load-list /tmp/tmpMKqiiM
Ran 572 tests in 13.283s (-0.814s)
PASSED (id=358)
Slowest Tests
Test id                                                                                                                 Runtime (s)
----------------------------------------------------------------------------------------------------------------------  -----------
nova.tests.virt.libvirt.test_libvirt.LibvirtConnTestCase.test_pre_live_migration_plug_vifs_retry_works                  2.080
nova.tests.virt.libvirt.test_libvirt.LibvirtConnTestCase.test_pre_live_migration_plug_vifs_retry_fails                  2.079
nova.tests.virt.libvirt.test_libvirt_volume.LibvirtVolumeTestCase.test_libvirt_kvm_iser_volume_with_multipath           2.011
nova.tests.virt.libvirt.test_libvirt_volume.LibvirtVolumeTestCase.test_libvirt_kvm_iser_volume_with_multipath_getmpdev  2.010
nova.tests.virt.libvirt.test_libvirt.HostStateTestCase.test_update_status                                               1.024
nova.tests.virt.libvirt.test_dmcrypt.LibvirtDmcryptTestCase.test_create_volume                                          1.019
nova.tests.virt.libvirt.test_dmcrypt.LibvirtDmcryptTestCase.test_delete_volume                                          1.016
nova.tests.virt.libvirt.test_libvirt.CacheConcurrencyTestCase.test_same_fname_concurrency                               0.886
nova.tests.virt.libvirt.test_libvirt.LibvirtConnTestCase.test_power_on                                                  0.795
nova.tests.virt.libvirt.test_libvirt.LibvirtConnTestCase.test_hard_reboot                                               0.643
py33 create: /home/gkotton/nova/.tox/py33
ERROR: InterpreterNotFound: python3.3

** Affects: nova
     Importance: Medium
     Assignee: Gary Kotton (garyk)
         Status: New


** Tags: libvirt

** Changed in: nova
   Importance: Undecided => Medium

-- 
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/1279820

Title:
  libvirt: some tests taking longer than 2 seconds

Status in OpenStack Compute (Nova):
  New

Bug description:
  py27 develop-inst-nodeps: /home/gkotton/nova
  py27 runtests: commands[0] | python -m nova.openstack.common.lockutils python setup.py test --slowest --testr-args=nova.tests.virt.libvirt
  [pbr] Excluding argparse: Python 2.6 only dependency
  running test
  running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
  OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
  OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
  ${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests --list 
  running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
  OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
  OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
  ${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests  --load-list /tmp/tmp1dQ_3A
  running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
  OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
  OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
  ${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests  --load-list /tmp/tmpSmMObk
  running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
  OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
  OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
  ${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests  --load-list /tmp/tmpqnRKjm
  running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
  OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
  OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
  ${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests  --load-list /tmp/tmpMKqiiM
  Ran 572 tests in 13.283s (-0.814s)
  PASSED (id=358)
  Slowest Tests
  Test id                                                                                                                 Runtime (s)
  ----------------------------------------------------------------------------------------------------------------------  -----------
  nova.tests.virt.libvirt.test_libvirt.LibvirtConnTestCase.test_pre_live_migration_plug_vifs_retry_works                  2.080
  nova.tests.virt.libvirt.test_libvirt.LibvirtConnTestCase.test_pre_live_migration_plug_vifs_retry_fails                  2.079
  nova.tests.virt.libvirt.test_libvirt_volume.LibvirtVolumeTestCase.test_libvirt_kvm_iser_volume_with_multipath           2.011
  nova.tests.virt.libvirt.test_libvirt_volume.LibvirtVolumeTestCase.test_libvirt_kvm_iser_volume_with_multipath_getmpdev  2.010
  nova.tests.virt.libvirt.test_libvirt.HostStateTestCase.test_update_status                                               1.024
  nova.tests.virt.libvirt.test_dmcrypt.LibvirtDmcryptTestCase.test_create_volume                                          1.019
  nova.tests.virt.libvirt.test_dmcrypt.LibvirtDmcryptTestCase.test_delete_volume                                          1.016
  nova.tests.virt.libvirt.test_libvirt.CacheConcurrencyTestCase.test_same_fname_concurrency                               0.886
  nova.tests.virt.libvirt.test_libvirt.LibvirtConnTestCase.test_power_on                                                  0.795
  nova.tests.virt.libvirt.test_libvirt.LibvirtConnTestCase.test_hard_reboot                                               0.643
  py33 create: /home/gkotton/nova/.tox/py33
  ERROR: InterpreterNotFound: python3.3

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


Follow ups

References