2025-10-28 21:29:24,457 - INFO - Domain Default found not creating 2025-10-28 21:29:24,606 - INFO - Project ctest-TestRoutersBasic-56199771 not found, creating it 2025-10-28 21:29:25,035 - INFO - Created Project:ctest-TestRoutersBasic-56199771, ID : 3f7106b1-020e-4d12-86d0-1e1b5b3bd4e3 2025-10-28 21:29:26,441 - INFO - ================================================================================ 2025-10-28 21:29:26,442 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-28 21:29:26,442 - 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-10-28 21:29:26,697 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-28 21:29:26,697 - INFO - Initial checks done. Running the testcase now 2025-10-28 21:29:26,697 - INFO - 2025-10-28 21:29:27,404 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-56199771 2025-10-28 21:29:27,505 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-56199771 2025-10-28 21:29:27,820 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56199771', 'default']} 2025-10-28 21:29:28,106 - DEBUG - Response for create_network : {'network': {'id': '59801531-e505-45c9-8299-d9137d660a98', 'name': 'ctest-vn-54404640', 'tenant_id': '3f7106b1020e4d1286d01e1b5b3bd4e3', 'project_id': '3f7106b1020e4d1286d01e1b5b3bd4e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56199771', 'ctest-vn-54404640'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:29:28,288 - DEBUG - Response for create_subnet : {'subnet': {'id': '759b1022-19c2-4653-9936-23c26a70e101', 'name': '', 'tenant_id': '3f7106b1020e4d1286d01e1b5b3bd4e3', 'network_id': '59801531-e505-45c9-8299-d9137d660a98', 'ip_version': 4, 'cidr': '67.232.175.192/26', 'allocation_pools': [{'start': '67.232.175.194', 'end': '67.232.175.254'}], 'gateway_ip': '67.232.175.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.232.175.194', 'tags': [], 'project_id': '3f7106b1020e4d1286d01e1b5b3bd4e3'}} 2025-10-28 21:29:28,312 - INFO - Created VN ctest-vn-54404640 2025-10-28 21:29:28,372 - DEBUG - VN ctest-vn-54404640 UUID is 59801531-e505-45c9-8299-d9137d660a98 2025-10-28 21:29:28,711 - DEBUG - Response for create_network : {'network': {'id': 'c12f674a-061c-4753-8ccb-c397b26069af', 'name': 'ctest-ext_vn-46010638', 'tenant_id': '3f7106b1020e4d1286d01e1b5b3bd4e3', 'project_id': '3f7106b1020e4d1286d01e1b5b3bd4e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56199771', 'ctest-ext_vn-46010638'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:29:28,922 - DEBUG - Response for create_subnet : {'subnet': {'id': '54815008-2a8d-4829-930f-b18ed3b565ea', 'name': '', 'tenant_id': '3f7106b1020e4d1286d01e1b5b3bd4e3', 'network_id': 'c12f674a-061c-4753-8ccb-c397b26069af', 'ip_version': 4, 'cidr': '83.78.99.128/26', 'allocation_pools': [{'start': '83.78.99.130', 'end': '83.78.99.190'}], 'gateway_ip': '83.78.99.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.78.99.130', 'tags': [], 'project_id': '3f7106b1020e4d1286d01e1b5b3bd4e3'}} 2025-10-28 21:29:28,939 - INFO - Created VN ctest-ext_vn-46010638 2025-10-28 21:29:28,988 - DEBUG - VN ctest-ext_vn-46010638 UUID is c12f674a-061c-4753-8ccb-c397b26069af 2025-10-28 21:29:29,209 - DEBUG - Services list from nova: [, , ] 2025-10-28 21:29:30,208 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4517-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4517-1) 2025-10-28 21:29:31,331 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4517-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4517-1) 2025-10-28 21:29:31,411 - INFO - Setting gateway for router 64a5ce86-fa32-4701-9a14-9d118b846928 to network c12f674a-061c-4753-8ccb-c397b26069af 2025-10-28 21:29:31,487 - INFO - Adding interface with subnet_id 759b1022-19c2-4653-9936-23c26a70e101, port_id None to router 64a5ce86-fa32-4701-9a14-9d118b846928 2025-10-28 21:29:31,872 - INFO - Waiting for VM ctest-TestRoutersBasic-56199771-12221590 to be up.. 2025-10-28 21:29:32,027 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-28 21:29:37,109 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:29:37,109 - INFO - VM name : ctest-TestRoutersBasic-56199771-12221590 2025-10-28 21:29:37,188 - DEBUG - VM ctest-TestRoutersBasic-56199771-12221590 ID is 1c2e4a12-b70c-4ea5-991e-d9b5ecdc967c 2025-10-28 21:29:37,207 - DEBUG - VM ctest-TestRoutersBasic-56199771-12221590 launched on Node cn-jenkins-deploy-platform-ansible-os-4517-1 2025-10-28 21:29:37,279 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/1c2e4a12-b70c-4ea5-991e-d9b5ecdc967c 2025-10-28 21:29:37,572 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/1c2e4a12-b70c-4ea5-991e-d9b5ecdc967c 2025-10-28 21:29:37,605 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/098a6dcd-3a00-403a-851e-dc49314f8fd8 2025-10-28 21:29:40,857 - 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 1019ms') 2025-10-28 21:29:40,857 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56199771-12221590 failed! 2025-10-28 21:29:40,916 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-56199771:ctest-vn-54404640 is 67.232.175.193 and allocation pool is NOT set 2025-10-28 21:29:42,973 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.442 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.442/1.757/3.072/1.315 ms') 2025-10-28 21:29:42,973 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56199771-12221590 passed 2025-10-28 21:29:43,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:29:43,077 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56199771-12221590, IP 67.232.175.195, Port 22 2025-10-28 21:29:43,232 - DEBUG - VM ctest-TestRoutersBasic-56199771-12221590 is ready for SSH connections 2025-10-28 21:29:43,232 - INFO - Waiting for VM ctest-TestRoutersBasic-56199771-31825452 to be up.. 2025-10-28 21:29:43,309 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:29:43,309 - INFO - VM name : ctest-TestRoutersBasic-56199771-31825452 2025-10-28 21:29:43,387 - DEBUG - VM ctest-TestRoutersBasic-56199771-31825452 ID is b3598da7-e6cc-4a1a-b04a-14032d48a1f4 2025-10-28 21:29:43,387 - DEBUG - VM ctest-TestRoutersBasic-56199771-31825452 launched on Node cn-jenkins-deploy-platform-ansible-os-4517-1 2025-10-28 21:29:43,456 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b3598da7-e6cc-4a1a-b04a-14032d48a1f4 2025-10-28 21:29:43,463 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/39bb2456-98a2-4266-9b44-b1e7738165e2 2025-10-28 21:29:44,699 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/1.580/2.750/1.170 ms') 2025-10-28 21:29:44,700 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-56199771-31825452 passed 2025-10-28 21:29:44,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:29:44,849 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56199771-31825452, IP 83.78.99.131, Port 22 2025-10-28 21:29:45,008 - DEBUG - VM ctest-TestRoutersBasic-56199771-31825452 is ready for SSH connections 2025-10-28 21:29:45,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:29:45,009 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.78.99.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-28 21:29:45,009 - DEBUG - ping -s 56 -c 3 -W 1 83.78.99.131 2025-10-28 21:29:48,740 - DEBUG - PING 83.78.99.131 (83.78.99.131): 56 data bytes 64 bytes from 83.78.99.131: seq=0 ttl=62 time=6.971 ms 64 bytes from 83.78.99.131: seq=1 ttl=62 time=0.874 ms 64 bytes from 83.78.99.131: seq=2 ttl=62 time=0.934 ms --- 83.78.99.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.874/2.926/6.971 ms 2025-10-28 21:29:48,740 - INFO - Ping to IP 83.78.99.131 from VM ctest-TestRoutersBasic-56199771-12221590 passed 2025-10-28 21:29:48,740 - INFO - Deleting interface with subnet_id 759b1022-19c2-4653-9936-23c26a70e101, port_id None from router 64a5ce86-fa32-4701-9a14-9d118b846928 2025-10-28 21:29:48,927 - INFO - Deleting VM ctest-TestRoutersBasic-56199771-31825452 2025-10-28 21:29:49,015 - INFO - Deleting VM ctest-TestRoutersBasic-56199771-12221590 2025-10-28 21:29:49,087 - INFO - Deleting VN ctest-ext_vn-46010638 2025-10-28 21:29:49,152 - DEBUG - VN c12f674a-061c-4753-8ccb-c397b26069af still in use: Unable to complete operation on network c12f674a-061c-4753-8ccb-c397b26069af. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-af046a61-b016-4bb2-a7be-40a47089254a'] 2025-10-28 21:29:49,152 - WARNING - Deleting VN ctest-ext_vn-46010638 failed..Will retry 2025-10-28 21:29:51,236 - DEBUG - Response for deleting network () 2025-10-28 21:29:51,236 - INFO - Deleting VN ctest-vn-54404640 2025-10-28 21:29:51,324 - DEBUG - Response for deleting network () 2025-10-28 21:29:51,582 - DEBUG - No XMPP flaps were noticed during the test 2025-10-28 21:29:51,582 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-28 21:29:51,582 - INFO - -------------------------------------------------------------------------------- 2025-10-28 21:29:52,259 - INFO - Deleted project: ctest-TestRoutersBasic-56199771, ID : 3f7106b1-020e-4d12-86d0-1e1b5b3bd4e3