2025-10-13 01:59:36,729 - INFO - Domain Default found not creating 2025-10-13 01:59:36,862 - INFO - Project ctest-TestRoutersBasic-68028435 not found, creating it 2025-10-13 01:59:37,307 - INFO - Created Project:ctest-TestRoutersBasic-68028435, ID : 5c750df8-90c4-4613-85db-0a4f65fdc131 2025-10-13 01:59:38,697 - INFO - ================================================================================ 2025-10-13 01:59:38,697 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-13 01:59:38,697 - 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-13 01:59:38,971 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-13 01:59:38,971 - INFO - Initial checks done. Running the testcase now 2025-10-13 01:59:38,971 - INFO - 2025-10-13 01:59:39,689 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-68028435 2025-10-13 01:59:39,784 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-68028435 2025-10-13 01:59:40,112 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68028435', 'default']} 2025-10-13 01:59:40,418 - DEBUG - Response for create_network : {'network': {'id': '0f13bcef-e467-45c4-82f3-2c1d423b7491', 'name': 'ctest-vn-54570372', 'tenant_id': '5c750df890c4461385db0a4f65fdc131', 'project_id': '5c750df890c4461385db0a4f65fdc131', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68028435', 'ctest-vn-54570372'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 01:59:40,604 - DEBUG - Response for create_subnet : {'subnet': {'id': '217183c2-07d0-458a-8f51-96adf537f9a8', 'name': '', 'tenant_id': '5c750df890c4461385db0a4f65fdc131', 'network_id': '0f13bcef-e467-45c4-82f3-2c1d423b7491', 'ip_version': 4, 'cidr': '96.134.168.128/26', 'allocation_pools': [{'start': '96.134.168.130', 'end': '96.134.168.190'}], 'gateway_ip': '96.134.168.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.134.168.130', 'tags': [], 'project_id': '5c750df890c4461385db0a4f65fdc131'}} 2025-10-13 01:59:40,623 - INFO - Created VN ctest-vn-54570372 2025-10-13 01:59:40,676 - DEBUG - VN ctest-vn-54570372 UUID is 0f13bcef-e467-45c4-82f3-2c1d423b7491 2025-10-13 01:59:41,038 - DEBUG - Response for create_network : {'network': {'id': 'cb2577fb-a23b-41ea-aec9-c0395db1be90', 'name': 'ctest-ext_vn-09701082', 'tenant_id': '5c750df890c4461385db0a4f65fdc131', 'project_id': '5c750df890c4461385db0a4f65fdc131', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68028435', 'ctest-ext_vn-09701082'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 01:59:41,225 - DEBUG - Response for create_subnet : {'subnet': {'id': '426a6c36-7b7b-4be0-a3a4-a910fcd2c70f', 'name': '', 'tenant_id': '5c750df890c4461385db0a4f65fdc131', 'network_id': 'cb2577fb-a23b-41ea-aec9-c0395db1be90', 'ip_version': 4, 'cidr': '36.141.199.128/26', 'allocation_pools': [{'start': '36.141.199.130', 'end': '36.141.199.190'}], 'gateway_ip': '36.141.199.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.141.199.130', 'tags': [], 'project_id': '5c750df890c4461385db0a4f65fdc131'}} 2025-10-13 01:59:41,242 - INFO - Created VN ctest-ext_vn-09701082 2025-10-13 01:59:41,296 - DEBUG - VN ctest-ext_vn-09701082 UUID is cb2577fb-a23b-41ea-aec9-c0395db1be90 2025-10-13 01:59:41,457 - DEBUG - Services list from nova: [, , ] 2025-10-13 01:59:42,497 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4293-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4293-1) 2025-10-13 01:59:43,681 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4293-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4293-1) 2025-10-13 01:59:43,780 - INFO - Setting gateway for router cebfe61a-15f9-4515-bb82-6d3cd60ba724 to network cb2577fb-a23b-41ea-aec9-c0395db1be90 2025-10-13 01:59:43,836 - INFO - Adding interface with subnet_id 217183c2-07d0-458a-8f51-96adf537f9a8, port_id None to router cebfe61a-15f9-4515-bb82-6d3cd60ba724 2025-10-13 01:59:44,142 - INFO - Waiting for VM ctest-TestRoutersBasic-68028435-46798393 to be up.. 2025-10-13 01:59:44,301 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 01:59:49,381 - DEBUG - VM is in ACTIVE state now 2025-10-13 01:59:49,381 - INFO - VM name : ctest-TestRoutersBasic-68028435-46798393 2025-10-13 01:59:49,463 - DEBUG - VM ctest-TestRoutersBasic-68028435-46798393 ID is 3429f3ed-f90d-4068-9447-ba42910e1ae4 2025-10-13 01:59:49,482 - DEBUG - VM ctest-TestRoutersBasic-68028435-46798393 launched on Node cn-jenkins-deploy-platform-ansible-os-4293-1 2025-10-13 01:59:49,556 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3429f3ed-f90d-4068-9447-ba42910e1ae4 2025-10-13 01:59:49,864 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3429f3ed-f90d-4068-9447-ba42910e1ae4 2025-10-13 01:59:49,898 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/18878944-2afd-4cb4-a53e-1e7ddc0e0406 2025-10-13 01:59:53,166 - 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 1025ms') 2025-10-13 01:59:53,166 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68028435-46798393 failed! 2025-10-13 01:59:53,220 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-68028435:ctest-vn-54570372 is 96.134.168.129 and allocation pool is NOT set 2025-10-13 01:59:55,284 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.452 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.452/1.714/2.977/1.262 ms') 2025-10-13 01:59:55,284 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68028435-46798393 passed 2025-10-13 01:59:55,440 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 01:59:55,440 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68028435-46798393, IP 96.134.168.131, Port 22 2025-10-13 01:59:55,596 - DEBUG - VM ctest-TestRoutersBasic-68028435-46798393 is ready for SSH connections 2025-10-13 01:59:55,596 - INFO - Waiting for VM ctest-TestRoutersBasic-68028435-85280344 to be up.. 2025-10-13 01:59:55,679 - DEBUG - VM is in ACTIVE state now 2025-10-13 01:59:55,679 - INFO - VM name : ctest-TestRoutersBasic-68028435-85280344 2025-10-13 01:59:55,749 - DEBUG - VM ctest-TestRoutersBasic-68028435-85280344 ID is 295c55db-59c3-432b-83e3-ef110c3235af 2025-10-13 01:59:55,749 - DEBUG - VM ctest-TestRoutersBasic-68028435-85280344 launched on Node cn-jenkins-deploy-platform-ansible-os-4293-1 2025-10-13 01:59:55,824 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/295c55db-59c3-432b-83e3-ef110c3235af 2025-10-13 01:59:55,833 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bad091af-18da-40ab-b667-4953e36777ef 2025-10-13 01:59:57,069 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.533 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.533/1.919/3.305/1.386 ms') 2025-10-13 01:59:57,070 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-68028435-85280344 passed 2025-10-13 01:59:57,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 01:59:57,220 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68028435-85280344, IP 36.141.199.131, Port 22 2025-10-13 01:59:57,403 - DEBUG - VM ctest-TestRoutersBasic-68028435-85280344 is ready for SSH connections 2025-10-13 01:59:57,403 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 01:59:57,403 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.141.199.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-13 01:59:57,403 - DEBUG - ping -s 56 -c 3 -W 1 36.141.199.131 2025-10-13 02:00:01,079 - DEBUG - PING 36.141.199.131 (36.141.199.131): 56 data bytes 64 bytes from 36.141.199.131: seq=0 ttl=62 time=7.141 ms 64 bytes from 36.141.199.131: seq=1 ttl=62 time=1.221 ms 64 bytes from 36.141.199.131: seq=2 ttl=62 time=1.070 ms --- 36.141.199.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.070/3.144/7.141 ms 2025-10-13 02:00:01,079 - INFO - Ping to IP 36.141.199.131 from VM ctest-TestRoutersBasic-68028435-46798393 passed 2025-10-13 02:00:01,079 - INFO - Deleting interface with subnet_id 217183c2-07d0-458a-8f51-96adf537f9a8, port_id None from router cebfe61a-15f9-4515-bb82-6d3cd60ba724 2025-10-13 02:00:01,280 - INFO - Deleting VM ctest-TestRoutersBasic-68028435-85280344 2025-10-13 02:00:01,343 - INFO - Deleting VM ctest-TestRoutersBasic-68028435-46798393 2025-10-13 02:00:01,423 - INFO - Deleting VN ctest-ext_vn-09701082 2025-10-13 02:00:01,486 - DEBUG - VN cb2577fb-a23b-41ea-aec9-c0395db1be90 still in use: Unable to complete operation on network cb2577fb-a23b-41ea-aec9-c0395db1be90. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5fe970ab-02c8-4f4a-be37-7ff24fb6457b'] 2025-10-13 02:00:01,486 - WARNING - Deleting VN ctest-ext_vn-09701082 failed..Will retry 2025-10-13 02:00:03,595 - DEBUG - Response for deleting network () 2025-10-13 02:00:03,595 - INFO - Deleting VN ctest-vn-54570372 2025-10-13 02:00:03,705 - DEBUG - Response for deleting network () 2025-10-13 02:00:03,965 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 02:00:03,965 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-13 02:00:03,965 - INFO - -------------------------------------------------------------------------------- 2025-10-13 02:00:04,648 - INFO - Deleted project: ctest-TestRoutersBasic-68028435, ID : 5c750df8-90c4-4613-85db-0a4f65fdc131