2024-09-11 19:22:13,119 - INFO - Domain Default found not creating 2024-09-11 19:22:13,287 - INFO - Project ctest-FloatingipBasicTestSanity-80299680 not found, creating it 2024-09-11 19:22:13,773 - INFO - Created Project:ctest-FloatingipBasicTestSanity-80299680, ID : bc8a22ea-8e23-400b-9fd3-bed7b87f8a35 2024-09-11 19:22:15,269 - INFO - Using existing project ['default-domain', 'admin'](e005a9d0-c58c-4a9f-bc6f-96397d2676b9) 2024-09-11 19:22:16,021 - INFO - Adding rules to the default security group in Project admin 2024-09-11 19:22:16,360 - INFO - ================================================================================ 2024-09-11 19:22:16,360 - INFO - STARTING TEST : test_floating_ip 2024-09-11 19:22:16,360 - 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-09-11 19:22:16,484 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2024-09-11 19:22:16,484 - INFO - Initial checks done. Running the testcase now 2024-09-11 19:22:16,484 - INFO - 2024-09-11 19:22:16,507 - DEBUG - Services list from nova: [, , ] 2024-09-11 19:22:16,507 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-1900-1']} 2024-09-11 19:22:17,110 - DEBUG - Response for create_network : {'network': {'id': '9197d96e-6b7c-4258-bba8-1fcde1f698b2', 'name': 'ctest-fvn-70595069', 'tenant_id': 'bc8a22ea8e23400b9fd3bed7b87f8a35', 'project_id': 'bc8a22ea8e23400b9fd3bed7b87f8a35', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-FloatingipBasicTestSanity-80299680', 'ctest-fvn-70595069'], 'port_security_enabled': True, 'description': ''}} 2024-09-11 19:22:17,277 - DEBUG - Response for create_subnet : {'subnet': {'id': '85f86e0f-338b-488c-81f0-f2f9eda564c8', 'name': '', 'tenant_id': 'bc8a22ea8e23400b9fd3bed7b87f8a35', 'network_id': '9197d96e-6b7c-4258-bba8-1fcde1f698b2', 'ip_version': 4, 'cidr': '79.95.183.192/26', 'allocation_pools': [{'start': '79.95.183.194', 'end': '79.95.183.254'}], 'gateway_ip': '79.95.183.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.95.183.194', 'tags': [], 'project_id': 'bc8a22ea8e23400b9fd3bed7b87f8a35'}} 2024-09-11 19:22:17,297 - INFO - Created VN ctest-fvn-70595069 2024-09-11 19:22:17,353 - DEBUG - VN ctest-fvn-70595069 UUID is 9197d96e-6b7c-4258-bba8-1fcde1f698b2 2024-09-11 19:22:17,474 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-09-11 19:22:17,770 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-09-11 19:22:17,805 - DEBUG - Requesting: http://10.0.0.41:8082/domain/5a112774-58aa-4a68-8a95-0a54db660d4a 2024-09-11 19:22:17,819 - DEBUG - Requesting: http://10.0.0.41:8082/project/bc8a22ea-8e23-400b-9fd3-bed7b87f8a35 2024-09-11 19:22:17,906 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9197d96e-6b7c-4258-bba8-1fcde1f698b2 2024-09-11 19:22:17,921 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9197d96e-6b7c-4258-bba8-1fcde1f698b2 2024-09-11 19:22:17,934 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/88f28e85-9488-4dbd-a69a-d107bc3ba6c7 2024-09-11 19:22:17,943 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/88f28e85-9488-4dbd-a69a-d107bc3ba6c7 2024-09-11 19:22:17,951 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/69b5e0ac-bba8-4af5-8d98-37deb01f536a 2024-09-11 19:22:17,958 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-11 19:22:17,958 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9197d96e-6b7c-4258-bba8-1fcde1f698b2 2024-09-11 19:22:17,972 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/88f28e85-9488-4dbd-a69a-d107bc3ba6c7 2024-09-11 19:22:17,992 - INFO - Verified VN network id 6 for VN 9197d96e-6b7c-4258-bba8-1fcde1f698b2 2024-09-11 19:22:17,993 - INFO - Verifications in API Server for VN ctest-fvn-70595069 passed 2024-09-11 19:22:17,993 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9197d96e-6b7c-4258-bba8-1fcde1f698b2 2024-09-11 19:22:18,007 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/88f28e85-9488-4dbd-a69a-d107bc3ba6c7 2024-09-11 19:22:18,017 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/88f28e85-9488-4dbd-a69a-d107bc3ba6c7 2024-09-11 19:22:18,026 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/69b5e0ac-bba8-4af5-8d98-37deb01f536a 2024-09-11 19:22:18,039 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-FloatingipBasicTestSanity-80299680:ctest-fvn-70595069', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-FloatingipBasicTestSanity-80299680', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10491092925255795288', 'uuid-lslong': '13522092850299705522'}, 'enable': 'true', 'created': '2024-09-11T19:22:17', 'last-modified': '2024-09-11T19:22:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.799207'} 2024-09-11 19:22:18,046 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-11 19:22:18,046 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-fvn-70595069 passed 2024-09-11 19:22:18,046 - DEBUG - ====Verifying policy data for ctest-fvn-70595069 in API_Server ====== 2024-09-11 19:22:18,046 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-09-11 19:22:19,103 - DEBUG - Requesting: http://10.0.0.41:8082/domain/5a112774-58aa-4a68-8a95-0a54db660d4a 2024-09-11 19:22:19,122 - DEBUG - Requesting: http://10.0.0.41:8082/project/bc8a22ea-8e23-400b-9fd3-bed7b87f8a35 2024-09-11 19:22:19,204 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9197d96e-6b7c-4258-bba8-1fcde1f698b2 2024-09-11 19:22:19,220 - DEBUG - =>VN ctest-fvn-70595069 has no policy to be verified 2024-09-11 19:22:19,220 - DEBUG - Verifying the vn in opserver 2024-09-11 19:22:19,220 - DEBUG - Verifying the default-domain:ctest-FloatingipBasicTestSanity-80299680:ctest-fvn-70595069 virtual network link through opserver 10.0.0.41 2024-09-11 19:22:19,220 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2024-09-11 19:22:19,516 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2024-09-11 19:22:19,579 - DEBUG - vn link and name as {'name': 'default-domain:ctest-FloatingipBasicTestSanity-80299680:ctest-fvn-70595069', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-FloatingipBasicTestSanity-80299680:ctest-fvn-70595069?flat'} 2024-09-11 19:22:19,579 - INFO - Validated that VN default-domain:ctest-FloatingipBasicTestSanity-80299680:ctest-fvn-70595069 is found in opserver 2024-09-11 19:22:19,590 - DEBUG - Do not have enough data to verify VN in agent 2024-09-11 19:22:19,595 - DEBUG - VRF ids for VN ctest-fvn-70595069: {} 2024-09-11 19:22:21,811 - DEBUG - Response for create_network : {'network': {'id': '62b872b5-8166-4fc3-ae3a-9cf7ebc9e905', 'name': 'ctest-vn1-87414882', 'tenant_id': 'bc8a22ea8e23400b9fd3bed7b87f8a35', 'project_id': 'bc8a22ea8e23400b9fd3bed7b87f8a35', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-FloatingipBasicTestSanity-80299680', 'ctest-vn1-87414882'], 'port_security_enabled': True, 'description': ''}} 2024-09-11 19:22:22,008 - DEBUG - Response for create_subnet : {'subnet': {'id': '70672177-09d2-4056-ae20-a4724ddca715', 'name': '', 'tenant_id': 'bc8a22ea8e23400b9fd3bed7b87f8a35', 'network_id': '62b872b5-8166-4fc3-ae3a-9cf7ebc9e905', 'ip_version': 4, 'cidr': '108.105.146.0/26', 'allocation_pools': [{'start': '108.105.146.2', 'end': '108.105.146.62'}], 'gateway_ip': '108.105.146.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.105.146.2', 'tags': [], 'project_id': 'bc8a22ea8e23400b9fd3bed7b87f8a35'}} 2024-09-11 19:22:22,027 - INFO - Created VN ctest-vn1-87414882 2024-09-11 19:22:22,085 - DEBUG - VN ctest-vn1-87414882 UUID is 62b872b5-8166-4fc3-ae3a-9cf7ebc9e905 2024-09-11 19:22:22,196 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-09-11 19:22:22,202 - DEBUG - Requesting: http://10.0.0.41:8082/domain/5a112774-58aa-4a68-8a95-0a54db660d4a 2024-09-11 19:22:22,214 - DEBUG - Requesting: http://10.0.0.41:8082/project/bc8a22ea-8e23-400b-9fd3-bed7b87f8a35 2024-09-11 19:22:22,293 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/62b872b5-8166-4fc3-ae3a-9cf7ebc9e905 2024-09-11 19:22:22,307 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/62b872b5-8166-4fc3-ae3a-9cf7ebc9e905 2024-09-11 19:22:22,322 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/0678ab04-71d5-4969-8e7d-efa9a4adc0b1 2024-09-11 19:22:22,331 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/0678ab04-71d5-4969-8e7d-efa9a4adc0b1 2024-09-11 19:22:22,339 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/0de35768-c76c-469b-a160-fe21e26b6805 2024-09-11 19:22:22,346 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-11 19:22:22,346 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/62b872b5-8166-4fc3-ae3a-9cf7ebc9e905 2024-09-11 19:22:22,359 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/0678ab04-71d5-4969-8e7d-efa9a4adc0b1 2024-09-11 19:22:22,379 - INFO - Verified VN network id 7 for VN 62b872b5-8166-4fc3-ae3a-9cf7ebc9e905 2024-09-11 19:22:22,379 - INFO - Verifications in API Server for VN ctest-vn1-87414882 passed 2024-09-11 19:22:22,379 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/62b872b5-8166-4fc3-ae3a-9cf7ebc9e905 2024-09-11 19:22:22,393 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/0678ab04-71d5-4969-8e7d-efa9a4adc0b1 2024-09-11 19:22:22,402 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/0678ab04-71d5-4969-8e7d-efa9a4adc0b1 2024-09-11 19:22:22,412 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/0de35768-c76c-469b-a160-fe21e26b6805 2024-09-11 19:22:22,426 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-FloatingipBasicTestSanity-80299680:ctest-vn1-87414882', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-FloatingipBasicTestSanity-80299680', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7113561735317311427', 'uuid-lslong': '12554519499875412229'}, 'enable': 'true', 'created': '2024-09-11T19:22:21', 'last-modified': '2024-09-11T19:22:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.457783'} 2024-09-11 19:22:22,432 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-11 19:22:22,432 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn1-87414882 passed 2024-09-11 19:22:22,433 - DEBUG - ====Verifying policy data for ctest-vn1-87414882 in API_Server ====== 2024-09-11 19:22:22,433 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-09-11 19:22:22,440 - DEBUG - Requesting: http://10.0.0.41:8082/domain/5a112774-58aa-4a68-8a95-0a54db660d4a 2024-09-11 19:22:22,454 - DEBUG - Requesting: http://10.0.0.41:8082/project/bc8a22ea-8e23-400b-9fd3-bed7b87f8a35 2024-09-11 19:22:22,539 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/62b872b5-8166-4fc3-ae3a-9cf7ebc9e905 2024-09-11 19:22:22,552 - DEBUG - =>VN ctest-vn1-87414882 has no policy to be verified 2024-09-11 19:22:22,552 - DEBUG - Verifying the vn in opserver 2024-09-11 19:22:22,552 - DEBUG - Verifying the default-domain:ctest-FloatingipBasicTestSanity-80299680:ctest-vn1-87414882 virtual network link through opserver 10.0.0.41 2024-09-11 19:22:22,552 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2024-09-11 19:22:22,564 - DEBUG - vn link and name as {'name': 'default-domain:ctest-FloatingipBasicTestSanity-80299680:ctest-vn1-87414882', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-FloatingipBasicTestSanity-80299680:ctest-vn1-87414882?flat'} 2024-09-11 19:22:22,564 - INFO - Validated that VN default-domain:ctest-FloatingipBasicTestSanity-80299680:ctest-vn1-87414882 is found in opserver 2024-09-11 19:22:22,575 - DEBUG - Do not have enough data to verify VN in agent 2024-09-11 19:22:22,579 - DEBUG - VRF ids for VN ctest-vn1-87414882: {} 2024-09-11 19:22:23,620 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1900-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1900-1) 2024-09-11 19:22:24,984 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1900-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1900-1) 2024-09-11 19:22:25,189 - INFO - Creating Floating IP pool ctest-some-pool-67228090 in API Server 2024-09-11 19:22:25,434 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-09-11 19:22:25,442 - DEBUG - Requesting: http://10.0.0.41:8082/domain/5a112774-58aa-4a68-8a95-0a54db660d4a 2024-09-11 19:22:25,461 - DEBUG - Requesting: http://10.0.0.41:8082/project/bc8a22ea-8e23-400b-9fd3-bed7b87f8a35 2024-09-11 19:22:25,607 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9197d96e-6b7c-4258-bba8-1fcde1f698b2 2024-09-11 19:22:25,644 - DEBUG - Requesting: http://10.0.0.41:8082/floating-ip-pool/6773b9e6-0e4b-4c72-8faf-147ac987fd8c 2024-09-11 19:22:25,655 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-09-11 19:22:25,663 - DEBUG - Requesting: http://10.0.0.41:8082/domain/5a112774-58aa-4a68-8a95-0a54db660d4a 2024-09-11 19:22:25,687 - DEBUG - Requesting: http://10.0.0.41:8082/project/bc8a22ea-8e23-400b-9fd3-bed7b87f8a35 2024-09-11 19:22:25,816 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9197d96e-6b7c-4258-bba8-1fcde1f698b2 2024-09-11 19:22:25,846 - DEBUG - FIP Pool ctest-some-pool-67228090 found in API Server 2024-09-11 19:22:25,846 - INFO - Verification for FIP pool ctest-some-pool-67228090 in API Server passed 2024-09-11 19:22:25,879 - DEBUG - Control-node Ifmap-view has FIP pool ctest-some-pool-67228090 information 2024-09-11 19:22:25,879 - INFO - Verification for FIP pool ctest-some-pool-67228090 in Control-node passed 2024-09-11 19:22:25,879 - INFO - Waiting for VM ctest-vn1_vm1_name-22065233 to be up.. 2024-09-11 19:22:25,977 - DEBUG - VM is in ACTIVE state now 2024-09-11 19:22:25,977 - INFO - VM name : ctest-vn1_vm1_name-22065233 2024-09-11 19:22:26,066 - DEBUG - VM ctest-vn1_vm1_name-22065233 ID is 4b5c4a06-e175-4989-a1b0-49915d50792c 2024-09-11 19:22:26,084 - DEBUG - VM ctest-vn1_vm1_name-22065233 launched on Node cn-jenkins-deploy-platform-ansible-os-1900-1 2024-09-11 19:22:26,171 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/4b5c4a06-e175-4989-a1b0-49915d50792c 2024-09-11 19:22:26,181 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/197c781b-02a0-4135-ae53-9edb7465bbf4 2024-09-11 19:22:29,394 - 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 1004ms') 2024-09-11 19:22:29,394 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1_vm1_name-22065233 failed! 2024-09-11 19:22:29,457 - DEBUG - Gateway for vn default-domain:ctest-FloatingipBasicTestSanity-80299680:ctest-vn1-87414882 is 108.105.146.1 and allocation pool is NOT set 2024-09-11 19:22:34,937 - 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 1028ms') 2024-09-11 19:22:34,937 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1_vm1_name-22065233 failed! 2024-09-11 19:22:34,997 - DEBUG - Gateway for vn default-domain:ctest-FloatingipBasicTestSanity-80299680:ctest-vn1-87414882 is 108.105.146.1 and allocation pool is NOT set 2024-09-11 19:22:37,016 - 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.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.614 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.614/2.448/4.282/1.834 ms') 2024-09-11 19:22:37,088 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1_vm1_name-22065233 passed 2024-09-11 19:22:37,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 19:22:37,254 - DEBUG - Waiting to SSH to VM ctest-vn1_vm1_name-22065233, IP 108.105.146.3, Port 22 2024-09-11 19:22:37,278 - 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-09-11 19:22:37,368 - DEBUG - VM ctest-vn1_vm1_name-22065233 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-11 19:22:42,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 19:22:42,369 - DEBUG - Waiting to SSH to VM ctest-vn1_vm1_name-22065233, IP 108.105.146.3, Port 22 2024-09-11 19:22:42,383 - 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-09-11 19:22:42,478 - DEBUG - VM ctest-vn1_vm1_name-22065233 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-11 19:22:47,479 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 19:22:47,479 - DEBUG - Waiting to SSH to VM ctest-vn1_vm1_name-22065233, IP 108.105.146.3, Port 22 2024-09-11 19:22:47,492 - 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-09-11 19:22:47,576 - DEBUG - VM ctest-vn1_vm1_name-22065233 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-11 19:22:52,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 19:22:52,577 - DEBUG - Waiting to SSH to VM ctest-vn1_vm1_name-22065233, IP 108.105.146.3, Port 22 2024-09-11 19:22:52,650 - DEBUG - VM ctest-vn1_vm1_name-22065233 is ready for SSH connections 2024-09-11 19:22:52,747 - DEBUG - Created Floating IP : ('79.95.183.196', '8bc96a3c-4e90-4fb4-881c-b53ccc3fdad1') 2024-09-11 19:22:52,747 - DEBUG - Associating FIP 79.95.183.196 to 4b5c4a06-e175-4989-a1b0-49915d50792c 2024-09-11 19:22:52,787 - DEBUG - Associating FIP ID 8bc96a3c-4e90-4fb4-881c-b53ccc3fdad1 with Port ID 197c781b-02a0-4135-ae53-9edb7465bbf4 2024-09-11 19:22:52,851 - INFO - Waiting for VM ctest-fvn_vm1_name-86871958 to be up.. 2024-09-11 19:22:52,943 - DEBUG - VM is in ACTIVE state now 2024-09-11 19:22:52,943 - INFO - VM name : ctest-fvn_vm1_name-86871958 2024-09-11 19:22:53,017 - DEBUG - VM ctest-fvn_vm1_name-86871958 ID is 65043343-a1dd-405a-ba7e-b717e3dd00c9 2024-09-11 19:22:53,017 - DEBUG - VM ctest-fvn_vm1_name-86871958 launched on Node cn-jenkins-deploy-platform-ansible-os-1900-1 2024-09-11 19:22:53,089 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/65043343-a1dd-405a-ba7e-b717e3dd00c9 2024-09-11 19:22:53,099 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/d9ea4ffb-3ea7-4d38-be54-149fba174e1d 2024-09-11 19:22:54,306 - 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=2.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.425 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.425/1.458/2.492/1.033 ms') 2024-09-11 19:22:54,306 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-fvn_vm1_name-86871958 passed 2024-09-11 19:22:54,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 19:22:54,465 - DEBUG - Waiting to SSH to VM ctest-fvn_vm1_name-86871958, IP 79.95.183.195, Port 22 2024-09-11 19:22:54,534 - DEBUG - VM ctest-fvn_vm1_name-86871958 is ready for SSH connections 2024-09-11 19:22:54,669 - INFO - FIP 79.95.183.196 verification for passed on all Control-nodes 2024-09-11 19:22:54,670 - INFO - FIP ID 8bc96a3c-4e90-4fb4-881c-b53ccc3fdad1(79.95.183.196) validation in Control node passed 2024-09-11 19:22:54,691 - DEBUG - agent_label query returned:{'nh': {'type': 'interface', 'ref_count': '14', 'valid': 'true', 'policy': 'enabled', 'itf': 'tap197c781b-02', 'mac': ['2:19:7c:78:1b:2'], 'mcast': 'disabled', 'nh_index': '21', '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.17', 'dest_vn_list': ['default-domain:ctest-FloatingipBasicTestSanity-80299680:ctest-fvn-70595069'], '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-09-11 19:22:54,691 - DEBUG - Route for FIP IP 79.95.183.196 is present in agent 10.0.0.41 2024-09-11 19:22:54,691 - DEBUG - FIP 79.95.183.196 verification for VM ctest-vn1_vm1_name-22065233 in Agent 10.0.0.41 passed 2024-09-11 19:22:54,691 - INFO - FIP ID 8bc96a3c-4e90-4fb4-881c-b53ccc3fdad1(79.95.183.196) validation in agents passed 2024-09-11 19:22:54,691 - DEBUG - Requesting: http://10.0.0.41:8082/floating-ip/8bc96a3c-4e90-4fb4-881c-b53ccc3fdad1 2024-09-11 19:22:54,701 - DEBUG - FIP 8bc96a3c-4e90-4fb4-881c-b53ccc3fdad1 is present in API server 2024-09-11 19:22:54,701 - INFO - FIP ID 8bc96a3c-4e90-4fb4-881c-b53ccc3fdad1(79.95.183.196) validation in API Server passed 2024-09-11 19:22:54,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 19:22:54,701 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.95.183.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2024-09-11 19:22:54,701 - DEBUG - ping -s 56 -c 3 -W 1 79.95.183.195 2024-09-11 19:22:57,614 - DEBUG - PING 79.95.183.195 (79.95.183.195): 56 data bytes 64 bytes from 79.95.183.195: seq=0 ttl=63 time=4.955 ms 64 bytes from 79.95.183.195: seq=1 ttl=63 time=0.944 ms 64 bytes from 79.95.183.195: seq=2 ttl=63 time=0.787 ms --- 79.95.183.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.787/2.228/4.955 ms 2024-09-11 19:22:57,614 - INFO - Ping to IP 79.95.183.195 from VM ctest-vn1_vm1_name-22065233 passed 2024-09-11 19:22:57,614 - DEBUG - Disassociating port from FIP ID : 8bc96a3c-4e90-4fb4-881c-b53ccc3fdad1 2024-09-11 19:22:57,657 - DEBUG - Deleting FIP ID 8bc96a3c-4e90-4fb4-881c-b53ccc3fdad1 2024-09-11 19:22:57,712 - INFO - Deleting the FIP pool ctest-some-pool-67228090 2024-09-11 19:22:57,811 - DEBUG - Control-node Ifmap-view does not have FIP pool ctest-some-pool-67228090 information 2024-09-11 19:22:57,811 - INFO - Deleting VM ctest-fvn_vm1_name-86871958 2024-09-11 19:22:57,882 - INFO - Deleting VM ctest-vn1_vm1_name-22065233 2024-09-11 19:22:57,954 - INFO - Deleting VN ctest-vn1-87414882 2024-09-11 19:22:58,001 - DEBUG - VN 62b872b5-8166-4fc3-ae3a-9cf7ebc9e905 still in use: Unable to complete operation on network 62b872b5-8166-4fc3-ae3a-9cf7ebc9e905. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9a99b9cb-d612-4c2a-a266-9f969c3a6a18'] 2024-09-11 19:22:58,001 - WARNING - Deleting VN ctest-vn1-87414882 failed..Will retry 2024-09-11 19:23:00,132 - DEBUG - Response for deleting network () 2024-09-11 19:23:00,132 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/0678ab04-71d5-4969-8e7d-efa9a4adc0b1 2024-09-11 19:23:00,140 - DEBUG - Response Code: 404 2024-09-11 19:23:00,140 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-09-11 19:23:00,148 - DEBUG - Requesting: http://10.0.0.41:8082/domain/5a112774-58aa-4a68-8a95-0a54db660d4a 2024-09-11 19:23:00,204 - DEBUG - Requesting: http://10.0.0.41:8082/project/bc8a22ea-8e23-400b-9fd3-bed7b87f8a35 2024-09-11 19:23:00,296 - INFO - Validated that VN ctest-vn1-87414882 is not found in API Server 2024-09-11 19:23:00,308 - DEBUG - VN ctest-vn1-87414882 is not present in Agent 10.0.0.41 2024-09-11 19:23:00,308 - INFO - Validated that VN ctest-vn1-87414882 is not in any agent 2024-09-11 19:23:00,326 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn1-87414882 info 2024-09-11 19:23:00,326 - INFO - Deleting VN ctest-fvn-70595069 2024-09-11 19:23:00,444 - DEBUG - Response for deleting network () 2024-09-11 19:23:00,445 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/88f28e85-9488-4dbd-a69a-d107bc3ba6c7 2024-09-11 19:23:00,451 - DEBUG - Response Code: 404 2024-09-11 19:23:00,451 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-09-11 19:23:00,457 - DEBUG - Requesting: http://10.0.0.41:8082/domain/5a112774-58aa-4a68-8a95-0a54db660d4a 2024-09-11 19:23:00,511 - DEBUG - Requesting: http://10.0.0.41:8082/project/bc8a22ea-8e23-400b-9fd3-bed7b87f8a35 2024-09-11 19:23:00,588 - INFO - Validated that VN ctest-fvn-70595069 is not found in API Server 2024-09-11 19:23:00,599 - DEBUG - VN ctest-fvn-70595069 is not present in Agent 10.0.0.41 2024-09-11 19:23:00,599 - INFO - Validated that VN ctest-fvn-70595069 is not in any agent 2024-09-11 19:23:00,615 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-fvn-70595069 info 2024-09-11 19:23:00,871 - DEBUG - No XMPP flaps were noticed during the test 2024-09-11 19:23:00,871 - INFO - END TEST : test_floating_ip : PASSED[0:00:44] 2024-09-11 19:23:00,871 - INFO - -------------------------------------------------------------------------------- 2024-09-11 19:23:01,606 - INFO - Deleted project: ctest-FloatingipBasicTestSanity-80299680, ID : bc8a22ea-8e23-400b-9fd3-bed7b87f8a35