2024-10-23 15:01:43,479 - INFO - Domain Default found not creating 2024-10-23 15:01:43,658 - INFO - Project ctest-FloatingipBasicTestSanity-06437638 not found, creating it 2024-10-23 15:01:45,722 - INFO - Created Project:ctest-FloatingipBasicTestSanity-06437638, ID : aa1889c3-740a-4c13-8eeb-d7656cd5c08c 2024-10-23 15:01:50,534 - INFO - Using existing project ['default-domain', 'admin'](919ac6c5-6d6f-485d-a3f1-d263fd2199e8) 2024-10-23 15:01:53,009 - INFO - Adding rules to the default security group in Project admin 2024-10-23 15:01:53,380 - INFO - ================================================================================ 2024-10-23 15:01:53,381 - INFO - STARTING TEST : test_floating_ip 2024-10-23 15:01:53,382 - 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. 2024-10-23 15:01:53,513 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.11': '0'}} with 2024-10-23 15:01:53,513 - INFO - Initial checks done. Running the testcase now 2024-10-23 15:01:53,513 - INFO - 2024-10-23 15:01:53,542 - DEBUG - Services list from nova: [, , ] 2024-10-23 15:01:53,542 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-2130-1']} 2024-10-23 15:01:54,705 - DEBUG - Response for create_network : {'network': {'id': '9d26bdbf-74b9-4cbe-afdd-462020b21ffb', 'name': 'ctest-fvn-97349776', 'tenant_id': 'aa1889c3740a4c138eebd7656cd5c08c', 'project_id': 'aa1889c3740a4c138eebd7656cd5c08c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-FloatingipBasicTestSanity-06437638', 'ctest-fvn-97349776'], 'port_security_enabled': True, 'description': ''}} 2024-10-23 15:01:54,952 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee01ab12-0c09-467c-8147-18b8c2929f05', 'name': '', 'tenant_id': 'aa1889c3740a4c138eebd7656cd5c08c', 'network_id': '9d26bdbf-74b9-4cbe-afdd-462020b21ffb', 'ip_version': 4, 'cidr': '2.36.59.192/26', 'allocation_pools': [{'start': '2.36.59.194', 'end': '2.36.59.254'}], 'gateway_ip': '2.36.59.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.36.59.194', 'tags': [], 'project_id': 'aa1889c3740a4c138eebd7656cd5c08c'}} 2024-10-23 15:01:54,978 - INFO - Created VN ctest-fvn-97349776 2024-10-23 15:01:55,037 - DEBUG - VN ctest-fvn-97349776 UUID is 9d26bdbf-74b9-4cbe-afdd-462020b21ffb 2024-10-23 15:01:55,183 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-10-23 15:01:55,528 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-10-23 15:01:55,571 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4471600d-de52-4ec1-a908-4c59bff90bb8 2024-10-23 15:01:55,591 - DEBUG - Requesting: http://10.0.0.33:8082/project/aa1889c3-740a-4c13-8eeb-d7656cd5c08c 2024-10-23 15:01:55,681 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9d26bdbf-74b9-4cbe-afdd-462020b21ffb 2024-10-23 15:01:55,699 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9d26bdbf-74b9-4cbe-afdd-462020b21ffb 2024-10-23 15:01:55,714 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a45bc8b1-4bb3-4ad4-8ddd-1b0e2953e7c7 2024-10-23 15:01:55,723 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a45bc8b1-4bb3-4ad4-8ddd-1b0e2953e7c7 2024-10-23 15:01:55,732 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ab6454d3-3f9d-459c-a02b-2ef0abcd462b 2024-10-23 15:01:55,740 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-10-23 15:01:55,740 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9d26bdbf-74b9-4cbe-afdd-462020b21ffb 2024-10-23 15:01:55,755 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a45bc8b1-4bb3-4ad4-8ddd-1b0e2953e7c7 2024-10-23 15:01:55,776 - INFO - Verified VN network id 6 for VN 9d26bdbf-74b9-4cbe-afdd-462020b21ffb 2024-10-23 15:01:55,776 - INFO - Verifications in API Server for VN ctest-fvn-97349776 passed 2024-10-23 15:01:55,776 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9d26bdbf-74b9-4cbe-afdd-462020b21ffb 2024-10-23 15:01:55,791 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a45bc8b1-4bb3-4ad4-8ddd-1b0e2953e7c7 2024-10-23 15:01:55,799 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a45bc8b1-4bb3-4ad4-8ddd-1b0e2953e7c7 2024-10-23 15:01:55,808 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ab6454d3-3f9d-459c-a02b-2ef0abcd462b 2024-10-23 15:01:55,822 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-FloatingipBasicTestSanity-06437638:ctest-fvn-97349776', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-FloatingipBasicTestSanity-06437638', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11323946943064394942', 'uuid-lslong': '12672362030291886075'}, 'enable': 'true', 'created': '2024-10-23T15:01:54', 'last-modified': '2024-10-23T15:01:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.918083'} 2024-10-23 15:01:55,830 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-10-23 15:01:55,831 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-fvn-97349776 passed 2024-10-23 15:01:55,831 - DEBUG - ====Verifying policy data for ctest-fvn-97349776 in API_Server ====== 2024-10-23 15:01:55,831 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-10-23 15:01:55,849 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4471600d-de52-4ec1-a908-4c59bff90bb8 2024-10-23 15:01:55,865 - DEBUG - Requesting: http://10.0.0.33:8082/project/aa1889c3-740a-4c13-8eeb-d7656cd5c08c 2024-10-23 15:01:55,952 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9d26bdbf-74b9-4cbe-afdd-462020b21ffb 2024-10-23 15:01:55,967 - DEBUG - =>VN ctest-fvn-97349776 has no policy to be verified 2024-10-23 15:01:55,967 - DEBUG - Verifying the vn in opserver 2024-10-23 15:01:55,967 - DEBUG - Verifying the default-domain:ctest-FloatingipBasicTestSanity-06437638:ctest-fvn-97349776 virtual network link through opserver 10.0.0.33 2024-10-23 15:01:55,967 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2024-10-23 15:01:56,309 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2024-10-23 15:01:56,383 - DEBUG - vn link and name as {'name': 'default-domain:ctest-FloatingipBasicTestSanity-06437638:ctest-fvn-97349776', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-FloatingipBasicTestSanity-06437638:ctest-fvn-97349776?flat'} 2024-10-23 15:01:56,383 - INFO - Validated that VN default-domain:ctest-FloatingipBasicTestSanity-06437638:ctest-fvn-97349776 is found in opserver 2024-10-23 15:01:56,397 - DEBUG - Do not have enough data to verify VN in agent 2024-10-23 15:01:56,403 - DEBUG - VRF ids for VN ctest-fvn-97349776: {} 2024-10-23 15:01:56,634 - DEBUG - Response for create_network : {'network': {'id': '208d7876-a8c8-4b91-a992-e9e0f0aea3d3', 'name': 'ctest-vn1-19085427', 'tenant_id': 'aa1889c3740a4c138eebd7656cd5c08c', 'project_id': 'aa1889c3740a4c138eebd7656cd5c08c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-FloatingipBasicTestSanity-06437638', 'ctest-vn1-19085427'], 'port_security_enabled': True, 'description': ''}} 2024-10-23 15:01:56,895 - DEBUG - Response for create_subnet : {'subnet': {'id': '75c75b0a-6400-4635-8fc9-7bc33b96578a', 'name': '', 'tenant_id': 'aa1889c3740a4c138eebd7656cd5c08c', 'network_id': '208d7876-a8c8-4b91-a992-e9e0f0aea3d3', 'ip_version': 4, 'cidr': '145.14.242.128/26', 'allocation_pools': [{'start': '145.14.242.130', 'end': '145.14.242.190'}], 'gateway_ip': '145.14.242.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.14.242.130', 'tags': [], 'project_id': 'aa1889c3740a4c138eebd7656cd5c08c'}} 2024-10-23 15:01:56,916 - INFO - Created VN ctest-vn1-19085427 2024-10-23 15:01:56,972 - DEBUG - VN ctest-vn1-19085427 UUID is 208d7876-a8c8-4b91-a992-e9e0f0aea3d3 2024-10-23 15:01:57,106 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-10-23 15:01:57,112 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4471600d-de52-4ec1-a908-4c59bff90bb8 2024-10-23 15:01:57,126 - DEBUG - Requesting: http://10.0.0.33:8082/project/aa1889c3-740a-4c13-8eeb-d7656cd5c08c 2024-10-23 15:01:57,212 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/208d7876-a8c8-4b91-a992-e9e0f0aea3d3 2024-10-23 15:01:57,234 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/208d7876-a8c8-4b91-a992-e9e0f0aea3d3 2024-10-23 15:01:57,248 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3fe4630c-7d7a-44f9-83f7-c872dfa10f65 2024-10-23 15:01:57,259 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3fe4630c-7d7a-44f9-83f7-c872dfa10f65 2024-10-23 15:01:57,268 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/82610dc7-d1e2-4944-b218-99afa6e51fb3 2024-10-23 15:01:57,276 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-10-23 15:01:57,276 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/208d7876-a8c8-4b91-a992-e9e0f0aea3d3 2024-10-23 15:01:57,290 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3fe4630c-7d7a-44f9-83f7-c872dfa10f65 2024-10-23 15:01:57,311 - INFO - Verified VN network id 7 for VN 208d7876-a8c8-4b91-a992-e9e0f0aea3d3 2024-10-23 15:01:57,311 - INFO - Verifications in API Server for VN ctest-vn1-19085427 passed 2024-10-23 15:01:57,311 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/208d7876-a8c8-4b91-a992-e9e0f0aea3d3 2024-10-23 15:01:57,325 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3fe4630c-7d7a-44f9-83f7-c872dfa10f65 2024-10-23 15:01:57,334 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3fe4630c-7d7a-44f9-83f7-c872dfa10f65 2024-10-23 15:01:57,344 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/82610dc7-d1e2-4944-b218-99afa6e51fb3 2024-10-23 15:01:57,358 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-FloatingipBasicTestSanity-06437638:ctest-vn1-19085427', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-FloatingipBasicTestSanity-06437638', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2345663431963069329', 'uuid-lslong': '12219085891329500115'}, 'enable': 'true', 'created': '2024-10-23T15:01:56', 'last-modified': '2024-10-23T15:01:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.508150'} 2024-10-23 15:01:57,367 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-10-23 15:01:57,367 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn1-19085427 passed 2024-10-23 15:01:57,368 - DEBUG - ====Verifying policy data for ctest-vn1-19085427 in API_Server ====== 2024-10-23 15:01:57,368 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-10-23 15:01:57,374 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4471600d-de52-4ec1-a908-4c59bff90bb8 2024-10-23 15:01:57,388 - DEBUG - Requesting: http://10.0.0.33:8082/project/aa1889c3-740a-4c13-8eeb-d7656cd5c08c 2024-10-23 15:01:57,479 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/208d7876-a8c8-4b91-a992-e9e0f0aea3d3 2024-10-23 15:01:57,494 - DEBUG - =>VN ctest-vn1-19085427 has no policy to be verified 2024-10-23 15:01:57,494 - DEBUG - Verifying the vn in opserver 2024-10-23 15:01:57,495 - DEBUG - Verifying the default-domain:ctest-FloatingipBasicTestSanity-06437638:ctest-vn1-19085427 virtual network link through opserver 10.0.0.33 2024-10-23 15:01:57,495 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2024-10-23 15:01:57,509 - DEBUG - vn link and name as {'name': 'default-domain:ctest-FloatingipBasicTestSanity-06437638:ctest-vn1-19085427', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-FloatingipBasicTestSanity-06437638:ctest-vn1-19085427?flat'} 2024-10-23 15:01:57,509 - INFO - Validated that VN default-domain:ctest-FloatingipBasicTestSanity-06437638:ctest-vn1-19085427 is found in opserver 2024-10-23 15:01:57,522 - DEBUG - Do not have enough data to verify VN in agent 2024-10-23 15:01:57,528 - DEBUG - VRF ids for VN ctest-vn1-19085427: {} 2024-10-23 15:01:58,929 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2130-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2130-1) 2024-10-23 15:02:00,391 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2130-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2130-1) 2024-10-23 15:02:00,628 - INFO - Creating Floating IP pool ctest-some-pool-80191093 in API Server 2024-10-23 15:02:00,881 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-10-23 15:02:00,969 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4471600d-de52-4ec1-a908-4c59bff90bb8 2024-10-23 15:02:01,001 - DEBUG - Requesting: http://10.0.0.33:8082/project/aa1889c3-740a-4c13-8eeb-d7656cd5c08c 2024-10-23 15:02:01,083 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9d26bdbf-74b9-4cbe-afdd-462020b21ffb 2024-10-23 15:02:01,119 - DEBUG - Requesting: http://10.0.0.33:8082/floating-ip-pool/f10ab8c7-ced6-4902-b8e8-94112f1585c6 2024-10-23 15:02:01,130 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-10-23 15:02:01,138 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4471600d-de52-4ec1-a908-4c59bff90bb8 2024-10-23 15:02:01,185 - DEBUG - Requesting: http://10.0.0.33:8082/project/aa1889c3-740a-4c13-8eeb-d7656cd5c08c 2024-10-23 15:02:01,302 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9d26bdbf-74b9-4cbe-afdd-462020b21ffb 2024-10-23 15:02:01,321 - DEBUG - FIP Pool ctest-some-pool-80191093 found in API Server 2024-10-23 15:02:01,321 - INFO - Verification for FIP pool ctest-some-pool-80191093 in API Server passed 2024-10-23 15:02:01,346 - DEBUG - Control-node Ifmap-view has FIP pool ctest-some-pool-80191093 information 2024-10-23 15:02:01,346 - INFO - Verification for FIP pool ctest-some-pool-80191093 in Control-node passed 2024-10-23 15:02:01,346 - INFO - Waiting for VM ctest-vn1_vm1_name-34888374 to be up.. 2024-10-23 15:02:01,455 - DEBUG - VM is in ACTIVE state now 2024-10-23 15:02:01,455 - INFO - VM name : ctest-vn1_vm1_name-34888374 2024-10-23 15:02:01,598 - DEBUG - VM ctest-vn1_vm1_name-34888374 ID is 11b416ac-422f-4df9-938c-b274ccfed301 2024-10-23 15:02:01,632 - DEBUG - VM ctest-vn1_vm1_name-34888374 launched on Node cn-jenkins-deploy-platform-ansible-os-2130-1 2024-10-23 15:02:01,761 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/11b416ac-422f-4df9-938c-b274ccfed301 2024-10-23 15:02:01,773 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/04d00598-1683-4cfb-b2c9-58e0b0f2908e 2024-10-23 15:02:05,039 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1030ms') 2024-10-23 15:02:05,039 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1_vm1_name-34888374 failed! 2024-10-23 15:02:05,105 - DEBUG - Gateway for vn default-domain:ctest-FloatingipBasicTestSanity-06437638:ctest-vn1-19085427 is 145.14.242.129 and allocation pool is NOT set 2024-10-23 15:02:09,139 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2024-10-23 15:02:09,139 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1_vm1_name-34888374 failed! 2024-10-23 15:02:09,201 - DEBUG - Gateway for vn default-domain:ctest-FloatingipBasicTestSanity-06437638:ctest-vn1-19085427 is 145.14.242.129 and allocation pool is NOT set 2024-10-23 15:02:11,220 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.569 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.569/2.392/4.215/1.823 ms') 2024-10-23 15:02:11,220 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1_vm1_name-34888374 passed 2024-10-23 15:02:11,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 15:02:11,385 - DEBUG - Waiting to SSH to VM ctest-vn1_vm1_name-34888374, IP 145.14.242.131, Port 22 2024-10-23 15:02:11,409 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-10-23 15:02:11,525 - DEBUG - VM ctest-vn1_vm1_name-34888374 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-23 15:02:16,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 15:02:16,526 - DEBUG - Waiting to SSH to VM ctest-vn1_vm1_name-34888374, IP 145.14.242.131, Port 22 2024-10-23 15:02:16,551 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-10-23 15:02:16,650 - DEBUG - VM ctest-vn1_vm1_name-34888374 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-23 15:02:21,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 15:02:22,496 - DEBUG - Waiting to SSH to VM ctest-vn1_vm1_name-34888374, IP 145.14.242.131, Port 22 2024-10-23 15:02:22,512 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-10-23 15:02:22,656 - DEBUG - VM ctest-vn1_vm1_name-34888374 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-23 15:02:27,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 15:02:27,657 - DEBUG - Waiting to SSH to VM ctest-vn1_vm1_name-34888374, IP 145.14.242.131, Port 22 2024-10-23 15:02:27,682 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-10-23 15:02:27,771 - DEBUG - VM ctest-vn1_vm1_name-34888374 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-23 15:02:32,772 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 15:02:32,772 - DEBUG - Waiting to SSH to VM ctest-vn1_vm1_name-34888374, IP 145.14.242.131, Port 22 2024-10-23 15:02:32,845 - DEBUG - VM ctest-vn1_vm1_name-34888374 is ready for SSH connections 2024-10-23 15:02:32,938 - DEBUG - Created Floating IP : ('2.36.59.196', '9ac40819-ba02-4c99-94fe-de0016963698') 2024-10-23 15:02:32,938 - DEBUG - Associating FIP 2.36.59.196 to 11b416ac-422f-4df9-938c-b274ccfed301 2024-10-23 15:02:32,969 - DEBUG - Associating FIP ID 9ac40819-ba02-4c99-94fe-de0016963698 with Port ID 04d00598-1683-4cfb-b2c9-58e0b0f2908e 2024-10-23 15:02:33,025 - INFO - Waiting for VM ctest-fvn_vm1_name-58610730 to be up.. 2024-10-23 15:02:33,115 - DEBUG - VM is in ACTIVE state now 2024-10-23 15:02:33,115 - INFO - VM name : ctest-fvn_vm1_name-58610730 2024-10-23 15:02:33,192 - DEBUG - VM ctest-fvn_vm1_name-58610730 ID is 933224ff-3c44-40bf-af6e-4f4704e015f9 2024-10-23 15:02:33,193 - DEBUG - VM ctest-fvn_vm1_name-58610730 launched on Node cn-jenkins-deploy-platform-ansible-os-2130-1 2024-10-23 15:02:33,275 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/933224ff-3c44-40bf-af6e-4f4704e015f9 2024-10-23 15:02:33,286 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/3702788d-518d-42e9-879f-a2af374fc6a0 2024-10-23 15:02:34,500 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.471 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.471/1.965/3.460/1.494 ms') 2024-10-23 15:02:34,501 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-fvn_vm1_name-58610730 passed 2024-10-23 15:02:34,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 15:02:34,661 - DEBUG - Waiting to SSH to VM ctest-fvn_vm1_name-58610730, IP 2.36.59.195, Port 22 2024-10-23 15:02:34,733 - DEBUG - VM ctest-fvn_vm1_name-58610730 is ready for SSH connections 2024-10-23 15:02:34,875 - INFO - FIP 2.36.59.196 verification for passed on all Control-nodes 2024-10-23 15:02:34,876 - INFO - FIP ID 9ac40819-ba02-4c99-94fe-de0016963698(2.36.59.196) validation in Control node passed 2024-10-23 15:02:34,899 - DEBUG - agent_label query returned:{'nh': {'type': 'interface', 'ref_count': '14', 'valid': 'true', 'policy': 'enabled', 'itf': 'tap04d00598-16', 'mac': ['2:4:d0:5:98:16'], 'mcast': 'disabled', 'nh_index': '23', 'vxlan_flag': 'false', 'intf_flags': '1', 'isid': '0', 'learning_enabled': 'false', 'etree_leaf': 'false', 'layer2_control_word': 'false', 'crypt_all_traffic': 'false', 'crypt_path_available': 'false', 'crypt_interface': None}, 'label': '25', 'vxlan_id': '0', 'peer': '10.20.0.11', 'dest_vn_list': ['default-domain:ctest-FloatingipBasicTestSanity-06437638:ctest-fvn-97349776'], 'unresolved': 'false', 'sg_list': ['8000004'], 'supported_tunnel_type': 'MPLSoGRE MPLSoUDP ', 'active_tunnel_type': 'MPLSoUDP', 'stale': 'false', 'path_preference_data': {'sequence': '0', 'preference': '200', 'ecmp': 'true'}, 'active_label': '25', 'ecmp_hashing_fields': 'l3-source-address,l3-destination-address,l4-protocol,l4-source-port,l4-destination-port,', 'communities': None, 'peer_sequence_number': '1', 'etree_leaf': 'false', 'layer2_control_word': 'false', 'tag_list': None, 'inactive': 'false', 'origin_vn': None} 2024-10-23 15:02:34,899 - DEBUG - Route for FIP IP 2.36.59.196 is present in agent 10.0.0.33 2024-10-23 15:02:34,899 - DEBUG - FIP 2.36.59.196 verification for VM ctest-vn1_vm1_name-34888374 in Agent 10.0.0.33 passed 2024-10-23 15:02:34,899 - INFO - FIP ID 9ac40819-ba02-4c99-94fe-de0016963698(2.36.59.196) validation in agents passed 2024-10-23 15:02:34,899 - DEBUG - Requesting: http://10.0.0.33:8082/floating-ip/9ac40819-ba02-4c99-94fe-de0016963698 2024-10-23 15:02:34,909 - DEBUG - FIP 9ac40819-ba02-4c99-94fe-de0016963698 is present in API server 2024-10-23 15:02:34,909 - INFO - FIP ID 9ac40819-ba02-4c99-94fe-de0016963698(2.36.59.196) validation in API Server passed 2024-10-23 15:02:34,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 15:02:34,910 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.36.59.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2024-10-23 15:02:34,910 - DEBUG - ping -s 56 -c 3 -W 1 2.36.59.195 2024-10-23 15:02:37,952 - DEBUG - PING 2.36.59.195 (2.36.59.195): 56 data bytes 64 bytes from 2.36.59.195: seq=0 ttl=63 time=4.203 ms 64 bytes from 2.36.59.195: seq=1 ttl=63 time=0.992 ms 64 bytes from 2.36.59.195: seq=2 ttl=63 time=1.194 ms --- 2.36.59.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.992/2.129/4.203 ms 2024-10-23 15:02:37,952 - INFO - Ping to IP 2.36.59.195 from VM ctest-vn1_vm1_name-34888374 passed 2024-10-23 15:02:37,953 - DEBUG - Disassociating port from FIP ID : 9ac40819-ba02-4c99-94fe-de0016963698 2024-10-23 15:02:38,010 - DEBUG - Deleting FIP ID 9ac40819-ba02-4c99-94fe-de0016963698 2024-10-23 15:02:39,029 - INFO - Deleting the FIP pool ctest-some-pool-80191093 2024-10-23 15:02:39,140 - DEBUG - Control-node Ifmap-view does not have FIP pool ctest-some-pool-80191093 information 2024-10-23 15:02:39,140 - INFO - Deleting VM ctest-fvn_vm1_name-58610730 2024-10-23 15:02:39,216 - INFO - Deleting VM ctest-vn1_vm1_name-34888374 2024-10-23 15:02:39,304 - INFO - Deleting VN ctest-vn1-19085427 2024-10-23 15:02:39,347 - DEBUG - VN 208d7876-a8c8-4b91-a992-e9e0f0aea3d3 still in use: Unable to complete operation on network 208d7876-a8c8-4b91-a992-e9e0f0aea3d3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-af4ff24d-f227-4e7e-a67a-864a5395c294'] 2024-10-23 15:02:39,348 - WARNING - Deleting VN ctest-vn1-19085427 failed..Will retry 2024-10-23 15:02:41,478 - DEBUG - Response for deleting network () 2024-10-23 15:02:41,478 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3fe4630c-7d7a-44f9-83f7-c872dfa10f65 2024-10-23 15:02:41,484 - DEBUG - Response Code: 404 2024-10-23 15:02:41,484 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-10-23 15:02:41,492 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4471600d-de52-4ec1-a908-4c59bff90bb8 2024-10-23 15:02:41,551 - DEBUG - Requesting: http://10.0.0.33:8082/project/aa1889c3-740a-4c13-8eeb-d7656cd5c08c 2024-10-23 15:02:41,636 - INFO - Validated that VN ctest-vn1-19085427 is not found in API Server 2024-10-23 15:02:41,649 - DEBUG - VN ctest-vn1-19085427 is not present in Agent 10.0.0.33 2024-10-23 15:02:41,649 - INFO - Validated that VN ctest-vn1-19085427 is not in any agent 2024-10-23 15:02:41,666 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn1-19085427 info 2024-10-23 15:02:41,666 - INFO - Deleting VN ctest-fvn-97349776 2024-10-23 15:02:41,785 - DEBUG - Response for deleting network () 2024-10-23 15:02:41,786 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a45bc8b1-4bb3-4ad4-8ddd-1b0e2953e7c7 2024-10-23 15:02:41,794 - DEBUG - Response Code: 404 2024-10-23 15:02:41,794 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2024-10-23 15:02:41,800 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4471600d-de52-4ec1-a908-4c59bff90bb8 2024-10-23 15:02:41,856 - DEBUG - Requesting: http://10.0.0.33:8082/project/aa1889c3-740a-4c13-8eeb-d7656cd5c08c 2024-10-23 15:02:41,942 - INFO - Validated that VN ctest-fvn-97349776 is not found in API Server 2024-10-23 15:02:41,955 - DEBUG - VN ctest-fvn-97349776 is not present in Agent 10.0.0.33 2024-10-23 15:02:41,956 - INFO - Validated that VN ctest-fvn-97349776 is not in any agent 2024-10-23 15:02:41,974 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-fvn-97349776 info 2024-10-23 15:02:42,236 - DEBUG - No XMPP flaps were noticed during the test
2024-10-23 15:02:42,236 - INFO - END TEST : test_floating_ip : PASSED[0:00:49]
2024-10-23 15:02:42,236 - INFO - -------------------------------------------------------------------------------- 2024-10-23 15:02:42,992 - INFO - Deleted project: ctest-FloatingipBasicTestSanity-06437638, ID : aa1889c3-740a-4c13-8eeb-d7656cd5c08c