2025-09-19 16:30:53,890 - INFO - Domain Default found not creating 2025-09-19 16:30:54,029 - INFO - Project ctest-TestRoutersBasic-35419599 not found, creating it 2025-09-19 16:30:54,459 - INFO - Created Project:ctest-TestRoutersBasic-35419599, ID : 34f4c746-0f17-4897-8d1c-17122df699f2 2025-09-19 16:30:55,906 - INFO - ================================================================================ 2025-09-19 16:30:55,906 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-19 16:30:55,906 - 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-19 16:30:56,164 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-19 16:30:56,164 - INFO - Initial checks done. Running the testcase now 2025-09-19 16:30:56,164 - INFO - 2025-09-19 16:30:56,860 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-35419599 2025-09-19 16:30:56,955 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-35419599 2025-09-19 16:30:57,279 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35419599', 'default']} 2025-09-19 16:30:57,556 - DEBUG - Response for create_network : {'network': {'id': '670ec8e8-07f7-4686-86ad-aab71a349fd0', 'name': 'ctest-vn-52826978', 'tenant_id': '34f4c7460f1748978d1c17122df699f2', 'project_id': '34f4c7460f1748978d1c17122df699f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35419599', 'ctest-vn-52826978'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 16:30:57,764 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e8a12e0-c22a-409e-b0cf-a8e13f891b42', 'name': '', 'tenant_id': '34f4c7460f1748978d1c17122df699f2', 'network_id': '670ec8e8-07f7-4686-86ad-aab71a349fd0', 'ip_version': 4, 'cidr': '204.9.26.192/26', 'allocation_pools': [{'start': '204.9.26.194', 'end': '204.9.26.254'}], 'gateway_ip': '204.9.26.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.9.26.194', 'tags': [], 'project_id': '34f4c7460f1748978d1c17122df699f2'}} 2025-09-19 16:30:57,779 - INFO - Created VN ctest-vn-52826978 2025-09-19 16:30:57,831 - DEBUG - VN ctest-vn-52826978 UUID is 670ec8e8-07f7-4686-86ad-aab71a349fd0 2025-09-19 16:30:58,165 - DEBUG - Response for create_network : {'network': {'id': 'fdfad62b-3029-40d0-a1ec-9609cc5a712d', 'name': 'ctest-ext_vn-40372243', 'tenant_id': '34f4c7460f1748978d1c17122df699f2', 'project_id': '34f4c7460f1748978d1c17122df699f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35419599', 'ctest-ext_vn-40372243'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 16:30:58,336 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef193bbf-0ac6-430b-9110-f277b9d6f16e', 'name': '', 'tenant_id': '34f4c7460f1748978d1c17122df699f2', 'network_id': 'fdfad62b-3029-40d0-a1ec-9609cc5a712d', 'ip_version': 4, 'cidr': '208.91.149.0/26', 'allocation_pools': [{'start': '208.91.149.2', 'end': '208.91.149.62'}], 'gateway_ip': '208.91.149.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.91.149.2', 'tags': [], 'project_id': '34f4c7460f1748978d1c17122df699f2'}} 2025-09-19 16:30:58,352 - INFO - Created VN ctest-ext_vn-40372243 2025-09-19 16:30:58,403 - DEBUG - VN ctest-ext_vn-40372243 UUID is fdfad62b-3029-40d0-a1ec-9609cc5a712d 2025-09-19 16:30:58,604 - DEBUG - Services list from nova: [, , ] 2025-09-19 16:30:59,621 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4150-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4150-1) 2025-09-19 16:31:00,714 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4150-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4150-1) 2025-09-19 16:31:00,776 - INFO - Setting gateway for router 9ba81a47-3437-4dc9-8f1c-020092c325e4 to network fdfad62b-3029-40d0-a1ec-9609cc5a712d 2025-09-19 16:31:00,846 - INFO - Adding interface with subnet_id 5e8a12e0-c22a-409e-b0cf-a8e13f891b42, port_id None to router 9ba81a47-3437-4dc9-8f1c-020092c325e4 2025-09-19 16:31:01,175 - INFO - Waiting for VM ctest-TestRoutersBasic-35419599-99060208 to be up.. 2025-09-19 16:31:01,318 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-19 16:31:06,381 - DEBUG - VM is in ACTIVE state now 2025-09-19 16:31:06,381 - INFO - VM name : ctest-TestRoutersBasic-35419599-99060208 2025-09-19 16:31:06,448 - DEBUG - VM ctest-TestRoutersBasic-35419599-99060208 ID is 3b56bb22-bdbf-4674-90a1-484ba7173ad6 2025-09-19 16:31:06,466 - DEBUG - VM ctest-TestRoutersBasic-35419599-99060208 launched on Node cn-jenkins-deploy-platform-ansible-os-4150-1 2025-09-19 16:31:06,568 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3b56bb22-bdbf-4674-90a1-484ba7173ad6 2025-09-19 16:31:06,865 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3b56bb22-bdbf-4674-90a1-484ba7173ad6 2025-09-19 16:31:06,893 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2a5811ff-3612-4f7c-a992-dfdecc8f3811 2025-09-19 16:31:10,152 - 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 1026ms') 2025-09-19 16:31:10,152 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35419599-99060208 failed! 2025-09-19 16:31:10,203 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-35419599:ctest-vn-52826978 is 204.9.26.193 and allocation pool is NOT set 2025-09-19 16:31:12,269 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.480 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 = 0.480/1.563/2.646/1.083 ms') 2025-09-19 16:31:12,269 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35419599-99060208 passed 2025-09-19 16:31:12,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 16:31:12,419 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35419599-99060208, IP 204.9.26.195, Port 22 2025-09-19 16:31:12,570 - DEBUG - VM ctest-TestRoutersBasic-35419599-99060208 is ready for SSH connections 2025-09-19 16:31:12,570 - INFO - Waiting for VM ctest-TestRoutersBasic-35419599-51682152 to be up.. 2025-09-19 16:31:12,642 - DEBUG - VM is in ACTIVE state now 2025-09-19 16:31:12,642 - INFO - VM name : ctest-TestRoutersBasic-35419599-51682152 2025-09-19 16:31:12,709 - DEBUG - VM ctest-TestRoutersBasic-35419599-51682152 ID is 278843af-b174-4e71-ac3a-c386f4ec1514 2025-09-19 16:31:12,709 - DEBUG - VM ctest-TestRoutersBasic-35419599-51682152 launched on Node cn-jenkins-deploy-platform-ansible-os-4150-1 2025-09-19 16:31:12,776 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/278843af-b174-4e71-ac3a-c386f4ec1514 2025-09-19 16:31:12,784 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e54f8c95-4193-4917-88d4-2034a6bf1bae 2025-09-19 16:31:14,029 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.908 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.908/1.921/2.934/1.013 ms') 2025-09-19 16:31:14,029 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-35419599-51682152 passed 2025-09-19 16:31:14,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 16:31:14,175 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35419599-51682152, IP 208.91.149.3, Port 22 2025-09-19 16:31:14,326 - DEBUG - VM ctest-TestRoutersBasic-35419599-51682152 is ready for SSH connections 2025-09-19 16:31:14,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 16:31:14,327 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.91.149.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-19 16:31:14,327 - DEBUG - ping -s 56 -c 3 -W 1 208.91.149.3 2025-09-19 16:31:18,081 - DEBUG - PING 208.91.149.3 (208.91.149.3): 56 data bytes 64 bytes from 208.91.149.3: seq=0 ttl=62 time=7.857 ms 64 bytes from 208.91.149.3: seq=1 ttl=62 time=0.823 ms 64 bytes from 208.91.149.3: seq=2 ttl=62 time=1.095 ms --- 208.91.149.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.823/3.258/7.857 ms 2025-09-19 16:31:18,081 - INFO - Ping to IP 208.91.149.3 from VM ctest-TestRoutersBasic-35419599-99060208 passed 2025-09-19 16:31:18,081 - INFO - Deleting interface with subnet_id 5e8a12e0-c22a-409e-b0cf-a8e13f891b42, port_id None from router 9ba81a47-3437-4dc9-8f1c-020092c325e4 2025-09-19 16:31:18,282 - INFO - Deleting VM ctest-TestRoutersBasic-35419599-51682152 2025-09-19 16:31:18,357 - INFO - Deleting VM ctest-TestRoutersBasic-35419599-99060208 2025-09-19 16:31:18,439 - INFO - Deleting VN ctest-ext_vn-40372243 2025-09-19 16:31:18,512 - DEBUG - VN fdfad62b-3029-40d0-a1ec-9609cc5a712d still in use: Unable to complete operation on network fdfad62b-3029-40d0-a1ec-9609cc5a712d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0ac488b7-1fd4-4855-8fe2-2507a3e5916f'] 2025-09-19 16:31:18,512 - WARNING - Deleting VN ctest-ext_vn-40372243 failed..Will retry 2025-09-19 16:31:20,598 - DEBUG - Response for deleting network () 2025-09-19 16:31:20,598 - INFO - Deleting VN ctest-vn-52826978 2025-09-19 16:31:20,695 - DEBUG - Response for deleting network () 2025-09-19 16:31:20,952 - DEBUG - No XMPP flaps were noticed during the test
2025-09-19 16:31:20,952 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-19 16:31:20,952 - INFO - -------------------------------------------------------------------------------- 2025-09-19 16:31:21,600 - INFO - Deleted project: ctest-TestRoutersBasic-35419599, ID : 34f4c746-0f17-4897-8d1c-17122df699f2