2026-04-29 18:01:50,266 - INFO - Domain Default found not creating 2026-04-29 18:01:50,476 - INFO - Project ctest-TestRoutersBasic-67589939 not found, creating it 2026-04-29 18:01:51,047 - INFO - Created Project:ctest-TestRoutersBasic-67589939, ID : b6898acc-4086-46d6-a654-e638525359cc 2026-04-29 18:01:52,746 - INFO - ================================================================================ 2026-04-29 18:01:52,746 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-29 18:01:52,746 - 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-04-29 18:01:53,020 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-04-29 18:01:53,020 - INFO - Initial checks done. Running the testcase now 2026-04-29 18:01:53,020 - INFO - 2026-04-29 18:01:53,803 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-67589939 2026-04-29 18:01:53,905 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-67589939 2026-04-29 18:01:54,253 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67589939', 'default']} 2026-04-29 18:01:54,578 - DEBUG - Response for create_network : {'network': {'id': '2273a48c-2f3d-44c3-bf36-de0b594142da', 'name': 'ctest-vn-42428820', 'tenant_id': 'b6898acc408646d6a654e638525359cc', 'project_id': 'b6898acc408646d6a654e638525359cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67589939', 'ctest-vn-42428820'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 18:01:54,799 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7fa7eeb-e08f-4091-be4d-99382e675cd2', 'name': '', 'tenant_id': 'b6898acc408646d6a654e638525359cc', 'network_id': '2273a48c-2f3d-44c3-bf36-de0b594142da', 'ip_version': 4, 'cidr': '108.205.103.192/26', 'allocation_pools': [{'start': '108.205.103.194', 'end': '108.205.103.254'}], 'gateway_ip': '108.205.103.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.205.103.194', 'tags': [], 'project_id': 'b6898acc408646d6a654e638525359cc'}} 2026-04-29 18:01:54,823 - INFO - Created VN ctest-vn-42428820 2026-04-29 18:01:54,885 - DEBUG - VN ctest-vn-42428820 UUID is 2273a48c-2f3d-44c3-bf36-de0b594142da 2026-04-29 18:01:55,288 - DEBUG - Response for create_network : {'network': {'id': 'c7be658e-8b44-4f01-838a-53d8a5eaedca', 'name': 'ctest-ext_vn-79374535', 'tenant_id': 'b6898acc408646d6a654e638525359cc', 'project_id': 'b6898acc408646d6a654e638525359cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67589939', 'ctest-ext_vn-79374535'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 18:01:55,543 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5e7b133-4a77-4536-9035-3f762d5fb852', 'name': '', 'tenant_id': 'b6898acc408646d6a654e638525359cc', 'network_id': 'c7be658e-8b44-4f01-838a-53d8a5eaedca', 'ip_version': 4, 'cidr': '183.252.242.64/26', 'allocation_pools': [{'start': '183.252.242.66', 'end': '183.252.242.126'}], 'gateway_ip': '183.252.242.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.252.242.66', 'tags': [], 'project_id': 'b6898acc408646d6a654e638525359cc'}} 2026-04-29 18:01:55,565 - INFO - Created VN ctest-ext_vn-79374535 2026-04-29 18:01:55,622 - DEBUG - VN ctest-ext_vn-79374535 UUID is c7be658e-8b44-4f01-838a-53d8a5eaedca 2026-04-29 18:01:55,825 - DEBUG - Services list from nova: [, , ] 2026-04-29 18:01:57,027 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5712-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5712-1) 2026-04-29 18:01:58,395 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5712-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5712-1) 2026-04-29 18:01:58,510 - INFO - Setting gateway for router 6c044cb0-decf-42b5-9930-c1feabc72dd3 to network c7be658e-8b44-4f01-838a-53d8a5eaedca 2026-04-29 18:01:58,594 - INFO - Adding interface with subnet_id b7fa7eeb-e08f-4091-be4d-99382e675cd2, port_id None to router 6c044cb0-decf-42b5-9930-c1feabc72dd3 2026-04-29 18:01:59,128 - INFO - Waiting for VM ctest-TestRoutersBasic-67589939-01326315 to be up.. 2026-04-29 18:01:59,371 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-29 18:02:04,491 - DEBUG - VM is in ACTIVE state now 2026-04-29 18:02:04,492 - INFO - VM name : ctest-TestRoutersBasic-67589939-01326315 2026-04-29 18:02:04,605 - DEBUG - VM ctest-TestRoutersBasic-67589939-01326315 ID is 21bc2772-449c-4782-9d03-6641fcdd2dca 2026-04-29 18:02:04,636 - DEBUG - VM ctest-TestRoutersBasic-67589939-01326315 launched on Node cn-jenkins-deploy-platform-ansible-os-5712-1 2026-04-29 18:02:04,755 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/21bc2772-449c-4782-9d03-6641fcdd2dca 2026-04-29 18:02:05,076 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/21bc2772-449c-4782-9d03-6641fcdd2dca 2026-04-29 18:02:05,120 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/7dc2a67c-5dc3-4886-96d1-14b8af439a56 2026-04-29 18:02:08,384 - 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-04-29 18:02:08,384 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67589939-01326315 failed! 2026-04-29 18:02:08,442 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-67589939:ctest-vn-42428820 is 108.205.103.193 and allocation pool is NOT set 2026-04-29 18:02:10,510 - 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=13.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.697 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.697/7.092/13.487/6.395 ms') 2026-04-29 18:02:10,510 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67589939-01326315 passed 2026-04-29 18:02:10,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 18:02:10,665 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67589939-01326315, IP 108.205.103.195, Port 22 2026-04-29 18:02:10,731 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-04-29 18:02:10,833 - DEBUG - VM ctest-TestRoutersBasic-67589939-01326315 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-29 18:02:15,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 18:02:15,834 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67589939-01326315, IP 108.205.103.195, Port 22 2026-04-29 18:02:16,007 - DEBUG - VM ctest-TestRoutersBasic-67589939-01326315 is ready for SSH connections 2026-04-29 18:02:16,007 - INFO - Waiting for VM ctest-TestRoutersBasic-67589939-99001232 to be up.. 2026-04-29 18:02:16,102 - DEBUG - VM is in ACTIVE state now 2026-04-29 18:02:16,102 - INFO - VM name : ctest-TestRoutersBasic-67589939-99001232 2026-04-29 18:02:16,193 - DEBUG - VM ctest-TestRoutersBasic-67589939-99001232 ID is ba34475e-bdc2-46bc-848e-c059f5da9d12 2026-04-29 18:02:16,193 - DEBUG - VM ctest-TestRoutersBasic-67589939-99001232 launched on Node cn-jenkins-deploy-platform-ansible-os-5712-1 2026-04-29 18:02:16,280 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ba34475e-bdc2-46bc-848e-c059f5da9d12 2026-04-29 18:02:16,291 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/96d7ad3c-532f-4a2a-bf88-2ebf9717f163 2026-04-29 18:02:17,550 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.432 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.432/2.334/4.236/1.902 ms') 2026-04-29 18:02:17,550 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-67589939-99001232 passed 2026-04-29 18:02:17,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 18:02:17,706 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67589939-99001232, IP 183.252.242.67, Port 22 2026-04-29 18:02:17,881 - DEBUG - VM ctest-TestRoutersBasic-67589939-99001232 is ready for SSH connections 2026-04-29 18:02:17,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 18:02:17,881 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.252.242.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-04-29 18:02:17,881 - DEBUG - ping -s 56 -c 3 -W 1 183.252.242.67 2026-04-29 18:02:21,703 - DEBUG - PING 183.252.242.67 (183.252.242.67): 56 data bytes 64 bytes from 183.252.242.67: seq=0 ttl=62 time=7.431 ms 64 bytes from 183.252.242.67: seq=1 ttl=62 time=1.486 ms 64 bytes from 183.252.242.67: seq=2 ttl=62 time=1.842 ms --- 183.252.242.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.486/3.586/7.431 ms 2026-04-29 18:02:21,703 - INFO - Ping to IP 183.252.242.67 from VM ctest-TestRoutersBasic-67589939-01326315 passed 2026-04-29 18:02:21,703 - INFO - Deleting interface with subnet_id b7fa7eeb-e08f-4091-be4d-99382e675cd2, port_id None from router 6c044cb0-decf-42b5-9930-c1feabc72dd3 2026-04-29 18:02:21,966 - INFO - Deleting VM ctest-TestRoutersBasic-67589939-99001232 2026-04-29 18:02:22,064 - INFO - Deleting VM ctest-TestRoutersBasic-67589939-01326315 2026-04-29 18:02:22,199 - INFO - Deleting VN ctest-ext_vn-79374535 2026-04-29 18:02:22,279 - DEBUG - VN c7be658e-8b44-4f01-838a-53d8a5eaedca still in use: Unable to complete operation on network c7be658e-8b44-4f01-838a-53d8a5eaedca. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c104dbe5-ab7d-44a0-9b0d-3a6065bc9ab5'] 2026-04-29 18:02:22,280 - WARNING - Deleting VN ctest-ext_vn-79374535 failed..Will retry 2026-04-29 18:02:24,400 - DEBUG - Response for deleting network () 2026-04-29 18:02:24,400 - INFO - Deleting VN ctest-vn-42428820 2026-04-29 18:02:24,525 - DEBUG - Response for deleting network () 2026-04-29 18:02:24,804 - DEBUG - No XMPP flaps were noticed during the test 2026-04-29 18:02:24,805 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32] 2026-04-29 18:02:24,805 - INFO - -------------------------------------------------------------------------------- 2026-04-29 18:02:25,543 - INFO - Deleted project: ctest-TestRoutersBasic-67589939, ID : b6898acc-4086-46d6-a654-e638525359cc