2025-04-09 20:00:42,762 - INFO - Domain Default found not creating 2025-04-09 20:00:42,908 - INFO - Project ctest-TestRoutersBasic-06458858 not found, creating it 2025-04-09 20:00:43,360 - INFO - Created Project:ctest-TestRoutersBasic-06458858, ID : 8f1b0b49-79c5-44ee-8929-96a92b72b3a3 2025-04-09 20:00:45,073 - INFO - ================================================================================ 2025-04-09 20:00:45,073 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-09 20:00:45,073 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2025-04-09 20:00:45,340 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-04-09 20:00:45,340 - INFO - Initial checks done. Running the testcase now 2025-04-09 20:00:45,340 - INFO - 2025-04-09 20:00:46,066 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-06458858 2025-04-09 20:00:46,167 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-06458858 2025-04-09 20:00:46,506 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06458858', 'default']} 2025-04-09 20:00:46,801 - DEBUG - Response for create_network : {'network': {'id': 'aa6ace55-65ea-4ca7-be6c-97fe49e556f1', 'name': 'ctest-vn-87159668', 'tenant_id': '8f1b0b4979c544ee892996a92b72b3a3', 'project_id': '8f1b0b4979c544ee892996a92b72b3a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06458858', 'ctest-vn-87159668'], 'port_security_enabled': True, 'description': ''}} 2025-04-09 20:00:46,995 - DEBUG - Response for create_subnet : {'subnet': {'id': '66993812-be18-485a-966b-0b51aace82c1', 'name': '', 'tenant_id': '8f1b0b4979c544ee892996a92b72b3a3', 'network_id': 'aa6ace55-65ea-4ca7-be6c-97fe49e556f1', 'ip_version': 4, 'cidr': '37.213.98.0/26', 'allocation_pools': [{'start': '37.213.98.2', 'end': '37.213.98.62'}], 'gateway_ip': '37.213.98.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.213.98.2', 'tags': [], 'project_id': '8f1b0b4979c544ee892996a92b72b3a3'}} 2025-04-09 20:00:47,011 - INFO - Created VN ctest-vn-87159668 2025-04-09 20:00:47,062 - DEBUG - VN ctest-vn-87159668 UUID is aa6ace55-65ea-4ca7-be6c-97fe49e556f1 2025-04-09 20:00:47,442 - DEBUG - Response for create_network : {'network': {'id': '9f28e5f5-a105-43f8-aaf4-e55ef4122b31', 'name': 'ctest-ext_vn-11038560', 'tenant_id': '8f1b0b4979c544ee892996a92b72b3a3', 'project_id': '8f1b0b4979c544ee892996a92b72b3a3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06458858', 'ctest-ext_vn-11038560'], 'port_security_enabled': True, 'description': ''}} 2025-04-09 20:00:47,661 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e007961f-af75-4fa3-ab2b-6c69ba56c38a', 'name': '', 'tenant_id': '8f1b0b4979c544ee892996a92b72b3a3', 'network_id': '9f28e5f5-a105-43f8-aaf4-e55ef4122b31', 'ip_version': 4, 'cidr': '188.81.132.128/26', 'allocation_pools': [{'start': '188.81.132.130', 'end': '188.81.132.190'}], 'gateway_ip': '188.81.132.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.81.132.130', 'tags': [], 'project_id': '8f1b0b4979c544ee892996a92b72b3a3'}} 2025-04-09 20:00:47,677 - INFO - Created VN ctest-ext_vn-11038560 2025-04-09 20:00:47,726 - DEBUG - VN ctest-ext_vn-11038560 UUID is 9f28e5f5-a105-43f8-aaf4-e55ef4122b31 2025-04-09 20:00:47,919 - DEBUG - Services list from nova: [, , ] 2025-04-09 20:00:48,905 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3073-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3073-1) 2025-04-09 20:00:50,088 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3073-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3073-1) 2025-04-09 20:00:50,159 - INFO - Setting gateway for router 282339fe-b492-4a82-bd38-66f377fc4268 to network 9f28e5f5-a105-43f8-aaf4-e55ef4122b31 2025-04-09 20:00:50,214 - INFO - Adding interface with subnet_id 66993812-be18-485a-966b-0b51aace82c1, port_id None to router 282339fe-b492-4a82-bd38-66f377fc4268 2025-04-09 20:00:50,731 - INFO - Waiting for VM ctest-TestRoutersBasic-06458858-94445476 to be up.. 2025-04-09 20:00:50,899 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-09 20:00:55,971 - DEBUG - VM is in ACTIVE state now 2025-04-09 20:00:55,971 - INFO - VM name : ctest-TestRoutersBasic-06458858-94445476 2025-04-09 20:00:56,048 - DEBUG - VM ctest-TestRoutersBasic-06458858-94445476 ID is 224e3019-dbe5-479a-b6ba-5d8ea046014f 2025-04-09 20:00:56,066 - DEBUG - VM ctest-TestRoutersBasic-06458858-94445476 launched on Node cn-jenkins-deploy-platform-ansible-os-3073-1 2025-04-09 20:00:56,140 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/224e3019-dbe5-479a-b6ba-5d8ea046014f 2025-04-09 20:00:56,438 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/224e3019-dbe5-479a-b6ba-5d8ea046014f 2025-04-09 20:00:56,468 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/b63beae5-a057-4302-8a2f-9a2ce88f2b75 2025-04-09 20:00:59,711 - 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 1003ms') 2025-04-09 20:00:59,711 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06458858-94445476 failed! 2025-04-09 20:00:59,766 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-06458858:ctest-vn-87159668 is 37.213.98.1 and allocation pool is NOT set 2025-04-09 20:01:01,829 - 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=2.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.380 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.380/1.529/2.678/1.149 ms') 2025-04-09 20:01:01,829 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06458858-94445476 passed 2025-04-09 20:01:01,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 20:01:01,978 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06458858-94445476, IP 37.213.98.3, Port 22 2025-04-09 20:01:02,138 - DEBUG - VM ctest-TestRoutersBasic-06458858-94445476 is ready for SSH connections 2025-04-09 20:01:02,138 - INFO - Waiting for VM ctest-TestRoutersBasic-06458858-85445284 to be up.. 2025-04-09 20:01:02,209 - DEBUG - VM is in ACTIVE state now 2025-04-09 20:01:02,209 - INFO - VM name : ctest-TestRoutersBasic-06458858-85445284 2025-04-09 20:01:02,276 - DEBUG - VM ctest-TestRoutersBasic-06458858-85445284 ID is c50fb058-fbb9-48eb-a4bd-7afe77c1544f 2025-04-09 20:01:02,276 - DEBUG - VM ctest-TestRoutersBasic-06458858-85445284 launched on Node cn-jenkins-deploy-platform-ansible-os-3073-1 2025-04-09 20:01:02,341 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/c50fb058-fbb9-48eb-a4bd-7afe77c1544f 2025-04-09 20:01:02,349 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/d80d714e-0adb-42bd-ab3e-41d752a5b9e2 2025-04-09 20:01:03,578 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.408 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.408/1.542/2.677/1.134 ms') 2025-04-09 20:01:03,578 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-06458858-85445284 passed 2025-04-09 20:01:03,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 20:01:03,726 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06458858-85445284, IP 188.81.132.131, Port 22 2025-04-09 20:01:03,882 - DEBUG - VM ctest-TestRoutersBasic-06458858-85445284 is ready for SSH connections 2025-04-09 20:01:03,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 20:01:03,882 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.81.132.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-04-09 20:01:03,882 - DEBUG - ping -s 56 -c 3 -W 1 188.81.132.131 2025-04-09 20:01:07,559 - DEBUG - PING 188.81.132.131 (188.81.132.131): 56 data bytes 64 bytes from 188.81.132.131: seq=0 ttl=62 time=4.415 ms 64 bytes from 188.81.132.131: seq=1 ttl=62 time=0.972 ms 64 bytes from 188.81.132.131: seq=2 ttl=62 time=1.038 ms --- 188.81.132.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.972/2.141/4.415 ms 2025-04-09 20:01:07,559 - INFO - Ping to IP 188.81.132.131 from VM ctest-TestRoutersBasic-06458858-94445476 passed 2025-04-09 20:01:07,559 - INFO - Deleting interface with subnet_id 66993812-be18-485a-966b-0b51aace82c1, port_id None from router 282339fe-b492-4a82-bd38-66f377fc4268 2025-04-09 20:01:07,775 - INFO - Deleting VM ctest-TestRoutersBasic-06458858-85445284 2025-04-09 20:01:07,838 - INFO - Deleting VM ctest-TestRoutersBasic-06458858-94445476 2025-04-09 20:01:07,909 - INFO - Deleting VN ctest-ext_vn-11038560 2025-04-09 20:01:07,980 - DEBUG - VN 9f28e5f5-a105-43f8-aaf4-e55ef4122b31 still in use: Unable to complete operation on network 9f28e5f5-a105-43f8-aaf4-e55ef4122b31. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-61a9e108-ba5a-4db6-9e51-7fcdb9d8fcd9'] 2025-04-09 20:01:07,980 - WARNING - Deleting VN ctest-ext_vn-11038560 failed..Will retry 2025-04-09 20:01:10,093 - DEBUG - Response for deleting network () 2025-04-09 20:01:10,093 - INFO - Deleting VN ctest-vn-87159668 2025-04-09 20:01:10,193 - DEBUG - Response for deleting network () 2025-04-09 20:01:10,448 - DEBUG - No XMPP flaps were noticed during the test 2025-04-09 20:01:10,448 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-04-09 20:01:10,448 - INFO - -------------------------------------------------------------------------------- 2025-04-09 20:01:11,109 - INFO - Deleted project: ctest-TestRoutersBasic-06458858, ID : 8f1b0b49-79c5-44ee-8929-96a92b72b3a3