libvirt package apparently not installed for nova unittest builder

Bug #992226 reported by Jay Pipes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Monty Taylor
OpenStack Core Infrastructure
Fix Released
High
Monty Taylor

Bug Description

Seems like a bunch of unit tests are being skipped in the gate-nova-unittests Jenkins job:

    test_unfilter_instance_undefines_nwfilter SKIP: Test requires libvirt
LibvirtConnTestCase
    test_attach_invalid_volume_type OK 0.01
    test_available_least_handles_missing OK 0.01
    test_broken_connection SKIP: Test requires libvirt
    test_destroy_saved SKIP: Test requires libvirt
    test_ensure_filtering_rules_for_instance_timeout SKIP: Test requires libvirt
    test_get_all_block_devices OK 0.01
    test_get_connector OK 0.01
    test_get_console_output_file SKIP: Test requires libvirt
    test_get_console_output_pty SKIP: Test requires libvirt
    test_get_guest_config OK 0.15
    test_get_guest_config_with_root_device_name OK 0.09
    test_get_guest_config_with_two_nics OK 0.45
    test_get_host_ip_addr OK 0.01
    test_get_instance_disk_info_works_correctly SKIP: Test requires libvirt
    test_immediate_delete SKIP: Test requires libvirt
    test_list_instances OK 0.01
    test_live_migration_raises_exception SKIP: Test requires libvirt
    test_lxc_container_and_uri OK 0.09
    test_multi_nic OK 0.15
    test_pre_block_migration_works_correctly SKIP: Test requires libvirt
    test_pre_live_migration_works_correctly OK 0.01
    test_snapshot_in_ami_format SKIP: Test requires libvirt
    test_snapshot_in_qcow2_format SKIP: Test requires libvirt
    test_snapshot_in_raw_format SKIP: Test requires libvirt
    test_snapshot_no_image_architecture SKIP: Test requires libvirt
    test_snapshot_no_original_image SKIP: Test requires libvirt
    test_spawn_with_network_info SKIP: Test requires libvirt
    test_volume_in_mapping OK 0.01
    test_xml_and_uri OK 0.66
    test_xml_and_uri_no_kernel OK 0.63
    test_xml_and_uri_no_ramdisk OK 0.61
    test_xml_and_uri_no_ramdisk_no_kernel OK 0.94
    test_xml_and_uri_rescue OK 0.40
    test_xml_disk_bus_ide OK 0.15
    test_xml_disk_bus_virtio OK 0.16
    test_xml_disk_driver OK 0.29
    test_xml_disk_prefix OK 0.53
    test_xml_uuid OK 0.16
LibvirtConnectionTestCase
    test_finish_migration OK 0.03
    test_finish_revert_migration OK 0.03
    test_migrate_disk_and_power_off OK 0.03
    test_migrate_disk_and_power_off_exception OK 0.02
    test_wait_for_running OK 0.01
LibvirtNonblockingTestCase
    test_connection_to_primitive SKIP: Test requires libvirt

https://jenkins.openstack.org/job/gate-nova-unittests/2012/console

Is the python libvirt package being installed into this test environment?

Monty Taylor (mordred)
Changed in nova:
assignee: nobody → Monty Taylor (mordred)
Changed in openstack-ci:
assignee: nobody → Monty Taylor (mordred)
Changed in nova:
importance: Undecided → Critical
Changed in openstack-ci:
importance: Undecided → High
Changed in nova:
importance: Critical → High
status: New → Triaged
Changed in openstack-ci:
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ci-puppet (master)

Fix proposed to branch: master
Review: https://review.openstack.org/7161

Changed in openstack-ci:
status: Triaged → In Progress
Revision history for this message
Monty Taylor (mordred) wrote :

We create virtualenvs for testing with "no-site-packages" installed. That means that python-libvirt doesn't get pulled in if it's not in pip-requires or test-requires.

I'm going to add the ability to the venv caching to inject extra deps for now.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ci-puppet (master)

Reviewed: https://review.openstack.org/7161
Committed: http://github.com/openstack/openstack-ci-puppet/commit/76ec69571d2276c83f196b23b43e28b1146c00f9
Submitter: Jenkins
Branch: master

commit 76ec69571d2276c83f196b23b43e28b1146c00f9
Author: Monty Taylor <email address hidden>
Date: Sat May 5 12:43:45 2012 -0700

    Add ability to inject depends at invocation time.

    Fixes bug 992226

    Change-Id: I21d081fc6f008fe98ce730abf6d0ef8f38988922

Changed in openstack-ci:
status: In Progress → Fix Committed
Monty Taylor (mordred)
Changed in openstack-ci:
milestone: none → folsom
Revision history for this message
Monty Taylor (mordred) wrote :

Well, that's done - but the version of tox that we use has not been updated to real with the change in default behavior of virtualenv. there is a fix in tox trunk ... we need to upgrade as soon as it's released.

Monty Taylor (mordred)
Changed in openstack-ci:
status: Fix Committed → Fix Released
Changed in nova:
status: Triaged → In Progress
Revision history for this message
Thierry Carrez (ttx) wrote :

@Monty: any progress on this ?

Revision history for this message
Monty Taylor (mordred) wrote :

This was fixed long ago, just didn't update the nova part of the bugtask.

Changed in nova:
status: In Progress → Fix Released
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.