2026-01-19 14:52:57,835 - INFO - Domain Default found not creating 2026-01-19 14:52:58,002 - INFO - Project ctest-TestRoutersBasic-57563361 not found, creating it 2026-01-19 14:52:58,458 - INFO - Created Project:ctest-TestRoutersBasic-57563361, ID : 36ec9065-68f9-4f31-96af-fc349d1a04f7 2026-01-19 14:52:59,987 - INFO - ================================================================================ 2026-01-19 14:52:59,987 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-19 14:52:59,987 - 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-19 14:53:00,242 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-01-19 14:53:00,242 - INFO - Initial checks done. Running the testcase now 2026-01-19 14:53:00,242 - INFO - 2026-01-19 14:53:00,957 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-57563361 2026-01-19 14:53:01,053 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-57563361 2026-01-19 14:53:01,368 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57563361', 'default']} 2026-01-19 14:53:01,662 - DEBUG - Response for create_network : {'network': {'id': '119aafee-a869-456a-b365-00a2d4b4c9e9', 'name': 'ctest-vn-49905150', 'tenant_id': '36ec906568f94f3196affc349d1a04f7', 'project_id': '36ec906568f94f3196affc349d1a04f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57563361', 'ctest-vn-49905150'], 'port_security_enabled': True, 'description': ''}} 2026-01-19 14:53:01,857 - DEBUG - Response for create_subnet : {'subnet': {'id': '30567ab8-8bb2-4bcb-8cda-a32ea8d03ad4', 'name': '', 'tenant_id': '36ec906568f94f3196affc349d1a04f7', 'network_id': '119aafee-a869-456a-b365-00a2d4b4c9e9', 'ip_version': 4, 'cidr': '111.247.192.64/26', 'allocation_pools': [{'start': '111.247.192.66', 'end': '111.247.192.126'}], 'gateway_ip': '111.247.192.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.247.192.66', 'tags': [], 'project_id': '36ec906568f94f3196affc349d1a04f7'}} 2026-01-19 14:53:01,876 - INFO - Created VN ctest-vn-49905150 2026-01-19 14:53:01,928 - DEBUG - VN ctest-vn-49905150 UUID is 119aafee-a869-456a-b365-00a2d4b4c9e9 2026-01-19 14:53:02,289 - DEBUG - Response for create_network : {'network': {'id': '3c6f2196-79f1-4070-a6e7-72b1008d9124', 'name': 'ctest-ext_vn-08715572', 'tenant_id': '36ec906568f94f3196affc349d1a04f7', 'project_id': '36ec906568f94f3196affc349d1a04f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57563361', 'ctest-ext_vn-08715572'], 'port_security_enabled': True, 'description': ''}} 2026-01-19 14:53:02,441 - DEBUG - Response for create_subnet : {'subnet': {'id': '42cbf066-9b5d-4d07-a456-f3de894fd40d', 'name': '', 'tenant_id': '36ec906568f94f3196affc349d1a04f7', 'network_id': '3c6f2196-79f1-4070-a6e7-72b1008d9124', 'ip_version': 4, 'cidr': '28.103.228.128/26', 'allocation_pools': [{'start': '28.103.228.130', 'end': '28.103.228.190'}], 'gateway_ip': '28.103.228.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.103.228.130', 'tags': [], 'project_id': '36ec906568f94f3196affc349d1a04f7'}} 2026-01-19 14:53:02,459 - INFO - Created VN ctest-ext_vn-08715572 2026-01-19 14:53:02,516 - DEBUG - VN ctest-ext_vn-08715572 UUID is 3c6f2196-79f1-4070-a6e7-72b1008d9124 2026-01-19 14:53:02,691 - DEBUG - Services list from nova: [, , ] 2026-01-19 14:53:03,712 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5046-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5046-1) 2026-01-19 14:53:04,829 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5046-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5046-1) 2026-01-19 14:53:04,906 - INFO - Setting gateway for router a6523dfa-5873-4de5-b841-78bf30cc29f5 to network 3c6f2196-79f1-4070-a6e7-72b1008d9124 2026-01-19 14:53:04,968 - INFO - Adding interface with subnet_id 30567ab8-8bb2-4bcb-8cda-a32ea8d03ad4, port_id None to router a6523dfa-5873-4de5-b841-78bf30cc29f5 2026-01-19 14:53:05,350 - INFO - Waiting for VM ctest-TestRoutersBasic-57563361-07195456 to be up.. 2026-01-19 14:53:05,574 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-19 14:53:10,651 - DEBUG - VM is in ACTIVE state now 2026-01-19 14:53:10,651 - INFO - VM name : ctest-TestRoutersBasic-57563361-07195456 2026-01-19 14:53:10,733 - DEBUG - VM ctest-TestRoutersBasic-57563361-07195456 ID is e3d833db-ae30-4fd6-82a4-451bd62ff78e 2026-01-19 14:53:10,754 - DEBUG - VM ctest-TestRoutersBasic-57563361-07195456 launched on Node cn-jenkins-deploy-platform-ansible-os-5046-1 2026-01-19 14:53:10,830 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e3d833db-ae30-4fd6-82a4-451bd62ff78e 2026-01-19 14:53:11,132 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e3d833db-ae30-4fd6-82a4-451bd62ff78e 2026-01-19 14:53:11,172 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/340aba62-b2c4-4e90-b7f9-62da72599578 2026-01-19 14:53:14,448 - 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 1031ms') 2026-01-19 14:53:14,448 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57563361-07195456 failed! 2026-01-19 14:53:14,500 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-57563361:ctest-vn-49905150 is 111.247.192.65 and allocation pool is NOT set 2026-01-19 14:53:16,560 - 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=3.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.835 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.835/2.368/3.902/1.533 ms') 2026-01-19 14:53:16,560 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57563361-07195456 passed 2026-01-19 14:53:16,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 14:53:16,708 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57563361-07195456, IP 111.247.192.67, Port 22 2026-01-19 14:53:16,864 - DEBUG - VM ctest-TestRoutersBasic-57563361-07195456 is ready for SSH connections 2026-01-19 14:53:16,864 - INFO - Waiting for VM ctest-TestRoutersBasic-57563361-33631335 to be up.. 2026-01-19 14:53:16,939 - DEBUG - VM is in ACTIVE state now 2026-01-19 14:53:16,939 - INFO - VM name : ctest-TestRoutersBasic-57563361-33631335 2026-01-19 14:53:17,008 - DEBUG - VM ctest-TestRoutersBasic-57563361-33631335 ID is 21b7a9fe-1fff-4178-95c4-58da7813791b 2026-01-19 14:53:17,008 - DEBUG - VM ctest-TestRoutersBasic-57563361-33631335 launched on Node cn-jenkins-deploy-platform-ansible-os-5046-1 2026-01-19 14:53:17,084 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/21b7a9fe-1fff-4178-95c4-58da7813791b 2026-01-19 14:53:17,091 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1771864a-931e-42db-9914-e73998d40a9e 2026-01-19 14:53:18,320 - 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=4.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.951 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.951/2.515/4.080/1.564 ms') 2026-01-19 14:53:18,321 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-57563361-33631335 passed 2026-01-19 14:53:18,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 14:53:18,469 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57563361-33631335, IP 28.103.228.131, Port 22 2026-01-19 14:53:18,624 - DEBUG - VM ctest-TestRoutersBasic-57563361-33631335 is ready for SSH connections 2026-01-19 14:53:18,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 14:53:18,624 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.103.228.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-19 14:53:18,624 - DEBUG - ping -s 56 -c 3 -W 1 28.103.228.131 2026-01-19 14:53:22,325 - DEBUG - PING 28.103.228.131 (28.103.228.131): 56 data bytes 64 bytes from 28.103.228.131: seq=0 ttl=62 time=6.635 ms 64 bytes from 28.103.228.131: seq=1 ttl=62 time=0.778 ms 64 bytes from 28.103.228.131: seq=2 ttl=62 time=0.984 ms --- 28.103.228.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.778/2.799/6.635 ms 2026-01-19 14:53:22,326 - INFO - Ping to IP 28.103.228.131 from VM ctest-TestRoutersBasic-57563361-07195456 passed 2026-01-19 14:53:22,326 - INFO - Deleting interface with subnet_id 30567ab8-8bb2-4bcb-8cda-a32ea8d03ad4, port_id None from router a6523dfa-5873-4de5-b841-78bf30cc29f5 2026-01-19 14:53:22,497 - INFO - Deleting VM ctest-TestRoutersBasic-57563361-33631335 2026-01-19 14:53:22,567 - INFO - Deleting VM ctest-TestRoutersBasic-57563361-07195456 2026-01-19 14:53:22,651 - INFO - Deleting VN ctest-ext_vn-08715572 2026-01-19 14:53:22,710 - DEBUG - VN 3c6f2196-79f1-4070-a6e7-72b1008d9124 still in use: Unable to complete operation on network 3c6f2196-79f1-4070-a6e7-72b1008d9124. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-83262c1a-0566-4c7d-a959-380df676cb5e'] 2026-01-19 14:53:22,710 - WARNING - Deleting VN ctest-ext_vn-08715572 failed..Will retry 2026-01-19 14:53:24,801 - DEBUG - Response for deleting network () 2026-01-19 14:53:24,801 - INFO - Deleting VN ctest-vn-49905150 2026-01-19 14:53:24,896 - DEBUG - Response for deleting network () 2026-01-19 14:53:25,150 - DEBUG - No XMPP flaps were noticed during the test
2026-01-19 14:53:25,150 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-01-19 14:53:25,150 - INFO - -------------------------------------------------------------------------------- 2026-01-19 14:53:25,853 - INFO - Deleted project: ctest-TestRoutersBasic-57563361, ID : 36ec9065-68f9-4f31-96af-fc349d1a04f7