2025-10-19 09:13:12,936 - INFO - Domain Default found not creating 2025-10-19 09:13:13,094 - INFO - Project ctest-TestRoutersBasic-96887783 not found, creating it 2025-10-19 09:13:13,575 - INFO - Created Project:ctest-TestRoutersBasic-96887783, ID : 5492b84a-9e11-4f09-89e7-ec00b0ea22a1 2025-10-19 09:13:15,071 - INFO - ================================================================================ 2025-10-19 09:13:15,071 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-19 09:13:15,071 - 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-10-19 09:13:15,332 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-19 09:13:15,332 - INFO - Initial checks done. Running the testcase now 2025-10-19 09:13:15,332 - INFO - 2025-10-19 09:13:16,039 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-96887783 2025-10-19 09:13:16,134 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-96887783 2025-10-19 09:13:16,458 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96887783', 'default']} 2025-10-19 09:13:16,754 - DEBUG - Response for create_network : {'network': {'id': 'b1b1cead-81df-4c3f-9dc1-70c40f429e29', 'name': 'ctest-vn-19032028', 'tenant_id': '5492b84a9e114f0989e7ec00b0ea22a1', 'project_id': '5492b84a9e114f0989e7ec00b0ea22a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96887783', 'ctest-vn-19032028'], 'port_security_enabled': True, 'description': ''}} 2025-10-19 09:13:16,937 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d6ca8fb-e249-4aa8-a7cb-78412a13674d', 'name': '', 'tenant_id': '5492b84a9e114f0989e7ec00b0ea22a1', 'network_id': 'b1b1cead-81df-4c3f-9dc1-70c40f429e29', 'ip_version': 4, 'cidr': '74.16.198.192/26', 'allocation_pools': [{'start': '74.16.198.194', 'end': '74.16.198.254'}], 'gateway_ip': '74.16.198.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.16.198.194', 'tags': [], 'project_id': '5492b84a9e114f0989e7ec00b0ea22a1'}} 2025-10-19 09:13:16,956 - INFO - Created VN ctest-vn-19032028 2025-10-19 09:13:17,010 - DEBUG - VN ctest-vn-19032028 UUID is b1b1cead-81df-4c3f-9dc1-70c40f429e29 2025-10-19 09:13:17,341 - DEBUG - Response for create_network : {'network': {'id': 'a6fbedb4-0c6a-4c3a-b01f-1646ac37beb7', 'name': 'ctest-ext_vn-27695675', 'tenant_id': '5492b84a9e114f0989e7ec00b0ea22a1', 'project_id': '5492b84a9e114f0989e7ec00b0ea22a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96887783', 'ctest-ext_vn-27695675'], 'port_security_enabled': True, 'description': ''}} 2025-10-19 09:13:17,505 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3280bb0-4011-4ae1-a597-c7d90b3f14fb', 'name': '', 'tenant_id': '5492b84a9e114f0989e7ec00b0ea22a1', 'network_id': 'a6fbedb4-0c6a-4c3a-b01f-1646ac37beb7', 'ip_version': 4, 'cidr': '219.230.7.128/26', 'allocation_pools': [{'start': '219.230.7.130', 'end': '219.230.7.190'}], 'gateway_ip': '219.230.7.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.230.7.130', 'tags': [], 'project_id': '5492b84a9e114f0989e7ec00b0ea22a1'}} 2025-10-19 09:13:17,523 - INFO - Created VN ctest-ext_vn-27695675 2025-10-19 09:13:17,574 - DEBUG - VN ctest-ext_vn-27695675 UUID is a6fbedb4-0c6a-4c3a-b01f-1646ac37beb7 2025-10-19 09:13:17,750 - DEBUG - Services list from nova: [, , ] 2025-10-19 09:13:18,813 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4361-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4361-1) 2025-10-19 09:13:19,985 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4361-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4361-1) 2025-10-19 09:13:20,045 - INFO - Setting gateway for router a1995b1f-737e-47de-a983-acc6fbdc91a7 to network a6fbedb4-0c6a-4c3a-b01f-1646ac37beb7 2025-10-19 09:13:20,117 - INFO - Adding interface with subnet_id 3d6ca8fb-e249-4aa8-a7cb-78412a13674d, port_id None to router a1995b1f-737e-47de-a983-acc6fbdc91a7 2025-10-19 09:13:20,422 - INFO - Waiting for VM ctest-TestRoutersBasic-96887783-75235939 to be up.. 2025-10-19 09:13:20,584 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-19 09:13:25,664 - DEBUG - VM is in ACTIVE state now 2025-10-19 09:13:25,665 - INFO - VM name : ctest-TestRoutersBasic-96887783-75235939 2025-10-19 09:13:25,743 - DEBUG - VM ctest-TestRoutersBasic-96887783-75235939 ID is 6a589de9-9660-49b5-804e-3fcdce6f002e 2025-10-19 09:13:25,764 - DEBUG - VM ctest-TestRoutersBasic-96887783-75235939 launched on Node cn-jenkins-deploy-platform-ansible-os-4361-1 2025-10-19 09:13:25,839 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6a589de9-9660-49b5-804e-3fcdce6f002e 2025-10-19 09:13:26,138 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6a589de9-9660-49b5-804e-3fcdce6f002e 2025-10-19 09:13:26,172 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c27a51e2-0cd6-4bb1-aeb3-d66e5cefeaa4 2025-10-19 09:13:29,412 - 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 1006ms') 2025-10-19 09:13:29,412 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96887783-75235939 failed! 2025-10-19 09:13:29,466 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-96887783:ctest-vn-19032028 is 74.16.198.193 and allocation pool is NOT set 2025-10-19 09:13:31,533 - 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.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.71 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 = 2.714/3.786/4.859/1.072 ms') 2025-10-19 09:13:31,534 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96887783-75235939 passed 2025-10-19 09:13:31,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 09:13:31,686 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96887783-75235939, IP 74.16.198.195, Port 22 2025-10-19 09:13:31,846 - DEBUG - VM ctest-TestRoutersBasic-96887783-75235939 is ready for SSH connections 2025-10-19 09:13:31,846 - INFO - Waiting for VM ctest-TestRoutersBasic-96887783-19504159 to be up.. 2025-10-19 09:13:31,943 - DEBUG - VM is in ACTIVE state now 2025-10-19 09:13:31,943 - INFO - VM name : ctest-TestRoutersBasic-96887783-19504159 2025-10-19 09:13:32,038 - DEBUG - VM ctest-TestRoutersBasic-96887783-19504159 ID is cc9aa9d6-e865-451b-a09d-77640975b564 2025-10-19 09:13:32,038 - DEBUG - VM ctest-TestRoutersBasic-96887783-19504159 launched on Node cn-jenkins-deploy-platform-ansible-os-4361-1 2025-10-19 09:13:32,123 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cc9aa9d6-e865-451b-a09d-77640975b564 2025-10-19 09:13:32,131 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/136ee3f9-a293-4564-b263-1ec3fc90b642 2025-10-19 09:13:33,383 - 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=4.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.35 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 = 1.354/2.798/4.243/1.444 ms') 2025-10-19 09:13:33,383 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-96887783-19504159 passed 2025-10-19 09:13:33,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 09:13:33,546 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96887783-19504159, IP 219.230.7.131, Port 22 2025-10-19 09:13:33,716 - DEBUG - VM ctest-TestRoutersBasic-96887783-19504159 is ready for SSH connections 2025-10-19 09:13:33,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 09:13:33,716 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.230.7.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-19 09:13:33,717 - DEBUG - ping -s 56 -c 3 -W 1 219.230.7.131 2025-10-19 09:13:37,424 - DEBUG - PING 219.230.7.131 (219.230.7.131): 56 data bytes 64 bytes from 219.230.7.131: seq=0 ttl=62 time=6.781 ms 64 bytes from 219.230.7.131: seq=1 ttl=62 time=1.173 ms 64 bytes from 219.230.7.131: seq=2 ttl=62 time=1.317 ms --- 219.230.7.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.173/3.090/6.781 ms 2025-10-19 09:13:37,424 - INFO - Ping to IP 219.230.7.131 from VM ctest-TestRoutersBasic-96887783-75235939 passed 2025-10-19 09:13:37,424 - INFO - Deleting interface with subnet_id 3d6ca8fb-e249-4aa8-a7cb-78412a13674d, port_id None from router a1995b1f-737e-47de-a983-acc6fbdc91a7 2025-10-19 09:13:37,635 - INFO - Deleting VM ctest-TestRoutersBasic-96887783-19504159 2025-10-19 09:13:37,711 - INFO - Deleting VM ctest-TestRoutersBasic-96887783-75235939 2025-10-19 09:13:37,819 - INFO - Deleting VN ctest-ext_vn-27695675 2025-10-19 09:13:37,914 - DEBUG - VN a6fbedb4-0c6a-4c3a-b01f-1646ac37beb7 still in use: Unable to complete operation on network a6fbedb4-0c6a-4c3a-b01f-1646ac37beb7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ee7173ec-d376-4542-a8a3-7eea049ad581'] 2025-10-19 09:13:37,914 - WARNING - Deleting VN ctest-ext_vn-27695675 failed..Will retry 2025-10-19 09:13:40,022 - DEBUG - Response for deleting network () 2025-10-19 09:13:40,022 - INFO - Deleting VN ctest-vn-19032028 2025-10-19 09:13:40,141 - DEBUG - Response for deleting network () 2025-10-19 09:13:40,399 - DEBUG - No XMPP flaps were noticed during the test
2025-10-19 09:13:40,399 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-19 09:13:40,399 - INFO - -------------------------------------------------------------------------------- 2025-10-19 09:13:41,093 - INFO - Deleted project: ctest-TestRoutersBasic-96887783, ID : 5492b84a-9e11-4f09-89e7-ec00b0ea22a1