2025-06-08 05:55:57,947 - INFO - Domain Default found not creating 2025-06-08 05:55:58,084 - INFO - Project ctest-TestRoutersBasic-85048808 not found, creating it 2025-06-08 05:55:58,540 - INFO - Created Project:ctest-TestRoutersBasic-85048808, ID : bd591a7e-bed3-4bd2-8a37-f4200ca87967 2025-06-08 05:56:00,029 - INFO - ================================================================================ 2025-06-08 05:56:00,030 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-08 05:56:00,030 - 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-06-08 05:56:00,286 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-06-08 05:56:00,286 - INFO - Initial checks done. Running the testcase now 2025-06-08 05:56:00,286 - INFO - 2025-06-08 05:56:01,069 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-85048808 2025-06-08 05:56:01,164 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-85048808 2025-06-08 05:56:01,488 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85048808', 'default']} 2025-06-08 05:56:01,782 - DEBUG - Response for create_network : {'network': {'id': '2ecffc56-9e85-4f64-ba41-87a82e6842aa', 'name': 'ctest-vn-36087525', 'tenant_id': 'bd591a7ebed34bd28a37f4200ca87967', 'project_id': 'bd591a7ebed34bd28a37f4200ca87967', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85048808', 'ctest-vn-36087525'], 'port_security_enabled': True, 'description': ''}} 2025-06-08 05:56:01,984 - DEBUG - Response for create_subnet : {'subnet': {'id': '861b963f-8275-4555-a41d-4298e5f141db', 'name': '', 'tenant_id': 'bd591a7ebed34bd28a37f4200ca87967', 'network_id': '2ecffc56-9e85-4f64-ba41-87a82e6842aa', 'ip_version': 4, 'cidr': '218.226.157.192/26', 'allocation_pools': [{'start': '218.226.157.194', 'end': '218.226.157.254'}], 'gateway_ip': '218.226.157.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.226.157.194', 'tags': [], 'project_id': 'bd591a7ebed34bd28a37f4200ca87967'}} 2025-06-08 05:56:02,001 - INFO - Created VN ctest-vn-36087525 2025-06-08 05:56:02,053 - DEBUG - VN ctest-vn-36087525 UUID is 2ecffc56-9e85-4f64-ba41-87a82e6842aa 2025-06-08 05:56:02,419 - DEBUG - Response for create_network : {'network': {'id': '47618241-f5f8-4a4b-a1d9-30abb9e2866e', 'name': 'ctest-ext_vn-06931320', 'tenant_id': 'bd591a7ebed34bd28a37f4200ca87967', 'project_id': 'bd591a7ebed34bd28a37f4200ca87967', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85048808', 'ctest-ext_vn-06931320'], 'port_security_enabled': True, 'description': ''}} 2025-06-08 05:56:02,583 - DEBUG - Response for create_subnet : {'subnet': {'id': '235c32b5-b971-454d-8da7-98f1e9181343', 'name': '', 'tenant_id': 'bd591a7ebed34bd28a37f4200ca87967', 'network_id': '47618241-f5f8-4a4b-a1d9-30abb9e2866e', 'ip_version': 4, 'cidr': '92.241.89.192/26', 'allocation_pools': [{'start': '92.241.89.194', 'end': '92.241.89.254'}], 'gateway_ip': '92.241.89.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.241.89.194', 'tags': [], 'project_id': 'bd591a7ebed34bd28a37f4200ca87967'}} 2025-06-08 05:56:02,600 - INFO - Created VN ctest-ext_vn-06931320 2025-06-08 05:56:02,652 - DEBUG - VN ctest-ext_vn-06931320 UUID is 47618241-f5f8-4a4b-a1d9-30abb9e2866e 2025-06-08 05:56:02,845 - DEBUG - Services list from nova: [, , ] 2025-06-08 05:56:03,935 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3414-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3414-1) 2025-06-08 05:56:05,479 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3414-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3414-1) 2025-06-08 05:56:05,633 - INFO - Setting gateway for router e19b802a-d577-46ee-8c33-2e7fc1bd8e1d to network 47618241-f5f8-4a4b-a1d9-30abb9e2866e 2025-06-08 05:56:05,681 - INFO - Adding interface with subnet_id 861b963f-8275-4555-a41d-4298e5f141db, port_id None to router e19b802a-d577-46ee-8c33-2e7fc1bd8e1d 2025-06-08 05:56:06,093 - INFO - Waiting for VM ctest-TestRoutersBasic-85048808-72961669 to be up.. 2025-06-08 05:56:06,225 - DEBUG - VM is in ACTIVE state now 2025-06-08 05:56:06,225 - INFO - VM name : ctest-TestRoutersBasic-85048808-72961669 2025-06-08 05:56:06,342 - DEBUG - VM ctest-TestRoutersBasic-85048808-72961669 ID is 7b00613e-382a-428b-b7b7-a9c90a22fe48 2025-06-08 05:56:06,370 - DEBUG - VM ctest-TestRoutersBasic-85048808-72961669 launched on Node cn-jenkins-deploy-platform-ansible-os-3414-1 2025-06-08 05:56:06,491 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/7b00613e-382a-428b-b7b7-a9c90a22fe48 2025-06-08 05:56:06,845 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/7b00613e-382a-428b-b7b7-a9c90a22fe48 2025-06-08 05:56:06,886 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/c1007769-b7c4-4df1-abc5-4ad143911e01 2025-06-08 05:56:10,146 - 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 1003ms') 2025-06-08 05:56:10,146 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85048808-72961669 failed! 2025-06-08 05:56:10,204 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-85048808:ctest-vn-36087525 is 218.226.157.193 and allocation pool is NOT set 2025-06-08 05:56:14,277 - 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 1011ms') 2025-06-08 05:56:14,277 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85048808-72961669 failed! 2025-06-08 05:56:14,341 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-85048808:ctest-vn-36087525 is 218.226.157.193 and allocation pool is NOT set 2025-06-08 05:56:16,407 - 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=4.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.808 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.808/2.827/4.846/2.019 ms') 2025-06-08 05:56:16,407 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85048808-72961669 passed 2025-06-08 05:56:16,568 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-08 05:56:16,569 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85048808-72961669, IP 218.226.157.195, Port 22 2025-06-08 05:56:16,728 - DEBUG - VM ctest-TestRoutersBasic-85048808-72961669 is ready for SSH connections 2025-06-08 05:56:16,728 - INFO - Waiting for VM ctest-TestRoutersBasic-85048808-66384846 to be up.. 2025-06-08 05:56:16,827 - DEBUG - VM is in ACTIVE state now 2025-06-08 05:56:16,827 - INFO - VM name : ctest-TestRoutersBasic-85048808-66384846 2025-06-08 05:56:16,902 - DEBUG - VM ctest-TestRoutersBasic-85048808-66384846 ID is 4e0e8b9d-6596-4736-8d66-6da81a6876e8 2025-06-08 05:56:16,902 - DEBUG - VM ctest-TestRoutersBasic-85048808-66384846 launched on Node cn-jenkins-deploy-platform-ansible-os-3414-1 2025-06-08 05:56:16,988 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/4e0e8b9d-6596-4736-8d66-6da81a6876e8 2025-06-08 05:56:16,998 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/cc32b819-038d-473f-b5b9-ce50fe607916 2025-06-08 05:56:18,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=3.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.963 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.963/2.069/3.176/1.106 ms') 2025-06-08 05:56:18,255 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-85048808-66384846 passed 2025-06-08 05:56:18,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-08 05:56:18,416 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85048808-66384846, IP 92.241.89.195, Port 22 2025-06-08 05:56:18,482 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-06-08 05:56:18,560 - DEBUG - VM ctest-TestRoutersBasic-85048808-66384846 is NOT ready for SSH connections, VM status: ACTIVE 2025-06-08 05:56:23,561 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-08 05:56:23,561 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85048808-66384846, IP 92.241.89.195, Port 22 2025-06-08 05:56:23,716 - DEBUG - VM ctest-TestRoutersBasic-85048808-66384846 is ready for SSH connections 2025-06-08 05:56:23,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-08 05:56:23,716 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.241.89.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-06-08 05:56:23,716 - DEBUG - ping -s 56 -c 3 -W 1 92.241.89.195 2025-06-08 05:56:27,749 - DEBUG - PING 92.241.89.195 (92.241.89.195): 56 data bytes 64 bytes from 92.241.89.195: seq=0 ttl=62 time=6.559 ms 64 bytes from 92.241.89.195: seq=1 ttl=62 time=0.881 ms 64 bytes from 92.241.89.195: seq=2 ttl=62 time=0.773 ms --- 92.241.89.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.773/2.737/6.559 ms 2025-06-08 05:56:27,749 - INFO - Ping to IP 92.241.89.195 from VM ctest-TestRoutersBasic-85048808-72961669 passed 2025-06-08 05:56:27,749 - INFO - Deleting interface with subnet_id 861b963f-8275-4555-a41d-4298e5f141db, port_id None from router e19b802a-d577-46ee-8c33-2e7fc1bd8e1d 2025-06-08 05:56:28,013 - INFO - Deleting VM ctest-TestRoutersBasic-85048808-66384846 2025-06-08 05:56:28,090 - INFO - Deleting VM ctest-TestRoutersBasic-85048808-72961669 2025-06-08 05:56:28,197 - INFO - Deleting VN ctest-ext_vn-06931320 2025-06-08 05:56:28,280 - DEBUG - VN 47618241-f5f8-4a4b-a1d9-30abb9e2866e still in use: Unable to complete operation on network 47618241-f5f8-4a4b-a1d9-30abb9e2866e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2b3ad8c7-1561-4ca1-8847-28bd32c01be8'] 2025-06-08 05:56:28,280 - WARNING - Deleting VN ctest-ext_vn-06931320 failed..Will retry 2025-06-08 05:56:30,391 - DEBUG - Response for deleting network () 2025-06-08 05:56:30,391 - INFO - Deleting VN ctest-vn-36087525 2025-06-08 05:56:30,529 - DEBUG - Response for deleting network () 2025-06-08 05:56:30,787 - DEBUG - No XMPP flaps were noticed during the test
2025-06-08 05:56:30,787 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2025-06-08 05:56:30,787 - INFO - -------------------------------------------------------------------------------- 2025-06-08 05:56:31,483 - INFO - Deleted project: ctest-TestRoutersBasic-85048808, ID : bd591a7e-bed3-4bd2-8a37-f4200ca87967