Traceback (most recent call last):
File "/var/lib/hudson/src/nova/hudson/nova/tests/network_unittest.py", line 166, in test_too_many_vpns
for i in xrange(vpn.NetworkData.num_ports_for_ip(FLAGS.vpn_ip)):
exceptions.UnboundLocalError: local variable 'vpn' referenced before assignment
-------------------------------------------------------------------------------
Ran 97 tests in 5.325s
The attempt to merge lp:~vishvananda/nova/network-refactor into lp:nova failed.Below is the output from the failed tests.
nova.tests. access_ unittest 001_allow_ all ... [OK] 002_allow_ none ... [OK] 003_allow_ project_ manager ... [OK] 004_allow_ sys_and_ net ... [OK] 005_allow_ sys_no_ pm ... [OK] api_unittest describe_ instances ... [OK] get_all_ key_pairs ... [OK] auth_unittest 001_can_ create_ users ... [OK] 002_can_ get_user ... [OK] 003_can_ retreive_ properties ... [OK] 004_signature_ is_valid ... [OK] 005_can_ get_credentials ... [OK] 006_test_ key_storage ... [OK] 007_test_ key_generation ... [OK] 008_can_ list_key_ pairs ... [OK] 009_can_ delete_ key_pair ... [OK] 010_can_ list_users ... [OK] 101_can_ add_user_ role ... [OK] 199_can_ remove_ user_role ... [OK] 201_can_ create_ project ... [OK] 202_user1_ is_project_ member ... [OK] 203_user2_ is_not_ project_ member ... [OK] 204_user1_ is_project_ manager ... [OK] 205_user2_ is_not_ project_ manager ... [OK] 206_can_ add_user_ to_project ... [OK] 208_can_ remove_ user_from_ project ... [OK] 209_can_ generate_ x509 ... [OK] 210_can_ add_project_ role ... [OK] 211_can_ remove_ project_ role ... [OK] 214_can_ retrieve_ project_ by_user ... [OK] 299_can_ delete_ project ... [OK] 999_can_ delete_ users ... [OK] cloud_unittest console_ output ... [OK] instance_ update_ state ... [OK] run_instances ... [OK] compute_ unittest tionTestCase console_ output ... [OK] run_describe_ terminate ... [OK] run_instance_ existing ... [OK] stCase serialization ... [OK] model_unittest create_ daemon_ single_ arg ... [OK] create_ daemon_ two_args ... [OK] create_ host ... [OK] create_ instance ... [OK] create_ session_ token ... [OK] daemon_ added_to_ set ... [OK] daemon_ associates_ host ... [OK] daemon_ heartbeat ... [OK] delete_ daemon ... [OK] delete_ host ... [OK] delete_ instance ... [OK] delete_ session_ token ... [OK] equality_ daemon_ of_double_ and_single_ args ... [OK] equality_ of_daemon_ single_ and_double_ args ... [OK] find_generated_ session_ token ... [OK] host_added_ to_set ... [OK] host_class_ doesnt_ find_missing_ hosts ... [OK] host_class_ finds_hosts ... [OK] instance_ added_to_ set ... [OK] instance_ associates_ project ... [OK] session_ token_added_ to_set ... [OK] session_ token_associate s_user ... [OK] session_ token_generatio n ... [OK] session_ token_is_ expired_ when_expired ... [OK] session_ token_is_ expired_ when_not_ expired ... [OK] session_ token_lookup_ when_expired ... [OK] session_ token_lookup_ when_not_ expired ... [OK] session_ token_ttl ... [OK] update_ session_ token_expiry ... [OK] network_ unittest 212_vpn_ ip_and_ port_looks_ valid ... [OK] allocate_ deallocate_ fixed_ip ... [OK] deallocate_ before_ issued ... [OK] public_ network_ allocation ... [OK] range_allocatio n ... [OK] release_ before_ deallocate ... [OK] subnet_ edge ... [OK] too_many_ addresses ... [OK] too_many_ vpns ... [ERROR] objectstore_ unittest stCase 000_list_ buckets ... [OK] 001_create_ and_delete_ bucket ... [OK] 002_create_ bucket_ and_key_ and_delete_ key_again ... [OK] process_ unittest execute_ stderr ... [OK] execute_ stdout ... [OK] execute_ unexpected_ stderr ... [OK] kill_long_ process ... [OK] max_processes ... [OK] process_ exit_is_ contained ... [OK] shared_ pool_is_ singleton ... [OK] shared_ pool_works_ as_singleton ... [OK] validator_ unittest tCase type_validation ... [OK] volume_ unittest run_attach_ detach_ volume ... [OK] run_create_ volume ... [OK] too_big_ volume ... [OK] too_many_ volumes ... [OK]
AccessTestCase
test_
test_
test_
test_
test_
nova.tests.
ApiEc2TestCase
test_
test_
nova.tests.
AuthTestCase
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
nova.tests.
CloudTestCase
test_
test_
test_
nova.tests.
ComputeConnec
test_
test_reboot ... [OK]
test_
test_
InstanceXmlTe
test_
nova.tests.
ModelTestCase
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
test_
nova.tests.
NetworkTestCase
test_
test_
test_
test_
test_
test_
test_
test_
test_
nova.tests.
ObjectStoreTe
test_buckets ... [OK]
test_images ... [OK]
S3APITestCase
test_
test_
test_
nova.tests.
ProcessTestCase
test_
test_
test_
test_
test_
test_
test_
test_
nova.tests.
ValidationTes
test_
nova.tests.
VolumeTestCase
test_multi_node ... [OK]
test_
test_
test_
test_
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= == network_ unittest. NetworkTestCase .test_too_ many_vpns
[ERROR]: nova.tests.
Traceback (most recent call last): hudson/ src/nova/ hudson/ nova/tests/ network_ unittest. py", line 166, in test_too_many_vpns vpn.NetworkData .num_ports_ for_ip( FLAGS.vpn_ ip)): UnboundLocalErr or: local variable 'vpn' referenced before assignment ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --
File "/var/lib/
for i in xrange(
exceptions.
-------
Ran 97 tests in 5.325s
FAILED (errors=1, successes=96)
INFO:root:Flushing redis datastore