2026-04-28 12:50:48,356 - INFO - Domain Default found not creating 2026-04-28 12:50:48,575 - INFO - Project ctest-TestRoutersBasic-55732074 not found, creating it 2026-04-28 12:50:49,103 - INFO - Created Project:ctest-TestRoutersBasic-55732074, ID : 3bed4ae3-2c8e-4635-a595-75604d613adc 2026-04-28 12:50:50,902 - INFO - ================================================================================ 2026-04-28 12:50:50,902 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-28 12:50:50,902 - 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-28 12:50:51,169 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-04-28 12:50:51,170 - INFO - Initial checks done. Running the testcase now 2026-04-28 12:50:51,170 - INFO - 2026-04-28 12:50:52,008 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-55732074 2026-04-28 12:50:52,105 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-55732074 2026-04-28 12:50:52,433 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55732074', 'default']} 2026-04-28 12:50:52,762 - DEBUG - Response for create_network : {'network': {'id': 'bbc176c0-e0a1-42ff-a459-e3c41f556a05', 'name': 'ctest-vn-42596961', 'tenant_id': '3bed4ae32c8e4635a59575604d613adc', 'project_id': '3bed4ae32c8e4635a59575604d613adc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55732074', 'ctest-vn-42596961'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 12:50:52,964 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd651615-6658-4979-bff5-27e71ba32bcf', 'name': '', 'tenant_id': '3bed4ae32c8e4635a59575604d613adc', 'network_id': 'bbc176c0-e0a1-42ff-a459-e3c41f556a05', 'ip_version': 4, 'cidr': '174.224.251.192/26', 'allocation_pools': [{'start': '174.224.251.194', 'end': '174.224.251.254'}], 'gateway_ip': '174.224.251.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.224.251.194', 'tags': [], 'project_id': '3bed4ae32c8e4635a59575604d613adc'}} 2026-04-28 12:50:52,987 - INFO - Created VN ctest-vn-42596961 2026-04-28 12:50:53,045 - DEBUG - VN ctest-vn-42596961 UUID is bbc176c0-e0a1-42ff-a459-e3c41f556a05 2026-04-28 12:50:53,437 - DEBUG - Response for create_network : {'network': {'id': 'b220c60c-cf10-4ace-9b75-e6a53132b6d2', 'name': 'ctest-ext_vn-45465097', 'tenant_id': '3bed4ae32c8e4635a59575604d613adc', 'project_id': '3bed4ae32c8e4635a59575604d613adc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55732074', 'ctest-ext_vn-45465097'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 12:50:53,654 - DEBUG - Response for create_subnet : {'subnet': {'id': '18562677-c9f9-4153-a892-4501e0048379', 'name': '', 'tenant_id': '3bed4ae32c8e4635a59575604d613adc', 'network_id': 'b220c60c-cf10-4ace-9b75-e6a53132b6d2', 'ip_version': 4, 'cidr': '13.184.130.128/26', 'allocation_pools': [{'start': '13.184.130.130', 'end': '13.184.130.190'}], 'gateway_ip': '13.184.130.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.184.130.130', 'tags': [], 'project_id': '3bed4ae32c8e4635a59575604d613adc'}} 2026-04-28 12:50:53,675 - INFO - Created VN ctest-ext_vn-45465097 2026-04-28 12:50:53,729 - DEBUG - VN ctest-ext_vn-45465097 UUID is b220c60c-cf10-4ace-9b75-e6a53132b6d2 2026-04-28 12:50:53,931 - DEBUG - Services list from nova: [, , ] 2026-04-28 12:50:55,193 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5701-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5701-1) 2026-04-28 12:50:56,579 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5701-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5701-1) 2026-04-28 12:50:56,656 - INFO - Setting gateway for router b09f53ec-1628-4b59-bd47-e39db4ed3d21 to network b220c60c-cf10-4ace-9b75-e6a53132b6d2 2026-04-28 12:50:56,769 - INFO - Adding interface with subnet_id fd651615-6658-4979-bff5-27e71ba32bcf, port_id None to router b09f53ec-1628-4b59-bd47-e39db4ed3d21 2026-04-28 12:50:57,119 - INFO - Waiting for VM ctest-TestRoutersBasic-55732074-34069862 to be up.. 2026-04-28 12:50:57,395 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-28 12:51:02,484 - DEBUG - VM is in ACTIVE state now 2026-04-28 12:51:02,484 - INFO - VM name : ctest-TestRoutersBasic-55732074-34069862 2026-04-28 12:51:02,578 - DEBUG - VM ctest-TestRoutersBasic-55732074-34069862 ID is b64b29ab-6a9e-4254-8971-cee9aa7d29d7 2026-04-28 12:51:02,602 - DEBUG - VM ctest-TestRoutersBasic-55732074-34069862 launched on Node cn-jenkins-deploy-platform-ansible-os-5701-1 2026-04-28 12:51:02,700 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b64b29ab-6a9e-4254-8971-cee9aa7d29d7 2026-04-28 12:51:03,063 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b64b29ab-6a9e-4254-8971-cee9aa7d29d7 2026-04-28 12:51:03,103 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/359a246e-b47f-4014-b8e2-aa085eff2ece 2026-04-28 12:51:06,374 - 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 1023ms') 2026-04-28 12:51:06,374 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55732074-34069862 failed! 2026-04-28 12:51:06,429 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-55732074:ctest-vn-42596961 is 174.224.251.193 and allocation pool is NOT set 2026-04-28 12:51:10,502 - 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=2 ttl=63 time=6.27 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 6.267/6.267/6.267/0.000 ms') 2026-04-28 12:51:10,503 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55732074-34069862 passed 2026-04-28 12:51:10,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 12:51:10,657 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55732074-34069862, IP 174.224.251.195, Port 22 2026-04-28 12:51:10,723 - 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-28 12:51:10,817 - DEBUG - VM ctest-TestRoutersBasic-55732074-34069862 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-28 12:51:15,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 12:51:15,817 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55732074-34069862, IP 174.224.251.195, Port 22 2026-04-28 12:51:15,976 - DEBUG - VM ctest-TestRoutersBasic-55732074-34069862 is ready for SSH connections 2026-04-28 12:51:15,976 - INFO - Waiting for VM ctest-TestRoutersBasic-55732074-16835819 to be up.. 2026-04-28 12:51:16,061 - DEBUG - VM is in ACTIVE state now 2026-04-28 12:51:16,061 - INFO - VM name : ctest-TestRoutersBasic-55732074-16835819 2026-04-28 12:51:16,142 - DEBUG - VM ctest-TestRoutersBasic-55732074-16835819 ID is 330e7aa1-63aa-429c-a957-1c554baa649b 2026-04-28 12:51:16,142 - DEBUG - VM ctest-TestRoutersBasic-55732074-16835819 launched on Node cn-jenkins-deploy-platform-ansible-os-5701-1 2026-04-28 12:51:16,229 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/330e7aa1-63aa-429c-a957-1c554baa649b 2026-04-28 12:51:16,238 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c5cff775-b24b-4b71-a5fe-7fcfa8be6632 2026-04-28 12:51:17,485 - 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.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.455 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.455/1.927/3.399/1.472 ms') 2026-04-28 12:51:17,486 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-55732074-16835819 passed 2026-04-28 12:51:17,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 12:51:17,641 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55732074-16835819, IP 13.184.130.131, Port 22 2026-04-28 12:51:17,815 - DEBUG - VM ctest-TestRoutersBasic-55732074-16835819 is ready for SSH connections 2026-04-28 12:51:17,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 12:51:17,815 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.184.130.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-28 12:51:17,815 - DEBUG - ping -s 56 -c 3 -W 1 13.184.130.131 2026-04-28 12:51:21,667 - DEBUG - PING 13.184.130.131 (13.184.130.131): 56 data bytes 64 bytes from 13.184.130.131: seq=0 ttl=62 time=6.218 ms 64 bytes from 13.184.130.131: seq=1 ttl=62 time=1.242 ms 64 bytes from 13.184.130.131: seq=2 ttl=62 time=0.940 ms --- 13.184.130.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.940/2.800/6.218 ms 2026-04-28 12:51:21,668 - INFO - Ping to IP 13.184.130.131 from VM ctest-TestRoutersBasic-55732074-34069862 passed 2026-04-28 12:51:21,668 - INFO - Deleting interface with subnet_id fd651615-6658-4979-bff5-27e71ba32bcf, port_id None from router b09f53ec-1628-4b59-bd47-e39db4ed3d21 2026-04-28 12:51:21,965 - INFO - Deleting VM ctest-TestRoutersBasic-55732074-16835819 2026-04-28 12:51:22,079 - INFO - Deleting VM ctest-TestRoutersBasic-55732074-34069862 2026-04-28 12:51:22,187 - INFO - Deleting VN ctest-ext_vn-45465097 2026-04-28 12:51:22,323 - DEBUG - VN b220c60c-cf10-4ace-9b75-e6a53132b6d2 still in use: Unable to complete operation on network b220c60c-cf10-4ace-9b75-e6a53132b6d2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-055075a5-0627-40a9-89d8-397e1bbf380e'] 2026-04-28 12:51:22,323 - WARNING - Deleting VN ctest-ext_vn-45465097 failed..Will retry 2026-04-28 12:51:24,446 - DEBUG - Response for deleting network () 2026-04-28 12:51:24,446 - INFO - Deleting VN ctest-vn-42596961 2026-04-28 12:51:24,568 - DEBUG - Response for deleting network () 2026-04-28 12:51:24,826 - DEBUG - No XMPP flaps were noticed during the test
2026-04-28 12:51:24,826 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34]
2026-04-28 12:51:24,826 - INFO - -------------------------------------------------------------------------------- 2026-04-28 12:51:25,582 - INFO - Deleted project: ctest-TestRoutersBasic-55732074, ID : 3bed4ae3-2c8e-4635-a595-75604d613adc