2025-04-13 13:16:29,451 - INFO - Domain Default found not creating 2025-04-13 13:16:29,600 - INFO - Project ctest-TestRoutersBasic-36052274 not found, creating it 2025-04-13 13:16:30,082 - INFO - Created Project:ctest-TestRoutersBasic-36052274, ID : e8f113af-7174-4d58-9b38-828556d42ba2 2025-04-13 13:16:31,497 - INFO - ================================================================================ 2025-04-13 13:16:31,497 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-13 13:16:31,497 - 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-04-13 13:16:31,753 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-04-13 13:16:31,753 - INFO - Initial checks done. Running the testcase now 2025-04-13 13:16:31,753 - INFO - 2025-04-13 13:16:32,470 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-36052274 2025-04-13 13:16:32,566 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-36052274 2025-04-13 13:16:32,905 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36052274', 'default']} 2025-04-13 13:16:33,201 - DEBUG - Response for create_network : {'network': {'id': '15411ae6-787a-4386-85cc-41c4e0410cce', 'name': 'ctest-vn-46037834', 'tenant_id': 'e8f113af71744d589b38828556d42ba2', 'project_id': 'e8f113af71744d589b38828556d42ba2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36052274', 'ctest-vn-46037834'], 'port_security_enabled': True, 'description': ''}} 2025-04-13 13:16:33,358 - DEBUG - Response for create_subnet : {'subnet': {'id': '18c63685-eb79-41e8-b2d6-cab7ab1c6399', 'name': '', 'tenant_id': 'e8f113af71744d589b38828556d42ba2', 'network_id': '15411ae6-787a-4386-85cc-41c4e0410cce', 'ip_version': 4, 'cidr': '210.233.178.192/26', 'allocation_pools': [{'start': '210.233.178.194', 'end': '210.233.178.254'}], 'gateway_ip': '210.233.178.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.233.178.194', 'tags': [], 'project_id': 'e8f113af71744d589b38828556d42ba2'}} 2025-04-13 13:16:33,375 - INFO - Created VN ctest-vn-46037834 2025-04-13 13:16:33,430 - DEBUG - VN ctest-vn-46037834 UUID is 15411ae6-787a-4386-85cc-41c4e0410cce 2025-04-13 13:16:33,741 - DEBUG - Response for create_network : {'network': {'id': '4bf3bfb3-0b82-4665-99a2-976c270e0402', 'name': 'ctest-ext_vn-68337024', 'tenant_id': 'e8f113af71744d589b38828556d42ba2', 'project_id': 'e8f113af71744d589b38828556d42ba2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36052274', 'ctest-ext_vn-68337024'], 'port_security_enabled': True, 'description': ''}} 2025-04-13 13:16:33,958 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed3cc93e-2756-44ef-a20e-f3f1bd9158e1', 'name': '', 'tenant_id': 'e8f113af71744d589b38828556d42ba2', 'network_id': '4bf3bfb3-0b82-4665-99a2-976c270e0402', 'ip_version': 4, 'cidr': '93.252.219.192/26', 'allocation_pools': [{'start': '93.252.219.194', 'end': '93.252.219.254'}], 'gateway_ip': '93.252.219.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.252.219.194', 'tags': [], 'project_id': 'e8f113af71744d589b38828556d42ba2'}} 2025-04-13 13:16:33,977 - INFO - Created VN ctest-ext_vn-68337024 2025-04-13 13:16:34,030 - DEBUG - VN ctest-ext_vn-68337024 UUID is 4bf3bfb3-0b82-4665-99a2-976c270e0402 2025-04-13 13:16:34,203 - DEBUG - Services list from nova: [, , ] 2025-04-13 13:16:35,210 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3084-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3084-1) 2025-04-13 13:16:36,330 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3084-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3084-1) 2025-04-13 13:16:36,407 - INFO - Setting gateway for router 8dedb0ef-a24a-4307-ae2d-45e61855d456 to network 4bf3bfb3-0b82-4665-99a2-976c270e0402 2025-04-13 13:16:36,488 - INFO - Adding interface with subnet_id 18c63685-eb79-41e8-b2d6-cab7ab1c6399, port_id None to router 8dedb0ef-a24a-4307-ae2d-45e61855d456 2025-04-13 13:16:36,956 - INFO - Waiting for VM ctest-TestRoutersBasic-36052274-49398376 to be up.. 2025-04-13 13:16:37,108 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-13 13:16:42,185 - DEBUG - VM is in ACTIVE state now 2025-04-13 13:16:42,185 - INFO - VM name : ctest-TestRoutersBasic-36052274-49398376 2025-04-13 13:16:42,263 - DEBUG - VM ctest-TestRoutersBasic-36052274-49398376 ID is c0b82c77-9ace-476a-a2ff-7d531cd8e521 2025-04-13 13:16:42,280 - DEBUG - VM ctest-TestRoutersBasic-36052274-49398376 launched on Node cn-jenkins-deploy-platform-ansible-os-3084-1 2025-04-13 13:16:42,369 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c0b82c77-9ace-476a-a2ff-7d531cd8e521 2025-04-13 13:16:42,674 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c0b82c77-9ace-476a-a2ff-7d531cd8e521 2025-04-13 13:16:42,708 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dc40377a-7067-40b8-a5b6-836fd644ba74 2025-04-13 13:16:45,972 - 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-04-13 13:16:45,972 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36052274-49398376 failed! 2025-04-13 13:16:46,026 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-36052274:ctest-vn-46037834 is 210.233.178.193 and allocation pool is NOT set 2025-04-13 13:16:48,090 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.391 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.391/2.443/4.496/2.052 ms') 2025-04-13 13:16:48,090 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36052274-49398376 passed 2025-04-13 13:16:48,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-13 13:16:48,242 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36052274-49398376, IP 210.233.178.195, Port 22 2025-04-13 13:16:48,397 - DEBUG - VM ctest-TestRoutersBasic-36052274-49398376 is ready for SSH connections 2025-04-13 13:16:48,397 - INFO - Waiting for VM ctest-TestRoutersBasic-36052274-65237783 to be up.. 2025-04-13 13:16:48,471 - DEBUG - VM is in ACTIVE state now 2025-04-13 13:16:48,472 - INFO - VM name : ctest-TestRoutersBasic-36052274-65237783 2025-04-13 13:16:48,543 - DEBUG - VM ctest-TestRoutersBasic-36052274-65237783 ID is 2d878a45-9177-4a08-9c16-8258e0b45407 2025-04-13 13:16:48,544 - DEBUG - VM ctest-TestRoutersBasic-36052274-65237783 launched on Node cn-jenkins-deploy-platform-ansible-os-3084-1 2025-04-13 13:16:48,621 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2d878a45-9177-4a08-9c16-8258e0b45407 2025-04-13 13:16:48,630 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f64e25f0-1db2-480c-91f4-50ff179aff9c 2025-04-13 13:16:49,875 - 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=2.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.425 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.425/1.653/2.882/1.228 ms') 2025-04-13 13:16:49,876 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-36052274-65237783 passed 2025-04-13 13:16:50,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-13 13:16:50,030 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36052274-65237783, IP 93.252.219.195, Port 22 2025-04-13 13:16:50,185 - DEBUG - VM ctest-TestRoutersBasic-36052274-65237783 is ready for SSH connections 2025-04-13 13:16:50,185 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-13 13:16:50,185 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.252.219.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-04-13 13:16:50,186 - DEBUG - ping -s 56 -c 3 -W 1 93.252.219.195 2025-04-13 13:16:54,167 - DEBUG - PING 93.252.219.195 (93.252.219.195): 56 data bytes 64 bytes from 93.252.219.195: seq=0 ttl=62 time=4.944 ms 64 bytes from 93.252.219.195: seq=1 ttl=62 time=1.017 ms 64 bytes from 93.252.219.195: seq=2 ttl=62 time=0.801 ms --- 93.252.219.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.801/2.254/4.944 ms 2025-04-13 13:16:54,167 - INFO - Ping to IP 93.252.219.195 from VM ctest-TestRoutersBasic-36052274-49398376 passed 2025-04-13 13:16:54,167 - INFO - Deleting interface with subnet_id 18c63685-eb79-41e8-b2d6-cab7ab1c6399, port_id None from router 8dedb0ef-a24a-4307-ae2d-45e61855d456 2025-04-13 13:16:54,369 - INFO - Deleting VM ctest-TestRoutersBasic-36052274-65237783 2025-04-13 13:16:54,447 - INFO - Deleting VM ctest-TestRoutersBasic-36052274-49398376 2025-04-13 13:16:54,524 - INFO - Deleting VN ctest-ext_vn-68337024 2025-04-13 13:16:54,601 - DEBUG - VN 4bf3bfb3-0b82-4665-99a2-976c270e0402 still in use: Unable to complete operation on network 4bf3bfb3-0b82-4665-99a2-976c270e0402. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5eb2ac3c-99fe-4aa3-bc37-6a18d80b03f0'] 2025-04-13 13:16:54,601 - WARNING - Deleting VN ctest-ext_vn-68337024 failed..Will retry 2025-04-13 13:16:56,711 - DEBUG - Response for deleting network () 2025-04-13 13:16:56,711 - INFO - Deleting VN ctest-vn-46037834 2025-04-13 13:16:56,815 - DEBUG - Response for deleting network () 2025-04-13 13:16:57,071 - DEBUG - No XMPP flaps were noticed during the test
2025-04-13 13:16:57,071 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-13 13:16:57,071 - INFO - -------------------------------------------------------------------------------- 2025-04-13 13:16:57,737 - INFO - Deleted project: ctest-TestRoutersBasic-36052274, ID : e8f113af-7174-4d58-9b38-828556d42ba2