2026-07-18 05:50:06,084 - INFO - Domain Default found not creating 2026-07-18 05:50:06,258 - INFO - Project ctest-TestRoutersBasic-89704919 not found, creating it 2026-07-18 05:50:06,752 - INFO - Created Project:ctest-TestRoutersBasic-89704919, ID : 9c49e34f-9b26-49dd-8dce-a24a93eedb0f 2026-07-18 05:50:08,519 - INFO - ================================================================================ 2026-07-18 05:50:08,519 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-07-18 05:50:08,519 - 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 05:50:08,791 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-07-18 05:50:08,791 - INFO - Initial checks done. Running the testcase now 2026-07-18 05:50:08,792 - INFO - 2026-07-18 05:50:09,704 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-89704919 2026-07-18 05:50:09,802 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-89704919 2026-07-18 05:50:10,133 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89704919', 'default']} 2026-07-18 05:50:10,478 - DEBUG - Response for create_network : {'network': {'id': 'e6570a82-2c5b-4f7c-ad4d-bc4ba46dae29', 'name': 'ctest-vn-82685445', 'tenant_id': '9c49e34f9b2649dd8dcea24a93eedb0f', 'project_id': '9c49e34f9b2649dd8dcea24a93eedb0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89704919', 'ctest-vn-82685445'], 'port_security_enabled': True, 'description': ''}} 2026-07-18 05:50:10,775 - DEBUG - Response for create_subnet : {'subnet': {'id': '384ab91e-e9cd-429b-a007-fec69ca32b28', 'name': '', 'tenant_id': '9c49e34f9b2649dd8dcea24a93eedb0f', 'network_id': 'e6570a82-2c5b-4f7c-ad4d-bc4ba46dae29', 'ip_version': 4, 'cidr': '101.122.71.64/26', 'allocation_pools': [{'start': '101.122.71.66', 'end': '101.122.71.126'}], 'gateway_ip': '101.122.71.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.122.71.66', 'tags': [], 'project_id': '9c49e34f9b2649dd8dcea24a93eedb0f'}} 2026-07-18 05:50:10,800 - INFO - Created VN ctest-vn-82685445 2026-07-18 05:50:10,865 - DEBUG - VN ctest-vn-82685445 UUID is e6570a82-2c5b-4f7c-ad4d-bc4ba46dae29 2026-07-18 05:50:11,306 - DEBUG - Response for create_network : {'network': {'id': '460ffb54-8971-417e-b98f-c6084c9c320f', 'name': 'ctest-ext_vn-25971201', 'tenant_id': '9c49e34f9b2649dd8dcea24a93eedb0f', 'project_id': '9c49e34f9b2649dd8dcea24a93eedb0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89704919', 'ctest-ext_vn-25971201'], 'port_security_enabled': True, 'description': ''}} 2026-07-18 05:50:11,597 - DEBUG - Response for create_subnet : {'subnet': {'id': '4bb0f2f2-cfce-40a0-bdc8-28a1901a3ead', 'name': '', 'tenant_id': '9c49e34f9b2649dd8dcea24a93eedb0f', 'network_id': '460ffb54-8971-417e-b98f-c6084c9c320f', 'ip_version': 4, 'cidr': '168.35.239.64/26', 'allocation_pools': [{'start': '168.35.239.66', 'end': '168.35.239.126'}], 'gateway_ip': '168.35.239.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.35.239.66', 'tags': [], 'project_id': '9c49e34f9b2649dd8dcea24a93eedb0f'}} 2026-07-18 05:50:11,621 - INFO - Created VN ctest-ext_vn-25971201 2026-07-18 05:50:11,677 - DEBUG - VN ctest-ext_vn-25971201 UUID is 460ffb54-8971-417e-b98f-c6084c9c320f 2026-07-18 05:50:11,896 - DEBUG - Services list from nova: [, , ] 2026-07-18 05:50:12,372 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6103-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6103-1) 2026-07-18 05:50:12,846 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6103-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6103-1) 2026-07-18 05:50:12,949 - INFO - Setting gateway for router 253a28bb-8799-40a5-a42e-a404a3584000 to network 460ffb54-8971-417e-b98f-c6084c9c320f 2026-07-18 05:50:13,047 - INFO - Adding interface with subnet_id 384ab91e-e9cd-429b-a007-fec69ca32b28, port_id None to router 253a28bb-8799-40a5-a42e-a404a3584000 2026-07-18 05:50:13,592 - INFO - Waiting for VM ctest-TestRoutersBasic-89704919-92460130 to be up.. 2026-07-18 05:50:13,692 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 05:50:18,748 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 05:50:23,830 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 05:50:28,972 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 05:50:34,053 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 05:50:39,132 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 05:50:44,220 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 05:50:49,315 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 05:50:54,400 - DEBUG - VM is in ACTIVE state now 2026-07-18 05:50:54,400 - INFO - VM name : ctest-TestRoutersBasic-89704919-92460130 2026-07-18 05:50:54,499 - DEBUG - VM ctest-TestRoutersBasic-89704919-92460130 ID is 69080ce9-87d0-4a6f-a0b7-a429c13935ad 2026-07-18 05:50:54,521 - DEBUG - VM ctest-TestRoutersBasic-89704919-92460130 launched on Node cn-jenkins-deploy-platform-ansible-os-6103-1 2026-07-18 05:50:54,606 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/69080ce9-87d0-4a6f-a0b7-a429c13935ad 2026-07-18 05:50:55,021 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/69080ce9-87d0-4a6f-a0b7-a429c13935ad 2026-07-18 05:50:55,061 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7195aa10-ccf7-4001-8459-51033b9706f4 2026-07-18 05:50:58,361 - 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 1026ms') 2026-07-18 05:50:58,362 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-89704919-92460130 failed! 2026-07-18 05:50:58,417 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-89704919:ctest-vn-82685445 is 101.122.71.65 and allocation pool is NOT set 2026-07-18 05:51:00,487 - 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=5.80 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.580 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.580/3.191/5.802/2.611 ms') 2026-07-18 05:51:00,487 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-89704919-92460130 passed 2026-07-18 05:51:00,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 05:51:00,638 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89704919-92460130, IP 101.122.71.67, Port 22 2026-07-18 05:51:00,807 - DEBUG - VM ctest-TestRoutersBasic-89704919-92460130 is ready for SSH connections 2026-07-18 05:51:00,808 - INFO - Waiting for VM ctest-TestRoutersBasic-89704919-91423674 to be up.. 2026-07-18 05:51:00,889 - DEBUG - VM is in ACTIVE state now 2026-07-18 05:51:00,889 - INFO - VM name : ctest-TestRoutersBasic-89704919-91423674 2026-07-18 05:51:00,974 - DEBUG - VM ctest-TestRoutersBasic-89704919-91423674 ID is 7f4a0d9c-d197-4fc9-8eed-2ffe75952fdc 2026-07-18 05:51:00,974 - DEBUG - VM ctest-TestRoutersBasic-89704919-91423674 launched on Node cn-jenkins-deploy-platform-ansible-os-6103-1 2026-07-18 05:51:01,055 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7f4a0d9c-d197-4fc9-8eed-2ffe75952fdc 2026-07-18 05:51:01,065 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4cff4005-0f77-4ef1-bef9-05c0a9c78b4a 2026-07-18 05:51:04,315 - 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=9.33 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1003ms\r\nrtt min/avg/max/mdev = 9.329/9.329/9.329/0.000 ms') 2026-07-18 05:51:04,316 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-89704919-91423674 passed 2026-07-18 05:51:04,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 05:51:04,469 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89704919-91423674, IP 168.35.239.68, Port 22 2026-07-18 05:51:04,635 - DEBUG - VM ctest-TestRoutersBasic-89704919-91423674 is ready for SSH connections 2026-07-18 05:51:04,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 05:51:04,635 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.35.239.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-18 05:51:04,635 - DEBUG - ping -s 56 -c 3 -W 1 168.35.239.68 2026-07-18 05:51:07,663 - DEBUG - PING 168.35.239.68 (168.35.239.68): 56 data bytes 64 bytes from 168.35.239.68: seq=0 ttl=62 time=6.750 ms 64 bytes from 168.35.239.68: seq=1 ttl=62 time=1.133 ms 64 bytes from 168.35.239.68: seq=2 ttl=62 time=1.124 ms --- 168.35.239.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.124/3.002/6.750 ms 2026-07-18 05:51:07,663 - INFO - Ping to IP 168.35.239.68 from VM ctest-TestRoutersBasic-89704919-92460130 passed 2026-07-18 05:51:07,664 - INFO - Deleting interface with subnet_id 384ab91e-e9cd-429b-a007-fec69ca32b28, port_id None from router 253a28bb-8799-40a5-a42e-a404a3584000 2026-07-18 05:51:07,879 - INFO - Deleting VM ctest-TestRoutersBasic-89704919-91423674 2026-07-18 05:51:07,959 - INFO - Deleting VM ctest-TestRoutersBasic-89704919-92460130 2026-07-18 05:51:08,063 - INFO - Deleting VN ctest-ext_vn-25971201 2026-07-18 05:51:08,166 - DEBUG - VN 460ffb54-8971-417e-b98f-c6084c9c320f still in use: Unable to complete operation on network 460ffb54-8971-417e-b98f-c6084c9c320f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-462a8f08-5786-4aa1-bd4d-06e43aa9f6ea'] 2026-07-18 05:51:08,166 - WARNING - Deleting VN ctest-ext_vn-25971201 failed..Will retry 2026-07-18 05:51:10,331 - DEBUG - Response for deleting network () 2026-07-18 05:51:10,331 - INFO - Deleting VN ctest-vn-82685445 2026-07-18 05:51:10,461 - DEBUG - Response for deleting network () 2026-07-18 05:51:10,735 - DEBUG - No XMPP flaps were noticed during the test
2026-07-18 05:51:10,735 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:02]
2026-07-18 05:51:10,735 - INFO - -------------------------------------------------------------------------------- 2026-07-18 05:51:11,570 - INFO - Deleted project: ctest-TestRoutersBasic-89704919, ID : 9c49e34f-9b26-49dd-8dce-a24a93eedb0f