2026-04-27 17:49:02,255 - INFO - Domain Default found not creating 2026-04-27 17:49:02,466 - INFO - Project ctest-TestRoutersBasic-16072653 not found, creating it 2026-04-27 17:49:03,229 - INFO - Created Project:ctest-TestRoutersBasic-16072653, ID : bdba180c-10fb-4aea-9e4d-80fa32964973 2026-04-27 17:49:04,920 - INFO - ================================================================================ 2026-04-27 17:49:04,921 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-27 17:49:04,921 - 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 2026-04-27 17:49:05,186 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-04-27 17:49:05,186 - INFO - Initial checks done. Running the testcase now 2026-04-27 17:49:05,186 - INFO - 2026-04-27 17:49:05,987 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-16072653 2026-04-27 17:49:06,087 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-16072653 2026-04-27 17:49:06,423 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16072653', 'default']} 2026-04-27 17:49:06,765 - DEBUG - Response for create_network : {'network': {'id': '64ca9aa5-980d-4984-b5dd-5841f6c6521a', 'name': 'ctest-vn-81238539', 'tenant_id': 'bdba180c10fb4aea9e4d80fa32964973', 'project_id': 'bdba180c10fb4aea9e4d80fa32964973', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16072653', 'ctest-vn-81238539'], 'port_security_enabled': True, 'description': ''}} 2026-04-27 17:49:06,979 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b3313d4-657b-419a-8e07-36f820fb8805', 'name': '', 'tenant_id': 'bdba180c10fb4aea9e4d80fa32964973', 'network_id': '64ca9aa5-980d-4984-b5dd-5841f6c6521a', 'ip_version': 4, 'cidr': '199.241.24.64/26', 'allocation_pools': [{'start': '199.241.24.66', 'end': '199.241.24.126'}], 'gateway_ip': '199.241.24.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.241.24.66', 'tags': [], 'project_id': 'bdba180c10fb4aea9e4d80fa32964973'}} 2026-04-27 17:49:06,998 - INFO - Created VN ctest-vn-81238539 2026-04-27 17:49:07,051 - DEBUG - VN ctest-vn-81238539 UUID is 64ca9aa5-980d-4984-b5dd-5841f6c6521a 2026-04-27 17:49:07,393 - DEBUG - Response for create_network : {'network': {'id': '7b4082f4-ce5f-4ff2-9dbb-9733be379906', 'name': 'ctest-ext_vn-10835325', 'tenant_id': 'bdba180c10fb4aea9e4d80fa32964973', 'project_id': 'bdba180c10fb4aea9e4d80fa32964973', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16072653', 'ctest-ext_vn-10835325'], 'port_security_enabled': True, 'description': ''}} 2026-04-27 17:49:07,639 - DEBUG - Response for create_subnet : {'subnet': {'id': '30002842-578e-4cff-8e49-ab5022d275c0', 'name': '', 'tenant_id': 'bdba180c10fb4aea9e4d80fa32964973', 'network_id': '7b4082f4-ce5f-4ff2-9dbb-9733be379906', 'ip_version': 4, 'cidr': '56.81.58.64/26', 'allocation_pools': [{'start': '56.81.58.66', 'end': '56.81.58.126'}], 'gateway_ip': '56.81.58.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.81.58.66', 'tags': [], 'project_id': 'bdba180c10fb4aea9e4d80fa32964973'}} 2026-04-27 17:49:07,663 - INFO - Created VN ctest-ext_vn-10835325 2026-04-27 17:49:07,715 - DEBUG - VN ctest-ext_vn-10835325 UUID is 7b4082f4-ce5f-4ff2-9dbb-9733be379906 2026-04-27 17:49:07,900 - DEBUG - Services list from nova: [, , ] 2026-04-27 17:49:08,989 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5698-1) 2026-04-27 17:49:10,261 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5698-1) 2026-04-27 17:49:10,341 - INFO - Setting gateway for router 9f36fa5f-5ced-4196-8ef5-8c8aeb39ca08 to network 7b4082f4-ce5f-4ff2-9dbb-9733be379906 2026-04-27 17:49:10,411 - INFO - Adding interface with subnet_id 4b3313d4-657b-419a-8e07-36f820fb8805, port_id None to router 9f36fa5f-5ced-4196-8ef5-8c8aeb39ca08 2026-04-27 17:49:10,832 - INFO - Waiting for VM ctest-TestRoutersBasic-16072653-51317136 to be up.. 2026-04-27 17:49:10,997 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-27 17:49:16,086 - DEBUG - VM is in ACTIVE state now 2026-04-27 17:49:16,086 - INFO - VM name : ctest-TestRoutersBasic-16072653-51317136 2026-04-27 17:49:16,175 - DEBUG - VM ctest-TestRoutersBasic-16072653-51317136 ID is a1504759-8762-4826-a90a-080d88bd7df3 2026-04-27 17:49:16,196 - DEBUG - VM ctest-TestRoutersBasic-16072653-51317136 launched on Node cn-jenkins-deploy-platform-ansible-os-5698-1 2026-04-27 17:49:16,280 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a1504759-8762-4826-a90a-080d88bd7df3 2026-04-27 17:49:16,581 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a1504759-8762-4826-a90a-080d88bd7df3 2026-04-27 17:49:16,625 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e71277b0-aab0-4c88-9f33-c03bee165181 2026-04-27 17:49:19,895 - 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 1021ms') 2026-04-27 17:49:19,895 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16072653-51317136 failed! 2026-04-27 17:49:19,951 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-16072653:ctest-vn-81238539 is 199.241.24.65 and allocation pool is NOT set 2026-04-27 17:49:22,014 - 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.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.12 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 = 1.120/2.678/4.237/1.558 ms') 2026-04-27 17:49:22,014 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16072653-51317136 passed 2026-04-27 17:49:22,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:49:22,167 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16072653-51317136, IP 199.241.24.67, Port 22 2026-04-27 17:49:22,323 - DEBUG - VM ctest-TestRoutersBasic-16072653-51317136 is ready for SSH connections 2026-04-27 17:49:22,324 - INFO - Waiting for VM ctest-TestRoutersBasic-16072653-20079519 to be up.. 2026-04-27 17:49:22,416 - DEBUG - VM is in ACTIVE state now 2026-04-27 17:49:22,416 - INFO - VM name : ctest-TestRoutersBasic-16072653-20079519 2026-04-27 17:49:22,508 - DEBUG - VM ctest-TestRoutersBasic-16072653-20079519 ID is 77dbc59c-0cf5-42b8-a5ac-c9b8cc6dc514 2026-04-27 17:49:22,508 - DEBUG - VM ctest-TestRoutersBasic-16072653-20079519 launched on Node cn-jenkins-deploy-platform-ansible-os-5698-1 2026-04-27 17:49:22,592 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/77dbc59c-0cf5-42b8-a5ac-c9b8cc6dc514 2026-04-27 17:49:22,602 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/771f9929-d13c-42bd-9bee-03d2bfbd5702 2026-04-27 17:49:23,859 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.522 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.522/1.802/3.082/1.280 ms') 2026-04-27 17:49:23,859 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-16072653-20079519 passed 2026-04-27 17:49:24,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:49:24,011 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16072653-20079519, IP 56.81.58.67, Port 22 2026-04-27 17:49:24,167 - DEBUG - VM ctest-TestRoutersBasic-16072653-20079519 is ready for SSH connections 2026-04-27 17:49:24,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 17:49:24,167 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.81.58.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-27 17:49:24,167 - DEBUG - ping -s 56 -c 3 -W 1 56.81.58.67 2026-04-27 17:49:27,934 - DEBUG - PING 56.81.58.67 (56.81.58.67): 56 data bytes 64 bytes from 56.81.58.67: seq=0 ttl=62 time=6.740 ms 64 bytes from 56.81.58.67: seq=1 ttl=62 time=1.260 ms 64 bytes from 56.81.58.67: seq=2 ttl=62 time=1.357 ms --- 56.81.58.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.260/3.119/6.740 ms 2026-04-27 17:49:27,934 - INFO - Ping to IP 56.81.58.67 from VM ctest-TestRoutersBasic-16072653-51317136 passed 2026-04-27 17:49:27,934 - INFO - Deleting interface with subnet_id 4b3313d4-657b-419a-8e07-36f820fb8805, port_id None from router 9f36fa5f-5ced-4196-8ef5-8c8aeb39ca08 2026-04-27 17:49:28,162 - INFO - Deleting VM ctest-TestRoutersBasic-16072653-20079519 2026-04-27 17:49:28,260 - INFO - Deleting VM ctest-TestRoutersBasic-16072653-51317136 2026-04-27 17:49:28,356 - INFO - Deleting VN ctest-ext_vn-10835325 2026-04-27 17:49:28,437 - DEBUG - VN 7b4082f4-ce5f-4ff2-9dbb-9733be379906 still in use: Unable to complete operation on network 7b4082f4-ce5f-4ff2-9dbb-9733be379906. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e5b26cbe-fdfb-4f43-86da-71ee50a07235'] 2026-04-27 17:49:28,437 - WARNING - Deleting VN ctest-ext_vn-10835325 failed..Will retry 2026-04-27 17:49:30,566 - DEBUG - Response for deleting network () 2026-04-27 17:49:30,566 - INFO - Deleting VN ctest-vn-81238539 2026-04-27 17:49:30,703 - DEBUG - Response for deleting network () 2026-04-27 17:49:30,961 - DEBUG - No XMPP flaps were noticed during the test
2026-04-27 17:49:30,961 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-04-27 17:49:30,961 - INFO - -------------------------------------------------------------------------------- 2026-04-27 17:49:31,690 - INFO - Deleted project: ctest-TestRoutersBasic-16072653, ID : bdba180c-10fb-4aea-9e4d-80fa32964973