2025-06-19 02:07:41,350 - INFO - Domain Default found not creating 2025-06-19 02:07:41,493 - INFO - Project ctest-TestRoutersBasic-71967956 not found, creating it 2025-06-19 02:07:41,939 - INFO - Created Project:ctest-TestRoutersBasic-71967956, ID : cbfb35ce-cf05-4a2e-a91f-4396761191cc 2025-06-19 02:07:43,312 - INFO - ================================================================================ 2025-06-19 02:07:43,312 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-19 02:07:43,312 - 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-06-19 02:07:43,573 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.18': '0'}} with 2025-06-19 02:07:43,573 - INFO - Initial checks done. Running the testcase now 2025-06-19 02:07:43,573 - INFO - 2025-06-19 02:07:44,267 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-71967956 2025-06-19 02:07:44,366 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-71967956 2025-06-19 02:07:44,697 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71967956', 'default']} 2025-06-19 02:07:45,000 - DEBUG - Response for create_network : {'network': {'id': 'f2316090-a688-4c68-a981-2940a2375159', 'name': 'ctest-vn-38645416', 'tenant_id': 'cbfb35cecf054a2ea91f4396761191cc', 'project_id': 'cbfb35cecf054a2ea91f4396761191cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71967956', 'ctest-vn-38645416'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 02:07:45,200 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b869a4cb-08f9-44fd-be11-c66341578507', 'name': '', 'tenant_id': 'cbfb35cecf054a2ea91f4396761191cc', 'network_id': 'f2316090-a688-4c68-a981-2940a2375159', 'ip_version': 4, 'cidr': '25.114.142.64/26', 'allocation_pools': [{'start': '25.114.142.66', 'end': '25.114.142.126'}], 'gateway_ip': '25.114.142.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.114.142.66', 'tags': [], 'project_id': 'cbfb35cecf054a2ea91f4396761191cc'}} 2025-06-19 02:07:45,218 - INFO - Created VN ctest-vn-38645416 2025-06-19 02:07:45,269 - DEBUG - VN ctest-vn-38645416 UUID is f2316090-a688-4c68-a981-2940a2375159 2025-06-19 02:07:45,641 - DEBUG - Response for create_network : {'network': {'id': '8b3a1e4d-fa74-4315-89dd-c43f440d9ce9', 'name': 'ctest-ext_vn-08691057', 'tenant_id': 'cbfb35cecf054a2ea91f4396761191cc', 'project_id': 'cbfb35cecf054a2ea91f4396761191cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71967956', 'ctest-ext_vn-08691057'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 02:07:45,850 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b0bb74d-3de3-4545-965b-6ad20d262f84', 'name': '', 'tenant_id': 'cbfb35cecf054a2ea91f4396761191cc', 'network_id': '8b3a1e4d-fa74-4315-89dd-c43f440d9ce9', 'ip_version': 4, 'cidr': '36.226.192.128/26', 'allocation_pools': [{'start': '36.226.192.130', 'end': '36.226.192.190'}], 'gateway_ip': '36.226.192.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.226.192.130', 'tags': [], 'project_id': 'cbfb35cecf054a2ea91f4396761191cc'}} 2025-06-19 02:07:45,869 - INFO - Created VN ctest-ext_vn-08691057 2025-06-19 02:07:45,925 - DEBUG - VN ctest-ext_vn-08691057 UUID is 8b3a1e4d-fa74-4315-89dd-c43f440d9ce9 2025-06-19 02:07:46,097 - DEBUG - Services list from nova: [, , ] 2025-06-19 02:07:47,179 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3481-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3481-1) 2025-06-19 02:07:48,398 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3481-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3481-1) 2025-06-19 02:07:48,486 - INFO - Setting gateway for router cb05a4ff-93ca-44cf-9a09-67676306af3f to network 8b3a1e4d-fa74-4315-89dd-c43f440d9ce9 2025-06-19 02:07:48,553 - INFO - Adding interface with subnet_id b869a4cb-08f9-44fd-be11-c66341578507, port_id None to router cb05a4ff-93ca-44cf-9a09-67676306af3f 2025-06-19 02:07:49,003 - INFO - Waiting for VM ctest-TestRoutersBasic-71967956-36621528 to be up.. 2025-06-19 02:07:49,142 - DEBUG - VM is in ACTIVE state now 2025-06-19 02:07:49,142 - INFO - VM name : ctest-TestRoutersBasic-71967956-36621528 2025-06-19 02:07:49,272 - DEBUG - VM ctest-TestRoutersBasic-71967956-36621528 ID is f9a015e2-f22f-4b17-923a-21a978db5c89 2025-06-19 02:07:49,303 - DEBUG - VM ctest-TestRoutersBasic-71967956-36621528 launched on Node cn-jenkins-deploy-platform-ansible-os-3481-1 2025-06-19 02:07:49,396 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/f9a015e2-f22f-4b17-923a-21a978db5c89 2025-06-19 02:07:49,717 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/f9a015e2-f22f-4b17-923a-21a978db5c89 2025-06-19 02:07:49,793 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/baf7d6b7-65aa-4ff5-bcad-ceaa414294a3 2025-06-19 02:07:53,092 - 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 1008ms') 2025-06-19 02:07:53,092 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71967956-36621528 failed! 2025-06-19 02:07:53,150 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-71967956:ctest-vn-38645416 is 25.114.142.65 and allocation pool is NOT set 2025-06-19 02:07:57,229 - 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 1019ms') 2025-06-19 02:07:57,229 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71967956-36621528 failed! 2025-06-19 02:07:57,286 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-71967956:ctest-vn-38645416 is 25.114.142.65 and allocation pool is NOT set 2025-06-19 02:07:59,344 - 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=6.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.405 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 = 0.405/3.270/6.135/2.865 ms') 2025-06-19 02:07:59,345 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71967956-36621528 passed 2025-06-19 02:07:59,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 02:07:59,502 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71967956-36621528, IP 25.114.142.67, Port 22 2025-06-19 02:07:59,668 - DEBUG - VM ctest-TestRoutersBasic-71967956-36621528 is ready for SSH connections 2025-06-19 02:07:59,668 - INFO - Waiting for VM ctest-TestRoutersBasic-71967956-63096958 to be up.. 2025-06-19 02:07:59,748 - DEBUG - VM is in ACTIVE state now 2025-06-19 02:07:59,748 - INFO - VM name : ctest-TestRoutersBasic-71967956-63096958 2025-06-19 02:07:59,823 - DEBUG - VM ctest-TestRoutersBasic-71967956-63096958 ID is 52751a3c-f518-4b7c-bc3b-b9bda9737610 2025-06-19 02:07:59,823 - DEBUG - VM ctest-TestRoutersBasic-71967956-63096958 launched on Node cn-jenkins-deploy-platform-ansible-os-3481-1 2025-06-19 02:07:59,921 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/52751a3c-f518-4b7c-bc3b-b9bda9737610 2025-06-19 02:07:59,934 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/f6201e3d-6c0f-4b01-9562-b10bd90a26f7 2025-06-19 02:08:01,192 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.407 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.407/2.082/3.757/1.675 ms') 2025-06-19 02:08:01,192 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-71967956-63096958 passed 2025-06-19 02:08:01,345 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 02:08:01,346 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71967956-63096958, IP 36.226.192.131, Port 22 2025-06-19 02:08:01,509 - DEBUG - VM ctest-TestRoutersBasic-71967956-63096958 is ready for SSH connections 2025-06-19 02:08:01,509 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 02:08:01,509 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.226.192.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-06-19 02:08:01,509 - DEBUG - ping -s 56 -c 3 -W 1 36.226.192.131 2025-06-19 02:08:05,690 - DEBUG - PING 36.226.192.131 (36.226.192.131): 56 data bytes 64 bytes from 36.226.192.131: seq=0 ttl=62 time=5.669 ms 64 bytes from 36.226.192.131: seq=1 ttl=62 time=0.868 ms 64 bytes from 36.226.192.131: seq=2 ttl=62 time=0.801 ms --- 36.226.192.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.801/2.446/5.669 ms 2025-06-19 02:08:05,690 - INFO - Ping to IP 36.226.192.131 from VM ctest-TestRoutersBasic-71967956-36621528 passed 2025-06-19 02:08:05,690 - INFO - Deleting interface with subnet_id b869a4cb-08f9-44fd-be11-c66341578507, port_id None from router cb05a4ff-93ca-44cf-9a09-67676306af3f 2025-06-19 02:08:05,896 - INFO - Deleting VM ctest-TestRoutersBasic-71967956-63096958 2025-06-19 02:08:05,966 - INFO - Deleting VM ctest-TestRoutersBasic-71967956-36621528 2025-06-19 02:08:06,060 - INFO - Deleting VN ctest-ext_vn-08691057 2025-06-19 02:08:06,134 - DEBUG - VN 8b3a1e4d-fa74-4315-89dd-c43f440d9ce9 still in use: Unable to complete operation on network 8b3a1e4d-fa74-4315-89dd-c43f440d9ce9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3af98f7a-6891-4d25-9365-5f8b2eee37be'] 2025-06-19 02:08:06,135 - WARNING - Deleting VN ctest-ext_vn-08691057 failed..Will retry 2025-06-19 02:08:08,248 - DEBUG - Response for deleting network () 2025-06-19 02:08:08,248 - INFO - Deleting VN ctest-vn-38645416 2025-06-19 02:08:08,349 - DEBUG - Response for deleting network () 2025-06-19 02:08:08,605 - DEBUG - No XMPP flaps were noticed during the test 2025-06-19 02:08:08,605 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-06-19 02:08:08,605 - INFO - -------------------------------------------------------------------------------- 2025-06-19 02:08:09,276 - INFO - Deleted project: ctest-TestRoutersBasic-71967956, ID : cbfb35ce-cf05-4a2e-a91f-4396761191cc