2026-09-30 13:31:18,829 - INFO - Domain Default found not creating 2026-09-30 13:31:18,985 - INFO - Project ctest-TestRoutersBasic-66618824 not found, creating it 2026-09-30 13:31:19,443 - INFO - Created Project:ctest-TestRoutersBasic-66618824, ID : befa4698-6336-4c85-8b38-bc93b9555c3e 2026-09-30 13:31:20,938 - INFO - ================================================================================ 2026-09-30 13:31:20,938 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-30 13:31:20,938 - 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-09-30 13:31:21,195 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.29': '0'}} with 2026-09-30 13:31:21,195 - INFO - Initial checks done. Running the testcase now 2026-09-30 13:31:21,195 - INFO - 2026-09-30 13:31:21,950 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-66618824 2026-09-30 13:31:22,044 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-66618824 2026-09-30 13:31:22,372 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66618824', 'default']} 2026-09-30 13:31:22,672 - DEBUG - Response for create_network : {'network': {'id': 'c5c78400-fc7c-4f1a-a4a2-0f3958ed739c', 'name': 'ctest-vn-42204663', 'tenant_id': 'befa469863364c858b38bc93b9555c3e', 'project_id': 'befa469863364c858b38bc93b9555c3e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66618824', 'ctest-vn-42204663'], 'port_security_enabled': True, 'description': ''}} 2026-09-30 13:31:22,870 - DEBUG - Response for create_subnet : {'subnet': {'id': '711bd173-aec2-4e20-9f76-b633166fb767', 'name': '', 'tenant_id': 'befa469863364c858b38bc93b9555c3e', 'network_id': 'c5c78400-fc7c-4f1a-a4a2-0f3958ed739c', 'ip_version': 4, 'cidr': '3.93.125.0/26', 'allocation_pools': [{'start': '3.93.125.2', 'end': '3.93.125.62'}], 'gateway_ip': '3.93.125.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.93.125.2', 'tags': [], 'project_id': 'befa469863364c858b38bc93b9555c3e'}} 2026-09-30 13:31:22,886 - INFO - Created VN ctest-vn-42204663 2026-09-30 13:31:22,936 - DEBUG - VN ctest-vn-42204663 UUID is c5c78400-fc7c-4f1a-a4a2-0f3958ed739c 2026-09-30 13:31:23,294 - DEBUG - Response for create_network : {'network': {'id': '3fc872dd-f983-4e02-b790-09dac5512451', 'name': 'ctest-ext_vn-76773867', 'tenant_id': 'befa469863364c858b38bc93b9555c3e', 'project_id': 'befa469863364c858b38bc93b9555c3e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66618824', 'ctest-ext_vn-76773867'], 'port_security_enabled': True, 'description': ''}} 2026-09-30 13:31:23,504 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6ea79dc-10ac-4bc4-a6ed-e594740fe7a6', 'name': '', 'tenant_id': 'befa469863364c858b38bc93b9555c3e', 'network_id': '3fc872dd-f983-4e02-b790-09dac5512451', 'ip_version': 4, 'cidr': '121.229.112.64/26', 'allocation_pools': [{'start': '121.229.112.66', 'end': '121.229.112.126'}], 'gateway_ip': '121.229.112.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.229.112.66', 'tags': [], 'project_id': 'befa469863364c858b38bc93b9555c3e'}} 2026-09-30 13:31:23,522 - INFO - Created VN ctest-ext_vn-76773867 2026-09-30 13:31:23,576 - DEBUG - VN ctest-ext_vn-76773867 UUID is 3fc872dd-f983-4e02-b790-09dac5512451 2026-09-30 13:31:23,786 - DEBUG - Services list from nova: [, , ] 2026-09-30 13:31:24,130 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6333-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6333-1) 2026-09-30 13:31:24,498 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6333-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6333-1) 2026-09-30 13:31:24,574 - INFO - Setting gateway for router 61d78e97-c7bb-4081-9e7b-c29219c6fc41 to network 3fc872dd-f983-4e02-b790-09dac5512451 2026-09-30 13:31:24,632 - INFO - Adding interface with subnet_id 711bd173-aec2-4e20-9f76-b633166fb767, port_id None to router 61d78e97-c7bb-4081-9e7b-c29219c6fc41 2026-09-30 13:31:24,905 - INFO - Waiting for VM ctest-TestRoutersBasic-66618824-26680902 to be up.. 2026-09-30 13:31:24,957 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 13:31:30,030 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 13:31:35,101 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 13:31:40,173 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 13:31:45,245 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 13:31:50,314 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 13:31:55,387 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 13:32:00,523 - DEBUG - VM is in ACTIVE state now 2026-09-30 13:32:00,524 - INFO - VM name : ctest-TestRoutersBasic-66618824-26680902 2026-09-30 13:32:00,601 - DEBUG - VM ctest-TestRoutersBasic-66618824-26680902 ID is 1328a92f-2497-4f66-9e3e-1f5d55e35113 2026-09-30 13:32:00,627 - DEBUG - VM ctest-TestRoutersBasic-66618824-26680902 launched on Node cn-jenkins-deploy-platform-ansible-os-6333-1 2026-09-30 13:32:00,709 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/1328a92f-2497-4f66-9e3e-1f5d55e35113 2026-09-30 13:32:01,031 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/1328a92f-2497-4f66-9e3e-1f5d55e35113 2026-09-30 13:32:01,056 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/122acf9d-7d46-4d57-8327-10cd185a838b 2026-09-30 13:32:04,316 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2026-09-30 13:32:04,316 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-66618824-26680902 failed! 2026-09-30 13:32:04,372 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-66618824:ctest-vn-42204663 is 3.93.125.1 and allocation pool is NOT set 2026-09-30 13:32:06,431 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=8.25 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.425 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.425/4.335/8.245/3.910 ms') 2026-09-30 13:32:06,431 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-66618824-26680902 passed 2026-09-30 13:32:06,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 13:32:06,580 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66618824-26680902, IP 3.93.125.3, Port 22 2026-09-30 13:32:06,735 - DEBUG - VM ctest-TestRoutersBasic-66618824-26680902 is ready for SSH connections 2026-09-30 13:32:06,735 - INFO - Waiting for VM ctest-TestRoutersBasic-66618824-61775833 to be up.. 2026-09-30 13:32:06,806 - DEBUG - VM is in ACTIVE state now 2026-09-30 13:32:06,806 - INFO - VM name : ctest-TestRoutersBasic-66618824-61775833 2026-09-30 13:32:06,867 - DEBUG - VM ctest-TestRoutersBasic-66618824-61775833 ID is be37da6a-db48-424b-a205-d9ae09b7e01e 2026-09-30 13:32:06,867 - DEBUG - VM ctest-TestRoutersBasic-66618824-61775833 launched on Node cn-jenkins-deploy-platform-ansible-os-6333-1 2026-09-30 13:32:06,934 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/be37da6a-db48-424b-a205-d9ae09b7e01e 2026-09-30 13:32:06,941 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/fc453edf-32ea-46b1-99dc-d606f39ef602 2026-09-30 13:32:10,205 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=8.05 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1031ms\r\nrtt min/avg/max/mdev = 8.054/8.054/8.054/0.000 ms') 2026-09-30 13:32:10,205 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-66618824-61775833 passed 2026-09-30 13:32:10,356 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 13:32:10,356 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66618824-61775833, IP 121.229.112.68, Port 22 2026-09-30 13:32:10,511 - DEBUG - VM ctest-TestRoutersBasic-66618824-61775833 is ready for SSH connections 2026-09-30 13:32:10,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 13:32:10,512 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.229.112.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-09-30 13:32:10,512 - DEBUG - ping -s 56 -c 3 -W 1 121.229.112.68 2026-09-30 13:32:13,352 - DEBUG - PING 121.229.112.68 (121.229.112.68): 56 data bytes 64 bytes from 121.229.112.68: seq=0 ttl=62 time=5.675 ms 64 bytes from 121.229.112.68: seq=1 ttl=62 time=0.958 ms 64 bytes from 121.229.112.68: seq=2 ttl=62 time=0.975 ms --- 121.229.112.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.958/2.536/5.675 ms 2026-09-30 13:32:13,352 - INFO - Ping to IP 121.229.112.68 from VM ctest-TestRoutersBasic-66618824-26680902 passed 2026-09-30 13:32:13,353 - INFO - Deleting interface with subnet_id 711bd173-aec2-4e20-9f76-b633166fb767, port_id None from router 61d78e97-c7bb-4081-9e7b-c29219c6fc41 2026-09-30 13:32:13,536 - INFO - Deleting VM ctest-TestRoutersBasic-66618824-61775833 2026-09-30 13:32:13,612 - INFO - Deleting VM ctest-TestRoutersBasic-66618824-26680902 2026-09-30 13:32:13,676 - INFO - Deleting VN ctest-ext_vn-76773867 2026-09-30 13:32:13,740 - DEBUG - VN 3fc872dd-f983-4e02-b790-09dac5512451 still in use: Unable to complete operation on network 3fc872dd-f983-4e02-b790-09dac5512451. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e189549e-eb0d-43cd-bb3d-bb224c23327f'] 2026-09-30 13:32:13,740 - WARNING - Deleting VN ctest-ext_vn-76773867 failed..Will retry 2026-09-30 13:32:15,869 - DEBUG - Response for deleting network () 2026-09-30 13:32:15,869 - INFO - Deleting VN ctest-vn-42204663 2026-09-30 13:32:15,970 - DEBUG - Response for deleting network () 2026-09-30 13:32:16,225 - DEBUG - No XMPP flaps were noticed during the test
2026-09-30 13:32:16,225 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:56]
2026-09-30 13:32:16,225 - INFO - -------------------------------------------------------------------------------- 2026-09-30 13:32:16,945 - INFO - Deleted project: ctest-TestRoutersBasic-66618824, ID : befa4698-6336-4c85-8b38-bc93b9555c3e