2026-08-14 08:34:31,955 - INFO - Domain Default found not creating 2026-08-14 08:34:32,122 - INFO - Project ctest-TestRoutersBasic-85451084 not found, creating it 2026-08-14 08:34:32,724 - INFO - Created Project:ctest-TestRoutersBasic-85451084, ID : 1f2a910c-10b3-4760-ac8d-5212670a51ae 2026-08-14 08:34:34,335 - INFO - ================================================================================ 2026-08-14 08:34:34,335 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-14 08:34:34,335 - 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-08-14 08:34:34,606 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2026-08-14 08:34:34,606 - INFO - Initial checks done. Running the testcase now 2026-08-14 08:34:34,606 - INFO - 2026-08-14 08:34:35,441 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-85451084 2026-08-14 08:34:35,545 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-85451084 2026-08-14 08:34:35,881 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85451084', 'default']} 2026-08-14 08:34:36,231 - DEBUG - Response for create_network : {'network': {'id': 'a41801dc-3181-43ee-b78f-6e1f75c48d9b', 'name': 'ctest-vn-59553213', 'tenant_id': '1f2a910c10b34760ac8d5212670a51ae', 'project_id': '1f2a910c10b34760ac8d5212670a51ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85451084', 'ctest-vn-59553213'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 08:34:36,453 - DEBUG - Response for create_subnet : {'subnet': {'id': '4c622814-9ba2-4df8-bf0a-79c4c289e215', 'name': '', 'tenant_id': '1f2a910c10b34760ac8d5212670a51ae', 'network_id': 'a41801dc-3181-43ee-b78f-6e1f75c48d9b', 'ip_version': 4, 'cidr': '152.210.10.64/26', 'allocation_pools': [{'start': '152.210.10.66', 'end': '152.210.10.126'}], 'gateway_ip': '152.210.10.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.210.10.66', 'tags': [], 'project_id': '1f2a910c10b34760ac8d5212670a51ae'}} 2026-08-14 08:34:36,473 - INFO - Created VN ctest-vn-59553213 2026-08-14 08:34:36,529 - DEBUG - VN ctest-vn-59553213 UUID is a41801dc-3181-43ee-b78f-6e1f75c48d9b 2026-08-14 08:34:36,901 - DEBUG - Response for create_network : {'network': {'id': 'df5e20c6-4031-4c8d-a6b0-7eae2081f2a3', 'name': 'ctest-ext_vn-09365325', 'tenant_id': '1f2a910c10b34760ac8d5212670a51ae', 'project_id': '1f2a910c10b34760ac8d5212670a51ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85451084', 'ctest-ext_vn-09365325'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 08:34:37,152 - DEBUG - Response for create_subnet : {'subnet': {'id': '34a4d30d-4ddf-4e05-b033-f03c2fd42b37', 'name': '', 'tenant_id': '1f2a910c10b34760ac8d5212670a51ae', 'network_id': 'df5e20c6-4031-4c8d-a6b0-7eae2081f2a3', 'ip_version': 4, 'cidr': '152.76.134.192/26', 'allocation_pools': [{'start': '152.76.134.194', 'end': '152.76.134.254'}], 'gateway_ip': '152.76.134.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.76.134.194', 'tags': [], 'project_id': '1f2a910c10b34760ac8d5212670a51ae'}} 2026-08-14 08:34:37,177 - INFO - Created VN ctest-ext_vn-09365325 2026-08-14 08:34:37,237 - DEBUG - VN ctest-ext_vn-09365325 UUID is df5e20c6-4031-4c8d-a6b0-7eae2081f2a3 2026-08-14 08:34:37,446 - DEBUG - Services list from nova: [, , ] 2026-08-14 08:34:37,832 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6159-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6159-1) 2026-08-14 08:34:38,298 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6159-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6159-1) 2026-08-14 08:34:38,415 - INFO - Setting gateway for router 26ebfd6d-5a73-4882-b409-ef830ffd3834 to network df5e20c6-4031-4c8d-a6b0-7eae2081f2a3 2026-08-14 08:34:38,504 - INFO - Adding interface with subnet_id 4c622814-9ba2-4df8-bf0a-79c4c289e215, port_id None to router 26ebfd6d-5a73-4882-b409-ef830ffd3834 2026-08-14 08:34:38,841 - INFO - Waiting for VM ctest-TestRoutersBasic-85451084-82705527 to be up.. 2026-08-14 08:34:38,939 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:34:44,040 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:34:49,123 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:34:54,211 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:34:59,371 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:35:04,451 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:35:09,531 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:35:14,626 - DEBUG - VM is in ACTIVE state now 2026-08-14 08:35:14,626 - INFO - VM name : ctest-TestRoutersBasic-85451084-82705527 2026-08-14 08:35:14,722 - DEBUG - VM ctest-TestRoutersBasic-85451084-82705527 ID is 0230a14e-84c5-4e5b-9178-f2f9273a2521 2026-08-14 08:35:14,744 - DEBUG - VM ctest-TestRoutersBasic-85451084-82705527 launched on Node cn-jenkins-deploy-platform-ansible-os-6159-1 2026-08-14 08:35:14,826 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0230a14e-84c5-4e5b-9178-f2f9273a2521 2026-08-14 08:35:15,148 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0230a14e-84c5-4e5b-9178-f2f9273a2521 2026-08-14 08:35:15,186 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/79262e1c-8bad-4a50-bc3e-3b4f8f5f03a6 2026-08-14 08:35:18,575 - 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 1034ms') 2026-08-14 08:35:18,575 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-85451084-82705527 failed! 2026-08-14 08:35:18,637 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-85451084:ctest-vn-59553213 is 152.210.10.65 and allocation pool is NOT set 2026-08-14 08:35:20,706 - 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=6.97 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.487 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.487/3.730/6.973/3.243 ms') 2026-08-14 08:35:20,706 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-85451084-82705527 passed 2026-08-14 08:35:20,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:35:20,869 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85451084-82705527, IP 152.210.10.67, Port 22 2026-08-14 08:35:21,043 - DEBUG - VM ctest-TestRoutersBasic-85451084-82705527 is ready for SSH connections 2026-08-14 08:35:21,043 - INFO - Waiting for VM ctest-TestRoutersBasic-85451084-81580898 to be up.. 2026-08-14 08:35:21,140 - DEBUG - VM is in ACTIVE state now 2026-08-14 08:35:21,141 - INFO - VM name : ctest-TestRoutersBasic-85451084-81580898 2026-08-14 08:35:21,231 - DEBUG - VM ctest-TestRoutersBasic-85451084-81580898 ID is 3db8e81e-eeb4-4a3d-a7ee-5a98eccf0e8a 2026-08-14 08:35:21,232 - DEBUG - VM ctest-TestRoutersBasic-85451084-81580898 launched on Node cn-jenkins-deploy-platform-ansible-os-6159-1 2026-08-14 08:35:21,315 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3db8e81e-eeb4-4a3d-a7ee-5a98eccf0e8a 2026-08-14 08:35:21,326 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/367cd95a-87d2-407d-9de4-df7534e9eae4 2026-08-14 08:35:24,578 - 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 1015ms') 2026-08-14 08:35:24,578 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-85451084-81580898 failed! 2026-08-14 08:35:24,637 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-85451084:ctest-ext_vn-09365325 is 152.76.134.193 and allocation pool is NOT set 2026-08-14 08:35:26,701 - 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=11.7 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.653 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.653/6.178/11.704/5.525 ms') 2026-08-14 08:35:26,701 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-85451084-81580898 passed 2026-08-14 08:35:26,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:35:26,849 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85451084-81580898, IP 152.76.134.196, Port 22 2026-08-14 08:35:27,015 - DEBUG - VM ctest-TestRoutersBasic-85451084-81580898 is ready for SSH connections 2026-08-14 08:35:27,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:35:27,015 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.76.134.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-08-14 08:35:27,015 - DEBUG - ping -s 56 -c 3 -W 1 152.76.134.196 2026-08-14 08:35:30,032 - DEBUG - PING 152.76.134.196 (152.76.134.196): 56 data bytes 64 bytes from 152.76.134.196: seq=0 ttl=62 time=8.712 ms 64 bytes from 152.76.134.196: seq=1 ttl=62 time=1.057 ms 64 bytes from 152.76.134.196: seq=2 ttl=62 time=1.863 ms --- 152.76.134.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.057/3.877/8.712 ms 2026-08-14 08:35:30,032 - INFO - Ping to IP 152.76.134.196 from VM ctest-TestRoutersBasic-85451084-82705527 passed 2026-08-14 08:35:30,032 - INFO - Deleting interface with subnet_id 4c622814-9ba2-4df8-bf0a-79c4c289e215, port_id None from router 26ebfd6d-5a73-4882-b409-ef830ffd3834 2026-08-14 08:35:30,281 - INFO - Deleting VM ctest-TestRoutersBasic-85451084-81580898 2026-08-14 08:35:30,363 - INFO - Deleting VM ctest-TestRoutersBasic-85451084-82705527 2026-08-14 08:35:30,453 - INFO - Deleting VN ctest-ext_vn-09365325 2026-08-14 08:35:30,537 - DEBUG - VN df5e20c6-4031-4c8d-a6b0-7eae2081f2a3 still in use: Unable to complete operation on network df5e20c6-4031-4c8d-a6b0-7eae2081f2a3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dcfec9b0-c7d5-4b1d-811c-8053117de448'] 2026-08-14 08:35:30,538 - WARNING - Deleting VN ctest-ext_vn-09365325 failed..Will retry 2026-08-14 08:35:32,584 - DEBUG - VN df5e20c6-4031-4c8d-a6b0-7eae2081f2a3 still in use: Unable to complete operation on network df5e20c6-4031-4c8d-a6b0-7eae2081f2a3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1dcfa8c7-1822-43a5-a13d-79664ecabb8c'] 2026-08-14 08:35:32,585 - WARNING - Deleting VN ctest-ext_vn-09365325 failed..Will retry 2026-08-14 08:35:34,695 - DEBUG - Response for deleting network () 2026-08-14 08:35:34,695 - INFO - Deleting VN ctest-vn-59553213 2026-08-14 08:35:34,831 - DEBUG - Response for deleting network () 2026-08-14 08:35:35,116 - DEBUG - No XMPP flaps were noticed during the test 2026-08-14 08:35:35,116 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:01] 2026-08-14 08:35:35,116 - INFO - -------------------------------------------------------------------------------- 2026-08-14 08:35:35,955 - INFO - Deleted project: ctest-TestRoutersBasic-85451084, ID : 1f2a910c-10b3-4760-ac8d-5212670a51ae