2025-09-29 21:03:03,572 - INFO - Domain Default found not creating 2025-09-29 21:03:03,695 - INFO - Project ctest-TestRoutersBasic-73280171 not found, creating it 2025-09-29 21:03:04,145 - INFO - Created Project:ctest-TestRoutersBasic-73280171, ID : 9ee85791-1c28-43e7-b41d-784d95d7d686 2025-09-29 21:03:05,430 - INFO - ================================================================================ 2025-09-29 21:03:05,430 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-29 21:03:05,430 - 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-29 21:03:05,682 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-29 21:03:05,682 - INFO - Initial checks done. Running the testcase now 2025-09-29 21:03:05,682 - INFO - 2025-09-29 21:03:06,342 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-73280171 2025-09-29 21:03:06,441 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-73280171 2025-09-29 21:03:06,765 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73280171', 'default']} 2025-09-29 21:03:07,027 - DEBUG - Response for create_network : {'network': {'id': '22f15f52-9939-4639-8fe6-75d61054bc47', 'name': 'ctest-vn-60294197', 'tenant_id': '9ee857911c2843e7b41d784d95d7d686', 'project_id': '9ee857911c2843e7b41d784d95d7d686', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73280171', 'ctest-vn-60294197'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 21:03:07,201 - DEBUG - Response for create_subnet : {'subnet': {'id': '80abbe59-d2cd-4fbb-bddd-5ab02e6e3964', 'name': '', 'tenant_id': '9ee857911c2843e7b41d784d95d7d686', 'network_id': '22f15f52-9939-4639-8fe6-75d61054bc47', 'ip_version': 4, 'cidr': '119.17.101.128/26', 'allocation_pools': [{'start': '119.17.101.130', 'end': '119.17.101.190'}], 'gateway_ip': '119.17.101.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.17.101.130', 'tags': [], 'project_id': '9ee857911c2843e7b41d784d95d7d686'}} 2025-09-29 21:03:07,215 - INFO - Created VN ctest-vn-60294197 2025-09-29 21:03:07,265 - DEBUG - VN ctest-vn-60294197 UUID is 22f15f52-9939-4639-8fe6-75d61054bc47 2025-09-29 21:03:07,570 - DEBUG - Response for create_network : {'network': {'id': '0cc3e6a8-2885-4cff-84b9-81e929e6ab81', 'name': 'ctest-ext_vn-34916879', 'tenant_id': '9ee857911c2843e7b41d784d95d7d686', 'project_id': '9ee857911c2843e7b41d784d95d7d686', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73280171', 'ctest-ext_vn-34916879'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 21:03:07,768 - DEBUG - Response for create_subnet : {'subnet': {'id': '296e67a1-6aec-4389-978b-03cac1feb1f2', 'name': '', 'tenant_id': '9ee857911c2843e7b41d784d95d7d686', 'network_id': '0cc3e6a8-2885-4cff-84b9-81e929e6ab81', 'ip_version': 4, 'cidr': '37.128.125.128/26', 'allocation_pools': [{'start': '37.128.125.130', 'end': '37.128.125.190'}], 'gateway_ip': '37.128.125.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.128.125.130', 'tags': [], 'project_id': '9ee857911c2843e7b41d784d95d7d686'}} 2025-09-29 21:03:07,781 - INFO - Created VN ctest-ext_vn-34916879 2025-09-29 21:03:07,833 - DEBUG - VN ctest-ext_vn-34916879 UUID is 0cc3e6a8-2885-4cff-84b9-81e929e6ab81 2025-09-29 21:03:08,012 - DEBUG - Services list from nova: [, , ] 2025-09-29 21:03:08,961 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4206-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4206-1) 2025-09-29 21:03:10,031 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4206-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4206-1) 2025-09-29 21:03:10,109 - INFO - Setting gateway for router 4a4c21a5-1287-4ad1-b591-13622febc7c0 to network 0cc3e6a8-2885-4cff-84b9-81e929e6ab81 2025-09-29 21:03:10,172 - INFO - Adding interface with subnet_id 80abbe59-d2cd-4fbb-bddd-5ab02e6e3964, port_id None to router 4a4c21a5-1287-4ad1-b591-13622febc7c0 2025-09-29 21:03:10,503 - INFO - Waiting for VM ctest-TestRoutersBasic-73280171-57756625 to be up.. 2025-09-29 21:03:10,651 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-29 21:03:15,713 - DEBUG - VM is in ACTIVE state now 2025-09-29 21:03:15,713 - INFO - VM name : ctest-TestRoutersBasic-73280171-57756625 2025-09-29 21:03:15,771 - DEBUG - VM ctest-TestRoutersBasic-73280171-57756625 ID is 6dd3e6ac-7a4e-4309-8196-a0eba4f6fb59 2025-09-29 21:03:15,786 - DEBUG - VM ctest-TestRoutersBasic-73280171-57756625 launched on Node cn-jenkins-deploy-platform-ansible-os-4206-1 2025-09-29 21:03:15,844 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6dd3e6ac-7a4e-4309-8196-a0eba4f6fb59 2025-09-29 21:03:16,131 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6dd3e6ac-7a4e-4309-8196-a0eba4f6fb59 2025-09-29 21:03:16,156 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/faf7806a-ac3c-45da-9bab-aabf74b1e563 2025-09-29 21:03:19,410 - 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=2 ttl=63 time=11.6 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1024ms\r\nrtt min/avg/max/mdev = 11.561/11.561/11.561/0.000 ms') 2025-09-29 21:03:19,410 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73280171-57756625 passed 2025-09-29 21:03:19,557 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 21:03:19,557 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73280171-57756625, IP 119.17.101.131, Port 22 2025-09-29 21:03:19,712 - DEBUG - VM ctest-TestRoutersBasic-73280171-57756625 is ready for SSH connections 2025-09-29 21:03:19,712 - INFO - Waiting for VM ctest-TestRoutersBasic-73280171-22827199 to be up.. 2025-09-29 21:03:19,773 - DEBUG - VM is in ACTIVE state now 2025-09-29 21:03:19,774 - INFO - VM name : ctest-TestRoutersBasic-73280171-22827199 2025-09-29 21:03:19,835 - DEBUG - VM ctest-TestRoutersBasic-73280171-22827199 ID is bd412336-022b-4e4a-920b-0367b480e2dd 2025-09-29 21:03:19,835 - DEBUG - VM ctest-TestRoutersBasic-73280171-22827199 launched on Node cn-jenkins-deploy-platform-ansible-os-4206-1 2025-09-29 21:03:19,890 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bd412336-022b-4e4a-920b-0367b480e2dd 2025-09-29 21:03:19,895 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8d4b2e09-c6af-4a24-ae0f-dd43c523810e 2025-09-29 21:03:21,119 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.92 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 = 1.923/2.913/3.904/0.990 ms') 2025-09-29 21:03:21,119 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-73280171-22827199 passed 2025-09-29 21:03:21,265 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 21:03:21,265 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73280171-22827199, IP 37.128.125.131, Port 22 2025-09-29 21:03:21,417 - DEBUG - VM ctest-TestRoutersBasic-73280171-22827199 is ready for SSH connections 2025-09-29 21:03:21,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 21:03:21,417 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.128.125.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-29 21:03:21,417 - DEBUG - ping -s 56 -c 3 -W 1 37.128.125.131 2025-09-29 21:03:25,097 - DEBUG - PING 37.128.125.131 (37.128.125.131): 56 data bytes 64 bytes from 37.128.125.131: seq=0 ttl=62 time=4.858 ms 64 bytes from 37.128.125.131: seq=1 ttl=62 time=0.763 ms 64 bytes from 37.128.125.131: seq=2 ttl=62 time=0.734 ms --- 37.128.125.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.734/2.118/4.858 ms 2025-09-29 21:03:25,097 - INFO - Ping to IP 37.128.125.131 from VM ctest-TestRoutersBasic-73280171-57756625 passed 2025-09-29 21:03:25,097 - INFO - Deleting interface with subnet_id 80abbe59-d2cd-4fbb-bddd-5ab02e6e3964, port_id None from router 4a4c21a5-1287-4ad1-b591-13622febc7c0 2025-09-29 21:03:25,247 - INFO - Deleting VM ctest-TestRoutersBasic-73280171-22827199 2025-09-29 21:03:25,303 - INFO - Deleting VM ctest-TestRoutersBasic-73280171-57756625 2025-09-29 21:03:25,374 - INFO - Deleting VN ctest-ext_vn-34916879 2025-09-29 21:03:25,426 - DEBUG - VN 0cc3e6a8-2885-4cff-84b9-81e929e6ab81 still in use: Unable to complete operation on network 0cc3e6a8-2885-4cff-84b9-81e929e6ab81. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ec522bca-8d06-43d8-bc79-d68b629e1daa'] 2025-09-29 21:03:25,426 - WARNING - Deleting VN ctest-ext_vn-34916879 failed..Will retry 2025-09-29 21:03:27,503 - DEBUG - Response for deleting network () 2025-09-29 21:03:27,503 - INFO - Deleting VN ctest-vn-60294197 2025-09-29 21:03:27,587 - DEBUG - Response for deleting network () 2025-09-29 21:03:27,837 - DEBUG - No XMPP flaps were noticed during the test 2025-09-29 21:03:27,837 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:22] 2025-09-29 21:03:27,837 - INFO - -------------------------------------------------------------------------------- 2025-09-29 21:03:28,457 - INFO - Deleted project: ctest-TestRoutersBasic-73280171, ID : 9ee85791-1c28-43e7-b41d-784d95d7d686