2025-07-03 16:50:48,743 - INFO - Domain Default found not creating 2025-07-03 16:50:49,057 - INFO - Project ctest-TestRoutersBasic-28189072 not found, creating it 2025-07-03 16:50:49,621 - INFO - Created Project:ctest-TestRoutersBasic-28189072, ID : 4668674a-b9f9-461a-9298-142fb6687845 2025-07-03 16:50:52,281 - INFO - ================================================================================ 2025-07-03 16:50:52,281 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-03 16:50:52,281 - 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-07-03 16:50:52,601 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.254': '0'}} with 2025-07-03 16:50:52,601 - INFO - Initial checks done. Running the testcase now 2025-07-03 16:50:52,602 - INFO - 2025-07-03 16:50:53,376 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-28189072 2025-07-03 16:50:53,490 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-28189072 2025-07-03 16:50:53,953 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28189072', 'default']} 2025-07-03 16:50:54,487 - DEBUG - Response for create_network : {'network': {'id': 'a987d105-7b39-46ee-a866-13c6ad6e5d93', 'name': 'ctest-vn-40228622', 'tenant_id': '4668674ab9f9461a9298142fb6687845', 'project_id': '4668674ab9f9461a9298142fb6687845', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28189072', 'ctest-vn-40228622'], 'port_security_enabled': True, 'description': ''}} 2025-07-03 16:50:54,684 - DEBUG - Response for create_subnet : {'subnet': {'id': '9fbe2fb2-2939-43b2-886f-0c39a90e50ed', 'name': '', 'tenant_id': '4668674ab9f9461a9298142fb6687845', 'network_id': 'a987d105-7b39-46ee-a866-13c6ad6e5d93', 'ip_version': 4, 'cidr': '74.11.47.64/26', 'allocation_pools': [{'start': '74.11.47.66', 'end': '74.11.47.126'}], 'gateway_ip': '74.11.47.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.11.47.66', 'tags': [], 'project_id': '4668674ab9f9461a9298142fb6687845'}} 2025-07-03 16:50:54,704 - INFO - Created VN ctest-vn-40228622 2025-07-03 16:50:54,766 - DEBUG - VN ctest-vn-40228622 UUID is a987d105-7b39-46ee-a866-13c6ad6e5d93 2025-07-03 16:50:55,373 - DEBUG - Response for create_network : {'network': {'id': '48983aac-aff6-4dc5-9d8b-a8ff302c5caf', 'name': 'ctest-ext_vn-30603548', 'tenant_id': '4668674ab9f9461a9298142fb6687845', 'project_id': '4668674ab9f9461a9298142fb6687845', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28189072', 'ctest-ext_vn-30603548'], 'port_security_enabled': True, 'description': ''}} 2025-07-03 16:50:55,653 - DEBUG - Response for create_subnet : {'subnet': {'id': '466f9563-d96c-46ba-abf4-18a90b95c403', 'name': '', 'tenant_id': '4668674ab9f9461a9298142fb6687845', 'network_id': '48983aac-aff6-4dc5-9d8b-a8ff302c5caf', 'ip_version': 4, 'cidr': '98.23.225.64/26', 'allocation_pools': [{'start': '98.23.225.66', 'end': '98.23.225.126'}], 'gateway_ip': '98.23.225.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.23.225.66', 'tags': [], 'project_id': '4668674ab9f9461a9298142fb6687845'}} 2025-07-03 16:50:55,681 - INFO - Created VN ctest-ext_vn-30603548 2025-07-03 16:50:55,742 - DEBUG - VN ctest-ext_vn-30603548 UUID is 48983aac-aff6-4dc5-9d8b-a8ff302c5caf 2025-07-03 16:50:56,004 - DEBUG - Services list from nova: [, , ] 2025-07-03 16:50:57,462 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3596-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3596-1) 2025-07-03 16:50:59,048 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3596-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3596-1) 2025-07-03 16:50:59,139 - INFO - Setting gateway for router 41ea946b-22b4-4e8e-ad33-afae4b1e3c94 to network 48983aac-aff6-4dc5-9d8b-a8ff302c5caf 2025-07-03 16:50:59,199 - INFO - Adding interface with subnet_id 9fbe2fb2-2939-43b2-886f-0c39a90e50ed, port_id None to router 41ea946b-22b4-4e8e-ad33-afae4b1e3c94 2025-07-03 16:50:59,699 - INFO - Waiting for VM ctest-TestRoutersBasic-28189072-45589851 to be up.. 2025-07-03 16:50:59,894 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-03 16:51:05,007 - DEBUG - VM is in ACTIVE state now 2025-07-03 16:51:05,007 - INFO - VM name : ctest-TestRoutersBasic-28189072-45589851 2025-07-03 16:51:05,096 - DEBUG - VM ctest-TestRoutersBasic-28189072-45589851 ID is 2f13f0da-5129-4468-925d-e4ef4d9ab287 2025-07-03 16:51:05,120 - DEBUG - VM ctest-TestRoutersBasic-28189072-45589851 launched on Node cn-jenkins-deploy-platform-ansible-os-3596-1 2025-07-03 16:51:05,216 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/2f13f0da-5129-4468-925d-e4ef4d9ab287 2025-07-03 16:51:05,601 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/2f13f0da-5129-4468-925d-e4ef4d9ab287 2025-07-03 16:51:05,649 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/245ff887-8d0e-47c7-8cf4-51baa62a192b 2025-07-03 16:51:09,013 - 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 1027ms') 2025-07-03 16:51:09,014 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28189072-45589851 failed! 2025-07-03 16:51:09,098 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-28189072:ctest-vn-40228622 is 74.11.47.65 and allocation pool is NOT set 2025-07-03 16:51:11,171 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.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 = 1.592/2.847/4.102/1.255 ms') 2025-07-03 16:51:11,171 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28189072-45589851 passed 2025-07-03 16:51:11,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 16:51:11,329 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28189072-45589851, IP 74.11.47.67, Port 22 2025-07-03 16:51:11,515 - DEBUG - VM ctest-TestRoutersBasic-28189072-45589851 is ready for SSH connections 2025-07-03 16:51:11,515 - INFO - Waiting for VM ctest-TestRoutersBasic-28189072-39917732 to be up.. 2025-07-03 16:51:11,662 - DEBUG - VM is in ACTIVE state now 2025-07-03 16:51:11,662 - INFO - VM name : ctest-TestRoutersBasic-28189072-39917732 2025-07-03 16:51:11,800 - DEBUG - VM ctest-TestRoutersBasic-28189072-39917732 ID is 8f673f9a-0dc5-4988-8cf0-4521b790c1fc 2025-07-03 16:51:11,801 - DEBUG - VM ctest-TestRoutersBasic-28189072-39917732 launched on Node cn-jenkins-deploy-platform-ansible-os-3596-1 2025-07-03 16:51:11,959 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/8f673f9a-0dc5-4988-8cf0-4521b790c1fc 2025-07-03 16:51:11,982 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/a0686d45-8d0b-4ff3-9d61-3d1f9ea2cc9d 2025-07-03 16:51:13,317 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=4.15 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.822/3.988/4.154/0.166 ms') 2025-07-03 16:51:13,317 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-28189072-39917732 passed 2025-07-03 16:51:13,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 16:51:13,499 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28189072-39917732, IP 98.23.225.67, Port 22 2025-07-03 16:51:13,705 - DEBUG - VM ctest-TestRoutersBasic-28189072-39917732 is ready for SSH connections 2025-07-03 16:51:13,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 16:51:13,705 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.23.225.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-07-03 16:51:13,706 - DEBUG - ping -s 56 -c 3 -W 1 98.23.225.67 2025-07-03 16:51:17,807 - DEBUG - PING 98.23.225.67 (98.23.225.67): 56 data bytes 64 bytes from 98.23.225.67: seq=0 ttl=62 time=8.620 ms 64 bytes from 98.23.225.67: seq=1 ttl=62 time=2.292 ms 64 bytes from 98.23.225.67: seq=2 ttl=62 time=1.770 ms --- 98.23.225.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.770/4.227/8.620 ms 2025-07-03 16:51:17,807 - INFO - Ping to IP 98.23.225.67 from VM ctest-TestRoutersBasic-28189072-45589851 passed 2025-07-03 16:51:17,808 - INFO - Deleting interface with subnet_id 9fbe2fb2-2939-43b2-886f-0c39a90e50ed, port_id None from router 41ea946b-22b4-4e8e-ad33-afae4b1e3c94 2025-07-03 16:51:18,196 - INFO - Deleting VM ctest-TestRoutersBasic-28189072-39917732 2025-07-03 16:51:18,277 - INFO - Deleting VM ctest-TestRoutersBasic-28189072-45589851 2025-07-03 16:51:18,369 - INFO - Deleting VN ctest-ext_vn-30603548 2025-07-03 16:51:18,462 - DEBUG - VN 48983aac-aff6-4dc5-9d8b-a8ff302c5caf still in use: Unable to complete operation on network 48983aac-aff6-4dc5-9d8b-a8ff302c5caf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b26d0332-2163-4a51-9ed1-d277f8d356df'] 2025-07-03 16:51:18,462 - WARNING - Deleting VN ctest-ext_vn-30603548 failed..Will retry 2025-07-03 16:51:20,692 - DEBUG - Response for deleting network () 2025-07-03 16:51:20,692 - INFO - Deleting VN ctest-vn-40228622 2025-07-03 16:51:20,830 - DEBUG - Response for deleting network () 2025-07-03 16:51:21,131 - DEBUG - No XMPP flaps were noticed during the test 2025-07-03 16:51:21,131 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29] 2025-07-03 16:51:21,131 - INFO - -------------------------------------------------------------------------------- 2025-07-03 16:51:22,143 - INFO - Deleted project: ctest-TestRoutersBasic-28189072, ID : 4668674a-b9f9-461a-9298-142fb6687845