2026-05-03 09:22:51,651 - INFO - Domain Default found not creating 2026-05-03 09:22:51,832 - INFO - Project ctest-TestRoutersBasic-91633249 not found, creating it 2026-05-03 09:22:52,300 - INFO - Created Project:ctest-TestRoutersBasic-91633249, ID : c1ddd9a4-b814-4d77-aea8-26f56befe330 2026-05-03 09:22:53,787 - INFO - ================================================================================ 2026-05-03 09:22:53,787 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-03 09:22:53,788 - 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-03 09:22:54,053 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-05-03 09:22:54,053 - INFO - Initial checks done. Running the testcase now 2026-05-03 09:22:54,053 - INFO - 2026-05-03 09:22:54,758 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-91633249 2026-05-03 09:22:54,852 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-91633249 2026-05-03 09:22:55,167 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91633249', 'default']} 2026-05-03 09:22:55,450 - DEBUG - Response for create_network : {'network': {'id': '09de460a-20fe-4f9f-be5d-399e0036936e', 'name': 'ctest-vn-59594074', 'tenant_id': 'c1ddd9a4b8144d77aea826f56befe330', 'project_id': 'c1ddd9a4b8144d77aea826f56befe330', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91633249', 'ctest-vn-59594074'], 'port_security_enabled': True, 'description': ''}} 2026-05-03 09:22:55,612 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f31590e3-afa5-4256-bcf3-97f396ae0be2', 'name': '', 'tenant_id': 'c1ddd9a4b8144d77aea826f56befe330', 'network_id': '09de460a-20fe-4f9f-be5d-399e0036936e', 'ip_version': 4, 'cidr': '25.21.247.192/26', 'allocation_pools': [{'start': '25.21.247.194', 'end': '25.21.247.254'}], 'gateway_ip': '25.21.247.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.21.247.194', 'tags': [], 'project_id': 'c1ddd9a4b8144d77aea826f56befe330'}} 2026-05-03 09:22:55,629 - INFO - Created VN ctest-vn-59594074 2026-05-03 09:22:55,684 - DEBUG - VN ctest-vn-59594074 UUID is 09de460a-20fe-4f9f-be5d-399e0036936e 2026-05-03 09:22:56,058 - DEBUG - Response for create_network : {'network': {'id': '37fb270a-a503-4414-9070-b1d4cbe6d3ef', 'name': 'ctest-ext_vn-67123541', 'tenant_id': 'c1ddd9a4b8144d77aea826f56befe330', 'project_id': 'c1ddd9a4b8144d77aea826f56befe330', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91633249', 'ctest-ext_vn-67123541'], 'port_security_enabled': True, 'description': ''}} 2026-05-03 09:22:56,276 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e7340eb-2491-4e13-8838-0654424caed1', 'name': '', 'tenant_id': 'c1ddd9a4b8144d77aea826f56befe330', 'network_id': '37fb270a-a503-4414-9070-b1d4cbe6d3ef', 'ip_version': 4, 'cidr': '122.213.174.64/26', 'allocation_pools': [{'start': '122.213.174.66', 'end': '122.213.174.126'}], 'gateway_ip': '122.213.174.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.213.174.66', 'tags': [], 'project_id': 'c1ddd9a4b8144d77aea826f56befe330'}} 2026-05-03 09:22:56,293 - INFO - Created VN ctest-ext_vn-67123541 2026-05-03 09:22:56,343 - DEBUG - VN ctest-ext_vn-67123541 UUID is 37fb270a-a503-4414-9070-b1d4cbe6d3ef 2026-05-03 09:22:56,524 - DEBUG - Services list from nova: [, , ] 2026-05-03 09:22:57,594 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5736-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5736-1) 2026-05-03 09:22:58,724 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5736-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5736-1) 2026-05-03 09:22:58,789 - INFO - Setting gateway for router 76c06fc1-b661-4931-bbf6-b520642cdbbb to network 37fb270a-a503-4414-9070-b1d4cbe6d3ef 2026-05-03 09:22:58,840 - INFO - Adding interface with subnet_id f31590e3-afa5-4256-bcf3-97f396ae0be2, port_id None to router 76c06fc1-b661-4931-bbf6-b520642cdbbb 2026-05-03 09:22:59,131 - INFO - Waiting for VM ctest-TestRoutersBasic-91633249-86089761 to be up.. 2026-05-03 09:22:59,248 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-03 09:23:04,323 - DEBUG - VM is in ACTIVE state now 2026-05-03 09:23:04,323 - INFO - VM name : ctest-TestRoutersBasic-91633249-86089761 2026-05-03 09:23:04,400 - DEBUG - VM ctest-TestRoutersBasic-91633249-86089761 ID is 2489bb7f-4575-4f59-90a4-ecf363dc7e84 2026-05-03 09:23:04,418 - DEBUG - VM ctest-TestRoutersBasic-91633249-86089761 launched on Node cn-jenkins-deploy-platform-ansible-os-5736-1 2026-05-03 09:23:04,498 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2489bb7f-4575-4f59-90a4-ecf363dc7e84 2026-05-03 09:23:04,799 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2489bb7f-4575-4f59-90a4-ecf363dc7e84 2026-05-03 09:23:04,839 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ccf7e814-4003-4ea2-94a3-24e0f8d54765 2026-05-03 09:23:08,109 - 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 1030ms') 2026-05-03 09:23:08,109 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91633249-86089761 failed! 2026-05-03 09:23:08,164 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-91633249:ctest-vn-59594074 is 25.21.247.193 and allocation pool is NOT set 2026-05-03 09:23:10,223 - 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=3.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.486 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.486/1.828/3.170/1.342 ms') 2026-05-03 09:23:10,223 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91633249-86089761 passed 2026-05-03 09:23:10,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-03 09:23:10,372 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91633249-86089761, IP 25.21.247.195, Port 22 2026-05-03 09:23:10,541 - DEBUG - VM ctest-TestRoutersBasic-91633249-86089761 is ready for SSH connections 2026-05-03 09:23:10,541 - INFO - Waiting for VM ctest-TestRoutersBasic-91633249-91597397 to be up.. 2026-05-03 09:23:10,621 - DEBUG - VM is in ACTIVE state now 2026-05-03 09:23:10,621 - INFO - VM name : ctest-TestRoutersBasic-91633249-91597397 2026-05-03 09:23:10,699 - DEBUG - VM ctest-TestRoutersBasic-91633249-91597397 ID is 74d614a1-49eb-48e5-9555-a66655bdf74c 2026-05-03 09:23:10,699 - DEBUG - VM ctest-TestRoutersBasic-91633249-91597397 launched on Node cn-jenkins-deploy-platform-ansible-os-5736-1 2026-05-03 09:23:10,776 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/74d614a1-49eb-48e5-9555-a66655bdf74c 2026-05-03 09:23:10,784 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/90689a83-3cec-4c47-8c7a-5aef047103f5 2026-05-03 09:23:12,040 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.493 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.493/1.747/3.002/1.254 ms') 2026-05-03 09:23:12,041 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-91633249-91597397 passed 2026-05-03 09:23:12,192 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-03 09:23:12,192 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91633249-91597397, IP 122.213.174.67, Port 22 2026-05-03 09:23:12,355 - DEBUG - VM ctest-TestRoutersBasic-91633249-91597397 is ready for SSH connections 2026-05-03 09:23:12,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-03 09:23:12,355 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.213.174.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-03 09:23:12,355 - DEBUG - ping -s 56 -c 3 -W 1 122.213.174.67 2026-05-03 09:23:16,137 - DEBUG - PING 122.213.174.67 (122.213.174.67): 56 data bytes 64 bytes from 122.213.174.67: seq=0 ttl=62 time=6.813 ms 64 bytes from 122.213.174.67: seq=1 ttl=62 time=0.938 ms 64 bytes from 122.213.174.67: seq=2 ttl=62 time=1.044 ms --- 122.213.174.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.938/2.931/6.813 ms 2026-05-03 09:23:16,138 - INFO - Ping to IP 122.213.174.67 from VM ctest-TestRoutersBasic-91633249-86089761 passed 2026-05-03 09:23:16,138 - INFO - Deleting interface with subnet_id f31590e3-afa5-4256-bcf3-97f396ae0be2, port_id None from router 76c06fc1-b661-4931-bbf6-b520642cdbbb 2026-05-03 09:23:16,334 - INFO - Deleting VM ctest-TestRoutersBasic-91633249-91597397 2026-05-03 09:23:16,410 - INFO - Deleting VM ctest-TestRoutersBasic-91633249-86089761 2026-05-03 09:23:16,498 - INFO - Deleting VN ctest-ext_vn-67123541 2026-05-03 09:23:16,575 - DEBUG - VN 37fb270a-a503-4414-9070-b1d4cbe6d3ef still in use: Unable to complete operation on network 37fb270a-a503-4414-9070-b1d4cbe6d3ef. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-febe22a7-beb4-44f9-8a89-54729b876772'] 2026-05-03 09:23:16,576 - WARNING - Deleting VN ctest-ext_vn-67123541 failed..Will retry 2026-05-03 09:23:18,682 - DEBUG - Response for deleting network () 2026-05-03 09:23:18,683 - INFO - Deleting VN ctest-vn-59594074 2026-05-03 09:23:18,775 - DEBUG - Response for deleting network () 2026-05-03 09:23:19,033 - DEBUG - No XMPP flaps were noticed during the test
2026-05-03 09:23:19,033 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-05-03 09:23:19,033 - INFO - -------------------------------------------------------------------------------- 2026-05-03 09:23:19,700 - INFO - Deleted project: ctest-TestRoutersBasic-91633249, ID : c1ddd9a4-b814-4d77-aea8-26f56befe330