2025-10-28 21:35:02,687 - INFO - Domain Default found not creating 2025-10-28 21:35:02,832 - INFO - Project ctest-TestRoutersBasic-93631650 not found, creating it 2025-10-28 21:35:03,294 - INFO - Created Project:ctest-TestRoutersBasic-93631650, ID : 88ca54d9-f66e-45a7-b80b-6147be992d18 2025-10-28 21:35:04,707 - INFO - ================================================================================ 2025-10-28 21:35:04,708 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-28 21:35:04,708 - 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-28 21:35:04,960 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-10-28 21:35:04,960 - INFO - Initial checks done. Running the testcase now 2025-10-28 21:35:04,960 - INFO - 2025-10-28 21:35:05,647 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-93631650 2025-10-28 21:35:05,743 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-93631650 2025-10-28 21:35:06,055 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93631650', 'default']} 2025-10-28 21:35:06,330 - DEBUG - Response for create_network : {'network': {'id': 'fec97c7e-f019-45d3-b5c3-e4c7ad252be1', 'name': 'ctest-vn-99867310', 'tenant_id': '88ca54d9f66e45a7b80b6147be992d18', 'project_id': '88ca54d9f66e45a7b80b6147be992d18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93631650', 'ctest-vn-99867310'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:35:06,479 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2f7e6ae-65cf-4266-9cf6-205731b33dda', 'name': '', 'tenant_id': '88ca54d9f66e45a7b80b6147be992d18', 'network_id': 'fec97c7e-f019-45d3-b5c3-e4c7ad252be1', 'ip_version': 4, 'cidr': '206.73.93.128/26', 'allocation_pools': [{'start': '206.73.93.130', 'end': '206.73.93.190'}], 'gateway_ip': '206.73.93.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.73.93.130', 'tags': [], 'project_id': '88ca54d9f66e45a7b80b6147be992d18'}} 2025-10-28 21:35:06,499 - INFO - Created VN ctest-vn-99867310 2025-10-28 21:35:06,551 - DEBUG - VN ctest-vn-99867310 UUID is fec97c7e-f019-45d3-b5c3-e4c7ad252be1 2025-10-28 21:35:06,895 - DEBUG - Response for create_network : {'network': {'id': '815d26a7-1c94-4a80-81db-58c9a472bdb7', 'name': 'ctest-ext_vn-41094495', 'tenant_id': '88ca54d9f66e45a7b80b6147be992d18', 'project_id': '88ca54d9f66e45a7b80b6147be992d18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93631650', 'ctest-ext_vn-41094495'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:35:07,048 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f38f1d20-5743-43f8-a4bf-c84954b9af60', 'name': '', 'tenant_id': '88ca54d9f66e45a7b80b6147be992d18', 'network_id': '815d26a7-1c94-4a80-81db-58c9a472bdb7', 'ip_version': 4, 'cidr': '102.13.232.192/26', 'allocation_pools': [{'start': '102.13.232.194', 'end': '102.13.232.254'}], 'gateway_ip': '102.13.232.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.13.232.194', 'tags': [], 'project_id': '88ca54d9f66e45a7b80b6147be992d18'}} 2025-10-28 21:35:07,063 - INFO - Created VN ctest-ext_vn-41094495 2025-10-28 21:35:07,115 - DEBUG - VN ctest-ext_vn-41094495 UUID is 815d26a7-1c94-4a80-81db-58c9a472bdb7 2025-10-28 21:35:07,270 - DEBUG - Services list from nova: [, , ] 2025-10-28 21:35:08,245 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4518-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4518-1) 2025-10-28 21:35:09,385 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4518-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4518-1) 2025-10-28 21:35:09,446 - INFO - Setting gateway for router a923778f-e73d-4f02-b46e-7ea0264c7ede to network 815d26a7-1c94-4a80-81db-58c9a472bdb7 2025-10-28 21:35:09,498 - INFO - Adding interface with subnet_id b2f7e6ae-65cf-4266-9cf6-205731b33dda, port_id None to router a923778f-e73d-4f02-b46e-7ea0264c7ede 2025-10-28 21:35:09,804 - INFO - Waiting for VM ctest-TestRoutersBasic-93631650-04143310 to be up.. 2025-10-28 21:35:09,918 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-28 21:35:14,999 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:35:14,999 - INFO - VM name : ctest-TestRoutersBasic-93631650-04143310 2025-10-28 21:35:15,074 - DEBUG - VM ctest-TestRoutersBasic-93631650-04143310 ID is a40df99c-5fc9-40ca-8c49-00b49c6a7c5d 2025-10-28 21:35:15,101 - DEBUG - VM ctest-TestRoutersBasic-93631650-04143310 launched on Node cn-jenkins-deploy-platform-ansible-os-4518-1 2025-10-28 21:35:15,175 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a40df99c-5fc9-40ca-8c49-00b49c6a7c5d 2025-10-28 21:35:15,479 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a40df99c-5fc9-40ca-8c49-00b49c6a7c5d 2025-10-28 21:35:15,508 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2e105fb2-489f-4a63-8034-68b9a2077993 2025-10-28 21:35:18,756 - 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-10-28 21:35:18,756 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-93631650-04143310 failed! 2025-10-28 21:35:18,807 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-93631650:ctest-vn-99867310 is 206.73.93.129 and allocation pool is NOT set 2025-10-28 21:35:20,875 - 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=5.64 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 1002ms\r\nrtt min/avg/max/mdev = 1.244/3.444/5.644/2.200 ms') 2025-10-28 21:35:20,875 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-93631650-04143310 passed 2025-10-28 21:35:20,987 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:35:20,987 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93631650-04143310, IP 206.73.93.131, Port 22 2025-10-28 21:35:21,139 - DEBUG - VM ctest-TestRoutersBasic-93631650-04143310 is ready for SSH connections 2025-10-28 21:35:21,139 - INFO - Waiting for VM ctest-TestRoutersBasic-93631650-96208833 to be up.. 2025-10-28 21:35:21,219 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:35:21,219 - INFO - VM name : ctest-TestRoutersBasic-93631650-96208833 2025-10-28 21:35:21,287 - DEBUG - VM ctest-TestRoutersBasic-93631650-96208833 ID is 52d6bdae-ba23-4fe7-b4b3-eccf7250f473 2025-10-28 21:35:21,287 - DEBUG - VM ctest-TestRoutersBasic-93631650-96208833 launched on Node cn-jenkins-deploy-platform-ansible-os-4518-1 2025-10-28 21:35:21,353 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/52d6bdae-ba23-4fe7-b4b3-eccf7250f473 2025-10-28 21:35:21,360 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6ecb4927-99cf-42a0-a60b-7b75001d1b4c 2025-10-28 21:35:22,592 - 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.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.448 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 = 0.448/1.473/2.498/1.025 ms') 2025-10-28 21:35:22,592 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-93631650-96208833 passed 2025-10-28 21:35:22,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:35:22,739 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93631650-96208833, IP 102.13.232.195, Port 22 2025-10-28 21:35:22,909 - DEBUG - VM ctest-TestRoutersBasic-93631650-96208833 is ready for SSH connections 2025-10-28 21:35:22,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:35:22,909 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.13.232.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-28 21:35:22,909 - DEBUG - ping -s 56 -c 3 -W 1 102.13.232.195 2025-10-28 21:35:26,926 - DEBUG - PING 102.13.232.195 (102.13.232.195): 56 data bytes 64 bytes from 102.13.232.195: seq=0 ttl=62 time=6.099 ms 64 bytes from 102.13.232.195: seq=1 ttl=62 time=0.869 ms 64 bytes from 102.13.232.195: seq=2 ttl=62 time=0.847 ms --- 102.13.232.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.847/2.605/6.099 ms 2025-10-28 21:35:26,926 - INFO - Ping to IP 102.13.232.195 from VM ctest-TestRoutersBasic-93631650-04143310 passed 2025-10-28 21:35:26,927 - INFO - Deleting interface with subnet_id b2f7e6ae-65cf-4266-9cf6-205731b33dda, port_id None from router a923778f-e73d-4f02-b46e-7ea0264c7ede 2025-10-28 21:35:27,100 - INFO - Deleting VM ctest-TestRoutersBasic-93631650-96208833 2025-10-28 21:35:27,164 - INFO - Deleting VM ctest-TestRoutersBasic-93631650-04143310 2025-10-28 21:35:27,237 - INFO - Deleting VN ctest-ext_vn-41094495 2025-10-28 21:35:27,301 - DEBUG - VN 815d26a7-1c94-4a80-81db-58c9a472bdb7 still in use: Unable to complete operation on network 815d26a7-1c94-4a80-81db-58c9a472bdb7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7db80390-05ae-4263-99d4-e7098c812e91'] 2025-10-28 21:35:27,302 - WARNING - Deleting VN ctest-ext_vn-41094495 failed..Will retry 2025-10-28 21:35:29,396 - DEBUG - Response for deleting network () 2025-10-28 21:35:29,396 - INFO - Deleting VN ctest-vn-99867310 2025-10-28 21:35:29,485 - DEBUG - Response for deleting network () 2025-10-28 21:35:29,743 - DEBUG - No XMPP flaps were noticed during the test
2025-10-28 21:35:29,743 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-28 21:35:29,743 - INFO - -------------------------------------------------------------------------------- 2025-10-28 21:35:30,413 - INFO - Deleted project: ctest-TestRoutersBasic-93631650, ID : 88ca54d9-f66e-45a7-b80b-6147be992d18