2026-07-06 20:08:13,675 - INFO - Domain Default found not creating 2026-07-06 20:08:13,805 - INFO - Project ctest-TestRoutersBasic-02683715 not found, creating it 2026-07-06 20:08:14,544 - INFO - Created Project:ctest-TestRoutersBasic-02683715, ID : 24da56ba-f18b-4f4a-91e6-e8a2a8c0f79b 2026-07-06 20:08:16,033 - INFO - ================================================================================ 2026-07-06 20:08:16,033 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-07-06 20:08:16,033 - 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-06 20:08:16,292 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-07-06 20:08:16,293 - INFO - Initial checks done. Running the testcase now 2026-07-06 20:08:16,293 - INFO - 2026-07-06 20:08:17,017 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-02683715 2026-07-06 20:08:17,115 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-02683715 2026-07-06 20:08:17,435 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02683715', 'default']} 2026-07-06 20:08:17,698 - DEBUG - Response for create_network : {'network': {'id': '3161492d-684a-4181-86ea-ece8d1181ca4', 'name': 'ctest-vn-66485474', 'tenant_id': '24da56baf18b4f4a91e6e8a2a8c0f79b', 'project_id': '24da56baf18b4f4a91e6e8a2a8c0f79b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02683715', 'ctest-vn-66485474'], 'port_security_enabled': True, 'description': ''}} 2026-07-06 20:08:17,879 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e255c14-eb92-4638-be04-aaa161a7254f', 'name': '', 'tenant_id': '24da56baf18b4f4a91e6e8a2a8c0f79b', 'network_id': '3161492d-684a-4181-86ea-ece8d1181ca4', 'ip_version': 4, 'cidr': '159.108.161.64/26', 'allocation_pools': [{'start': '159.108.161.66', 'end': '159.108.161.126'}], 'gateway_ip': '159.108.161.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.108.161.66', 'tags': [], 'project_id': '24da56baf18b4f4a91e6e8a2a8c0f79b'}} 2026-07-06 20:08:17,895 - INFO - Created VN ctest-vn-66485474 2026-07-06 20:08:17,947 - DEBUG - VN ctest-vn-66485474 UUID is 3161492d-684a-4181-86ea-ece8d1181ca4 2026-07-06 20:08:18,269 - DEBUG - Response for create_network : {'network': {'id': '265da4aa-79aa-4b54-a4d7-d5a338c5f09c', 'name': 'ctest-ext_vn-44771124', 'tenant_id': '24da56baf18b4f4a91e6e8a2a8c0f79b', 'project_id': '24da56baf18b4f4a91e6e8a2a8c0f79b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02683715', 'ctest-ext_vn-44771124'], 'port_security_enabled': True, 'description': ''}} 2026-07-06 20:08:18,439 - DEBUG - Response for create_subnet : {'subnet': {'id': '2cfe8ce9-2686-4d28-98de-f9cb2b463b1a', 'name': '', 'tenant_id': '24da56baf18b4f4a91e6e8a2a8c0f79b', 'network_id': '265da4aa-79aa-4b54-a4d7-d5a338c5f09c', 'ip_version': 4, 'cidr': '24.181.248.192/26', 'allocation_pools': [{'start': '24.181.248.194', 'end': '24.181.248.254'}], 'gateway_ip': '24.181.248.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.181.248.194', 'tags': [], 'project_id': '24da56baf18b4f4a91e6e8a2a8c0f79b'}} 2026-07-06 20:08:18,451 - INFO - Created VN ctest-ext_vn-44771124 2026-07-06 20:08:18,499 - DEBUG - VN ctest-ext_vn-44771124 UUID is 265da4aa-79aa-4b54-a4d7-d5a338c5f09c 2026-07-06 20:08:18,682 - DEBUG - Services list from nova: [, , ] 2026-07-06 20:08:18,958 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6086-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6086-1) 2026-07-06 20:08:19,287 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6086-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6086-1) 2026-07-06 20:08:19,346 - INFO - Setting gateway for router ef494ce7-0e73-4892-a966-b030f1aeb65b to network 265da4aa-79aa-4b54-a4d7-d5a338c5f09c 2026-07-06 20:08:19,384 - INFO - Adding interface with subnet_id 2e255c14-eb92-4638-be04-aaa161a7254f, port_id None to router ef494ce7-0e73-4892-a966-b030f1aeb65b 2026-07-06 20:08:19,610 - INFO - Waiting for VM ctest-TestRoutersBasic-02683715-56738765 to be up.. 2026-07-06 20:08:19,669 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-06 20:08:24,736 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-06 20:08:29,814 - DEBUG - VM is in ACTIVE state now 2026-07-06 20:08:29,814 - INFO - VM name : ctest-TestRoutersBasic-02683715-56738765 2026-07-06 20:08:29,888 - DEBUG - VM ctest-TestRoutersBasic-02683715-56738765 ID is 4f483684-1d92-452e-861c-ed1532824baf 2026-07-06 20:08:29,905 - DEBUG - VM ctest-TestRoutersBasic-02683715-56738765 launched on Node cn-jenkins-deploy-platform-ansible-os-6086-1 2026-07-06 20:08:29,968 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4f483684-1d92-452e-861c-ed1532824baf 2026-07-06 20:08:30,285 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4f483684-1d92-452e-861c-ed1532824baf 2026-07-06 20:08:30,317 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/06a58218-e5b1-40b7-859e-78dfa3213dc4 2026-07-06 20:08:33,576 - 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 1028ms') 2026-07-06 20:08:33,576 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-02683715-56738765 failed! 2026-07-06 20:08:33,631 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-02683715:ctest-vn-66485474 is 159.108.161.65 and allocation pool is NOT set 2026-07-06 20:08:35,691 - 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.24 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.292 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.292/2.765/5.238/2.473 ms') 2026-07-06 20:08:35,691 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-02683715-56738765 passed 2026-07-06 20:08:35,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-06 20:08:35,839 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02683715-56738765, IP 159.108.161.67, Port 22 2026-07-06 20:08:35,991 - DEBUG - VM ctest-TestRoutersBasic-02683715-56738765 is ready for SSH connections 2026-07-06 20:08:35,991 - INFO - Waiting for VM ctest-TestRoutersBasic-02683715-42882378 to be up.. 2026-07-06 20:08:36,068 - DEBUG - VM is in ACTIVE state now 2026-07-06 20:08:36,068 - INFO - VM name : ctest-TestRoutersBasic-02683715-42882378 2026-07-06 20:08:36,141 - DEBUG - VM ctest-TestRoutersBasic-02683715-42882378 ID is d9056e5b-c4f5-4007-a64a-f8e63b3fee3c 2026-07-06 20:08:36,142 - DEBUG - VM ctest-TestRoutersBasic-02683715-42882378 launched on Node cn-jenkins-deploy-platform-ansible-os-6086-1 2026-07-06 20:08:36,213 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d9056e5b-c4f5-4007-a64a-f8e63b3fee3c 2026-07-06 20:08:36,222 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e4329f2f-2a38-44c5-b29e-f1cc036872ff 2026-07-06 20:08:37,465 - 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=10.1 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.292 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.292/5.219/10.147/4.927 ms') 2026-07-06 20:08:37,465 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-02683715-42882378 passed 2026-07-06 20:08:37,611 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-06 20:08:37,611 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02683715-42882378, IP 24.181.248.196, Port 22 2026-07-06 20:08:37,767 - DEBUG - VM ctest-TestRoutersBasic-02683715-42882378 is ready for SSH connections 2026-07-06 20:08:37,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-06 20:08:37,767 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.181.248.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-06 20:08:37,767 - DEBUG - ping -s 56 -c 3 -W 1 24.181.248.196 2026-07-06 20:08:40,321 - DEBUG - PING 24.181.248.196 (24.181.248.196): 56 data bytes 64 bytes from 24.181.248.196: seq=0 ttl=62 time=6.189 ms 64 bytes from 24.181.248.196: seq=1 ttl=62 time=0.765 ms 64 bytes from 24.181.248.196: seq=2 ttl=62 time=0.812 ms --- 24.181.248.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.765/2.588/6.189 ms 2026-07-06 20:08:40,321 - INFO - Ping to IP 24.181.248.196 from VM ctest-TestRoutersBasic-02683715-56738765 passed 2026-07-06 20:08:40,321 - INFO - Deleting interface with subnet_id 2e255c14-eb92-4638-be04-aaa161a7254f, port_id None from router ef494ce7-0e73-4892-a966-b030f1aeb65b 2026-07-06 20:08:40,496 - INFO - Deleting VM ctest-TestRoutersBasic-02683715-42882378 2026-07-06 20:08:40,574 - INFO - Deleting VM ctest-TestRoutersBasic-02683715-56738765 2026-07-06 20:08:40,648 - INFO - Deleting VN ctest-ext_vn-44771124 2026-07-06 20:08:40,699 - DEBUG - VN 265da4aa-79aa-4b54-a4d7-d5a338c5f09c still in use: Unable to complete operation on network 265da4aa-79aa-4b54-a4d7-d5a338c5f09c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b64ca01a-271c-4118-94d0-9fc0a07766b8'] 2026-07-06 20:08:40,699 - WARNING - Deleting VN ctest-ext_vn-44771124 failed..Will retry 2026-07-06 20:08:42,797 - DEBUG - Response for deleting network () 2026-07-06 20:08:42,797 - INFO - Deleting VN ctest-vn-66485474 2026-07-06 20:08:42,888 - DEBUG - Response for deleting network () 2026-07-06 20:08:43,149 - DEBUG - No XMPP flaps were noticed during the test
2026-07-06 20:08:43,149 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2026-07-06 20:08:43,149 - INFO - -------------------------------------------------------------------------------- 2026-07-06 20:08:43,833 - INFO - Deleted project: ctest-TestRoutersBasic-02683715, ID : 24da56ba-f18b-4f4a-91e6-e8a2a8c0f79b