2025-04-24 13:23:20,218 - INFO - Domain Default found not creating 2025-04-24 13:23:20,359 - INFO - Project ctest-TestRoutersBasic-89022337 not found, creating it 2025-04-24 13:23:20,812 - INFO - Created Project:ctest-TestRoutersBasic-89022337, ID : 48bd2944-864f-42b2-9dd3-94f964ce4075 2025-04-24 13:23:22,320 - INFO - ================================================================================ 2025-04-24 13:23:22,320 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-24 13:23:22,320 - 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-24 13:23:22,575 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-24 13:23:22,575 - INFO - Initial checks done. Running the testcase now 2025-04-24 13:23:22,575 - INFO - 2025-04-24 13:23:23,357 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-89022337 2025-04-24 13:23:23,454 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-89022337 2025-04-24 13:23:23,793 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89022337', 'default']} 2025-04-24 13:23:24,094 - DEBUG - Response for create_network : {'network': {'id': '8b67610c-cf7c-4ae6-b8db-41c3c2d187a8', 'name': 'ctest-vn-36728160', 'tenant_id': '48bd2944864f42b29dd394f964ce4075', 'project_id': '48bd2944864f42b29dd394f964ce4075', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89022337', 'ctest-vn-36728160'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 13:23:24,281 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa4cfcec-d7dc-4db7-a6ad-4e76556b6992', 'name': '', 'tenant_id': '48bd2944864f42b29dd394f964ce4075', 'network_id': '8b67610c-cf7c-4ae6-b8db-41c3c2d187a8', 'ip_version': 4, 'cidr': '71.24.247.128/26', 'allocation_pools': [{'start': '71.24.247.130', 'end': '71.24.247.190'}], 'gateway_ip': '71.24.247.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.24.247.130', 'tags': [], 'project_id': '48bd2944864f42b29dd394f964ce4075'}} 2025-04-24 13:23:24,299 - INFO - Created VN ctest-vn-36728160 2025-04-24 13:23:24,349 - DEBUG - VN ctest-vn-36728160 UUID is 8b67610c-cf7c-4ae6-b8db-41c3c2d187a8 2025-04-24 13:23:24,682 - DEBUG - Response for create_network : {'network': {'id': '20c74753-bd49-4bfe-86a7-0b29eb322693', 'name': 'ctest-ext_vn-91337842', 'tenant_id': '48bd2944864f42b29dd394f964ce4075', 'project_id': '48bd2944864f42b29dd394f964ce4075', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89022337', 'ctest-ext_vn-91337842'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 13:23:24,864 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b2fee69-d6a5-4044-b53e-5b84d35e634e', 'name': '', 'tenant_id': '48bd2944864f42b29dd394f964ce4075', 'network_id': '20c74753-bd49-4bfe-86a7-0b29eb322693', 'ip_version': 4, 'cidr': '195.29.195.64/26', 'allocation_pools': [{'start': '195.29.195.66', 'end': '195.29.195.126'}], 'gateway_ip': '195.29.195.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.29.195.66', 'tags': [], 'project_id': '48bd2944864f42b29dd394f964ce4075'}} 2025-04-24 13:23:24,882 - INFO - Created VN ctest-ext_vn-91337842 2025-04-24 13:23:24,933 - DEBUG - VN ctest-ext_vn-91337842 UUID is 20c74753-bd49-4bfe-86a7-0b29eb322693 2025-04-24 13:23:25,095 - DEBUG - Services list from nova: [, , ] 2025-04-24 13:23:26,168 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3204-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3204-1) 2025-04-24 13:23:27,410 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3204-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3204-1) 2025-04-24 13:23:27,515 - INFO - Setting gateway for router 285dc565-170f-4249-abff-e94e4be358ae to network 20c74753-bd49-4bfe-86a7-0b29eb322693 2025-04-24 13:23:27,580 - INFO - Adding interface with subnet_id fa4cfcec-d7dc-4db7-a6ad-4e76556b6992, port_id None to router 285dc565-170f-4249-abff-e94e4be358ae 2025-04-24 13:23:27,890 - INFO - Waiting for VM ctest-TestRoutersBasic-89022337-68186368 to be up.. 2025-04-24 13:23:28,085 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-24 13:23:33,165 - DEBUG - VM is in ACTIVE state now 2025-04-24 13:23:33,165 - INFO - VM name : ctest-TestRoutersBasic-89022337-68186368 2025-04-24 13:23:33,244 - DEBUG - VM ctest-TestRoutersBasic-89022337-68186368 ID is c08f1085-ccda-4773-8122-7b81ee7a02db 2025-04-24 13:23:33,263 - DEBUG - VM ctest-TestRoutersBasic-89022337-68186368 launched on Node cn-jenkins-deploy-platform-ansible-os-3204-1 2025-04-24 13:23:33,338 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c08f1085-ccda-4773-8122-7b81ee7a02db 2025-04-24 13:23:33,669 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c08f1085-ccda-4773-8122-7b81ee7a02db 2025-04-24 13:23:33,700 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/dfd046fc-82c8-46af-9ec1-93448df66fdb 2025-04-24 13:23:36,961 - 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 1011ms') 2025-04-24 13:23:36,962 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-89022337-68186368 failed! 2025-04-24 13:23:37,018 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-89022337:ctest-vn-36728160 is 71.24.247.129 and allocation pool is NOT set 2025-04-24 13:23:39,080 - 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=3.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.805 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.805/2.062/3.320/1.257 ms') 2025-04-24 13:23:39,080 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-89022337-68186368 passed 2025-04-24 13:23:39,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 13:23:39,230 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89022337-68186368, IP 71.24.247.131, Port 22 2025-04-24 13:23:39,388 - DEBUG - VM ctest-TestRoutersBasic-89022337-68186368 is ready for SSH connections 2025-04-24 13:23:39,389 - INFO - Waiting for VM ctest-TestRoutersBasic-89022337-64763461 to be up.. 2025-04-24 13:23:39,462 - DEBUG - VM is in ACTIVE state now 2025-04-24 13:23:39,462 - INFO - VM name : ctest-TestRoutersBasic-89022337-64763461 2025-04-24 13:23:39,533 - DEBUG - VM ctest-TestRoutersBasic-89022337-64763461 ID is 9c42ea71-802f-4a8b-bb4d-d6181b43164f 2025-04-24 13:23:39,533 - DEBUG - VM ctest-TestRoutersBasic-89022337-64763461 launched on Node cn-jenkins-deploy-platform-ansible-os-3204-1 2025-04-24 13:23:39,603 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9c42ea71-802f-4a8b-bb4d-d6181b43164f 2025-04-24 13:23:39,613 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/691ec9f7-c8a3-4dd9-907a-a154372627e4 2025-04-24 13:23:40,853 - 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=4.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.798 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.798/2.467/4.137/1.669 ms') 2025-04-24 13:23:40,853 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-89022337-64763461 passed 2025-04-24 13:23:41,006 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 13:23:41,006 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89022337-64763461, IP 195.29.195.67, Port 22 2025-04-24 13:23:41,179 - DEBUG - VM ctest-TestRoutersBasic-89022337-64763461 is ready for SSH connections 2025-04-24 13:23:41,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 13:23:41,179 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.29.195.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-24 13:23:41,179 - DEBUG - ping -s 56 -c 3 -W 1 195.29.195.67 2025-04-24 13:23:44,908 - DEBUG - PING 195.29.195.67 (195.29.195.67): 56 data bytes 64 bytes from 195.29.195.67: seq=0 ttl=62 time=6.226 ms 64 bytes from 195.29.195.67: seq=1 ttl=62 time=1.102 ms 64 bytes from 195.29.195.67: seq=2 ttl=62 time=0.837 ms --- 195.29.195.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.837/2.721/6.226 ms 2025-04-24 13:23:44,908 - INFO - Ping to IP 195.29.195.67 from VM ctest-TestRoutersBasic-89022337-68186368 passed 2025-04-24 13:23:44,908 - INFO - Deleting interface with subnet_id fa4cfcec-d7dc-4db7-a6ad-4e76556b6992, port_id None from router 285dc565-170f-4249-abff-e94e4be358ae 2025-04-24 13:23:45,130 - INFO - Deleting VM ctest-TestRoutersBasic-89022337-64763461 2025-04-24 13:23:45,202 - INFO - Deleting VM ctest-TestRoutersBasic-89022337-68186368 2025-04-24 13:23:45,292 - INFO - Deleting VN ctest-ext_vn-91337842 2025-04-24 13:23:45,362 - DEBUG - VN 20c74753-bd49-4bfe-86a7-0b29eb322693 still in use: Unable to complete operation on network 20c74753-bd49-4bfe-86a7-0b29eb322693. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4660f983-03ad-4ad4-a346-743d7b20ba3b'] 2025-04-24 13:23:45,362 - WARNING - Deleting VN ctest-ext_vn-91337842 failed..Will retry 2025-04-24 13:23:47,485 - DEBUG - Response for deleting network () 2025-04-24 13:23:47,485 - INFO - Deleting VN ctest-vn-36728160 2025-04-24 13:23:47,595 - DEBUG - Response for deleting network () 2025-04-24 13:23:47,852 - DEBUG - No XMPP flaps were noticed during the test
2025-04-24 13:23:47,852 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-04-24 13:23:47,852 - INFO - -------------------------------------------------------------------------------- 2025-04-24 13:23:48,557 - INFO - Deleted project: ctest-TestRoutersBasic-89022337, ID : 48bd2944-864f-42b2-9dd3-94f964ce4075