2026-01-15 02:13:26,424 - INFO - Domain Default found not creating 2026-01-15 02:13:26,577 - INFO - Project ctest-TestRoutersBasic-26752256 not found, creating it 2026-01-15 02:13:27,031 - INFO - Created Project:ctest-TestRoutersBasic-26752256, ID : f36348db-de1c-4387-a8db-6863dfc9f294 2026-01-15 02:13:28,457 - INFO - ================================================================================ 2026-01-15 02:13:28,457 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-15 02:13:28,457 - 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-01-15 02:13:28,715 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.253': '0'}} with 2026-01-15 02:13:28,715 - INFO - Initial checks done. Running the testcase now 2026-01-15 02:13:28,715 - INFO - 2026-01-15 02:13:29,409 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-26752256 2026-01-15 02:13:29,502 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-26752256 2026-01-15 02:13:29,821 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26752256', 'default']} 2026-01-15 02:13:30,094 - DEBUG - Response for create_network : {'network': {'id': '10ceccac-9415-4cff-9bff-0fee6c2e4f23', 'name': 'ctest-vn-04121191', 'tenant_id': 'f36348dbde1c4387a8db6863dfc9f294', 'project_id': 'f36348dbde1c4387a8db6863dfc9f294', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26752256', 'ctest-vn-04121191'], 'port_security_enabled': True, 'description': ''}} 2026-01-15 02:13:30,241 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b939e81-c6b4-4c98-9374-17c78b7d6cf8', 'name': '', 'tenant_id': 'f36348dbde1c4387a8db6863dfc9f294', 'network_id': '10ceccac-9415-4cff-9bff-0fee6c2e4f23', 'ip_version': 4, 'cidr': '11.16.232.64/26', 'allocation_pools': [{'start': '11.16.232.66', 'end': '11.16.232.126'}], 'gateway_ip': '11.16.232.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.16.232.66', 'tags': [], 'project_id': 'f36348dbde1c4387a8db6863dfc9f294'}} 2026-01-15 02:13:30,261 - INFO - Created VN ctest-vn-04121191 2026-01-15 02:13:30,310 - DEBUG - VN ctest-vn-04121191 UUID is 10ceccac-9415-4cff-9bff-0fee6c2e4f23 2026-01-15 02:13:30,631 - DEBUG - Response for create_network : {'network': {'id': 'f95053c9-3fcf-4c59-803c-fc9e0345110e', 'name': 'ctest-ext_vn-02356630', 'tenant_id': 'f36348dbde1c4387a8db6863dfc9f294', 'project_id': 'f36348dbde1c4387a8db6863dfc9f294', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26752256', 'ctest-ext_vn-02356630'], 'port_security_enabled': True, 'description': ''}} 2026-01-15 02:13:30,783 - DEBUG - Response for create_subnet : {'subnet': {'id': '5491137a-88ca-4cd4-bdde-3c0607612c4c', 'name': '', 'tenant_id': 'f36348dbde1c4387a8db6863dfc9f294', 'network_id': 'f95053c9-3fcf-4c59-803c-fc9e0345110e', 'ip_version': 4, 'cidr': '171.140.60.192/26', 'allocation_pools': [{'start': '171.140.60.194', 'end': '171.140.60.254'}], 'gateway_ip': '171.140.60.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.140.60.194', 'tags': [], 'project_id': 'f36348dbde1c4387a8db6863dfc9f294'}} 2026-01-15 02:13:30,800 - INFO - Created VN ctest-ext_vn-02356630 2026-01-15 02:13:30,854 - DEBUG - VN ctest-ext_vn-02356630 UUID is f95053c9-3fcf-4c59-803c-fc9e0345110e 2026-01-15 02:13:31,048 - DEBUG - Services list from nova: [, , ] 2026-01-15 02:13:32,028 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5013-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5013-1) 2026-01-15 02:13:33,090 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5013-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5013-1) 2026-01-15 02:13:33,174 - INFO - Setting gateway for router 55f47a28-378e-4e7c-9f4c-a3a59b70c9d1 to network f95053c9-3fcf-4c59-803c-fc9e0345110e 2026-01-15 02:13:33,239 - INFO - Adding interface with subnet_id 2b939e81-c6b4-4c98-9374-17c78b7d6cf8, port_id None to router 55f47a28-378e-4e7c-9f4c-a3a59b70c9d1 2026-01-15 02:13:33,592 - INFO - Waiting for VM ctest-TestRoutersBasic-26752256-49834940 to be up.. 2026-01-15 02:13:33,765 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-15 02:13:38,836 - DEBUG - VM is in ACTIVE state now 2026-01-15 02:13:38,836 - INFO - VM name : ctest-TestRoutersBasic-26752256-49834940 2026-01-15 02:13:38,907 - DEBUG - VM ctest-TestRoutersBasic-26752256-49834940 ID is 8c2e43b0-7a1a-4009-868d-7e673d1ba278 2026-01-15 02:13:38,929 - DEBUG - VM ctest-TestRoutersBasic-26752256-49834940 launched on Node cn-jenkins-deploy-platform-ansible-os-5013-1 2026-01-15 02:13:39,014 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/8c2e43b0-7a1a-4009-868d-7e673d1ba278 2026-01-15 02:13:39,312 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/8c2e43b0-7a1a-4009-868d-7e673d1ba278 2026-01-15 02:13:39,348 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/834ace91-5445-4bad-85d0-a35bd168e0c2 2026-01-15 02:13:42,610 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2026-01-15 02:13:42,610 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26752256-49834940 failed! 2026-01-15 02:13:42,662 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-26752256:ctest-vn-04121191 is 11.16.232.65 and allocation pool is NOT set 2026-01-15 02:13:44,723 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.404 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.404/1.695/2.986/1.291 ms') 2026-01-15 02:13:44,723 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26752256-49834940 passed 2026-01-15 02:13:44,870 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 02:13:44,870 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26752256-49834940, IP 11.16.232.67, Port 22 2026-01-15 02:13:45,026 - DEBUG - VM ctest-TestRoutersBasic-26752256-49834940 is ready for SSH connections 2026-01-15 02:13:45,026 - INFO - Waiting for VM ctest-TestRoutersBasic-26752256-10633137 to be up.. 2026-01-15 02:13:45,100 - DEBUG - VM is in ACTIVE state now 2026-01-15 02:13:45,100 - INFO - VM name : ctest-TestRoutersBasic-26752256-10633137 2026-01-15 02:13:45,169 - DEBUG - VM ctest-TestRoutersBasic-26752256-10633137 ID is a9f95afe-889b-4610-b50d-ea77a4e6b073 2026-01-15 02:13:45,169 - DEBUG - VM ctest-TestRoutersBasic-26752256-10633137 launched on Node cn-jenkins-deploy-platform-ansible-os-5013-1 2026-01-15 02:13:45,234 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/a9f95afe-889b-4610-b50d-ea77a4e6b073 2026-01-15 02:13:45,240 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/ce24d10a-d411-4a35-aac9-c9c5c4c4de33 2026-01-15 02:13:46,470 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.454 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.454/1.550/2.647/1.096 ms') 2026-01-15 02:13:46,470 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-26752256-10633137 passed 2026-01-15 02:13:46,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 02:13:46,622 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26752256-10633137, IP 171.140.60.195, Port 22 2026-01-15 02:13:46,785 - DEBUG - VM ctest-TestRoutersBasic-26752256-10633137 is ready for SSH connections 2026-01-15 02:13:46,786 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 02:13:46,786 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.140.60.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-01-15 02:13:46,786 - DEBUG - ping -s 56 -c 3 -W 1 171.140.60.195 2026-01-15 02:13:50,858 - DEBUG - PING 171.140.60.195 (171.140.60.195): 56 data bytes 64 bytes from 171.140.60.195: seq=0 ttl=62 time=6.189 ms 64 bytes from 171.140.60.195: seq=1 ttl=62 time=1.051 ms 64 bytes from 171.140.60.195: seq=2 ttl=62 time=1.041 ms --- 171.140.60.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.041/2.760/6.189 ms 2026-01-15 02:13:50,858 - INFO - Ping to IP 171.140.60.195 from VM ctest-TestRoutersBasic-26752256-49834940 passed 2026-01-15 02:13:50,858 - INFO - Deleting interface with subnet_id 2b939e81-c6b4-4c98-9374-17c78b7d6cf8, port_id None from router 55f47a28-378e-4e7c-9f4c-a3a59b70c9d1 2026-01-15 02:13:51,018 - INFO - Deleting VM ctest-TestRoutersBasic-26752256-10633137 2026-01-15 02:13:51,090 - INFO - Deleting VM ctest-TestRoutersBasic-26752256-49834940 2026-01-15 02:13:51,157 - INFO - Deleting VN ctest-ext_vn-02356630 2026-01-15 02:13:51,215 - DEBUG - VN f95053c9-3fcf-4c59-803c-fc9e0345110e still in use: Unable to complete operation on network f95053c9-3fcf-4c59-803c-fc9e0345110e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-37a8873b-4b30-4383-a4e3-78ad3016649b'] 2026-01-15 02:13:51,215 - WARNING - Deleting VN ctest-ext_vn-02356630 failed..Will retry 2026-01-15 02:13:53,306 - DEBUG - Response for deleting network () 2026-01-15 02:13:53,306 - INFO - Deleting VN ctest-vn-04121191 2026-01-15 02:13:53,401 - DEBUG - Response for deleting network () 2026-01-15 02:13:53,654 - DEBUG - No XMPP flaps were noticed during the test
2026-01-15 02:13:53,654 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-01-15 02:13:53,654 - INFO - -------------------------------------------------------------------------------- 2026-01-15 02:13:54,304 - INFO - Deleted project: ctest-TestRoutersBasic-26752256, ID : f36348db-de1c-4387-a8db-6863dfc9f294