2025-12-22 02:21:01,626 - INFO - Domain Default found not creating 2025-12-22 02:21:01,829 - INFO - Project ctest-TestRoutersBasic-40759198 not found, creating it 2025-12-22 02:21:02,378 - INFO - Created Project:ctest-TestRoutersBasic-40759198, ID : 5e54fb67-96e8-442b-acc7-9a636f0279a7 2025-12-22 02:21:03,878 - INFO - ================================================================================ 2025-12-22 02:21:03,878 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-22 02:21:03,879 - 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-12-22 02:21:05,170 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0', '10.20.0.192': '0'}, '10.0.0.19': {'10.20.0.129': '0', '10.20.0.192': '0'}} with 2025-12-22 02:21:05,170 - INFO - Initial checks done. Running the testcase now 2025-12-22 02:21:05,170 - INFO - 2025-12-22 02:21:05,914 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-40759198 2025-12-22 02:21:05,971 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-40759198 2025-12-22 02:21:06,287 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40759198', 'default']} 2025-12-22 02:21:06,730 - DEBUG - Response for create_network : {'network': {'id': 'ad159f1a-07fd-4f4c-9ba5-59544cc25ce6', 'name': 'ctest-vn-23894175', 'tenant_id': '5e54fb6796e8442bacc79a636f0279a7', 'project_id': '5e54fb6796e8442bacc79a636f0279a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40759198', 'ctest-vn-23894175'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 02:21:07,003 - DEBUG - Response for create_subnet : {'subnet': {'id': '7ac35f13-17d0-4e0c-ab04-0e75201b197b', 'name': '', 'tenant_id': '5e54fb6796e8442bacc79a636f0279a7', 'network_id': 'ad159f1a-07fd-4f4c-9ba5-59544cc25ce6', 'ip_version': 4, 'cidr': '22.55.8.192/26', 'allocation_pools': [{'start': '22.55.8.194', 'end': '22.55.8.254'}], 'gateway_ip': '22.55.8.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.55.8.194', 'tags': [], 'project_id': '5e54fb6796e8442bacc79a636f0279a7'}} 2025-12-22 02:21:07,026 - INFO - Created VN ctest-vn-23894175 2025-12-22 02:21:07,038 - DEBUG - VN ctest-vn-23894175 UUID is ad159f1a-07fd-4f4c-9ba5-59544cc25ce6 2025-12-22 02:21:07,490 - DEBUG - Response for create_network : {'network': {'id': 'b855540e-29b4-475c-9083-5a54edef5a0b', 'name': 'ctest-ext_vn-82813784', 'tenant_id': '5e54fb6796e8442bacc79a636f0279a7', 'project_id': '5e54fb6796e8442bacc79a636f0279a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40759198', 'ctest-ext_vn-82813784'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 02:21:07,747 - DEBUG - Response for create_subnet : {'subnet': {'id': '57aa6e25-eba0-47f4-9867-41c831677678', 'name': '', 'tenant_id': '5e54fb6796e8442bacc79a636f0279a7', 'network_id': 'b855540e-29b4-475c-9083-5a54edef5a0b', 'ip_version': 4, 'cidr': '69.130.238.128/26', 'allocation_pools': [{'start': '69.130.238.130', 'end': '69.130.238.190'}], 'gateway_ip': '69.130.238.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.130.238.130', 'tags': [], 'project_id': '5e54fb6796e8442bacc79a636f0279a7'}} 2025-12-22 02:21:07,770 - INFO - Created VN ctest-ext_vn-82813784 2025-12-22 02:21:07,785 - DEBUG - VN ctest-ext_vn-82813784 UUID is b855540e-29b4-475c-9083-5a54edef5a0b 2025-12-22 02:21:07,921 - DEBUG - Services list from nova: [, , , ] 2025-12-22 02:21:08,956 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4918-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4918-1) 2025-12-22 02:21:10,322 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4918-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4918-2) 2025-12-22 02:21:10,429 - INFO - Setting gateway for router 7833f771-1063-4823-8d77-64812852f3b3 to network b855540e-29b4-475c-9083-5a54edef5a0b 2025-12-22 02:21:10,530 - INFO - Adding interface with subnet_id 7ac35f13-17d0-4e0c-ab04-0e75201b197b, port_id None to router 7833f771-1063-4823-8d77-64812852f3b3 2025-12-22 02:21:11,019 - INFO - Waiting for VM ctest-TestRoutersBasic-40759198-03552887 to be up.. 2025-12-22 02:21:11,221 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-22 02:21:16,304 - DEBUG - VM is in ACTIVE state now 2025-12-22 02:21:16,304 - INFO - VM name : ctest-TestRoutersBasic-40759198-03552887 2025-12-22 02:21:16,394 - DEBUG - VM ctest-TestRoutersBasic-40759198-03552887 ID is b549b2d3-2210-49d2-a5cd-a9b02ef52a99 2025-12-22 02:21:16,435 - DEBUG - VM ctest-TestRoutersBasic-40759198-03552887 launched on Node an-jenkins-deploy-platform-ansible-os-4918-1 2025-12-22 02:21:16,523 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/b549b2d3-2210-49d2-a5cd-a9b02ef52a99 2025-12-22 02:21:16,818 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/b549b2d3-2210-49d2-a5cd-a9b02ef52a99 2025-12-22 02:21:16,853 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/65827ee8-3337-4a55-8ecf-eae51e3c5226 2025-12-22 02:21:20,042 - 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 1032ms') 2025-12-22 02:21:20,043 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40759198-03552887 failed! 2025-12-22 02:21:20,057 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40759198:ctest-vn-23894175 is 22.55.8.193 and allocation pool is NOT set 2025-12-22 02:21:22,129 - 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=7.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.12 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 = 1.118/4.097/7.076/2.979 ms') 2025-12-22 02:21:22,129 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40759198-03552887 passed 2025-12-22 02:21:22,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:21:22,207 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40759198-03552887, IP 22.55.8.195, Port 22 2025-12-22 02:21:22,373 - DEBUG - VM ctest-TestRoutersBasic-40759198-03552887 is ready for SSH connections 2025-12-22 02:21:22,373 - INFO - Waiting for VM ctest-TestRoutersBasic-40759198-79230612 to be up.. 2025-12-22 02:21:22,454 - DEBUG - VM is in ACTIVE state now 2025-12-22 02:21:22,455 - INFO - VM name : ctest-TestRoutersBasic-40759198-79230612 2025-12-22 02:21:22,531 - DEBUG - VM ctest-TestRoutersBasic-40759198-79230612 ID is 15c02b27-a255-4956-a1ff-85911d958001 2025-12-22 02:21:22,531 - DEBUG - VM ctest-TestRoutersBasic-40759198-79230612 launched on Node an-jenkins-deploy-platform-ansible-os-4918-2 2025-12-22 02:21:22,617 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/15c02b27-a255-4956-a1ff-85911d958001 2025-12-22 02:21:22,631 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/b7c97d74-9f45-4b3d-a662-9ab5c9407eff 2025-12-22 02:21:25,811 - 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=2 ttl=63 time=7.33 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1021ms\r\nrtt min/avg/max/mdev = 7.332/7.332/7.332/0.000 ms') 2025-12-22 02:21:25,811 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40759198-79230612 passed 2025-12-22 02:21:25,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:21:25,883 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40759198-79230612, IP 69.130.238.131, Port 22 2025-12-22 02:21:26,058 - DEBUG - VM ctest-TestRoutersBasic-40759198-79230612 is ready for SSH connections 2025-12-22 02:21:26,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:21:26,058 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 69.130.238.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-12-22 02:21:26,058 - DEBUG - ping -s 56 -c 3 -W 1 69.130.238.131 2025-12-22 02:21:29,778 - DEBUG - PING 69.130.238.131 (69.130.238.131): 56 data bytes 64 bytes from 69.130.238.131: seq=0 ttl=62 time=11.199 ms 64 bytes from 69.130.238.131: seq=1 ttl=62 time=1.222 ms 64 bytes from 69.130.238.131: seq=2 ttl=62 time=1.620 ms --- 69.130.238.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.222/4.680/11.199 ms 2025-12-22 02:21:29,778 - INFO - Ping to IP 69.130.238.131 from VM ctest-TestRoutersBasic-40759198-03552887 passed 2025-12-22 02:21:29,778 - INFO - Deleting interface with subnet_id 7ac35f13-17d0-4e0c-ab04-0e75201b197b, port_id None from router 7833f771-1063-4823-8d77-64812852f3b3 2025-12-22 02:21:30,158 - INFO - Deleting VM ctest-TestRoutersBasic-40759198-79230612 2025-12-22 02:21:30,272 - INFO - Deleting VM ctest-TestRoutersBasic-40759198-03552887 2025-12-22 02:21:30,390 - INFO - Deleting VN ctest-ext_vn-82813784 2025-12-22 02:21:30,528 - DEBUG - VN b855540e-29b4-475c-9083-5a54edef5a0b still in use: Unable to complete operation on network b855540e-29b4-475c-9083-5a54edef5a0b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9e7a6c4a-2db4-4c29-89f3-92dc81796f09'] 2025-12-22 02:21:30,528 - WARNING - Deleting VN ctest-ext_vn-82813784 failed..Will retry 2025-12-22 02:21:32,698 - DEBUG - Response for deleting network () 2025-12-22 02:21:32,698 - INFO - Deleting VN ctest-vn-23894175 2025-12-22 02:21:32,875 - DEBUG - Response for deleting network () 2025-12-22 02:21:34,203 - DEBUG - No XMPP flaps were noticed during the test
2025-12-22 02:21:34,203 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-12-22 02:21:34,203 - INFO - -------------------------------------------------------------------------------- 2025-12-22 02:21:34,941 - INFO - Deleted project: ctest-TestRoutersBasic-40759198, ID : 5e54fb67-96e8-442b-acc7-9a636f0279a7