2025-09-04 02:22:55,102 - INFO - Domain Default found not creating 2025-09-04 02:22:55,265 - INFO - Project ctest-TestRoutersBasic-16250583 not found, creating it 2025-09-04 02:22:55,903 - INFO - Created Project:ctest-TestRoutersBasic-16250583, ID : 650670f2-4943-41be-9131-832d00461d24 2025-09-04 02:22:57,444 - INFO - ================================================================================ 2025-09-04 02:22:57,444 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-04 02:22:57,444 - 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-09-04 02:22:58,718 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.25': '0', '10.20.0.254': '0'}, '10.0.0.242': {'10.20.0.25': '0', '10.20.0.254': '0'}} with 2025-09-04 02:22:58,718 - INFO - Initial checks done. Running the testcase now 2025-09-04 02:22:58,719 - INFO - 2025-09-04 02:22:59,491 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-16250583 2025-09-04 02:22:59,550 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-16250583 2025-09-04 02:22:59,856 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16250583', 'default']} 2025-09-04 02:23:00,290 - DEBUG - Response for create_network : {'network': {'id': '80b9804d-b344-44a3-ba3b-23b66ce961b8', 'name': 'ctest-vn-72561086', 'tenant_id': '650670f2494341be9131832d00461d24', 'project_id': '650670f2494341be9131832d00461d24', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16250583', 'ctest-vn-72561086'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 02:23:00,545 - DEBUG - Response for create_subnet : {'subnet': {'id': '88f4ce2c-12fb-451f-970a-1f19196d9542', 'name': '', 'tenant_id': '650670f2494341be9131832d00461d24', 'network_id': '80b9804d-b344-44a3-ba3b-23b66ce961b8', 'ip_version': 4, 'cidr': '88.185.90.0/26', 'allocation_pools': [{'start': '88.185.90.2', 'end': '88.185.90.62'}], 'gateway_ip': '88.185.90.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.185.90.2', 'tags': [], 'project_id': '650670f2494341be9131832d00461d24'}} 2025-09-04 02:23:00,567 - INFO - Created VN ctest-vn-72561086 2025-09-04 02:23:00,578 - DEBUG - VN ctest-vn-72561086 UUID is 80b9804d-b344-44a3-ba3b-23b66ce961b8 2025-09-04 02:23:01,020 - DEBUG - Response for create_network : {'network': {'id': '9d91d760-486f-4be4-9161-51359052619c', 'name': 'ctest-ext_vn-32451499', 'tenant_id': '650670f2494341be9131832d00461d24', 'project_id': '650670f2494341be9131832d00461d24', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16250583', 'ctest-ext_vn-32451499'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 02:23:01,244 - DEBUG - Response for create_subnet : {'subnet': {'id': '4900c230-4a93-4bfa-95a7-c5ff420c8fd4', 'name': '', 'tenant_id': '650670f2494341be9131832d00461d24', 'network_id': '9d91d760-486f-4be4-9161-51359052619c', 'ip_version': 4, 'cidr': '141.168.186.128/26', 'allocation_pools': [{'start': '141.168.186.130', 'end': '141.168.186.190'}], 'gateway_ip': '141.168.186.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.168.186.130', 'tags': [], 'project_id': '650670f2494341be9131832d00461d24'}} 2025-09-04 02:23:01,267 - INFO - Created VN ctest-ext_vn-32451499 2025-09-04 02:23:01,284 - DEBUG - VN ctest-ext_vn-32451499 UUID is 9d91d760-486f-4be4-9161-51359052619c 2025-09-04 02:23:01,421 - DEBUG - Services list from nova: [, , , ] 2025-09-04 02:23:02,451 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4012-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4012-1) 2025-09-04 02:23:03,764 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4012-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4012-2) 2025-09-04 02:23:03,897 - INFO - Setting gateway for router 091baf46-7179-41f6-b79b-8c8f2d3495de to network 9d91d760-486f-4be4-9161-51359052619c 2025-09-04 02:23:03,998 - INFO - Adding interface with subnet_id 88f4ce2c-12fb-451f-970a-1f19196d9542, port_id None to router 091baf46-7179-41f6-b79b-8c8f2d3495de 2025-09-04 02:23:04,509 - INFO - Waiting for VM ctest-TestRoutersBasic-16250583-83965751 to be up.. 2025-09-04 02:23:04,701 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 02:23:09,847 - DEBUG - VM is in ACTIVE state now 2025-09-04 02:23:09,847 - INFO - VM name : ctest-TestRoutersBasic-16250583-83965751 2025-09-04 02:23:09,990 - DEBUG - VM ctest-TestRoutersBasic-16250583-83965751 ID is 4e1285ff-59b9-418a-9c7b-95d399eea196 2025-09-04 02:23:10,021 - DEBUG - VM ctest-TestRoutersBasic-16250583-83965751 launched on Node an-jenkins-deploy-platform-ansible-os-4012-1 2025-09-04 02:23:10,228 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/4e1285ff-59b9-418a-9c7b-95d399eea196 2025-09-04 02:23:10,530 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/4e1285ff-59b9-418a-9c7b-95d399eea196 2025-09-04 02:23:10,566 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/9c619c24-6ad5-48f0-869f-fc80a750d965 2025-09-04 02:23:13,736 - 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 1023ms') 2025-09-04 02:23:13,736 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16250583-83965751 failed! 2025-09-04 02:23:13,753 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-16250583:ctest-vn-72561086 is 88.185.90.1 and allocation pool is NOT set 2025-09-04 02:23:15,820 - 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=3.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.399 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.399/1.731/3.064/1.332 ms') 2025-09-04 02:23:15,820 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16250583-83965751 passed 2025-09-04 02:23:15,889 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:23:15,889 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16250583-83965751, IP 88.185.90.3, Port 22 2025-09-04 02:23:16,055 - DEBUG - VM ctest-TestRoutersBasic-16250583-83965751 is ready for SSH connections 2025-09-04 02:23:16,055 - INFO - Waiting for VM ctest-TestRoutersBasic-16250583-54763823 to be up.. 2025-09-04 02:23:16,136 - DEBUG - VM is in ACTIVE state now 2025-09-04 02:23:16,136 - INFO - VM name : ctest-TestRoutersBasic-16250583-54763823 2025-09-04 02:23:16,219 - DEBUG - VM ctest-TestRoutersBasic-16250583-54763823 ID is 13ef1827-c46d-48f0-a9dc-b9a71d5bc65b 2025-09-04 02:23:16,220 - DEBUG - VM ctest-TestRoutersBasic-16250583-54763823 launched on Node an-jenkins-deploy-platform-ansible-os-4012-2 2025-09-04 02:23:16,298 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/13ef1827-c46d-48f0-a9dc-b9a71d5bc65b 2025-09-04 02:23:16,309 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/8ae07c8d-1e28-46e1-9b06-91e519ab894d 2025-09-04 02:23:17,484 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.24 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.241/3.112/4.984/1.871 ms') 2025-09-04 02:23:17,484 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-16250583-54763823 passed 2025-09-04 02:23:17,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:23:17,552 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16250583-54763823, IP 141.168.186.131, Port 22 2025-09-04 02:23:17,720 - DEBUG - VM ctest-TestRoutersBasic-16250583-54763823 is ready for SSH connections 2025-09-04 02:23:17,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 02:23:17,720 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.168.186.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-09-04 02:23:17,720 - DEBUG - ping -s 56 -c 3 -W 1 141.168.186.131 2025-09-04 02:23:21,415 - DEBUG - PING 141.168.186.131 (141.168.186.131): 56 data bytes 64 bytes from 141.168.186.131: seq=0 ttl=62 time=9.130 ms 64 bytes from 141.168.186.131: seq=1 ttl=62 time=1.530 ms 64 bytes from 141.168.186.131: seq=2 ttl=62 time=1.511 ms --- 141.168.186.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.511/4.057/9.130 ms 2025-09-04 02:23:21,415 - INFO - Ping to IP 141.168.186.131 from VM ctest-TestRoutersBasic-16250583-83965751 passed 2025-09-04 02:23:21,415 - INFO - Deleting interface with subnet_id 88f4ce2c-12fb-451f-970a-1f19196d9542, port_id None from router 091baf46-7179-41f6-b79b-8c8f2d3495de 2025-09-04 02:23:21,784 - INFO - Deleting VM ctest-TestRoutersBasic-16250583-54763823 2025-09-04 02:23:21,858 - INFO - Deleting VM ctest-TestRoutersBasic-16250583-83965751 2025-09-04 02:23:21,955 - INFO - Deleting VN ctest-ext_vn-32451499 2025-09-04 02:23:22,096 - DEBUG - VN 9d91d760-486f-4be4-9161-51359052619c still in use: Unable to complete operation on network 9d91d760-486f-4be4-9161-51359052619c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5f67e2cb-404d-4ff0-a13d-445447441408'] 2025-09-04 02:23:22,097 - WARNING - Deleting VN ctest-ext_vn-32451499 failed..Will retry 2025-09-04 02:23:24,242 - DEBUG - Response for deleting network () 2025-09-04 02:23:24,242 - INFO - Deleting VN ctest-vn-72561086 2025-09-04 02:23:24,386 - DEBUG - Response for deleting network () 2025-09-04 02:23:25,656 - DEBUG - No XMPP flaps were noticed during the test 2025-09-04 02:23:25,656 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28] 2025-09-04 02:23:25,656 - INFO - -------------------------------------------------------------------------------- 2025-09-04 02:23:26,411 - INFO - Deleted project: ctest-TestRoutersBasic-16250583, ID : 650670f2-4943-41be-9131-832d00461d24