2025-09-08 12:48:37,095 - INFO - Domain Default found not creating 2025-09-08 12:48:37,256 - INFO - Project ctest-TestRoutersBasic-89202562 not found, creating it 2025-09-08 12:48:37,694 - INFO - Created Project:ctest-TestRoutersBasic-89202562, ID : 3f391813-74e6-4fe4-9e6e-6804bd3af5e1 2025-09-08 12:48:39,072 - INFO - ================================================================================ 2025-09-08 12:48:39,072 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-08 12:48:39,072 - 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-08 12:48:39,326 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-08 12:48:39,326 - INFO - Initial checks done. Running the testcase now 2025-09-08 12:48:39,326 - INFO - 2025-09-08 12:48:40,014 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-89202562 2025-09-08 12:48:40,109 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-89202562 2025-09-08 12:48:40,425 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89202562', 'default']} 2025-09-08 12:48:40,713 - DEBUG - Response for create_network : {'network': {'id': '0e23a8d5-1743-4bd8-ab32-1a75998c737a', 'name': 'ctest-vn-67195719', 'tenant_id': '3f39181374e64fe49e6e6804bd3af5e1', 'project_id': '3f39181374e64fe49e6e6804bd3af5e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89202562', 'ctest-vn-67195719'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 12:48:40,868 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de4346c4-c016-4922-91d6-52304bf3d411', 'name': '', 'tenant_id': '3f39181374e64fe49e6e6804bd3af5e1', 'network_id': '0e23a8d5-1743-4bd8-ab32-1a75998c737a', 'ip_version': 4, 'cidr': '73.181.254.0/26', 'allocation_pools': [{'start': '73.181.254.2', 'end': '73.181.254.62'}], 'gateway_ip': '73.181.254.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.181.254.2', 'tags': [], 'project_id': '3f39181374e64fe49e6e6804bd3af5e1'}} 2025-09-08 12:48:40,885 - INFO - Created VN ctest-vn-67195719 2025-09-08 12:48:40,937 - DEBUG - VN ctest-vn-67195719 UUID is 0e23a8d5-1743-4bd8-ab32-1a75998c737a 2025-09-08 12:48:41,269 - DEBUG - Response for create_network : {'network': {'id': '43d782e0-6a35-414a-b700-0b06c44879b5', 'name': 'ctest-ext_vn-74304516', 'tenant_id': '3f39181374e64fe49e6e6804bd3af5e1', 'project_id': '3f39181374e64fe49e6e6804bd3af5e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89202562', 'ctest-ext_vn-74304516'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 12:48:41,492 - DEBUG - Response for create_subnet : {'subnet': {'id': '70e187ad-2158-40cd-bd8c-b71543510a7e', 'name': '', 'tenant_id': '3f39181374e64fe49e6e6804bd3af5e1', 'network_id': '43d782e0-6a35-414a-b700-0b06c44879b5', 'ip_version': 4, 'cidr': '206.47.249.128/26', 'allocation_pools': [{'start': '206.47.249.130', 'end': '206.47.249.190'}], 'gateway_ip': '206.47.249.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.47.249.130', 'tags': [], 'project_id': '3f39181374e64fe49e6e6804bd3af5e1'}} 2025-09-08 12:48:41,508 - INFO - Created VN ctest-ext_vn-74304516 2025-09-08 12:48:41,561 - DEBUG - VN ctest-ext_vn-74304516 UUID is 43d782e0-6a35-414a-b700-0b06c44879b5 2025-09-08 12:48:41,740 - DEBUG - Services list from nova: [, , ] 2025-09-08 12:48:42,753 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4046-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4046-1) 2025-09-08 12:48:43,874 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4046-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4046-1) 2025-09-08 12:48:43,930 - INFO - Setting gateway for router d96aa56e-5758-46d0-9296-6f3c9d82b81d to network 43d782e0-6a35-414a-b700-0b06c44879b5 2025-09-08 12:48:44,002 - INFO - Adding interface with subnet_id de4346c4-c016-4922-91d6-52304bf3d411, port_id None to router d96aa56e-5758-46d0-9296-6f3c9d82b81d 2025-09-08 12:48:44,352 - INFO - Waiting for VM ctest-TestRoutersBasic-89202562-54648705 to be up.. 2025-09-08 12:48:44,492 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 12:48:49,573 - DEBUG - VM is in ACTIVE state now 2025-09-08 12:48:49,573 - INFO - VM name : ctest-TestRoutersBasic-89202562-54648705 2025-09-08 12:48:49,648 - DEBUG - VM ctest-TestRoutersBasic-89202562-54648705 ID is 8f275a73-feab-44b5-9522-88b88700530d 2025-09-08 12:48:49,667 - DEBUG - VM ctest-TestRoutersBasic-89202562-54648705 launched on Node cn-jenkins-deploy-platform-ansible-os-4046-1 2025-09-08 12:48:49,754 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8f275a73-feab-44b5-9522-88b88700530d 2025-09-08 12:48:50,058 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8f275a73-feab-44b5-9522-88b88700530d 2025-09-08 12:48:50,087 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4db337de-9e2a-46a0-b58d-4e82a0f37835 2025-09-08 12:48:53,344 - 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 1015ms') 2025-09-08 12:48:53,344 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-89202562-54648705 failed! 2025-09-08 12:48:53,397 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-89202562:ctest-vn-67195719 is 73.181.254.1 and allocation pool is NOT set 2025-09-08 12:48:55,457 - 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.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.415 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.415/2.212/4.010/1.797 ms') 2025-09-08 12:48:55,457 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-89202562-54648705 passed 2025-09-08 12:48:55,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:48:55,605 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89202562-54648705, IP 73.181.254.3, Port 22 2025-09-08 12:48:55,771 - DEBUG - VM ctest-TestRoutersBasic-89202562-54648705 is ready for SSH connections 2025-09-08 12:48:55,771 - INFO - Waiting for VM ctest-TestRoutersBasic-89202562-70179342 to be up.. 2025-09-08 12:48:55,856 - DEBUG - VM is in ACTIVE state now 2025-09-08 12:48:55,856 - INFO - VM name : ctest-TestRoutersBasic-89202562-70179342 2025-09-08 12:48:55,943 - DEBUG - VM ctest-TestRoutersBasic-89202562-70179342 ID is b7757087-443f-4d4c-a88e-2027b6960288 2025-09-08 12:48:55,943 - DEBUG - VM ctest-TestRoutersBasic-89202562-70179342 launched on Node cn-jenkins-deploy-platform-ansible-os-4046-1 2025-09-08 12:48:56,024 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b7757087-443f-4d4c-a88e-2027b6960288 2025-09-08 12:48:56,032 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7a6e4c3d-4591-40ce-bc60-db403fd496a6 2025-09-08 12:48:57,261 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.422 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 = 0.422/1.590/2.758/1.168 ms') 2025-09-08 12:48:57,261 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-89202562-70179342 passed 2025-09-08 12:48:57,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:48:57,409 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89202562-70179342, IP 206.47.249.131, Port 22 2025-09-08 12:48:57,565 - DEBUG - VM ctest-TestRoutersBasic-89202562-70179342 is ready for SSH connections 2025-09-08 12:48:57,565 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:48:57,565 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.47.249.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-08 12:48:57,565 - DEBUG - ping -s 56 -c 3 -W 1 206.47.249.131 2025-09-08 12:49:01,262 - DEBUG - PING 206.47.249.131 (206.47.249.131): 56 data bytes 64 bytes from 206.47.249.131: seq=0 ttl=62 time=5.527 ms 64 bytes from 206.47.249.131: seq=1 ttl=62 time=0.862 ms 64 bytes from 206.47.249.131: seq=2 ttl=62 time=0.795 ms --- 206.47.249.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.795/2.394/5.527 ms 2025-09-08 12:49:01,262 - INFO - Ping to IP 206.47.249.131 from VM ctest-TestRoutersBasic-89202562-54648705 passed 2025-09-08 12:49:01,262 - INFO - Deleting interface with subnet_id de4346c4-c016-4922-91d6-52304bf3d411, port_id None from router d96aa56e-5758-46d0-9296-6f3c9d82b81d 2025-09-08 12:49:01,443 - INFO - Deleting VM ctest-TestRoutersBasic-89202562-70179342 2025-09-08 12:49:01,522 - INFO - Deleting VM ctest-TestRoutersBasic-89202562-54648705 2025-09-08 12:49:01,597 - INFO - Deleting VN ctest-ext_vn-74304516 2025-09-08 12:49:01,692 - DEBUG - VN 43d782e0-6a35-414a-b700-0b06c44879b5 still in use: Unable to complete operation on network 43d782e0-6a35-414a-b700-0b06c44879b5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4a1d901f-ac19-46bb-9d06-9c5936a05420'] 2025-09-08 12:49:01,692 - WARNING - Deleting VN ctest-ext_vn-74304516 failed..Will retry 2025-09-08 12:49:03,806 - DEBUG - Response for deleting network () 2025-09-08 12:49:03,806 - INFO - Deleting VN ctest-vn-67195719 2025-09-08 12:49:03,917 - DEBUG - Response for deleting network () 2025-09-08 12:49:04,170 - DEBUG - No XMPP flaps were noticed during the test 2025-09-08 12:49:04,170 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-09-08 12:49:04,171 - INFO - -------------------------------------------------------------------------------- 2025-09-08 12:49:04,832 - INFO - Deleted project: ctest-TestRoutersBasic-89202562, ID : 3f391813-74e6-4fe4-9e6e-6804bd3af5e1