2025-07-21 12:15:47,947 - INFO - Domain Default found not creating 2025-07-21 12:15:48,373 - INFO - Project ctest-FloatingipBasicTestSanity-03728854 not found, creating it 2025-07-21 12:15:49,177 - INFO - Created Project:ctest-FloatingipBasicTestSanity-03728854, ID : 0e82c38f-7a7f-4c20-a898-6941b13433f3 2025-07-21 12:15:51,123 - INFO - ================================================================================ 2025-07-21 12:15:51,123 - INFO - STARTING TEST : test_floating_ip 2025-07-21 12:15:51,124 - INFO - TEST DESCRIPTION : Test to validate floating-ip Assignment to a VM. It creates a VM, assigns a FIP to it and pings to a IP in the FIP VN. 2025-07-21 12:15:51,406 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-21 12:15:51,406 - INFO - Initial checks done. Running the testcase now 2025-07-21 12:15:51,406 - INFO - 2025-07-21 12:15:51,453 - DEBUG - Services list from nova: [, , ] 2025-07-21 12:15:51,453 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3677-1']} 2025-07-21 12:15:52,169 - DEBUG - Response for create_network : {'network': {'id': 'a8d4c022-a15c-4dac-8676-e3290871c2fe', 'name': 'ctest-fvn-82260817', 'tenant_id': '0e82c38f7a7f4c20a8986941b13433f3', 'project_id': '0e82c38f7a7f4c20a8986941b13433f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-FloatingipBasicTestSanity-03728854', 'ctest-fvn-82260817'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 12:15:52,382 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2570ddf-bb61-4473-93c9-d7e884f9e6dc', 'name': '', 'tenant_id': '0e82c38f7a7f4c20a8986941b13433f3', 'network_id': 'a8d4c022-a15c-4dac-8676-e3290871c2fe', 'ip_version': 4, 'cidr': '126.81.175.128/26', 'allocation_pools': [{'start': '126.81.175.130', 'end': '126.81.175.190'}], 'gateway_ip': '126.81.175.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.81.175.130', 'tags': [], 'project_id': '0e82c38f7a7f4c20a8986941b13433f3'}} 2025-07-21 12:15:52,403 - INFO - Created VN ctest-fvn-82260817 2025-07-21 12:15:52,461 - DEBUG - VN ctest-fvn-82260817 UUID is a8d4c022-a15c-4dac-8676-e3290871c2fe 2025-07-21 12:15:52,645 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 12:15:52,978 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 12:15:53,030 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6f2dbf83-3a1f-4a4f-8676-305ebe4efd33 2025-07-21 12:15:53,072 - DEBUG - Requesting: http://10.0.0.254:8082/project/0e82c38f-7a7f-4c20-a898-6941b13433f3 2025-07-21 12:15:53,164 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a8d4c022-a15c-4dac-8676-e3290871c2fe 2025-07-21 12:15:53,195 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a8d4c022-a15c-4dac-8676-e3290871c2fe 2025-07-21 12:15:53,227 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/71f6b0d1-70ba-4431-a5b3-76db6a220e1a 2025-07-21 12:15:53,248 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/71f6b0d1-70ba-4431-a5b3-76db6a220e1a 2025-07-21 12:15:53,261 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/2cba0558-3ab4-4137-a8cf-013c8228575d 2025-07-21 12:15:53,269 - DEBUG - Route Targets: ['target:64512:8000011'] 2025-07-21 12:15:53,269 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a8d4c022-a15c-4dac-8676-e3290871c2fe 2025-07-21 12:15:53,279 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/71f6b0d1-70ba-4431-a5b3-76db6a220e1a 2025-07-21 12:15:53,313 - INFO - Verified VN network id 15 for VN a8d4c022-a15c-4dac-8676-e3290871c2fe 2025-07-21 12:15:53,313 - INFO - Verifications in API Server for VN ctest-fvn-82260817 passed 2025-07-21 12:15:53,313 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a8d4c022-a15c-4dac-8676-e3290871c2fe 2025-07-21 12:15:53,335 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/71f6b0d1-70ba-4431-a5b3-76db6a220e1a 2025-07-21 12:15:53,348 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/71f6b0d1-70ba-4431-a5b3-76db6a220e1a 2025-07-21 12:15:53,358 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/2cba0558-3ab4-4137-a8cf-013c8228575d 2025-07-21 12:15:53,375 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-FloatingipBasicTestSanity-03728854:ctest-fvn-82260817', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-FloatingipBasicTestSanity-03728854', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12165559748403154348', 'uuid-lslong': '9689181413709038334'}, 'enable': 'true', 'created': '2025-07-21T12:15:52', 'last-modified': '2025-07-21T12:15:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.038096'} 2025-07-21 12:15:53,382 - DEBUG - Route Targets: ['target:64512:8000011'] 2025-07-21 12:15:53,383 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-fvn-82260817 passed 2025-07-21 12:15:53,383 - DEBUG - ====Verifying policy data for ctest-fvn-82260817 in API_Server ====== 2025-07-21 12:15:53,383 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 12:15:53,389 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6f2dbf83-3a1f-4a4f-8676-305ebe4efd33 2025-07-21 12:15:53,404 - DEBUG - Requesting: http://10.0.0.254:8082/project/0e82c38f-7a7f-4c20-a898-6941b13433f3 2025-07-21 12:15:53,519 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a8d4c022-a15c-4dac-8676-e3290871c2fe 2025-07-21 12:15:53,530 - DEBUG - =>VN ctest-fvn-82260817 has no policy to be verified 2025-07-21 12:15:53,530 - DEBUG - Verifying the vn in opserver 2025-07-21 12:15:53,530 - DEBUG - Verifying the default-domain:ctest-FloatingipBasicTestSanity-03728854:ctest-fvn-82260817 virtual network link through opserver 10.0.0.254 2025-07-21 12:15:53,530 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-21 12:15:53,833 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-21 12:15:53,958 - DEBUG - vn link and name as {'name': 'default-domain:ctest-FloatingipBasicTestSanity-03728854:ctest-fvn-82260817', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-FloatingipBasicTestSanity-03728854:ctest-fvn-82260817?flat'} 2025-07-21 12:15:53,958 - INFO - Validated that VN default-domain:ctest-FloatingipBasicTestSanity-03728854:ctest-fvn-82260817 is found in opserver 2025-07-21 12:15:53,985 - DEBUG - Do not have enough data to verify VN in agent 2025-07-21 12:15:53,992 - DEBUG - VRF ids for VN ctest-fvn-82260817: {} 2025-07-21 12:15:54,297 - DEBUG - Response for create_network : {'network': {'id': '12cb233a-6e87-402b-8965-4d193d17d9ee', 'name': 'ctest-vn1-03332397', 'tenant_id': '0e82c38f7a7f4c20a8986941b13433f3', 'project_id': '0e82c38f7a7f4c20a8986941b13433f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-FloatingipBasicTestSanity-03728854', 'ctest-vn1-03332397'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 12:15:54,596 - DEBUG - Response for create_subnet : {'subnet': {'id': '7cd55470-1b5a-48ba-8733-eed45ce95e43', 'name': '', 'tenant_id': '0e82c38f7a7f4c20a8986941b13433f3', 'network_id': '12cb233a-6e87-402b-8965-4d193d17d9ee', 'ip_version': 4, 'cidr': '193.201.38.128/26', 'allocation_pools': [{'start': '193.201.38.130', 'end': '193.201.38.190'}], 'gateway_ip': '193.201.38.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.201.38.130', 'tags': [], 'project_id': '0e82c38f7a7f4c20a8986941b13433f3'}} 2025-07-21 12:15:54,629 - INFO - Created VN ctest-vn1-03332397 2025-07-21 12:15:54,701 - DEBUG - VN ctest-vn1-03332397 UUID is 12cb233a-6e87-402b-8965-4d193d17d9ee 2025-07-21 12:15:54,848 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 12:15:54,864 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6f2dbf83-3a1f-4a4f-8676-305ebe4efd33 2025-07-21 12:15:54,893 - DEBUG - Requesting: http://10.0.0.254:8082/project/0e82c38f-7a7f-4c20-a898-6941b13433f3 2025-07-21 12:15:55,016 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/12cb233a-6e87-402b-8965-4d193d17d9ee 2025-07-21 12:15:55,046 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/12cb233a-6e87-402b-8965-4d193d17d9ee 2025-07-21 12:15:55,072 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a2a1649a-ed50-4b16-a482-ef31d349772e 2025-07-21 12:15:55,096 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a2a1649a-ed50-4b16-a482-ef31d349772e 2025-07-21 12:15:55,117 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0abf2e4f-3224-4f4a-aa95-bb2aaa6dd0a2 2025-07-21 12:15:55,138 - DEBUG - Route Targets: ['target:64512:8000012'] 2025-07-21 12:15:55,139 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/12cb233a-6e87-402b-8965-4d193d17d9ee 2025-07-21 12:15:55,171 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a2a1649a-ed50-4b16-a482-ef31d349772e 2025-07-21 12:15:55,208 - INFO - Verified VN network id 16 for VN 12cb233a-6e87-402b-8965-4d193d17d9ee 2025-07-21 12:15:55,208 - INFO - Verifications in API Server for VN ctest-vn1-03332397 passed 2025-07-21 12:15:55,208 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/12cb233a-6e87-402b-8965-4d193d17d9ee 2025-07-21 12:15:55,226 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a2a1649a-ed50-4b16-a482-ef31d349772e 2025-07-21 12:15:55,240 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a2a1649a-ed50-4b16-a482-ef31d349772e 2025-07-21 12:15:55,255 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0abf2e4f-3224-4f4a-aa95-bb2aaa6dd0a2 2025-07-21 12:15:55,277 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-FloatingipBasicTestSanity-03728854:ctest-vn1-03332397', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-FloatingipBasicTestSanity-03728854', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1354214846824398891', 'uuid-lslong': '9900404126638397934'}, 'enable': 'true', 'created': '2025-07-21T12:15:54', 'last-modified': '2025-07-21T12:15:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.752167'} 2025-07-21 12:15:55,290 - DEBUG - Route Targets: ['target:64512:8000012'] 2025-07-21 12:15:55,290 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn1-03332397 passed 2025-07-21 12:15:55,291 - DEBUG - ====Verifying policy data for ctest-vn1-03332397 in API_Server ====== 2025-07-21 12:15:55,291 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 12:15:55,303 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6f2dbf83-3a1f-4a4f-8676-305ebe4efd33 2025-07-21 12:15:55,338 - DEBUG - Requesting: http://10.0.0.254:8082/project/0e82c38f-7a7f-4c20-a898-6941b13433f3 2025-07-21 12:15:55,449 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/12cb233a-6e87-402b-8965-4d193d17d9ee 2025-07-21 12:15:55,460 - DEBUG - =>VN ctest-vn1-03332397 has no policy to be verified 2025-07-21 12:15:55,460 - DEBUG - Verifying the vn in opserver 2025-07-21 12:15:55,460 - DEBUG - Verifying the default-domain:ctest-FloatingipBasicTestSanity-03728854:ctest-vn1-03332397 virtual network link through opserver 10.0.0.254 2025-07-21 12:15:55,460 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-21 12:15:55,480 - DEBUG - vn link and name as {'name': 'default-domain:ctest-FloatingipBasicTestSanity-03728854:ctest-vn1-03332397', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-FloatingipBasicTestSanity-03728854:ctest-vn1-03332397?flat'} 2025-07-21 12:15:55,480 - INFO - Validated that VN default-domain:ctest-FloatingipBasicTestSanity-03728854:ctest-vn1-03332397 is found in opserver 2025-07-21 12:15:55,501 - DEBUG - Do not have enough data to verify VN in agent 2025-07-21 12:15:55,515 - DEBUG - VRF ids for VN ctest-vn1-03332397: {} 2025-07-21 12:17:36,401 - DEBUG - Installing image ubuntu 2025-07-21 12:17:36,401 - DEBUG - Image info {'name': 'ubuntu.vmdk.gz', 'webserver': '', 'location': '/images/converts/', 'username': 'ubuntu', 'password': 'ubuntu', 'type': 'os', 'flavor': 'contrail_flavor_tiny', 'params': '--container-format bare --disk-format vmdk --property vmware_disktype="sparse" --property vmware_adaptertype="ide" --property hw_scsi_model=virtio-scsi --property hw_disk_bus_model=virtio-scsi --property hw_disk_bus=virtio', 'name_docker': 'phusion-baseimage-enablesshd', 'vctmpl': 'ubuntu.vmtx', 'vcname': 'ubuntu-disk1.vmdk'} 2025-07-21 12:17:36,401 - DEBUG - Image build path file:///contrail-test/images/ubuntu.vmdk.gz 2025-07-21 12:17:36,401 - DEBUG - Download image from local file file:///contrail-test/images/ubuntu.vmdk.gz 2025-07-21 12:17:36,402 - DEBUG - Unzip image 2025-07-21 12:17:36,402 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu.vmdk.gz 2025-07-21 12:17:36,428 - DEBUG - Try to create image in user context 2025-07-21 12:17:36,583 - INFO - Deleting VN ctest-vn1-03332397 2025-07-21 12:17:36,840 - DEBUG - Response for deleting network () 2025-07-21 12:17:36,840 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a2a1649a-ed50-4b16-a482-ef31d349772e 2025-07-21 12:17:36,848 - DEBUG - Response Code: 404 2025-07-21 12:17:36,848 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 12:17:36,856 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6f2dbf83-3a1f-4a4f-8676-305ebe4efd33 2025-07-21 12:17:36,923 - DEBUG - Requesting: http://10.0.0.254:8082/project/0e82c38f-7a7f-4c20-a898-6941b13433f3 2025-07-21 12:17:37,045 - INFO - Validated that VN ctest-vn1-03332397 is not found in API Server 2025-07-21 12:17:37,073 - DEBUG - VN ctest-vn1-03332397 is not present in Agent 10.0.0.254 2025-07-21 12:17:37,073 - INFO - Validated that VN ctest-vn1-03332397 is not in any agent 2025-07-21 12:17:37,111 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn1-03332397 info 2025-07-21 12:17:37,112 - INFO - Deleting VN ctest-fvn-82260817 2025-07-21 12:17:37,330 - DEBUG - Response for deleting network () 2025-07-21 12:17:37,330 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/71f6b0d1-70ba-4431-a5b3-76db6a220e1a 2025-07-21 12:17:37,341 - DEBUG - Response Code: 404 2025-07-21 12:17:37,341 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-21 12:17:37,349 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6f2dbf83-3a1f-4a4f-8676-305ebe4efd33 2025-07-21 12:17:37,415 - DEBUG - Requesting: http://10.0.0.254:8082/project/0e82c38f-7a7f-4c20-a898-6941b13433f3 2025-07-21 12:17:37,515 - INFO - Validated that VN ctest-fvn-82260817 is not found in API Server 2025-07-21 12:17:37,541 - DEBUG - VN ctest-fvn-82260817 is not present in Agent 10.0.0.254 2025-07-21 12:17:37,541 - INFO - Validated that VN ctest-fvn-82260817 is not in any agent 2025-07-21 12:17:37,578 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-fvn-82260817 info 2025-07-21 12:17:37,892 - ERROR -
Traceback (most recent call last):
  File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
    result = function(self, *args, **kwargs)
  File "/contrail-test/scripts/floatingip/test_floatingip_basic.py", line 77, in test_floating_ip
    orch = self.orchestrator
  File "/usr/local/lib/python3.6/site-packages/testtools/testcase.py", line 756, in useFixture
    reraise(*exc_info)
  File "/usr/local/lib/python3.6/site-packages/testtools/_compat3x.py", line 16, in reraise
    raise exc_obj.with_traceback(exc_tb)
  File "/usr/local/lib/python3.6/site-packages/testtools/testcase.py", line 731, in useFixture
    fixture.setUp()
  File "/contrail-test/fixtures/vm_test.py", line 188, in setUp
    self.create()
  File "/contrail-test/fixtures/vm_test.py", line 240, in create
    fixed_ips=self.fixed_ips)
  File "/contrail-test/fixtures/openstack.py", line 118, in create_vm
    return self.nova_h.create_vm(vm_name=vm_name, image_name=image_name, vn_ids=vn_ids, **kwargs)
  File "/contrail-test/fixtures/nova_test.py", line 577, in create_vm
    image = self.get_image(image_name=image_name)
  File "/contrail-test/fixtures/nova_test.py", line 198, in get_image
    self._install_image(image_name=image_name)
  File "/contrail-test/fixtures/nova_test.py", line 338, in _install_image
    return self.copy_and_glance(build_path, image_name, params)
  File "/contrail-test/fixtures/nova_test.py", line 407, in copy_and_glance
    image_id = self.glance_h.create_image(generic_image_name, image_path_real, **params)
  File "/contrail-test/fixtures/glance_test.py", line 50, in create_image
    self.upload_image(obj['id'], filename)
  File "/contrail-test/fixtures/glance_test.py", line 54, in upload_image
    self.obj.images.upload(uuid, open(filename, 'rb'))
FileNotFoundError: [Errno 2] No such file or directory: '/contrail-test/images/ubuntu.vmdk'
2025-07-21 12:17:37,905 - DEBUG - No XMPP flaps were noticed during the test 2025-07-21 12:17:37,905 - INFO -
2025-07-21 12:17:37,905 - INFO - END TEST : test_floating_ip : FAILED[0:01:46]
2025-07-21 12:17:37,905 - INFO - -------------------------------------------------------------------------------- 2025-07-21 12:17:38,807 - INFO - Deleted project: ctest-FloatingipBasicTestSanity-03728854, ID : 0e82c38f-7a7f-4c20-a898-6941b13433f3