2026-07-30 08:21:08,076 - INFO - Domain Default found not creating 2026-07-30 08:21:08,244 - INFO - Project ctest-TestRoutersBasic-51063545 not found, creating it 2026-07-30 08:21:08,736 - INFO - Created Project:ctest-TestRoutersBasic-51063545, ID : 07e99115-22bf-4fc2-b8d0-418cc9e86e4f 2026-07-30 08:21:10,286 - INFO - ================================================================================ 2026-07-30 08:21:10,286 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-07-30 08:21:10,286 - 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-07-30 08:21:10,545 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.17': '0'}} with 2026-07-30 08:21:10,545 - INFO - Initial checks done. Running the testcase now 2026-07-30 08:21:10,545 - INFO - 2026-07-30 08:21:11,358 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-51063545 2026-07-30 08:21:11,458 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-51063545 2026-07-30 08:21:11,802 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51063545', 'default']} 2026-07-30 08:21:12,116 - DEBUG - Response for create_network : {'network': {'id': '4ba67722-d1e0-4207-b229-f6ba6d5225e8', 'name': 'ctest-vn-48307816', 'tenant_id': '07e9911522bf4fc2b8d0418cc9e86e4f', 'project_id': '07e9911522bf4fc2b8d0418cc9e86e4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51063545', 'ctest-vn-48307816'], 'port_security_enabled': True, 'description': ''}} 2026-07-30 08:21:12,285 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6862822-0cb0-4349-b6d4-9a8041c0a652', 'name': '', 'tenant_id': '07e9911522bf4fc2b8d0418cc9e86e4f', 'network_id': '4ba67722-d1e0-4207-b229-f6ba6d5225e8', 'ip_version': 4, 'cidr': '172.14.31.0/26', 'allocation_pools': [{'start': '172.14.31.2', 'end': '172.14.31.62'}], 'gateway_ip': '172.14.31.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.14.31.2', 'tags': [], 'project_id': '07e9911522bf4fc2b8d0418cc9e86e4f'}} 2026-07-30 08:21:12,304 - INFO - Created VN ctest-vn-48307816 2026-07-30 08:21:12,354 - DEBUG - VN ctest-vn-48307816 UUID is 4ba67722-d1e0-4207-b229-f6ba6d5225e8 2026-07-30 08:21:12,693 - DEBUG - Response for create_network : {'network': {'id': '96164cf6-4f3a-4a67-8b2a-ad389bef0fb1', 'name': 'ctest-ext_vn-55492767', 'tenant_id': '07e9911522bf4fc2b8d0418cc9e86e4f', 'project_id': '07e9911522bf4fc2b8d0418cc9e86e4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51063545', 'ctest-ext_vn-55492767'], 'port_security_enabled': True, 'description': ''}} 2026-07-30 08:21:12,909 - DEBUG - Response for create_subnet : {'subnet': {'id': '438687f1-0fc9-4c93-8e25-5391fad28a38', 'name': '', 'tenant_id': '07e9911522bf4fc2b8d0418cc9e86e4f', 'network_id': '96164cf6-4f3a-4a67-8b2a-ad389bef0fb1', 'ip_version': 4, 'cidr': '157.33.38.128/26', 'allocation_pools': [{'start': '157.33.38.130', 'end': '157.33.38.190'}], 'gateway_ip': '157.33.38.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.33.38.130', 'tags': [], 'project_id': '07e9911522bf4fc2b8d0418cc9e86e4f'}} 2026-07-30 08:21:12,928 - INFO - Created VN ctest-ext_vn-55492767 2026-07-30 08:21:12,982 - DEBUG - VN ctest-ext_vn-55492767 UUID is 96164cf6-4f3a-4a67-8b2a-ad389bef0fb1 2026-07-30 08:21:13,155 - DEBUG - Services list from nova: [, , ] 2026-07-30 08:21:13,493 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6122-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6122-1) 2026-07-30 08:21:13,881 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6122-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6122-1) 2026-07-30 08:21:13,959 - INFO - Setting gateway for router 72aacce4-6d9a-408b-9d8c-1ea6b35b9fe0 to network 96164cf6-4f3a-4a67-8b2a-ad389bef0fb1 2026-07-30 08:21:14,037 - INFO - Adding interface with subnet_id b6862822-0cb0-4349-b6d4-9a8041c0a652, port_id None to router 72aacce4-6d9a-408b-9d8c-1ea6b35b9fe0 2026-07-30 08:21:14,415 - INFO - Waiting for VM ctest-TestRoutersBasic-51063545-45793893 to be up.. 2026-07-30 08:21:14,514 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 08:21:19,597 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 08:21:24,682 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 08:21:29,799 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 08:21:34,889 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 08:21:40,035 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 08:21:45,112 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 08:21:50,203 - DEBUG - VM is in ACTIVE state now 2026-07-30 08:21:50,203 - INFO - VM name : ctest-TestRoutersBasic-51063545-45793893 2026-07-30 08:21:50,289 - DEBUG - VM ctest-TestRoutersBasic-51063545-45793893 ID is 5a4c45a0-6a3f-47bb-9c3f-89ec33507cf5 2026-07-30 08:21:50,311 - DEBUG - VM ctest-TestRoutersBasic-51063545-45793893 launched on Node cn-jenkins-deploy-platform-ansible-os-6122-1 2026-07-30 08:21:50,392 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/5a4c45a0-6a3f-47bb-9c3f-89ec33507cf5 2026-07-30 08:21:50,721 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/5a4c45a0-6a3f-47bb-9c3f-89ec33507cf5 2026-07-30 08:21:50,753 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/b7734dff-04f4-46f5-97f0-b0880e05614b 2026-07-30 08:21:53,993 - 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 1002ms') 2026-07-30 08:21:53,993 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-51063545-45793893 failed! 2026-07-30 08:21:54,046 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-51063545:ctest-vn-48307816 is 172.14.31.1 and allocation pool is NOT set 2026-07-30 08:21:56,113 - 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=4.11 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.03 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 = 1.027/2.566/4.106/1.539 ms') 2026-07-30 08:21:56,113 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-51063545-45793893 passed 2026-07-30 08:21:56,262 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-30 08:21:56,262 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51063545-45793893, IP 172.14.31.3, Port 22 2026-07-30 08:21:56,428 - DEBUG - VM ctest-TestRoutersBasic-51063545-45793893 is ready for SSH connections 2026-07-30 08:21:56,428 - INFO - Waiting for VM ctest-TestRoutersBasic-51063545-16242015 to be up.. 2026-07-30 08:21:56,510 - DEBUG - VM is in ACTIVE state now 2026-07-30 08:21:56,511 - INFO - VM name : ctest-TestRoutersBasic-51063545-16242015 2026-07-30 08:21:56,589 - DEBUG - VM ctest-TestRoutersBasic-51063545-16242015 ID is 009ea095-09c4-4a15-8803-a7eafa641a45 2026-07-30 08:21:56,590 - DEBUG - VM ctest-TestRoutersBasic-51063545-16242015 launched on Node cn-jenkins-deploy-platform-ansible-os-6122-1 2026-07-30 08:21:56,669 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/009ea095-09c4-4a15-8803-a7eafa641a45 2026-07-30 08:21:56,678 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/98bf3181-8d7f-408a-a120-9f1379eafd64 2026-07-30 08:21:59,948 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1025ms') 2026-07-30 08:21:59,949 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-51063545-16242015 failed! 2026-07-30 08:22:00,002 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-51063545:ctest-ext_vn-55492767 is 157.33.38.129 and allocation pool is NOT set 2026-07-30 08:22:02,076 - 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=1 ttl=63 time=3.98 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.578 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.578/2.276/3.975/1.698 ms') 2026-07-30 08:22:02,076 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-51063545-16242015 passed 2026-07-30 08:22:02,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-30 08:22:02,230 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51063545-16242015, IP 157.33.38.132, Port 22 2026-07-30 08:22:02,401 - DEBUG - VM ctest-TestRoutersBasic-51063545-16242015 is ready for SSH connections 2026-07-30 08:22:02,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-30 08:22:02,401 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.33.38.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-07-30 08:22:02,401 - DEBUG - ping -s 56 -c 3 -W 1 157.33.38.132 2026-07-30 08:22:05,437 - DEBUG - PING 157.33.38.132 (157.33.38.132): 56 data bytes 64 bytes from 157.33.38.132: seq=0 ttl=62 time=5.659 ms 64 bytes from 157.33.38.132: seq=1 ttl=62 time=1.303 ms 64 bytes from 157.33.38.132: seq=2 ttl=62 time=1.927 ms --- 157.33.38.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.303/2.963/5.659 ms 2026-07-30 08:22:05,437 - INFO - Ping to IP 157.33.38.132 from VM ctest-TestRoutersBasic-51063545-45793893 passed 2026-07-30 08:22:05,437 - INFO - Deleting interface with subnet_id b6862822-0cb0-4349-b6d4-9a8041c0a652, port_id None from router 72aacce4-6d9a-408b-9d8c-1ea6b35b9fe0 2026-07-30 08:22:05,664 - INFO - Deleting VM ctest-TestRoutersBasic-51063545-16242015 2026-07-30 08:22:05,751 - INFO - Deleting VM ctest-TestRoutersBasic-51063545-45793893 2026-07-30 08:22:05,834 - INFO - Deleting VN ctest-ext_vn-55492767 2026-07-30 08:22:05,900 - DEBUG - VN 96164cf6-4f3a-4a67-8b2a-ad389bef0fb1 still in use: Unable to complete operation on network 96164cf6-4f3a-4a67-8b2a-ad389bef0fb1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dd27427d-5ab8-4b2c-aaad-05d805749925'] 2026-07-30 08:22:05,900 - WARNING - Deleting VN ctest-ext_vn-55492767 failed..Will retry 2026-07-30 08:22:07,951 - DEBUG - VN 96164cf6-4f3a-4a67-8b2a-ad389bef0fb1 still in use: Unable to complete operation on network 96164cf6-4f3a-4a67-8b2a-ad389bef0fb1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-09c3a2f3-ea9e-422a-9565-96d512d22ac1'] 2026-07-30 08:22:07,951 - WARNING - Deleting VN ctest-ext_vn-55492767 failed..Will retry 2026-07-30 08:22:10,065 - DEBUG - Response for deleting network () 2026-07-30 08:22:10,065 - INFO - Deleting VN ctest-vn-48307816 2026-07-30 08:22:10,188 - DEBUG - Response for deleting network () 2026-07-30 08:22:10,446 - DEBUG - No XMPP flaps were noticed during the test 2026-07-30 08:22:10,446 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:00] 2026-07-30 08:22:10,446 - INFO - -------------------------------------------------------------------------------- 2026-07-30 08:22:11,215 - INFO - Deleted project: ctest-TestRoutersBasic-51063545, ID : 07e99115-22bf-4fc2-b8d0-418cc9e86e4f