2025-12-18 02:18:37,704 - INFO - Domain Default found not creating 2025-12-18 02:18:37,920 - INFO - Project ctest-TestRoutersBasic-84315064 not found, creating it 2025-12-18 02:18:38,426 - INFO - Created Project:ctest-TestRoutersBasic-84315064, ID : 3b26fb72-e628-4c54-b7d4-ec2d9cb42491 2025-12-18 02:18:40,259 - INFO - ================================================================================ 2025-12-18 02:18:40,259 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-18 02:18:40,259 - 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-12-18 02:18:40,534 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.5': '0'}} with 2025-12-18 02:18:40,534 - INFO - Initial checks done. Running the testcase now 2025-12-18 02:18:40,534 - INFO - 2025-12-18 02:18:41,385 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-84315064 2025-12-18 02:18:41,483 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-84315064 2025-12-18 02:18:41,807 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84315064', 'default']} 2025-12-18 02:18:42,145 - DEBUG - Response for create_network : {'network': {'id': '7e5364b8-c9c8-48be-84e3-c77727e1b928', 'name': 'ctest-vn-79195394', 'tenant_id': '3b26fb72e6284c54b7d4ec2d9cb42491', 'project_id': '3b26fb72e6284c54b7d4ec2d9cb42491', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84315064', 'ctest-vn-79195394'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 02:18:42,355 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0246f16-95f8-4d69-a0a2-463fc7257e9b', 'name': '', 'tenant_id': '3b26fb72e6284c54b7d4ec2d9cb42491', 'network_id': '7e5364b8-c9c8-48be-84e3-c77727e1b928', 'ip_version': 4, 'cidr': '174.20.137.192/26', 'allocation_pools': [{'start': '174.20.137.194', 'end': '174.20.137.254'}], 'gateway_ip': '174.20.137.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.20.137.194', 'tags': [], 'project_id': '3b26fb72e6284c54b7d4ec2d9cb42491'}} 2025-12-18 02:18:42,377 - INFO - Created VN ctest-vn-79195394 2025-12-18 02:18:42,431 - DEBUG - VN ctest-vn-79195394 UUID is 7e5364b8-c9c8-48be-84e3-c77727e1b928 2025-12-18 02:18:42,791 - DEBUG - Response for create_network : {'network': {'id': '3215d6fe-7835-472a-88ab-66786eb26954', 'name': 'ctest-ext_vn-00875090', 'tenant_id': '3b26fb72e6284c54b7d4ec2d9cb42491', 'project_id': '3b26fb72e6284c54b7d4ec2d9cb42491', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84315064', 'ctest-ext_vn-00875090'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 02:18:42,951 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c5bd52e-b3ac-4dfe-8939-488ea6eef1fb', 'name': '', 'tenant_id': '3b26fb72e6284c54b7d4ec2d9cb42491', 'network_id': '3215d6fe-7835-472a-88ab-66786eb26954', 'ip_version': 4, 'cidr': '115.44.195.0/26', 'allocation_pools': [{'start': '115.44.195.2', 'end': '115.44.195.62'}], 'gateway_ip': '115.44.195.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.44.195.2', 'tags': [], 'project_id': '3b26fb72e6284c54b7d4ec2d9cb42491'}} 2025-12-18 02:18:42,973 - INFO - Created VN ctest-ext_vn-00875090 2025-12-18 02:18:43,027 - DEBUG - VN ctest-ext_vn-00875090 UUID is 3215d6fe-7835-472a-88ab-66786eb26954 2025-12-18 02:18:43,214 - DEBUG - Services list from nova: [, , ] 2025-12-18 02:18:44,415 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4902-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4902-1) 2025-12-18 02:18:45,809 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4902-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4902-1) 2025-12-18 02:18:45,901 - INFO - Setting gateway for router 96800131-8911-4f6c-b9fc-45b8701b306f to network 3215d6fe-7835-472a-88ab-66786eb26954 2025-12-18 02:18:45,980 - INFO - Adding interface with subnet_id f0246f16-95f8-4d69-a0a2-463fc7257e9b, port_id None to router 96800131-8911-4f6c-b9fc-45b8701b306f 2025-12-18 02:18:46,379 - INFO - Waiting for VM ctest-TestRoutersBasic-84315064-82598936 to be up.. 2025-12-18 02:18:46,509 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-18 02:18:51,613 - DEBUG - VM is in ACTIVE state now 2025-12-18 02:18:51,613 - INFO - VM name : ctest-TestRoutersBasic-84315064-82598936 2025-12-18 02:18:51,701 - DEBUG - VM ctest-TestRoutersBasic-84315064-82598936 ID is afe25703-4f23-49bb-bc01-48aa865dc1c8 2025-12-18 02:18:51,729 - DEBUG - VM ctest-TestRoutersBasic-84315064-82598936 launched on Node cn-jenkins-deploy-platform-ansible-os-4902-1 2025-12-18 02:18:51,818 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/afe25703-4f23-49bb-bc01-48aa865dc1c8 2025-12-18 02:18:52,192 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/afe25703-4f23-49bb-bc01-48aa865dc1c8 2025-12-18 02:18:52,237 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/d1b47810-ef23-426c-b081-2822ebb5edf6 2025-12-18 02:18:55,497 - 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 1025ms') 2025-12-18 02:18:55,497 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84315064-82598936 failed! 2025-12-18 02:18:55,555 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-84315064:ctest-vn-79195394 is 174.20.137.193 and allocation pool is NOT set 2025-12-18 02:18:57,627 - 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=8.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.66 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 = 4.656/6.509/8.363/1.853 ms') 2025-12-18 02:18:57,627 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84315064-82598936 passed 2025-12-18 02:18:57,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:18:57,743 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84315064-82598936, IP 174.20.137.195, Port 22 2025-12-18 02:18:57,809 - 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': ''} 2025-12-18 02:18:57,907 - DEBUG - VM ctest-TestRoutersBasic-84315064-82598936 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-18 02:19:02,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:19:02,907 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84315064-82598936, IP 174.20.137.195, Port 22 2025-12-18 02:19:03,067 - DEBUG - VM ctest-TestRoutersBasic-84315064-82598936 is ready for SSH connections 2025-12-18 02:19:03,067 - INFO - Waiting for VM ctest-TestRoutersBasic-84315064-93487220 to be up.. 2025-12-18 02:19:03,164 - DEBUG - VM is in ACTIVE state now 2025-12-18 02:19:03,164 - INFO - VM name : ctest-TestRoutersBasic-84315064-93487220 2025-12-18 02:19:03,261 - DEBUG - VM ctest-TestRoutersBasic-84315064-93487220 ID is 4d8cd790-1bbb-472a-a4ab-5a42752ab4ac 2025-12-18 02:19:03,261 - DEBUG - VM ctest-TestRoutersBasic-84315064-93487220 launched on Node cn-jenkins-deploy-platform-ansible-os-4902-1 2025-12-18 02:19:03,376 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/4d8cd790-1bbb-472a-a4ab-5a42752ab4ac 2025-12-18 02:19:03,387 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/42cc4505-7e4b-454e-ae4e-604a41c337e3 2025-12-18 02:19:04,650 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.451 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 = 0.451/2.083/3.716/1.632 ms') 2025-12-18 02:19:04,650 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-84315064-93487220 passed 2025-12-18 02:19:04,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:19:04,803 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84315064-93487220, IP 115.44.195.3, Port 22 2025-12-18 02:19:04,973 - DEBUG - VM ctest-TestRoutersBasic-84315064-93487220 is ready for SSH connections 2025-12-18 02:19:04,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:19:04,973 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.44.195.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-12-18 02:19:04,973 - DEBUG - ping -s 56 -c 3 -W 1 115.44.195.3 2025-12-18 02:19:08,764 - DEBUG - PING 115.44.195.3 (115.44.195.3): 56 data bytes 64 bytes from 115.44.195.3: seq=0 ttl=62 time=7.328 ms 64 bytes from 115.44.195.3: seq=1 ttl=62 time=1.301 ms 64 bytes from 115.44.195.3: seq=2 ttl=62 time=1.155 ms --- 115.44.195.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.155/3.261/7.328 ms 2025-12-18 02:19:08,764 - INFO - Ping to IP 115.44.195.3 from VM ctest-TestRoutersBasic-84315064-82598936 passed 2025-12-18 02:19:08,765 - INFO - Deleting interface with subnet_id f0246f16-95f8-4d69-a0a2-463fc7257e9b, port_id None from router 96800131-8911-4f6c-b9fc-45b8701b306f 2025-12-18 02:19:09,009 - INFO - Deleting VM ctest-TestRoutersBasic-84315064-93487220 2025-12-18 02:19:09,111 - INFO - Deleting VM ctest-TestRoutersBasic-84315064-82598936 2025-12-18 02:19:09,215 - INFO - Deleting VN ctest-ext_vn-00875090 2025-12-18 02:19:09,306 - DEBUG - VN 3215d6fe-7835-472a-88ab-66786eb26954 still in use: Unable to complete operation on network 3215d6fe-7835-472a-88ab-66786eb26954. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2555a26c-5dc4-4947-9c94-eab7c3d53eea'] 2025-12-18 02:19:09,306 - WARNING - Deleting VN ctest-ext_vn-00875090 failed..Will retry 2025-12-18 02:19:11,440 - DEBUG - Response for deleting network () 2025-12-18 02:19:11,441 - INFO - Deleting VN ctest-vn-79195394 2025-12-18 02:19:11,557 - DEBUG - Response for deleting network () 2025-12-18 02:19:11,823 - DEBUG - No XMPP flaps were noticed during the test 2025-12-18 02:19:11,823 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31] 2025-12-18 02:19:11,823 - INFO - -------------------------------------------------------------------------------- 2025-12-18 02:19:12,606 - INFO - Deleted project: ctest-TestRoutersBasic-84315064, ID : 3b26fb72-e628-4c54-b7d4-ec2d9cb42491