2025-04-16 20:06:17,343 - INFO - Domain Default found not creating 2025-04-16 20:06:17,504 - INFO - Project ctest-TestRoutersBasic-49705851 not found, creating it 2025-04-16 20:06:18,005 - INFO - Created Project:ctest-TestRoutersBasic-49705851, ID : 2a163b84-995d-4f2d-b026-d981bea15dee 2025-04-16 20:06:19,535 - INFO - ================================================================================ 2025-04-16 20:06:19,535 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-16 20:06:19,535 - 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-16 20:06:19,802 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.129': '0'}} with 2025-04-16 20:06:19,802 - INFO - Initial checks done. Running the testcase now 2025-04-16 20:06:19,802 - INFO - 2025-04-16 20:06:20,526 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-49705851 2025-04-16 20:06:20,626 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-49705851 2025-04-16 20:06:20,953 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49705851', 'default']} 2025-04-16 20:06:21,268 - DEBUG - Response for create_network : {'network': {'id': 'e9ccaebc-0035-4de7-b0f3-a7756bb211e6', 'name': 'ctest-vn-19780811', 'tenant_id': '2a163b84995d4f2db026d981bea15dee', 'project_id': '2a163b84995d4f2db026d981bea15dee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49705851', 'ctest-vn-19780811'], 'port_security_enabled': True, 'description': ''}} 2025-04-16 20:06:21,500 - DEBUG - Response for create_subnet : {'subnet': {'id': '03240ed5-298e-46bc-ac8c-a063bb6474fc', 'name': '', 'tenant_id': '2a163b84995d4f2db026d981bea15dee', 'network_id': 'e9ccaebc-0035-4de7-b0f3-a7756bb211e6', 'ip_version': 4, 'cidr': '197.155.37.192/26', 'allocation_pools': [{'start': '197.155.37.194', 'end': '197.155.37.254'}], 'gateway_ip': '197.155.37.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.155.37.194', 'tags': [], 'project_id': '2a163b84995d4f2db026d981bea15dee'}} 2025-04-16 20:06:21,520 - INFO - Created VN ctest-vn-19780811 2025-04-16 20:06:21,578 - DEBUG - VN ctest-vn-19780811 UUID is e9ccaebc-0035-4de7-b0f3-a7756bb211e6 2025-04-16 20:06:21,951 - DEBUG - Response for create_network : {'network': {'id': 'd702555e-dedc-4905-b260-06d721370d4c', 'name': 'ctest-ext_vn-73083789', 'tenant_id': '2a163b84995d4f2db026d981bea15dee', 'project_id': '2a163b84995d4f2db026d981bea15dee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49705851', 'ctest-ext_vn-73083789'], 'port_security_enabled': True, 'description': ''}} 2025-04-16 20:06:22,127 - DEBUG - Response for create_subnet : {'subnet': {'id': '65df9322-343e-477f-a90e-6dfc80ec1b54', 'name': '', 'tenant_id': '2a163b84995d4f2db026d981bea15dee', 'network_id': 'd702555e-dedc-4905-b260-06d721370d4c', 'ip_version': 4, 'cidr': '178.26.66.0/26', 'allocation_pools': [{'start': '178.26.66.2', 'end': '178.26.66.62'}], 'gateway_ip': '178.26.66.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.26.66.2', 'tags': [], 'project_id': '2a163b84995d4f2db026d981bea15dee'}} 2025-04-16 20:06:22,147 - INFO - Created VN ctest-ext_vn-73083789 2025-04-16 20:06:22,201 - DEBUG - VN ctest-ext_vn-73083789 UUID is d702555e-dedc-4905-b260-06d721370d4c 2025-04-16 20:06:22,383 - DEBUG - Services list from nova: [, , ] 2025-04-16 20:06:23,455 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3125-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3125-1) 2025-04-16 20:06:24,647 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3125-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3125-1) 2025-04-16 20:06:24,732 - INFO - Setting gateway for router d076d4fb-2acf-4d7e-98e2-ae7490e11aa9 to network d702555e-dedc-4905-b260-06d721370d4c 2025-04-16 20:06:24,813 - INFO - Adding interface with subnet_id 03240ed5-298e-46bc-ac8c-a063bb6474fc, port_id None to router d076d4fb-2acf-4d7e-98e2-ae7490e11aa9 2025-04-16 20:06:25,292 - INFO - Waiting for VM ctest-TestRoutersBasic-49705851-41237717 to be up.. 2025-04-16 20:06:25,484 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-16 20:06:30,581 - DEBUG - VM is in ACTIVE state now 2025-04-16 20:06:30,582 - INFO - VM name : ctest-TestRoutersBasic-49705851-41237717 2025-04-16 20:06:30,687 - DEBUG - VM ctest-TestRoutersBasic-49705851-41237717 ID is aa708a77-2900-455f-a72c-12c5d35f55b4 2025-04-16 20:06:30,709 - DEBUG - VM ctest-TestRoutersBasic-49705851-41237717 launched on Node cn-jenkins-deploy-platform-ansible-os-3125-1 2025-04-16 20:06:30,809 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/aa708a77-2900-455f-a72c-12c5d35f55b4 2025-04-16 20:06:31,110 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/aa708a77-2900-455f-a72c-12c5d35f55b4 2025-04-16 20:06:31,145 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/6ef0cac4-e58c-404c-835d-e616f2fb86b5 2025-04-16 20:06:34,411 - 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 1010ms') 2025-04-16 20:06:34,411 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49705851-41237717 failed! 2025-04-16 20:06:34,470 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-49705851:ctest-vn-19780811 is 197.155.37.193 and allocation pool is NOT set 2025-04-16 20:06:36,541 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.59 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 = 3.588/5.392/7.196/1.804 ms') 2025-04-16 20:06:36,541 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49705851-41237717 passed 2025-04-16 20:06:36,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 20:06:36,658 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49705851-41237717, IP 197.155.37.195, Port 22 2025-04-16 20:06:36,813 - DEBUG - VM ctest-TestRoutersBasic-49705851-41237717 is ready for SSH connections 2025-04-16 20:06:36,813 - INFO - Waiting for VM ctest-TestRoutersBasic-49705851-98641745 to be up.. 2025-04-16 20:06:36,903 - DEBUG - VM is in ACTIVE state now 2025-04-16 20:06:36,903 - INFO - VM name : ctest-TestRoutersBasic-49705851-98641745 2025-04-16 20:06:36,988 - DEBUG - VM ctest-TestRoutersBasic-49705851-98641745 ID is 7804935c-3a39-475b-a7f1-023721b1ca55 2025-04-16 20:06:36,988 - DEBUG - VM ctest-TestRoutersBasic-49705851-98641745 launched on Node cn-jenkins-deploy-platform-ansible-os-3125-1 2025-04-16 20:06:37,087 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/7804935c-3a39-475b-a7f1-023721b1ca55 2025-04-16 20:06:37,099 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/3b132905-af23-4295-bdec-e22975522414 2025-04-16 20:06:38,394 - 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.970 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.970/2.040/3.110/1.070 ms') 2025-04-16 20:06:38,394 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-49705851-98641745 passed 2025-04-16 20:06:38,550 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 20:06:38,550 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49705851-98641745, IP 178.26.66.3, Port 22 2025-04-16 20:06:38,705 - DEBUG - VM ctest-TestRoutersBasic-49705851-98641745 is ready for SSH connections 2025-04-16 20:06:38,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 20:06:38,705 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.26.66.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-04-16 20:06:38,706 - DEBUG - ping -s 56 -c 3 -W 1 178.26.66.3 2025-04-16 20:06:42,734 - DEBUG - PING 178.26.66.3 (178.26.66.3): 56 data bytes 64 bytes from 178.26.66.3: seq=0 ttl=62 time=5.277 ms 64 bytes from 178.26.66.3: seq=1 ttl=62 time=1.143 ms 64 bytes from 178.26.66.3: seq=2 ttl=62 time=1.038 ms --- 178.26.66.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.038/2.486/5.277 ms 2025-04-16 20:06:42,734 - INFO - Ping to IP 178.26.66.3 from VM ctest-TestRoutersBasic-49705851-41237717 passed 2025-04-16 20:06:42,734 - INFO - Deleting interface with subnet_id 03240ed5-298e-46bc-ac8c-a063bb6474fc, port_id None from router d076d4fb-2acf-4d7e-98e2-ae7490e11aa9 2025-04-16 20:06:42,983 - INFO - Deleting VM ctest-TestRoutersBasic-49705851-98641745 2025-04-16 20:06:43,071 - INFO - Deleting VM ctest-TestRoutersBasic-49705851-41237717 2025-04-16 20:06:43,174 - INFO - Deleting VN ctest-ext_vn-73083789 2025-04-16 20:06:43,258 - DEBUG - VN d702555e-dedc-4905-b260-06d721370d4c still in use: Unable to complete operation on network d702555e-dedc-4905-b260-06d721370d4c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3694addc-e790-44bf-a683-68e2a28b47c4'] 2025-04-16 20:06:43,258 - WARNING - Deleting VN ctest-ext_vn-73083789 failed..Will retry 2025-04-16 20:06:45,377 - DEBUG - Response for deleting network () 2025-04-16 20:06:45,378 - INFO - Deleting VN ctest-vn-19780811 2025-04-16 20:06:45,497 - DEBUG - Response for deleting network () 2025-04-16 20:06:45,757 - DEBUG - No XMPP flaps were noticed during the test
2025-04-16 20:06:45,757 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-16 20:06:45,757 - INFO - -------------------------------------------------------------------------------- 2025-04-16 20:06:46,461 - INFO - Deleted project: ctest-TestRoutersBasic-49705851, ID : 2a163b84-995d-4f2d-b026-d981bea15dee