2025-06-25 09:59:53,352 - INFO - Domain Default found not creating 2025-06-25 09:59:53,520 - INFO - Project ctest-TestRoutersBasic-97267951 not found, creating it 2025-06-25 09:59:53,960 - INFO - Created Project:ctest-TestRoutersBasic-97267951, ID : e51b3155-a799-4129-84cf-fa8dd8ce110d 2025-06-25 09:59:55,342 - INFO - ================================================================================ 2025-06-25 09:59:55,343 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-25 09:59:55,343 - 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-25 09:59:55,597 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-06-25 09:59:55,597 - INFO - Initial checks done. Running the testcase now 2025-06-25 09:59:55,597 - INFO - 2025-06-25 09:59:56,274 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-97267951 2025-06-25 09:59:56,374 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-97267951 2025-06-25 09:59:56,703 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97267951', 'default']} 2025-06-25 09:59:56,979 - DEBUG - Response for create_network : {'network': {'id': 'cb8a458a-c2e3-4aae-b577-c60cb3ec954a', 'name': 'ctest-vn-19990270', 'tenant_id': 'e51b3155a799412984cffa8dd8ce110d', 'project_id': 'e51b3155a799412984cffa8dd8ce110d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97267951', 'ctest-vn-19990270'], 'port_security_enabled': True, 'description': ''}} 2025-06-25 09:59:57,138 - DEBUG - Response for create_subnet : {'subnet': {'id': '158fc27a-f6bc-4d76-971c-62bbcdd212c1', 'name': '', 'tenant_id': 'e51b3155a799412984cffa8dd8ce110d', 'network_id': 'cb8a458a-c2e3-4aae-b577-c60cb3ec954a', 'ip_version': 4, 'cidr': '190.104.252.0/26', 'allocation_pools': [{'start': '190.104.252.2', 'end': '190.104.252.62'}], 'gateway_ip': '190.104.252.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.104.252.2', 'tags': [], 'project_id': 'e51b3155a799412984cffa8dd8ce110d'}} 2025-06-25 09:59:57,155 - INFO - Created VN ctest-vn-19990270 2025-06-25 09:59:57,207 - DEBUG - VN ctest-vn-19990270 UUID is cb8a458a-c2e3-4aae-b577-c60cb3ec954a 2025-06-25 09:59:57,709 - DEBUG - Response for create_network : {'network': {'id': '30d64de2-6307-4b46-b118-e84729de148e', 'name': 'ctest-ext_vn-20951545', 'tenant_id': 'e51b3155a799412984cffa8dd8ce110d', 'project_id': 'e51b3155a799412984cffa8dd8ce110d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97267951', 'ctest-ext_vn-20951545'], 'port_security_enabled': True, 'description': ''}} 2025-06-25 09:59:58,067 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea50ed90-6945-4c40-8d6c-976e08f0d17f', 'name': '', 'tenant_id': 'e51b3155a799412984cffa8dd8ce110d', 'network_id': '30d64de2-6307-4b46-b118-e84729de148e', 'ip_version': 4, 'cidr': '97.57.111.0/26', 'allocation_pools': [{'start': '97.57.111.2', 'end': '97.57.111.62'}], 'gateway_ip': '97.57.111.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.57.111.2', 'tags': [], 'project_id': 'e51b3155a799412984cffa8dd8ce110d'}} 2025-06-25 09:59:58,090 - INFO - Created VN ctest-ext_vn-20951545 2025-06-25 09:59:58,147 - DEBUG - VN ctest-ext_vn-20951545 UUID is 30d64de2-6307-4b46-b118-e84729de148e 2025-06-25 09:59:58,345 - DEBUG - Services list from nova: [, , ] 2025-06-25 09:59:59,355 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3546-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3546-1) 2025-06-25 10:00:00,516 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3546-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3546-1) 2025-06-25 10:00:00,610 - INFO - Setting gateway for router de3cf5c2-2057-48b8-b5a0-da81daaddb82 to network 30d64de2-6307-4b46-b118-e84729de148e 2025-06-25 10:00:00,688 - INFO - Adding interface with subnet_id 158fc27a-f6bc-4d76-971c-62bbcdd212c1, port_id None to router de3cf5c2-2057-48b8-b5a0-da81daaddb82 2025-06-25 10:00:01,175 - INFO - Waiting for VM ctest-TestRoutersBasic-97267951-32924235 to be up.. 2025-06-25 10:00:01,392 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-25 10:00:06,466 - DEBUG - VM is in ACTIVE state now 2025-06-25 10:00:06,467 - INFO - VM name : ctest-TestRoutersBasic-97267951-32924235 2025-06-25 10:00:06,540 - DEBUG - VM ctest-TestRoutersBasic-97267951-32924235 ID is d26b7ebd-ba61-45a9-aef9-2bc239b42751 2025-06-25 10:00:06,562 - DEBUG - VM ctest-TestRoutersBasic-97267951-32924235 launched on Node cn-jenkins-deploy-platform-ansible-os-3546-1 2025-06-25 10:00:06,642 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/d26b7ebd-ba61-45a9-aef9-2bc239b42751 2025-06-25 10:00:06,935 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/d26b7ebd-ba61-45a9-aef9-2bc239b42751 2025-06-25 10:00:06,965 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/1441016e-5926-493b-87d0-c540928fa4f3 2025-06-25 10:00:10,204 - 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 1004ms') 2025-06-25 10:00:10,204 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97267951-32924235 failed! 2025-06-25 10:00:10,263 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-97267951:ctest-vn-19990270 is 190.104.252.1 and allocation pool is NOT set 2025-06-25 10:00:12,328 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.460 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.460/1.727/2.994/1.267 ms') 2025-06-25 10:00:12,328 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97267951-32924235 passed 2025-06-25 10:00:12,475 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 10:00:12,475 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97267951-32924235, IP 190.104.252.3, Port 22 2025-06-25 10:00:12,631 - DEBUG - VM ctest-TestRoutersBasic-97267951-32924235 is ready for SSH connections 2025-06-25 10:00:12,631 - INFO - Waiting for VM ctest-TestRoutersBasic-97267951-67437763 to be up.. 2025-06-25 10:00:12,706 - DEBUG - VM is in ACTIVE state now 2025-06-25 10:00:12,706 - INFO - VM name : ctest-TestRoutersBasic-97267951-67437763 2025-06-25 10:00:12,776 - DEBUG - VM ctest-TestRoutersBasic-97267951-67437763 ID is 2e7e4bd7-fa45-4bd0-94be-bb06bda80bfd 2025-06-25 10:00:12,776 - DEBUG - VM ctest-TestRoutersBasic-97267951-67437763 launched on Node cn-jenkins-deploy-platform-ansible-os-3546-1 2025-06-25 10:00:12,846 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/2e7e4bd7-fa45-4bd0-94be-bb06bda80bfd 2025-06-25 10:00:12,855 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/3e33adb5-3dcc-4281-b0fe-dd4e69cbec9d 2025-06-25 10:00:14,097 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.514 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.514/1.722/2.930/1.208 ms') 2025-06-25 10:00:14,097 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-97267951-67437763 passed 2025-06-25 10:00:14,251 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 10:00:14,251 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97267951-67437763, IP 97.57.111.3, Port 22 2025-06-25 10:00:14,403 - DEBUG - VM ctest-TestRoutersBasic-97267951-67437763 is ready for SSH connections 2025-06-25 10:00:14,403 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 10:00:14,403 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.57.111.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-06-25 10:00:14,403 - DEBUG - ping -s 56 -c 3 -W 1 97.57.111.3 2025-06-25 10:00:18,366 - DEBUG - PING 97.57.111.3 (97.57.111.3): 56 data bytes 64 bytes from 97.57.111.3: seq=0 ttl=62 time=4.720 ms 64 bytes from 97.57.111.3: seq=1 ttl=62 time=0.813 ms 64 bytes from 97.57.111.3: seq=2 ttl=62 time=0.815 ms --- 97.57.111.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.813/2.116/4.720 ms 2025-06-25 10:00:18,366 - INFO - Ping to IP 97.57.111.3 from VM ctest-TestRoutersBasic-97267951-32924235 passed 2025-06-25 10:00:18,366 - INFO - Deleting interface with subnet_id 158fc27a-f6bc-4d76-971c-62bbcdd212c1, port_id None from router de3cf5c2-2057-48b8-b5a0-da81daaddb82 2025-06-25 10:00:18,593 - INFO - Deleting VM ctest-TestRoutersBasic-97267951-67437763 2025-06-25 10:00:18,677 - INFO - Deleting VM ctest-TestRoutersBasic-97267951-32924235 2025-06-25 10:00:18,742 - INFO - Deleting VN ctest-ext_vn-20951545 2025-06-25 10:00:18,814 - DEBUG - VN 30d64de2-6307-4b46-b118-e84729de148e still in use: Unable to complete operation on network 30d64de2-6307-4b46-b118-e84729de148e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-76855357-2962-4a33-b0e5-16cf6b6edfc7'] 2025-06-25 10:00:18,814 - WARNING - Deleting VN ctest-ext_vn-20951545 failed..Will retry 2025-06-25 10:00:20,918 - DEBUG - Response for deleting network () 2025-06-25 10:00:20,919 - INFO - Deleting VN ctest-vn-19990270 2025-06-25 10:00:21,024 - DEBUG - Response for deleting network () 2025-06-25 10:00:21,276 - DEBUG - No XMPP flaps were noticed during the test 2025-06-25 10:00:21,276 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-06-25 10:00:21,276 - INFO - -------------------------------------------------------------------------------- 2025-06-25 10:00:21,941 - INFO - Deleted project: ctest-TestRoutersBasic-97267951, ID : e51b3155-a799-4129-84cf-fa8dd8ce110d