2026-05-04 02:22:07,664 - INFO - Domain Default found not creating 2026-05-04 02:22:07,851 - INFO - Project ctest-TestRoutersBasic-62271017 not found, creating it 2026-05-04 02:22:08,321 - INFO - Created Project:ctest-TestRoutersBasic-62271017, ID : eb948fd1-1d4d-42dc-b161-56d1979546a4 2026-05-04 02:22:09,875 - INFO - ================================================================================ 2026-05-04 02:22:09,876 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-04 02:22:09,876 - 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-05-04 02:22:10,139 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.25': '0'}} with 2026-05-04 02:22:10,139 - INFO - Initial checks done. Running the testcase now 2026-05-04 02:22:10,139 - INFO - 2026-05-04 02:22:10,866 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-62271017 2026-05-04 02:22:10,961 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-62271017 2026-05-04 02:22:11,289 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62271017', 'default']} 2026-05-04 02:22:11,597 - DEBUG - Response for create_network : {'network': {'id': '4569a2ff-4405-413c-a6da-c1fc62006fd9', 'name': 'ctest-vn-09488748', 'tenant_id': 'eb948fd11d4d42dcb16156d1979546a4', 'project_id': 'eb948fd11d4d42dcb16156d1979546a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62271017', 'ctest-vn-09488748'], 'port_security_enabled': True, 'description': ''}} 2026-05-04 02:22:11,780 - DEBUG - Response for create_subnet : {'subnet': {'id': '6dd02d3a-4dd0-4d11-a74d-38e645410629', 'name': '', 'tenant_id': 'eb948fd11d4d42dcb16156d1979546a4', 'network_id': '4569a2ff-4405-413c-a6da-c1fc62006fd9', 'ip_version': 4, 'cidr': '89.182.122.0/26', 'allocation_pools': [{'start': '89.182.122.2', 'end': '89.182.122.62'}], 'gateway_ip': '89.182.122.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.182.122.2', 'tags': [], 'project_id': 'eb948fd11d4d42dcb16156d1979546a4'}} 2026-05-04 02:22:11,801 - INFO - Created VN ctest-vn-09488748 2026-05-04 02:22:11,853 - DEBUG - VN ctest-vn-09488748 UUID is 4569a2ff-4405-413c-a6da-c1fc62006fd9 2026-05-04 02:22:12,204 - DEBUG - Response for create_network : {'network': {'id': '5ec9f773-6b45-465c-a037-0ab2d979ecb1', 'name': 'ctest-ext_vn-33811566', 'tenant_id': 'eb948fd11d4d42dcb16156d1979546a4', 'project_id': 'eb948fd11d4d42dcb16156d1979546a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62271017', 'ctest-ext_vn-33811566'], 'port_security_enabled': True, 'description': ''}} 2026-05-04 02:22:12,398 - DEBUG - Response for create_subnet : {'subnet': {'id': '280e64d3-9317-4206-a635-b759e896b497', 'name': '', 'tenant_id': 'eb948fd11d4d42dcb16156d1979546a4', 'network_id': '5ec9f773-6b45-465c-a037-0ab2d979ecb1', 'ip_version': 4, 'cidr': '2.149.73.192/26', 'allocation_pools': [{'start': '2.149.73.194', 'end': '2.149.73.254'}], 'gateway_ip': '2.149.73.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.149.73.194', 'tags': [], 'project_id': 'eb948fd11d4d42dcb16156d1979546a4'}} 2026-05-04 02:22:12,415 - INFO - Created VN ctest-ext_vn-33811566 2026-05-04 02:22:12,469 - DEBUG - VN ctest-ext_vn-33811566 UUID is 5ec9f773-6b45-465c-a037-0ab2d979ecb1 2026-05-04 02:22:12,640 - DEBUG - Services list from nova: [, , ] 2026-05-04 02:22:13,682 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5741-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5741-1) 2026-05-04 02:22:14,882 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5741-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5741-1) 2026-05-04 02:22:14,945 - INFO - Setting gateway for router 96c6bd97-a6e1-416f-b371-a93cc8d3aa22 to network 5ec9f773-6b45-465c-a037-0ab2d979ecb1 2026-05-04 02:22:15,037 - INFO - Adding interface with subnet_id 6dd02d3a-4dd0-4d11-a74d-38e645410629, port_id None to router 96c6bd97-a6e1-416f-b371-a93cc8d3aa22 2026-05-04 02:22:15,538 - INFO - Waiting for VM ctest-TestRoutersBasic-62271017-92295984 to be up.. 2026-05-04 02:22:15,744 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-04 02:22:20,873 - DEBUG - VM is in ACTIVE state now 2026-05-04 02:22:20,873 - INFO - VM name : ctest-TestRoutersBasic-62271017-92295984 2026-05-04 02:22:21,000 - DEBUG - VM ctest-TestRoutersBasic-62271017-92295984 ID is 135e40a9-7aa9-4439-9156-d8c92f15f6a8 2026-05-04 02:22:21,026 - DEBUG - VM ctest-TestRoutersBasic-62271017-92295984 launched on Node cn-jenkins-deploy-platform-ansible-os-5741-1 2026-05-04 02:22:21,116 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/135e40a9-7aa9-4439-9156-d8c92f15f6a8 2026-05-04 02:22:21,438 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/135e40a9-7aa9-4439-9156-d8c92f15f6a8 2026-05-04 02:22:21,479 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/d3f69156-c2ec-4665-b1c6-e76d8cbdf5cc 2026-05-04 02:22:24,746 - 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 1022ms') 2026-05-04 02:22:24,746 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-62271017-92295984 failed! 2026-05-04 02:22:24,797 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-62271017:ctest-vn-09488748 is 89.182.122.1 and allocation pool is NOT set 2026-05-04 02:22:26,870 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.15 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 = 1.152/2.997/4.842/1.845 ms') 2026-05-04 02:22:26,871 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-62271017-92295984 passed 2026-05-04 02:22:27,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:22:27,030 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62271017-92295984, IP 89.182.122.3, Port 22 2026-05-04 02:22:27,204 - DEBUG - VM ctest-TestRoutersBasic-62271017-92295984 is ready for SSH connections 2026-05-04 02:22:27,205 - INFO - Waiting for VM ctest-TestRoutersBasic-62271017-17227487 to be up.. 2026-05-04 02:22:27,321 - DEBUG - VM is in ACTIVE state now 2026-05-04 02:22:27,321 - INFO - VM name : ctest-TestRoutersBasic-62271017-17227487 2026-05-04 02:22:27,418 - DEBUG - VM ctest-TestRoutersBasic-62271017-17227487 ID is be19c518-b0d5-4217-9c52-e0d46943aee9 2026-05-04 02:22:27,418 - DEBUG - VM ctest-TestRoutersBasic-62271017-17227487 launched on Node cn-jenkins-deploy-platform-ansible-os-5741-1 2026-05-04 02:22:27,512 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/be19c518-b0d5-4217-9c52-e0d46943aee9 2026-05-04 02:22:27,523 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/2515af7a-7285-4f16-aa46-8ef09101c6ad 2026-05-04 02:22:28,791 - 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=6.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.30 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 = 2.296/4.638/6.980/2.342 ms') 2026-05-04 02:22:28,791 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-62271017-17227487 passed 2026-05-04 02:22:28,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:22:28,950 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62271017-17227487, IP 2.149.73.195, Port 22 2026-05-04 02:22:29,127 - DEBUG - VM ctest-TestRoutersBasic-62271017-17227487 is ready for SSH connections 2026-05-04 02:22:29,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:22:29,127 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.149.73.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-05-04 02:22:29,127 - DEBUG - ping -s 56 -c 3 -W 1 2.149.73.195 2026-05-04 02:22:32,939 - DEBUG - PING 2.149.73.195 (2.149.73.195): 56 data bytes 64 bytes from 2.149.73.195: seq=0 ttl=62 time=5.067 ms 64 bytes from 2.149.73.195: seq=1 ttl=62 time=1.401 ms 64 bytes from 2.149.73.195: seq=2 ttl=62 time=1.089 ms --- 2.149.73.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.089/2.519/5.067 ms 2026-05-04 02:22:32,939 - INFO - Ping to IP 2.149.73.195 from VM ctest-TestRoutersBasic-62271017-92295984 passed 2026-05-04 02:22:32,939 - INFO - Deleting interface with subnet_id 6dd02d3a-4dd0-4d11-a74d-38e645410629, port_id None from router 96c6bd97-a6e1-416f-b371-a93cc8d3aa22 2026-05-04 02:22:33,140 - INFO - Deleting VM ctest-TestRoutersBasic-62271017-17227487 2026-05-04 02:22:33,214 - INFO - Deleting VM ctest-TestRoutersBasic-62271017-92295984 2026-05-04 02:22:33,320 - INFO - Deleting VN ctest-ext_vn-33811566 2026-05-04 02:22:33,400 - DEBUG - VN 5ec9f773-6b45-465c-a037-0ab2d979ecb1 still in use: Unable to complete operation on network 5ec9f773-6b45-465c-a037-0ab2d979ecb1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-53bb0402-9dd3-4631-8f21-b4eb5fb35d51'] 2026-05-04 02:22:33,400 - WARNING - Deleting VN ctest-ext_vn-33811566 failed..Will retry 2026-05-04 02:22:35,506 - DEBUG - Response for deleting network () 2026-05-04 02:22:35,506 - INFO - Deleting VN ctest-vn-09488748 2026-05-04 02:22:35,614 - DEBUG - Response for deleting network () 2026-05-04 02:22:35,880 - DEBUG - No XMPP flaps were noticed during the test
2026-05-04 02:22:35,880 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-05-04 02:22:35,880 - INFO - -------------------------------------------------------------------------------- 2026-05-04 02:22:36,593 - INFO - Deleted project: ctest-TestRoutersBasic-62271017, ID : eb948fd1-1d4d-42dc-b161-56d1979546a4