2025-10-16 09:33:09,535 - INFO - Domain Default found not creating 2025-10-16 09:33:09,674 - INFO - Project ctest-TestRoutersBasic-06260901 not found, creating it 2025-10-16 09:33:10,112 - INFO - Created Project:ctest-TestRoutersBasic-06260901, ID : 4160f04f-26d7-4950-b206-c191c9e9a815 2025-10-16 09:33:11,552 - INFO - ================================================================================ 2025-10-16 09:33:11,552 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-16 09:33:11,552 - 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 2025-10-16 09:33:11,807 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.18': '0'}} with 2025-10-16 09:33:11,807 - INFO - Initial checks done. Running the testcase now 2025-10-16 09:33:11,807 - INFO - 2025-10-16 09:33:12,490 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-06260901 2025-10-16 09:33:12,593 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-06260901 2025-10-16 09:33:12,920 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06260901', 'default']} 2025-10-16 09:33:13,214 - DEBUG - Response for create_network : {'network': {'id': '4f63abe8-8da6-495c-8fea-accaa4527a26', 'name': 'ctest-vn-05324615', 'tenant_id': '4160f04f26d74950b206c191c9e9a815', 'project_id': '4160f04f26d74950b206c191c9e9a815', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06260901', 'ctest-vn-05324615'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 09:33:13,389 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ccf833b7-7ce8-4e32-8225-36ac84f5e7e5', 'name': '', 'tenant_id': '4160f04f26d74950b206c191c9e9a815', 'network_id': '4f63abe8-8da6-495c-8fea-accaa4527a26', 'ip_version': 4, 'cidr': '88.55.208.128/26', 'allocation_pools': [{'start': '88.55.208.130', 'end': '88.55.208.190'}], 'gateway_ip': '88.55.208.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.55.208.130', 'tags': [], 'project_id': '4160f04f26d74950b206c191c9e9a815'}} 2025-10-16 09:33:13,407 - INFO - Created VN ctest-vn-05324615 2025-10-16 09:33:13,460 - DEBUG - VN ctest-vn-05324615 UUID is 4f63abe8-8da6-495c-8fea-accaa4527a26 2025-10-16 09:33:13,786 - DEBUG - Response for create_network : {'network': {'id': 'dabb0cc0-8794-4637-ade0-486566a475f6', 'name': 'ctest-ext_vn-05004498', 'tenant_id': '4160f04f26d74950b206c191c9e9a815', 'project_id': '4160f04f26d74950b206c191c9e9a815', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06260901', 'ctest-ext_vn-05004498'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 09:33:13,993 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c837fa9e-35ec-4d34-90d2-d59aafadbe54', 'name': '', 'tenant_id': '4160f04f26d74950b206c191c9e9a815', 'network_id': 'dabb0cc0-8794-4637-ade0-486566a475f6', 'ip_version': 4, 'cidr': '128.249.249.128/26', 'allocation_pools': [{'start': '128.249.249.130', 'end': '128.249.249.190'}], 'gateway_ip': '128.249.249.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.249.249.130', 'tags': [], 'project_id': '4160f04f26d74950b206c191c9e9a815'}} 2025-10-16 09:33:14,010 - INFO - Created VN ctest-ext_vn-05004498 2025-10-16 09:33:14,060 - DEBUG - VN ctest-ext_vn-05004498 UUID is dabb0cc0-8794-4637-ade0-486566a475f6 2025-10-16 09:33:14,258 - DEBUG - Services list from nova: [, , ] 2025-10-16 09:33:15,236 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4342-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4342-1) 2025-10-16 09:33:16,328 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4342-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4342-1) 2025-10-16 09:33:16,409 - INFO - Setting gateway for router 4559c887-9999-4f89-ba24-bb0f15936411 to network dabb0cc0-8794-4637-ade0-486566a475f6 2025-10-16 09:33:16,488 - INFO - Adding interface with subnet_id ccf833b7-7ce8-4e32-8225-36ac84f5e7e5, port_id None to router 4559c887-9999-4f89-ba24-bb0f15936411 2025-10-16 09:33:16,898 - INFO - Waiting for VM ctest-TestRoutersBasic-06260901-90781439 to be up.. 2025-10-16 09:33:17,027 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 09:33:22,109 - DEBUG - VM is in ACTIVE state now 2025-10-16 09:33:22,109 - INFO - VM name : ctest-TestRoutersBasic-06260901-90781439 2025-10-16 09:33:22,180 - DEBUG - VM ctest-TestRoutersBasic-06260901-90781439 ID is 7dac039b-1b17-43c5-9a14-7b56e94c98f8 2025-10-16 09:33:22,199 - DEBUG - VM ctest-TestRoutersBasic-06260901-90781439 launched on Node cn-jenkins-deploy-platform-ansible-os-4342-1 2025-10-16 09:33:22,267 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/7dac039b-1b17-43c5-9a14-7b56e94c98f8 2025-10-16 09:33:22,572 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/7dac039b-1b17-43c5-9a14-7b56e94c98f8 2025-10-16 09:33:22,605 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/aa0a7625-51c6-4319-b458-aeb8b8a3abac 2025-10-16 09:33:25,879 - 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') 2025-10-16 09:33:25,879 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06260901-90781439 failed! 2025-10-16 09:33:25,932 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-06260901:ctest-vn-05324615 is 88.55.208.129 and allocation pool is NOT set 2025-10-16 09:33:27,993 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.412 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.412/1.646/2.880/1.234 ms') 2025-10-16 09:33:27,993 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06260901-90781439 passed 2025-10-16 09:33:28,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 09:33:28,140 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06260901-90781439, IP 88.55.208.131, Port 22 2025-10-16 09:33:28,291 - DEBUG - VM ctest-TestRoutersBasic-06260901-90781439 is ready for SSH connections 2025-10-16 09:33:28,291 - INFO - Waiting for VM ctest-TestRoutersBasic-06260901-69183453 to be up.. 2025-10-16 09:33:28,365 - DEBUG - VM is in ACTIVE state now 2025-10-16 09:33:28,365 - INFO - VM name : ctest-TestRoutersBasic-06260901-69183453 2025-10-16 09:33:28,436 - DEBUG - VM ctest-TestRoutersBasic-06260901-69183453 ID is 8f9d19cd-2a16-424e-8988-38dc5e3e21a7 2025-10-16 09:33:28,436 - DEBUG - VM ctest-TestRoutersBasic-06260901-69183453 launched on Node cn-jenkins-deploy-platform-ansible-os-4342-1 2025-10-16 09:33:28,502 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/8f9d19cd-2a16-424e-8988-38dc5e3e21a7 2025-10-16 09:33:28,510 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/436052e7-5f4d-41f0-b9c9-2783e007238f 2025-10-16 09:33:29,736 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.432 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.432/1.771/3.111/1.339 ms') 2025-10-16 09:33:29,736 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-06260901-69183453 passed 2025-10-16 09:33:29,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 09:33:29,884 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06260901-69183453, IP 128.249.249.131, Port 22 2025-10-16 09:33:30,040 - DEBUG - VM ctest-TestRoutersBasic-06260901-69183453 is ready for SSH connections 2025-10-16 09:33:30,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 09:33:30,040 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.249.249.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-16 09:33:30,040 - DEBUG - ping -s 56 -c 3 -W 1 128.249.249.131 2025-10-16 09:33:34,012 - DEBUG - PING 128.249.249.131 (128.249.249.131): 56 data bytes 64 bytes from 128.249.249.131: seq=0 ttl=62 time=4.290 ms 64 bytes from 128.249.249.131: seq=1 ttl=62 time=0.897 ms 64 bytes from 128.249.249.131: seq=2 ttl=62 time=0.752 ms --- 128.249.249.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.752/1.979/4.290 ms 2025-10-16 09:33:34,012 - INFO - Ping to IP 128.249.249.131 from VM ctest-TestRoutersBasic-06260901-90781439 passed 2025-10-16 09:33:34,012 - INFO - Deleting interface with subnet_id ccf833b7-7ce8-4e32-8225-36ac84f5e7e5, port_id None from router 4559c887-9999-4f89-ba24-bb0f15936411 2025-10-16 09:33:34,194 - INFO - Deleting VM ctest-TestRoutersBasic-06260901-69183453 2025-10-16 09:33:34,266 - INFO - Deleting VM ctest-TestRoutersBasic-06260901-90781439 2025-10-16 09:33:34,339 - INFO - Deleting VN ctest-ext_vn-05004498 2025-10-16 09:33:34,404 - DEBUG - VN dabb0cc0-8794-4637-ade0-486566a475f6 still in use: Unable to complete operation on network dabb0cc0-8794-4637-ade0-486566a475f6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dd62cef1-7699-444f-baec-1ac1c4d6e72e'] 2025-10-16 09:33:34,404 - WARNING - Deleting VN ctest-ext_vn-05004498 failed..Will retry 2025-10-16 09:33:36,489 - DEBUG - Response for deleting network () 2025-10-16 09:33:36,489 - INFO - Deleting VN ctest-vn-05324615 2025-10-16 09:33:36,573 - DEBUG - Response for deleting network () 2025-10-16 09:33:36,825 - DEBUG - No XMPP flaps were noticed during the test 2025-10-16 09:33:36,825 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-16 09:33:36,825 - INFO - -------------------------------------------------------------------------------- 2025-10-16 09:33:37,475 - INFO - Deleted project: ctest-TestRoutersBasic-06260901, ID : 4160f04f-26d7-4950-b206-c191c9e9a815