2026-11-02 19:27:04,011 - INFO - Domain Default found not creating 2026-11-02 19:27:04,180 - INFO - Project ctest-TestRoutersBasic-88867759 not found, creating it 2026-11-02 19:27:04,669 - INFO - Created Project:ctest-TestRoutersBasic-88867759, ID : e7f2518e-8715-4a6e-b09d-f267dbce24ad 2026-11-02 19:27:06,367 - INFO - ================================================================================ 2026-11-02 19:27:06,367 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-02 19:27:06,367 - 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-11-02 19:27:06,630 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-11-02 19:27:06,630 - INFO - Initial checks done. Running the testcase now 2026-11-02 19:27:06,630 - INFO - 2026-11-02 19:27:07,525 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88867759 2026-11-02 19:27:07,619 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88867759 2026-11-02 19:27:07,947 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88867759', 'default']} 2026-11-02 19:27:08,249 - DEBUG - Response for create_network : {'network': {'id': '19f40322-e771-499b-9d63-1646997108e5', 'name': 'ctest-vn-71725804', 'tenant_id': 'e7f2518e87154a6eb09df267dbce24ad', 'project_id': 'e7f2518e87154a6eb09df267dbce24ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88867759', 'ctest-vn-71725804'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 19:27:08,471 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d5aa3ac-3ad3-4243-a5a1-218ce072c127', 'name': '', 'tenant_id': 'e7f2518e87154a6eb09df267dbce24ad', 'network_id': '19f40322-e771-499b-9d63-1646997108e5', 'ip_version': 4, 'cidr': '146.222.170.0/26', 'allocation_pools': [{'start': '146.222.170.2', 'end': '146.222.170.62'}], 'gateway_ip': '146.222.170.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.222.170.2', 'tags': [], 'project_id': 'e7f2518e87154a6eb09df267dbce24ad'}} 2026-11-02 19:27:08,489 - INFO - Created VN ctest-vn-71725804 2026-11-02 19:27:08,543 - DEBUG - VN ctest-vn-71725804 UUID is 19f40322-e771-499b-9d63-1646997108e5 2026-11-02 19:27:08,924 - DEBUG - Response for create_network : {'network': {'id': 'aba40900-67b7-4068-8b05-330141b3015a', 'name': 'ctest-ext_vn-15967268', 'tenant_id': 'e7f2518e87154a6eb09df267dbce24ad', 'project_id': 'e7f2518e87154a6eb09df267dbce24ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88867759', 'ctest-ext_vn-15967268'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 19:27:09,139 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ce17f10-0bbb-4561-af3a-da684b7be998', 'name': '', 'tenant_id': 'e7f2518e87154a6eb09df267dbce24ad', 'network_id': 'aba40900-67b7-4068-8b05-330141b3015a', 'ip_version': 4, 'cidr': '56.190.74.64/26', 'allocation_pools': [{'start': '56.190.74.66', 'end': '56.190.74.126'}], 'gateway_ip': '56.190.74.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.190.74.66', 'tags': [], 'project_id': 'e7f2518e87154a6eb09df267dbce24ad'}} 2026-11-02 19:27:09,156 - INFO - Created VN ctest-ext_vn-15967268 2026-11-02 19:27:09,207 - DEBUG - VN ctest-ext_vn-15967268 UUID is aba40900-67b7-4068-8b05-330141b3015a 2026-11-02 19:27:09,410 - DEBUG - Services list from nova: [, , ] 2026-11-02 19:27:09,836 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6470-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6470-1) 2026-11-02 19:27:10,208 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6470-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6470-1) 2026-11-02 19:27:10,289 - INFO - Setting gateway for router 8e88c0e5-5abb-4f7b-8249-9c2fe69ee1aa to network aba40900-67b7-4068-8b05-330141b3015a 2026-11-02 19:27:10,352 - INFO - Adding interface with subnet_id 1d5aa3ac-3ad3-4243-a5a1-218ce072c127, port_id None to router 8e88c0e5-5abb-4f7b-8249-9c2fe69ee1aa 2026-11-02 19:27:10,632 - INFO - Waiting for VM ctest-TestRoutersBasic-88867759-54889260 to be up.. 2026-11-02 19:27:10,695 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 19:27:15,844 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 19:27:20,927 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 19:27:26,014 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 19:27:31,093 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 19:27:36,187 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 19:27:41,265 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 19:27:46,355 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 19:27:51,438 - DEBUG - VM is in ACTIVE state now 2026-11-02 19:27:51,439 - INFO - VM name : ctest-TestRoutersBasic-88867759-54889260 2026-11-02 19:27:51,519 - DEBUG - VM ctest-TestRoutersBasic-88867759-54889260 ID is 48583839-0b4e-4c72-a641-57855c1cfbc1 2026-11-02 19:27:51,541 - DEBUG - VM ctest-TestRoutersBasic-88867759-54889260 launched on Node cn-jenkins-deploy-platform-ansible-os-6470-1 2026-11-02 19:27:51,709 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/48583839-0b4e-4c72-a641-57855c1cfbc1 2026-11-02 19:27:52,081 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/48583839-0b4e-4c72-a641-57855c1cfbc1 2026-11-02 19:27:52,110 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/001be20d-4d50-494e-ac7a-5d2dfb57f969 2026-11-02 19:27:55,388 - 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 1029ms') 2026-11-02 19:27:55,388 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-88867759-54889260 failed! 2026-11-02 19:27:55,443 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88867759:ctest-vn-71725804 is 146.222.170.1 and allocation pool is NOT set 2026-11-02 19:27:57,505 - 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.46 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.691 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.691/2.074/3.457/1.383 ms') 2026-11-02 19:27:57,506 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-88867759-54889260 passed 2026-11-02 19:27:57,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 19:27:57,659 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88867759-54889260, IP 146.222.170.3, Port 22 2026-11-02 19:27:57,815 - DEBUG - VM ctest-TestRoutersBasic-88867759-54889260 is ready for SSH connections 2026-11-02 19:27:57,815 - INFO - Waiting for VM ctest-TestRoutersBasic-88867759-60995963 to be up.. 2026-11-02 19:27:57,898 - DEBUG - VM is in ACTIVE state now 2026-11-02 19:27:57,898 - INFO - VM name : ctest-TestRoutersBasic-88867759-60995963 2026-11-02 19:27:57,965 - DEBUG - VM ctest-TestRoutersBasic-88867759-60995963 ID is f1a4a545-062b-4990-9da6-2d95aacdec61 2026-11-02 19:27:57,965 - DEBUG - VM ctest-TestRoutersBasic-88867759-60995963 launched on Node cn-jenkins-deploy-platform-ansible-os-6470-1 2026-11-02 19:27:58,030 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f1a4a545-062b-4990-9da6-2d95aacdec61 2026-11-02 19:27:58,040 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/25cd4c8a-59ba-425c-a311-e86d328f516d 2026-11-02 19:27:59,287 - 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=4.95 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=1.04 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 = 1.039/2.996/4.954/1.957 ms') 2026-11-02 19:27:59,287 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-88867759-60995963 passed 2026-11-02 19:27:59,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 19:27:59,448 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88867759-60995963, IP 56.190.74.68, Port 22 2026-11-02 19:27:59,617 - DEBUG - VM ctest-TestRoutersBasic-88867759-60995963 is ready for SSH connections 2026-11-02 19:27:59,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 19:27:59,618 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.190.74.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-11-02 19:27:59,618 - DEBUG - ping -s 56 -c 3 -W 1 56.190.74.68 2026-11-02 19:28:02,716 - DEBUG - PING 56.190.74.68 (56.190.74.68): 56 data bytes 64 bytes from 56.190.74.68: seq=0 ttl=62 time=8.054 ms 64 bytes from 56.190.74.68: seq=1 ttl=62 time=4.710 ms 64 bytes from 56.190.74.68: seq=2 ttl=62 time=0.984 ms --- 56.190.74.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.984/4.582/8.054 ms 2026-11-02 19:28:02,716 - INFO - Ping to IP 56.190.74.68 from VM ctest-TestRoutersBasic-88867759-54889260 passed 2026-11-02 19:28:02,716 - INFO - Deleting interface with subnet_id 1d5aa3ac-3ad3-4243-a5a1-218ce072c127, port_id None from router 8e88c0e5-5abb-4f7b-8249-9c2fe69ee1aa 2026-11-02 19:28:02,951 - INFO - Deleting VM ctest-TestRoutersBasic-88867759-60995963 2026-11-02 19:28:03,035 - INFO - Deleting VM ctest-TestRoutersBasic-88867759-54889260 2026-11-02 19:28:03,117 - INFO - Deleting VN ctest-ext_vn-15967268 2026-11-02 19:28:03,187 - DEBUG - VN aba40900-67b7-4068-8b05-330141b3015a still in use: Unable to complete operation on network aba40900-67b7-4068-8b05-330141b3015a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-087b627b-66d0-4aee-9ef2-c29c866da351'] 2026-11-02 19:28:03,188 - WARNING - Deleting VN ctest-ext_vn-15967268 failed..Will retry 2026-11-02 19:28:05,221 - DEBUG - VN aba40900-67b7-4068-8b05-330141b3015a still in use: Unable to complete operation on network aba40900-67b7-4068-8b05-330141b3015a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5166c6b5-27db-4ee0-8722-df5bc030665c'] 2026-11-02 19:28:05,221 - WARNING - Deleting VN ctest-ext_vn-15967268 failed..Will retry 2026-11-02 19:28:07,345 - DEBUG - Response for deleting network () 2026-11-02 19:28:07,345 - INFO - Deleting VN ctest-vn-71725804 2026-11-02 19:28:07,454 - DEBUG - Response for deleting network () 2026-11-02 19:28:07,729 - DEBUG - No XMPP flaps were noticed during the test
2026-11-02 19:28:07,729 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:01]
2026-11-02 19:28:07,729 - INFO - -------------------------------------------------------------------------------- 2026-11-02 19:28:08,535 - INFO - Deleted project: ctest-TestRoutersBasic-88867759, ID : e7f2518e-8715-4a6e-b09d-f267dbce24ad