2026-05-28 16:52:20,784 - INFO - Domain Default found not creating 2026-05-28 16:52:21,013 - INFO - Project ctest-TestRoutersBasic-45535628 not found, creating it 2026-05-28 16:52:21,493 - INFO - Created Project:ctest-TestRoutersBasic-45535628, ID : 3bf36403-3805-4d1c-8012-1b906b0e6158 2026-05-28 16:52:23,214 - INFO - ================================================================================ 2026-05-28 16:52:23,215 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-28 16:52:23,215 - 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-05-28 16:52:23,477 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.18': '0'}} with 2026-05-28 16:52:23,477 - INFO - Initial checks done. Running the testcase now 2026-05-28 16:52:23,477 - INFO - 2026-05-28 16:52:24,244 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-45535628 2026-05-28 16:52:24,341 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-45535628 2026-05-28 16:52:24,669 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45535628', 'default']} 2026-05-28 16:52:24,989 - DEBUG - Response for create_network : {'network': {'id': '51a64f05-b7c4-4ba4-b760-c2697a879f9d', 'name': 'ctest-vn-37093921', 'tenant_id': '3bf3640338054d1c80121b906b0e6158', 'project_id': '3bf3640338054d1c80121b906b0e6158', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45535628', 'ctest-vn-37093921'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 16:52:25,214 - DEBUG - Response for create_subnet : {'subnet': {'id': '097ca1a5-daf0-4a57-ab76-554e16d212da', 'name': '', 'tenant_id': '3bf3640338054d1c80121b906b0e6158', 'network_id': '51a64f05-b7c4-4ba4-b760-c2697a879f9d', 'ip_version': 4, 'cidr': '42.231.33.64/26', 'allocation_pools': [{'start': '42.231.33.66', 'end': '42.231.33.126'}], 'gateway_ip': '42.231.33.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.231.33.66', 'tags': [], 'project_id': '3bf3640338054d1c80121b906b0e6158'}} 2026-05-28 16:52:25,236 - INFO - Created VN ctest-vn-37093921 2026-05-28 16:52:25,289 - DEBUG - VN ctest-vn-37093921 UUID is 51a64f05-b7c4-4ba4-b760-c2697a879f9d 2026-05-28 16:52:25,622 - DEBUG - Response for create_network : {'network': {'id': '6cf61650-b62f-4975-8d42-22f85dc889c6', 'name': 'ctest-ext_vn-15580165', 'tenant_id': '3bf3640338054d1c80121b906b0e6158', 'project_id': '3bf3640338054d1c80121b906b0e6158', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45535628', 'ctest-ext_vn-15580165'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 16:52:25,819 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b267dcc-f688-44c7-be3e-867668b584da', 'name': '', 'tenant_id': '3bf3640338054d1c80121b906b0e6158', 'network_id': '6cf61650-b62f-4975-8d42-22f85dc889c6', 'ip_version': 4, 'cidr': '130.133.169.128/26', 'allocation_pools': [{'start': '130.133.169.130', 'end': '130.133.169.190'}], 'gateway_ip': '130.133.169.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.133.169.130', 'tags': [], 'project_id': '3bf3640338054d1c80121b906b0e6158'}} 2026-05-28 16:52:25,840 - INFO - Created VN ctest-ext_vn-15580165 2026-05-28 16:52:25,897 - DEBUG - VN ctest-ext_vn-15580165 UUID is 6cf61650-b62f-4975-8d42-22f85dc889c6 2026-05-28 16:52:26,078 - DEBUG - Services list from nova: [, , ] 2026-05-28 16:52:27,261 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5847-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5847-1) 2026-05-28 16:52:28,570 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5847-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5847-1) 2026-05-28 16:52:28,651 - INFO - Setting gateway for router db2417e3-bf2f-4f17-bdc4-d5b12debec3f to network 6cf61650-b62f-4975-8d42-22f85dc889c6 2026-05-28 16:52:28,712 - INFO - Adding interface with subnet_id 097ca1a5-daf0-4a57-ab76-554e16d212da, port_id None to router db2417e3-bf2f-4f17-bdc4-d5b12debec3f 2026-05-28 16:52:29,176 - INFO - Waiting for VM ctest-TestRoutersBasic-45535628-30249081 to be up.. 2026-05-28 16:52:29,336 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 16:52:34,431 - DEBUG - VM is in ACTIVE state now 2026-05-28 16:52:34,431 - INFO - VM name : ctest-TestRoutersBasic-45535628-30249081 2026-05-28 16:52:34,515 - DEBUG - VM ctest-TestRoutersBasic-45535628-30249081 ID is 59775680-4320-4227-a5fd-3e26f0b38539 2026-05-28 16:52:34,539 - DEBUG - VM ctest-TestRoutersBasic-45535628-30249081 launched on Node cn-jenkins-deploy-platform-ansible-os-5847-1 2026-05-28 16:52:34,623 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/59775680-4320-4227-a5fd-3e26f0b38539 2026-05-28 16:52:34,945 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/59775680-4320-4227-a5fd-3e26f0b38539 2026-05-28 16:52:34,987 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e13822c4-1ea5-4e4f-ac23-a9e28e1958dd 2026-05-28 16:52:38,249 - 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 1012ms') 2026-05-28 16:52:38,250 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45535628-30249081 failed! 2026-05-28 16:52:38,305 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-45535628:ctest-vn-37093921 is 42.231.33.65 and allocation pool is NOT set 2026-05-28 16:52:40,370 - 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=6.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.43 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 = 1.425/3.807/6.189/2.382 ms') 2026-05-28 16:52:40,370 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45535628-30249081 passed 2026-05-28 16:52:40,537 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 16:52:40,537 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45535628-30249081, IP 42.231.33.67, Port 22 2026-05-28 16:52:40,708 - DEBUG - VM ctest-TestRoutersBasic-45535628-30249081 is ready for SSH connections 2026-05-28 16:52:40,708 - INFO - Waiting for VM ctest-TestRoutersBasic-45535628-25274228 to be up.. 2026-05-28 16:52:40,804 - DEBUG - VM is in ACTIVE state now 2026-05-28 16:52:40,804 - INFO - VM name : ctest-TestRoutersBasic-45535628-25274228 2026-05-28 16:52:40,901 - DEBUG - VM ctest-TestRoutersBasic-45535628-25274228 ID is ca69a13d-2084-4eed-8398-e5aff8f7e9ed 2026-05-28 16:52:40,902 - DEBUG - VM ctest-TestRoutersBasic-45535628-25274228 launched on Node cn-jenkins-deploy-platform-ansible-os-5847-1 2026-05-28 16:52:40,991 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ca69a13d-2084-4eed-8398-e5aff8f7e9ed 2026-05-28 16:52:41,000 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5e151962-38ab-43fd-a135-8b3e18246aae 2026-05-28 16:52:42,255 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.41 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.413/3.078/4.744/1.665 ms') 2026-05-28 16:52:42,255 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-45535628-25274228 passed 2026-05-28 16:52:42,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 16:52:42,405 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45535628-25274228, IP 130.133.169.131, Port 22 2026-05-28 16:52:42,587 - DEBUG - VM ctest-TestRoutersBasic-45535628-25274228 is ready for SSH connections 2026-05-28 16:52:42,588 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 16:52:42,588 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.133.169.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-28 16:52:42,588 - DEBUG - ping -s 56 -c 3 -W 1 130.133.169.131 2026-05-28 16:52:46,381 - DEBUG - PING 130.133.169.131 (130.133.169.131): 56 data bytes 64 bytes from 130.133.169.131: seq=0 ttl=62 time=5.470 ms 64 bytes from 130.133.169.131: seq=1 ttl=62 time=1.342 ms 64 bytes from 130.133.169.131: seq=2 ttl=62 time=0.996 ms --- 130.133.169.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.996/2.602/5.470 ms 2026-05-28 16:52:46,381 - INFO - Ping to IP 130.133.169.131 from VM ctest-TestRoutersBasic-45535628-30249081 passed 2026-05-28 16:52:46,381 - INFO - Deleting interface with subnet_id 097ca1a5-daf0-4a57-ab76-554e16d212da, port_id None from router db2417e3-bf2f-4f17-bdc4-d5b12debec3f 2026-05-28 16:52:46,621 - INFO - Deleting VM ctest-TestRoutersBasic-45535628-25274228 2026-05-28 16:52:46,711 - INFO - Deleting VM ctest-TestRoutersBasic-45535628-30249081 2026-05-28 16:52:46,814 - INFO - Deleting VN ctest-ext_vn-15580165 2026-05-28 16:52:46,915 - DEBUG - VN 6cf61650-b62f-4975-8d42-22f85dc889c6 still in use: Unable to complete operation on network 6cf61650-b62f-4975-8d42-22f85dc889c6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0b08cff6-8500-480c-b488-bf993846f0bf'] 2026-05-28 16:52:46,915 - WARNING - Deleting VN ctest-ext_vn-15580165 failed..Will retry 2026-05-28 16:52:49,038 - DEBUG - Response for deleting network () 2026-05-28 16:52:49,038 - INFO - Deleting VN ctest-vn-37093921 2026-05-28 16:52:49,156 - DEBUG - Response for deleting network () 2026-05-28 16:52:49,425 - DEBUG - No XMPP flaps were noticed during the test
2026-05-28 16:52:49,425 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-05-28 16:52:49,425 - INFO - -------------------------------------------------------------------------------- 2026-05-28 16:52:50,190 - INFO - Deleted project: ctest-TestRoutersBasic-45535628, ID : 3bf36403-3805-4d1c-8012-1b906b0e6158