2026-03-19 12:16:13,069 - INFO - Domain Default found not creating 2026-03-19 12:16:13,219 - INFO - Project ctest-TestRoutersBasic-77093943 not found, creating it 2026-03-19 12:16:13,656 - INFO - Created Project:ctest-TestRoutersBasic-77093943, ID : 576f207e-d04b-466e-bb63-d78a2a450751 2026-03-19 12:16:15,095 - INFO - ================================================================================ 2026-03-19 12:16:15,095 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-19 12:16:15,095 - 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-03-19 12:16:15,350 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2026-03-19 12:16:15,350 - INFO - Initial checks done. Running the testcase now 2026-03-19 12:16:15,350 - INFO - 2026-03-19 12:16:16,085 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-77093943 2026-03-19 12:16:16,179 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-77093943 2026-03-19 12:16:16,495 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77093943', 'default']} 2026-03-19 12:16:16,786 - DEBUG - Response for create_network : {'network': {'id': '3571b0e6-2d52-4263-b5f8-a81c18e5d598', 'name': 'ctest-vn-05939466', 'tenant_id': '576f207ed04b466ebb63d78a2a450751', 'project_id': '576f207ed04b466ebb63d78a2a450751', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77093943', 'ctest-vn-05939466'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 12:16:16,952 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eca5eeff-a1e4-4614-88c2-5d188c13e810', 'name': '', 'tenant_id': '576f207ed04b466ebb63d78a2a450751', 'network_id': '3571b0e6-2d52-4263-b5f8-a81c18e5d598', 'ip_version': 4, 'cidr': '46.130.239.128/26', 'allocation_pools': [{'start': '46.130.239.130', 'end': '46.130.239.190'}], 'gateway_ip': '46.130.239.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.130.239.130', 'tags': [], 'project_id': '576f207ed04b466ebb63d78a2a450751'}} 2026-03-19 12:16:16,972 - INFO - Created VN ctest-vn-05939466 2026-03-19 12:16:17,027 - DEBUG - VN ctest-vn-05939466 UUID is 3571b0e6-2d52-4263-b5f8-a81c18e5d598 2026-03-19 12:16:17,351 - DEBUG - Response for create_network : {'network': {'id': '09057aba-0ffd-4ba0-aef5-5cd1de04d6c6', 'name': 'ctest-ext_vn-63479596', 'tenant_id': '576f207ed04b466ebb63d78a2a450751', 'project_id': '576f207ed04b466ebb63d78a2a450751', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77093943', 'ctest-ext_vn-63479596'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 12:16:17,534 - DEBUG - Response for create_subnet : {'subnet': {'id': '01d2071b-ea98-4f72-a05e-3105333bbe60', 'name': '', 'tenant_id': '576f207ed04b466ebb63d78a2a450751', 'network_id': '09057aba-0ffd-4ba0-aef5-5cd1de04d6c6', 'ip_version': 4, 'cidr': '157.100.176.192/26', 'allocation_pools': [{'start': '157.100.176.194', 'end': '157.100.176.254'}], 'gateway_ip': '157.100.176.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.100.176.194', 'tags': [], 'project_id': '576f207ed04b466ebb63d78a2a450751'}} 2026-03-19 12:16:17,552 - INFO - Created VN ctest-ext_vn-63479596 2026-03-19 12:16:17,607 - DEBUG - VN ctest-ext_vn-63479596 UUID is 09057aba-0ffd-4ba0-aef5-5cd1de04d6c6 2026-03-19 12:16:17,784 - DEBUG - Services list from nova: [, , ] 2026-03-19 12:16:18,854 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5496-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5496-1) 2026-03-19 12:16:19,946 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5496-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5496-1) 2026-03-19 12:16:20,035 - INFO - Setting gateway for router 4af64849-91c2-41b5-b060-15e94ca98759 to network 09057aba-0ffd-4ba0-aef5-5cd1de04d6c6 2026-03-19 12:16:20,113 - INFO - Adding interface with subnet_id eca5eeff-a1e4-4614-88c2-5d188c13e810, port_id None to router 4af64849-91c2-41b5-b060-15e94ca98759 2026-03-19 12:16:20,414 - INFO - Waiting for VM ctest-TestRoutersBasic-77093943-09110998 to be up.. 2026-03-19 12:16:20,537 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-19 12:16:25,620 - DEBUG - VM is in ACTIVE state now 2026-03-19 12:16:25,621 - INFO - VM name : ctest-TestRoutersBasic-77093943-09110998 2026-03-19 12:16:25,701 - DEBUG - VM ctest-TestRoutersBasic-77093943-09110998 ID is 5c25aaed-e85f-4d78-bcab-d8da8b1a2de2 2026-03-19 12:16:25,722 - DEBUG - VM ctest-TestRoutersBasic-77093943-09110998 launched on Node cn-jenkins-deploy-platform-ansible-os-5496-1 2026-03-19 12:16:25,796 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/5c25aaed-e85f-4d78-bcab-d8da8b1a2de2 2026-03-19 12:16:26,090 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/5c25aaed-e85f-4d78-bcab-d8da8b1a2de2 2026-03-19 12:16:26,124 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/0a768143-d227-49b8-9c9f-17c76d680e56 2026-03-19 12:16:29,374 - 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 1015ms') 2026-03-19 12:16:29,374 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77093943-09110998 failed! 2026-03-19 12:16:29,431 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-77093943:ctest-vn-05939466 is 46.130.239.129 and allocation pool is NOT set 2026-03-19 12:16:31,498 - 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=4.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.451 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.451/2.563/4.676/2.112 ms') 2026-03-19 12:16:31,498 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77093943-09110998 passed 2026-03-19 12:16:31,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 12:16:31,651 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77093943-09110998, IP 46.130.239.131, Port 22 2026-03-19 12:16:31,810 - DEBUG - VM ctest-TestRoutersBasic-77093943-09110998 is ready for SSH connections 2026-03-19 12:16:31,810 - INFO - Waiting for VM ctest-TestRoutersBasic-77093943-13177156 to be up.. 2026-03-19 12:16:31,890 - DEBUG - VM is in ACTIVE state now 2026-03-19 12:16:31,890 - INFO - VM name : ctest-TestRoutersBasic-77093943-13177156 2026-03-19 12:16:31,964 - DEBUG - VM ctest-TestRoutersBasic-77093943-13177156 ID is 9c357ced-acf3-4fcf-be94-49c19965d812 2026-03-19 12:16:31,964 - DEBUG - VM ctest-TestRoutersBasic-77093943-13177156 launched on Node cn-jenkins-deploy-platform-ansible-os-5496-1 2026-03-19 12:16:32,039 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/9c357ced-acf3-4fcf-be94-49c19965d812 2026-03-19 12:16:32,047 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/dd5c3b55-f191-4cbb-9e0d-ca7094c9c2c4 2026-03-19 12:16:33,280 - 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=3.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.584 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.584/2.095/3.607/1.511 ms') 2026-03-19 12:16:33,280 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-77093943-13177156 passed 2026-03-19 12:16:33,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 12:16:33,427 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77093943-13177156, IP 157.100.176.195, Port 22 2026-03-19 12:16:33,586 - DEBUG - VM ctest-TestRoutersBasic-77093943-13177156 is ready for SSH connections 2026-03-19 12:16:33,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 12:16:33,587 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.100.176.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-03-19 12:16:33,587 - DEBUG - ping -s 56 -c 3 -W 1 157.100.176.195 2026-03-19 12:16:37,325 - DEBUG - PING 157.100.176.195 (157.100.176.195): 56 data bytes 64 bytes from 157.100.176.195: seq=0 ttl=62 time=5.391 ms 64 bytes from 157.100.176.195: seq=1 ttl=62 time=0.862 ms 64 bytes from 157.100.176.195: seq=2 ttl=62 time=0.873 ms --- 157.100.176.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.862/2.375/5.391 ms 2026-03-19 12:16:37,325 - INFO - Ping to IP 157.100.176.195 from VM ctest-TestRoutersBasic-77093943-09110998 passed 2026-03-19 12:16:37,325 - INFO - Deleting interface with subnet_id eca5eeff-a1e4-4614-88c2-5d188c13e810, port_id None from router 4af64849-91c2-41b5-b060-15e94ca98759 2026-03-19 12:16:37,482 - INFO - Deleting VM ctest-TestRoutersBasic-77093943-13177156 2026-03-19 12:16:37,551 - INFO - Deleting VM ctest-TestRoutersBasic-77093943-09110998 2026-03-19 12:16:37,621 - INFO - Deleting VN ctest-ext_vn-63479596 2026-03-19 12:16:37,687 - DEBUG - VN 09057aba-0ffd-4ba0-aef5-5cd1de04d6c6 still in use: Unable to complete operation on network 09057aba-0ffd-4ba0-aef5-5cd1de04d6c6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1c57d65d-00f9-4f23-802f-88a596f756ed'] 2026-03-19 12:16:37,687 - WARNING - Deleting VN ctest-ext_vn-63479596 failed..Will retry 2026-03-19 12:16:39,802 - DEBUG - Response for deleting network () 2026-03-19 12:16:39,802 - INFO - Deleting VN ctest-vn-05939466 2026-03-19 12:16:39,925 - DEBUG - Response for deleting network () 2026-03-19 12:16:40,184 - DEBUG - No XMPP flaps were noticed during the test
2026-03-19 12:16:40,184 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-03-19 12:16:40,184 - INFO - -------------------------------------------------------------------------------- 2026-03-19 12:16:41,471 - INFO - Deleted project: ctest-TestRoutersBasic-77093943, ID : 576f207e-d04b-466e-bb63-d78a2a450751