2026-07-18 03:04:46,821 - INFO - Domain Default found not creating 2026-07-18 03:04:46,955 - INFO - Project ctest-TestRoutersBasic-19789764 not found, creating it 2026-07-18 03:04:47,411 - INFO - Created Project:ctest-TestRoutersBasic-19789764, ID : c012fa5b-ef90-4b1c-9bd0-df55e6bf73ff 2026-07-18 03:04:48,888 - INFO - ================================================================================ 2026-07-18 03:04:48,889 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-07-18 03:04:48,889 - 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-18 03:04:49,151 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-07-18 03:04:49,151 - INFO - Initial checks done. Running the testcase now 2026-07-18 03:04:49,151 - INFO - 2026-07-18 03:04:50,016 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-19789764 2026-07-18 03:04:50,112 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-19789764 2026-07-18 03:04:50,440 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19789764', 'default']} 2026-07-18 03:04:50,744 - DEBUG - Response for create_network : {'network': {'id': 'f667fa41-dbda-4c30-a66b-32d1254c391e', 'name': 'ctest-vn-42262443', 'tenant_id': 'c012fa5bef904b1c9bd0df55e6bf73ff', 'project_id': 'c012fa5bef904b1c9bd0df55e6bf73ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19789764', 'ctest-vn-42262443'], 'port_security_enabled': True, 'description': ''}} 2026-07-18 03:04:50,964 - DEBUG - Response for create_subnet : {'subnet': {'id': '1dc0c8bb-fb0c-489b-b8a5-7bedf77caa46', 'name': '', 'tenant_id': 'c012fa5bef904b1c9bd0df55e6bf73ff', 'network_id': 'f667fa41-dbda-4c30-a66b-32d1254c391e', 'ip_version': 4, 'cidr': '87.144.117.128/26', 'allocation_pools': [{'start': '87.144.117.130', 'end': '87.144.117.190'}], 'gateway_ip': '87.144.117.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.144.117.130', 'tags': [], 'project_id': 'c012fa5bef904b1c9bd0df55e6bf73ff'}} 2026-07-18 03:04:50,979 - INFO - Created VN ctest-vn-42262443 2026-07-18 03:04:51,033 - DEBUG - VN ctest-vn-42262443 UUID is f667fa41-dbda-4c30-a66b-32d1254c391e 2026-07-18 03:04:51,396 - DEBUG - Response for create_network : {'network': {'id': '3459a3b3-59ce-487e-8ce2-2b23b0b43ab9', 'name': 'ctest-ext_vn-68574732', 'tenant_id': 'c012fa5bef904b1c9bd0df55e6bf73ff', 'project_id': 'c012fa5bef904b1c9bd0df55e6bf73ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19789764', 'ctest-ext_vn-68574732'], 'port_security_enabled': True, 'description': ''}} 2026-07-18 03:04:51,555 - DEBUG - Response for create_subnet : {'subnet': {'id': '13619f8e-af76-41bd-a604-c8f51ee96c18', 'name': '', 'tenant_id': 'c012fa5bef904b1c9bd0df55e6bf73ff', 'network_id': '3459a3b3-59ce-487e-8ce2-2b23b0b43ab9', 'ip_version': 4, 'cidr': '83.64.110.128/26', 'allocation_pools': [{'start': '83.64.110.130', 'end': '83.64.110.190'}], 'gateway_ip': '83.64.110.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.64.110.130', 'tags': [], 'project_id': 'c012fa5bef904b1c9bd0df55e6bf73ff'}} 2026-07-18 03:04:51,572 - INFO - Created VN ctest-ext_vn-68574732 2026-07-18 03:04:51,624 - DEBUG - VN ctest-ext_vn-68574732 UUID is 3459a3b3-59ce-487e-8ce2-2b23b0b43ab9 2026-07-18 03:04:51,816 - DEBUG - Services list from nova: [, , ] 2026-07-18 03:04:52,120 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6102-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6102-1) 2026-07-18 03:04:52,479 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6102-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6102-1) 2026-07-18 03:04:52,547 - INFO - Setting gateway for router c3c712c3-c8c1-4cc6-8c01-4fbe741f33ea to network 3459a3b3-59ce-487e-8ce2-2b23b0b43ab9 2026-07-18 03:04:52,604 - INFO - Adding interface with subnet_id 1dc0c8bb-fb0c-489b-b8a5-7bedf77caa46, port_id None to router c3c712c3-c8c1-4cc6-8c01-4fbe741f33ea 2026-07-18 03:04:52,872 - INFO - Waiting for VM ctest-TestRoutersBasic-19789764-67294045 to be up.. 2026-07-18 03:04:52,940 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 03:04:58,018 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 03:05:03,099 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 03:05:08,179 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 03:05:13,253 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 03:05:18,332 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 03:05:23,453 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 03:05:28,528 - DEBUG - VM is in ACTIVE state now 2026-07-18 03:05:28,528 - INFO - VM name : ctest-TestRoutersBasic-19789764-67294045 2026-07-18 03:05:28,601 - DEBUG - VM ctest-TestRoutersBasic-19789764-67294045 ID is 02fbec9e-b0eb-4b4f-ac48-031abe65ded6 2026-07-18 03:05:28,619 - DEBUG - VM ctest-TestRoutersBasic-19789764-67294045 launched on Node cn-jenkins-deploy-platform-ansible-os-6102-1 2026-07-18 03:05:28,689 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/02fbec9e-b0eb-4b4f-ac48-031abe65ded6 2026-07-18 03:05:29,019 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/02fbec9e-b0eb-4b4f-ac48-031abe65ded6 2026-07-18 03:05:29,050 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d587dc78-2e58-498d-a44a-ec78ee8e4620 2026-07-18 03:05:32,293 - 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 1004ms') 2026-07-18 03:05:32,293 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-19789764-67294045 failed! 2026-07-18 03:05:32,348 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-19789764:ctest-vn-42262443 is 87.144.117.129 and allocation pool is NOT set 2026-07-18 03:05:34,410 - 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=3.80 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.476 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.476/2.135/3.795/1.659 ms') 2026-07-18 03:05:34,410 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-19789764-67294045 passed 2026-07-18 03:05:34,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 03:05:34,569 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19789764-67294045, IP 87.144.117.131, Port 22 2026-07-18 03:05:34,728 - DEBUG - VM ctest-TestRoutersBasic-19789764-67294045 is ready for SSH connections 2026-07-18 03:05:34,728 - INFO - Waiting for VM ctest-TestRoutersBasic-19789764-82206877 to be up.. 2026-07-18 03:05:34,806 - DEBUG - VM is in ACTIVE state now 2026-07-18 03:05:34,806 - INFO - VM name : ctest-TestRoutersBasic-19789764-82206877 2026-07-18 03:05:34,877 - DEBUG - VM ctest-TestRoutersBasic-19789764-82206877 ID is 998df69c-debf-4143-9af0-d2d0ae54801b 2026-07-18 03:05:34,877 - DEBUG - VM ctest-TestRoutersBasic-19789764-82206877 launched on Node cn-jenkins-deploy-platform-ansible-os-6102-1 2026-07-18 03:05:34,945 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/998df69c-debf-4143-9af0-d2d0ae54801b 2026-07-18 03:05:34,954 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/297aaf1b-4f92-4696-ba00-b68a95b4daf1 2026-07-18 03:05:38,210 - 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 1011ms') 2026-07-18 03:05:38,211 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-19789764-82206877 failed! 2026-07-18 03:05:38,268 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-19789764:ctest-ext_vn-68574732 is 83.64.110.129 and allocation pool is NOT set 2026-07-18 03:05:40,329 - 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.29 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.529 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.529/1.908/3.288/1.379 ms') 2026-07-18 03:05:40,330 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-19789764-82206877 passed 2026-07-18 03:05:40,480 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 03:05:40,481 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19789764-82206877, IP 83.64.110.132, Port 22 2026-07-18 03:05:40,640 - DEBUG - VM ctest-TestRoutersBasic-19789764-82206877 is ready for SSH connections 2026-07-18 03:05:40,640 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 03:05:40,640 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.64.110.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-18 03:05:40,640 - DEBUG - ping -s 56 -c 3 -W 1 83.64.110.132 2026-07-18 03:05:43,632 - DEBUG - PING 83.64.110.132 (83.64.110.132): 56 data bytes 64 bytes from 83.64.110.132: seq=0 ttl=62 time=8.682 ms 64 bytes from 83.64.110.132: seq=1 ttl=62 time=1.013 ms 64 bytes from 83.64.110.132: seq=2 ttl=62 time=1.502 ms --- 83.64.110.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.013/3.732/8.682 ms 2026-07-18 03:05:43,632 - INFO - Ping to IP 83.64.110.132 from VM ctest-TestRoutersBasic-19789764-67294045 passed 2026-07-18 03:05:43,632 - INFO - Deleting interface with subnet_id 1dc0c8bb-fb0c-489b-b8a5-7bedf77caa46, port_id None from router c3c712c3-c8c1-4cc6-8c01-4fbe741f33ea 2026-07-18 03:05:43,821 - INFO - Deleting VM ctest-TestRoutersBasic-19789764-82206877 2026-07-18 03:05:43,889 - INFO - Deleting VM ctest-TestRoutersBasic-19789764-67294045 2026-07-18 03:05:43,957 - INFO - Deleting VN ctest-ext_vn-68574732 2026-07-18 03:05:44,011 - DEBUG - VN 3459a3b3-59ce-487e-8ce2-2b23b0b43ab9 still in use: Unable to complete operation on network 3459a3b3-59ce-487e-8ce2-2b23b0b43ab9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6c485497-60b3-436c-b19a-233af6cbb354'] 2026-07-18 03:05:44,012 - WARNING - Deleting VN ctest-ext_vn-68574732 failed..Will retry 2026-07-18 03:05:46,055 - DEBUG - VN 3459a3b3-59ce-487e-8ce2-2b23b0b43ab9 still in use: Unable to complete operation on network 3459a3b3-59ce-487e-8ce2-2b23b0b43ab9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2cdceab9-aa21-4e1e-8b57-31f84470b5c5'] 2026-07-18 03:05:46,055 - WARNING - Deleting VN ctest-ext_vn-68574732 failed..Will retry 2026-07-18 03:05:48,165 - DEBUG - Response for deleting network () 2026-07-18 03:05:48,165 - INFO - Deleting VN ctest-vn-42262443 2026-07-18 03:05:48,288 - DEBUG - Response for deleting network () 2026-07-18 03:05:48,546 - DEBUG - No XMPP flaps were noticed during the test
2026-07-18 03:05:48,547 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:00]
2026-07-18 03:05:48,547 - INFO - -------------------------------------------------------------------------------- 2026-07-18 03:05:49,315 - INFO - Deleted project: ctest-TestRoutersBasic-19789764, ID : c012fa5b-ef90-4b1c-9bd0-df55e6bf73ff