2026-06-03 13:03:47,763 - INFO - Domain Default found not creating 2026-06-03 13:03:47,959 - INFO - Project ctest-TestRoutersBasic-58047724 not found, creating it 2026-06-03 13:03:48,444 - INFO - Created Project:ctest-TestRoutersBasic-58047724, ID : 40d91594-7824-412c-b2af-8e80e1056b67 2026-06-03 13:03:49,981 - INFO - ================================================================================ 2026-06-03 13:03:49,981 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-03 13:03:49,981 - 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-06-03 13:03:50,236 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-06-03 13:03:50,236 - INFO - Initial checks done. Running the testcase now 2026-06-03 13:03:50,236 - INFO - 2026-06-03 13:03:50,953 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-58047724 2026-06-03 13:03:51,050 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-58047724 2026-06-03 13:03:51,378 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58047724', 'default']} 2026-06-03 13:03:51,673 - DEBUG - Response for create_network : {'network': {'id': '8875c9e6-5ad0-48f0-85c1-d4eb460ea1d8', 'name': 'ctest-vn-35810040', 'tenant_id': '40d915947824412cb2af8e80e1056b67', 'project_id': '40d915947824412cb2af8e80e1056b67', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58047724', 'ctest-vn-35810040'], 'port_security_enabled': True, 'description': ''}} 2026-06-03 13:03:51,831 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f5dc88e-aea8-4da4-98f2-e4b121c8f1a4', 'name': '', 'tenant_id': '40d915947824412cb2af8e80e1056b67', 'network_id': '8875c9e6-5ad0-48f0-85c1-d4eb460ea1d8', 'ip_version': 4, 'cidr': '198.124.132.192/26', 'allocation_pools': [{'start': '198.124.132.194', 'end': '198.124.132.254'}], 'gateway_ip': '198.124.132.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.124.132.194', 'tags': [], 'project_id': '40d915947824412cb2af8e80e1056b67'}} 2026-06-03 13:03:51,849 - INFO - Created VN ctest-vn-35810040 2026-06-03 13:03:51,902 - DEBUG - VN ctest-vn-35810040 UUID is 8875c9e6-5ad0-48f0-85c1-d4eb460ea1d8 2026-06-03 13:03:52,257 - DEBUG - Response for create_network : {'network': {'id': '8651f43e-a370-4310-9007-f8174c0a177d', 'name': 'ctest-ext_vn-49105902', 'tenant_id': '40d915947824412cb2af8e80e1056b67', 'project_id': '40d915947824412cb2af8e80e1056b67', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58047724', 'ctest-ext_vn-49105902'], 'port_security_enabled': True, 'description': ''}} 2026-06-03 13:03:52,440 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dcdc8044-d915-42b5-8ab4-8854a0c5ad37', 'name': '', 'tenant_id': '40d915947824412cb2af8e80e1056b67', 'network_id': '8651f43e-a370-4310-9007-f8174c0a177d', 'ip_version': 4, 'cidr': '139.31.123.64/26', 'allocation_pools': [{'start': '139.31.123.66', 'end': '139.31.123.126'}], 'gateway_ip': '139.31.123.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.31.123.66', 'tags': [], 'project_id': '40d915947824412cb2af8e80e1056b67'}} 2026-06-03 13:03:52,458 - INFO - Created VN ctest-ext_vn-49105902 2026-06-03 13:03:52,510 - DEBUG - VN ctest-ext_vn-49105902 UUID is 8651f43e-a370-4310-9007-f8174c0a177d 2026-06-03 13:03:52,683 - DEBUG - Services list from nova: [, , ] 2026-06-03 13:03:53,722 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5880-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5880-1) 2026-06-03 13:03:54,951 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5880-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5880-1) 2026-06-03 13:03:55,020 - INFO - Setting gateway for router 01b28da0-cad4-40b9-bfef-4d018e8a3ae7 to network 8651f43e-a370-4310-9007-f8174c0a177d 2026-06-03 13:03:55,081 - INFO - Adding interface with subnet_id 1f5dc88e-aea8-4da4-98f2-e4b121c8f1a4, port_id None to router 01b28da0-cad4-40b9-bfef-4d018e8a3ae7 2026-06-03 13:03:55,392 - INFO - Waiting for VM ctest-TestRoutersBasic-58047724-68236901 to be up.. 2026-06-03 13:03:55,550 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-03 13:04:00,638 - DEBUG - VM is in ACTIVE state now 2026-06-03 13:04:00,638 - INFO - VM name : ctest-TestRoutersBasic-58047724-68236901 2026-06-03 13:04:00,732 - DEBUG - VM ctest-TestRoutersBasic-58047724-68236901 ID is 56c3599c-91ba-4b83-b422-f8d56258ca1c 2026-06-03 13:04:00,754 - DEBUG - VM ctest-TestRoutersBasic-58047724-68236901 launched on Node cn-jenkins-deploy-platform-ansible-os-5880-1 2026-06-03 13:04:00,863 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/56c3599c-91ba-4b83-b422-f8d56258ca1c 2026-06-03 13:04:01,172 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/56c3599c-91ba-4b83-b422-f8d56258ca1c 2026-06-03 13:04:01,211 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9de159ce-b816-4717-b7fe-70a24b31a1ea 2026-06-03 13:04:04,486 - 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 1026ms') 2026-06-03 13:04:04,486 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58047724-68236901 failed! 2026-06-03 13:04:04,542 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-58047724:ctest-vn-35810040 is 198.124.132.193 and allocation pool is NOT set 2026-06-03 13:04:06,604 - 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=5.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.749 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.749/3.112/5.476/2.363 ms') 2026-06-03 13:04:06,604 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58047724-68236901 passed 2026-06-03 13:04:06,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 13:04:06,766 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58047724-68236901, IP 198.124.132.195, Port 22 2026-06-03 13:04:06,921 - DEBUG - VM ctest-TestRoutersBasic-58047724-68236901 is ready for SSH connections 2026-06-03 13:04:06,921 - INFO - Waiting for VM ctest-TestRoutersBasic-58047724-94624920 to be up.. 2026-06-03 13:04:07,003 - DEBUG - VM is in ACTIVE state now 2026-06-03 13:04:07,003 - INFO - VM name : ctest-TestRoutersBasic-58047724-94624920 2026-06-03 13:04:07,086 - DEBUG - VM ctest-TestRoutersBasic-58047724-94624920 ID is a221960f-d312-4fcb-96bd-ab7f1fc37e0a 2026-06-03 13:04:07,086 - DEBUG - VM ctest-TestRoutersBasic-58047724-94624920 launched on Node cn-jenkins-deploy-platform-ansible-os-5880-1 2026-06-03 13:04:07,173 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a221960f-d312-4fcb-96bd-ab7f1fc37e0a 2026-06-03 13:04:07,182 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9ff126de-620c-4113-86e5-e67f612e3e60 2026-06-03 13:04:08,427 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.623 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.623/1.811/3.000/1.188 ms') 2026-06-03 13:04:08,427 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-58047724-94624920 passed 2026-06-03 13:04:08,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 13:04:08,578 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58047724-94624920, IP 139.31.123.67, Port 22 2026-06-03 13:04:08,744 - DEBUG - VM ctest-TestRoutersBasic-58047724-94624920 is ready for SSH connections 2026-06-03 13:04:08,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-03 13:04:08,745 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.31.123.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-03 13:04:08,745 - DEBUG - ping -s 56 -c 3 -W 1 139.31.123.67 2026-06-03 13:04:12,463 - DEBUG - PING 139.31.123.67 (139.31.123.67): 56 data bytes 64 bytes from 139.31.123.67: seq=0 ttl=62 time=7.798 ms 64 bytes from 139.31.123.67: seq=1 ttl=62 time=1.026 ms 64 bytes from 139.31.123.67: seq=2 ttl=62 time=1.151 ms --- 139.31.123.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.026/3.325/7.798 ms 2026-06-03 13:04:12,463 - INFO - Ping to IP 139.31.123.67 from VM ctest-TestRoutersBasic-58047724-68236901 passed 2026-06-03 13:04:12,463 - INFO - Deleting interface with subnet_id 1f5dc88e-aea8-4da4-98f2-e4b121c8f1a4, port_id None from router 01b28da0-cad4-40b9-bfef-4d018e8a3ae7 2026-06-03 13:04:12,650 - INFO - Deleting VM ctest-TestRoutersBasic-58047724-94624920 2026-06-03 13:04:12,730 - INFO - Deleting VM ctest-TestRoutersBasic-58047724-68236901 2026-06-03 13:04:12,818 - INFO - Deleting VN ctest-ext_vn-49105902 2026-06-03 13:04:12,889 - DEBUG - VN 8651f43e-a370-4310-9007-f8174c0a177d still in use: Unable to complete operation on network 8651f43e-a370-4310-9007-f8174c0a177d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-530fad0e-1189-42dc-a059-67fbb276e913'] 2026-06-03 13:04:12,889 - WARNING - Deleting VN ctest-ext_vn-49105902 failed..Will retry 2026-06-03 13:04:14,989 - DEBUG - Response for deleting network () 2026-06-03 13:04:14,989 - INFO - Deleting VN ctest-vn-35810040 2026-06-03 13:04:15,097 - DEBUG - Response for deleting network () 2026-06-03 13:04:15,352 - DEBUG - No XMPP flaps were noticed during the test
2026-06-03 13:04:15,352 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-06-03 13:04:15,352 - INFO - -------------------------------------------------------------------------------- 2026-06-03 13:04:16,012 - INFO - Deleted project: ctest-TestRoutersBasic-58047724, ID : 40d91594-7824-412c-b2af-8e80e1056b67