2026-03-09 02:15:21,918 - INFO - Domain Default found not creating 2026-03-09 02:15:22,068 - INFO - Project ctest-TestRoutersBasic-20100774 not found, creating it 2026-03-09 02:15:22,505 - INFO - Created Project:ctest-TestRoutersBasic-20100774, ID : cb562ca5-cede-4bc8-8286-ade403738c8a 2026-03-09 02:15:24,567 - INFO - ================================================================================ 2026-03-09 02:15:24,567 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-09 02:15:24,567 - 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 2026-03-09 02:15:24,824 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.18': '0'}} with 2026-03-09 02:15:24,824 - INFO - Initial checks done. Running the testcase now 2026-03-09 02:15:24,824 - INFO - 2026-03-09 02:15:25,547 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-20100774 2026-03-09 02:15:25,642 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-20100774 2026-03-09 02:15:25,962 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20100774', 'default']} 2026-03-09 02:15:26,247 - DEBUG - Response for create_network : {'network': {'id': 'b222c6fc-5396-4b6c-9061-197b2f1b1d47', 'name': 'ctest-vn-72216305', 'tenant_id': 'cb562ca5cede4bc88286ade403738c8a', 'project_id': 'cb562ca5cede4bc88286ade403738c8a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20100774', 'ctest-vn-72216305'], 'port_security_enabled': True, 'description': ''}} 2026-03-09 02:15:26,415 - DEBUG - Response for create_subnet : {'subnet': {'id': '2ff46b9c-be83-4772-9c26-6759b03496eb', 'name': '', 'tenant_id': 'cb562ca5cede4bc88286ade403738c8a', 'network_id': 'b222c6fc-5396-4b6c-9061-197b2f1b1d47', 'ip_version': 4, 'cidr': '30.221.54.64/26', 'allocation_pools': [{'start': '30.221.54.66', 'end': '30.221.54.126'}], 'gateway_ip': '30.221.54.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.221.54.66', 'tags': [], 'project_id': 'cb562ca5cede4bc88286ade403738c8a'}} 2026-03-09 02:15:26,430 - INFO - Created VN ctest-vn-72216305 2026-03-09 02:15:26,482 - DEBUG - VN ctest-vn-72216305 UUID is b222c6fc-5396-4b6c-9061-197b2f1b1d47 2026-03-09 02:15:26,806 - DEBUG - Response for create_network : {'network': {'id': 'dad0c1df-4f21-4811-8a35-bdcabc0c0a39', 'name': 'ctest-ext_vn-84242512', 'tenant_id': 'cb562ca5cede4bc88286ade403738c8a', 'project_id': 'cb562ca5cede4bc88286ade403738c8a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-20100774', 'ctest-ext_vn-84242512'], 'port_security_enabled': True, 'description': ''}} 2026-03-09 02:15:26,969 - DEBUG - Response for create_subnet : {'subnet': {'id': '06169f05-1d32-4b93-b7e8-ccdc5089ba78', 'name': '', 'tenant_id': 'cb562ca5cede4bc88286ade403738c8a', 'network_id': 'dad0c1df-4f21-4811-8a35-bdcabc0c0a39', 'ip_version': 4, 'cidr': '157.98.252.128/26', 'allocation_pools': [{'start': '157.98.252.130', 'end': '157.98.252.190'}], 'gateway_ip': '157.98.252.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.98.252.130', 'tags': [], 'project_id': 'cb562ca5cede4bc88286ade403738c8a'}} 2026-03-09 02:15:26,984 - INFO - Created VN ctest-ext_vn-84242512 2026-03-09 02:15:27,034 - DEBUG - VN ctest-ext_vn-84242512 UUID is dad0c1df-4f21-4811-8a35-bdcabc0c0a39 2026-03-09 02:15:27,226 - DEBUG - Services list from nova: [, , ] 2026-03-09 02:15:28,196 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5451-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5451-1) 2026-03-09 02:15:29,271 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5451-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5451-1) 2026-03-09 02:15:29,327 - INFO - Setting gateway for router 55437abb-21d9-4540-845e-622ab66b511a to network dad0c1df-4f21-4811-8a35-bdcabc0c0a39 2026-03-09 02:15:29,408 - INFO - Adding interface with subnet_id 2ff46b9c-be83-4772-9c26-6759b03496eb, port_id None to router 55437abb-21d9-4540-845e-622ab66b511a 2026-03-09 02:15:29,769 - INFO - Waiting for VM ctest-TestRoutersBasic-20100774-46881574 to be up.. 2026-03-09 02:15:29,889 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-09 02:15:34,959 - DEBUG - VM is in ACTIVE state now 2026-03-09 02:15:34,959 - INFO - VM name : ctest-TestRoutersBasic-20100774-46881574 2026-03-09 02:15:35,020 - DEBUG - VM ctest-TestRoutersBasic-20100774-46881574 ID is 6ab2c7de-03d5-41e0-956a-992ce6b1adc6 2026-03-09 02:15:35,038 - DEBUG - VM ctest-TestRoutersBasic-20100774-46881574 launched on Node cn-jenkins-deploy-platform-ansible-os-5451-1 2026-03-09 02:15:35,106 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6ab2c7de-03d5-41e0-956a-992ce6b1adc6 2026-03-09 02:15:35,396 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6ab2c7de-03d5-41e0-956a-992ce6b1adc6 2026-03-09 02:15:35,425 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7b37b035-a1c6-48db-9445-982a2a64bf8f 2026-03-09 02:15:38,674 - 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') 2026-03-09 02:15:38,674 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-20100774-46881574 failed! 2026-03-09 02:15:38,726 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-20100774:ctest-vn-72216305 is 30.221.54.65 and allocation pool is NOT set 2026-03-09 02:15:40,787 - 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=2.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.414 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.414/1.489/2.564/1.075 ms') 2026-03-09 02:15:40,787 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-20100774-46881574 passed 2026-03-09 02:15:40,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 02:15:40,934 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-20100774-46881574, IP 30.221.54.67, Port 22 2026-03-09 02:15:41,093 - DEBUG - VM ctest-TestRoutersBasic-20100774-46881574 is ready for SSH connections 2026-03-09 02:15:41,093 - INFO - Waiting for VM ctest-TestRoutersBasic-20100774-71293945 to be up.. 2026-03-09 02:15:41,165 - DEBUG - VM is in ACTIVE state now 2026-03-09 02:15:41,165 - INFO - VM name : ctest-TestRoutersBasic-20100774-71293945 2026-03-09 02:15:41,232 - DEBUG - VM ctest-TestRoutersBasic-20100774-71293945 ID is 3bd7d210-5829-4a22-9dce-703baf7f5ac7 2026-03-09 02:15:41,232 - DEBUG - VM ctest-TestRoutersBasic-20100774-71293945 launched on Node cn-jenkins-deploy-platform-ansible-os-5451-1 2026-03-09 02:15:41,297 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3bd7d210-5829-4a22-9dce-703baf7f5ac7 2026-03-09 02:15:41,304 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/255f3ef6-8885-4d52-8cb0-23ba6f6d2110 2026-03-09 02:15:42,536 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.437 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.437/1.988/3.539/1.551 ms') 2026-03-09 02:15:42,536 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-20100774-71293945 passed 2026-03-09 02:15:42,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 02:15:42,686 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-20100774-71293945, IP 157.98.252.131, Port 22 2026-03-09 02:15:42,837 - DEBUG - VM ctest-TestRoutersBasic-20100774-71293945 is ready for SSH connections 2026-03-09 02:15:42,837 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 02:15:42,837 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.98.252.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-03-09 02:15:42,838 - DEBUG - ping -s 56 -c 3 -W 1 157.98.252.131 2026-03-09 02:15:46,806 - DEBUG - PING 157.98.252.131 (157.98.252.131): 56 data bytes 64 bytes from 157.98.252.131: seq=0 ttl=62 time=7.246 ms 64 bytes from 157.98.252.131: seq=1 ttl=62 time=0.847 ms 64 bytes from 157.98.252.131: seq=2 ttl=62 time=1.007 ms --- 157.98.252.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.847/3.033/7.246 ms 2026-03-09 02:15:46,806 - INFO - Ping to IP 157.98.252.131 from VM ctest-TestRoutersBasic-20100774-46881574 passed 2026-03-09 02:15:46,806 - INFO - Deleting interface with subnet_id 2ff46b9c-be83-4772-9c26-6759b03496eb, port_id None from router 55437abb-21d9-4540-845e-622ab66b511a 2026-03-09 02:15:46,969 - INFO - Deleting VM ctest-TestRoutersBasic-20100774-71293945 2026-03-09 02:15:47,047 - INFO - Deleting VM ctest-TestRoutersBasic-20100774-46881574 2026-03-09 02:15:47,131 - INFO - Deleting VN ctest-ext_vn-84242512 2026-03-09 02:15:47,193 - DEBUG - VN dad0c1df-4f21-4811-8a35-bdcabc0c0a39 still in use: Unable to complete operation on network dad0c1df-4f21-4811-8a35-bdcabc0c0a39. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-83afd22a-e399-47fe-b6ae-74cefccfa239'] 2026-03-09 02:15:47,193 - WARNING - Deleting VN ctest-ext_vn-84242512 failed..Will retry 2026-03-09 02:15:49,272 - DEBUG - Response for deleting network () 2026-03-09 02:15:49,273 - INFO - Deleting VN ctest-vn-72216305 2026-03-09 02:15:49,464 - DEBUG - Response for deleting network () 2026-03-09 02:15:49,718 - DEBUG - No XMPP flaps were noticed during the test 2026-03-09 02:15:49,718 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-03-09 02:15:49,718 - INFO - -------------------------------------------------------------------------------- 2026-03-09 02:15:50,389 - INFO - Deleted project: ctest-TestRoutersBasic-20100774, ID : cb562ca5-cede-4bc8-8286-ade403738c8a