2026-02-11 13:43:43,738 - INFO - Domain Default found not creating 2026-02-11 13:43:43,926 - INFO - Project ctest-TestRoutersBasic-42634412 not found, creating it 2026-02-11 13:43:44,420 - INFO - Created Project:ctest-TestRoutersBasic-42634412, ID : 8a6cbc99-c090-4372-bc2f-5336b4f40165 2026-02-11 13:43:45,970 - INFO - ================================================================================ 2026-02-11 13:43:45,970 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-11 13:43:45,970 - 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-02-11 13:43:46,231 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.193': '0'}} with 2026-02-11 13:43:46,231 - INFO - Initial checks done. Running the testcase now 2026-02-11 13:43:46,231 - INFO - 2026-02-11 13:43:46,949 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-42634412 2026-02-11 13:43:47,046 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-42634412 2026-02-11 13:43:47,369 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42634412', 'default']} 2026-02-11 13:43:47,738 - DEBUG - Response for create_network : {'network': {'id': 'c2e653cb-88d6-4666-8625-fdf9e9fd02bb', 'name': 'ctest-vn-41667206', 'tenant_id': '8a6cbc99c0904372bc2f5336b4f40165', 'project_id': '8a6cbc99c0904372bc2f5336b4f40165', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42634412', 'ctest-vn-41667206'], 'port_security_enabled': True, 'description': ''}} 2026-02-11 13:43:48,048 - DEBUG - Response for create_subnet : {'subnet': {'id': '2eb9e2c6-a893-4a52-b4ae-38a590a43f7b', 'name': '', 'tenant_id': '8a6cbc99c0904372bc2f5336b4f40165', 'network_id': 'c2e653cb-88d6-4666-8625-fdf9e9fd02bb', 'ip_version': 4, 'cidr': '29.69.23.128/26', 'allocation_pools': [{'start': '29.69.23.130', 'end': '29.69.23.190'}], 'gateway_ip': '29.69.23.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.69.23.130', 'tags': [], 'project_id': '8a6cbc99c0904372bc2f5336b4f40165'}} 2026-02-11 13:43:48,072 - INFO - Created VN ctest-vn-41667206 2026-02-11 13:43:48,129 - DEBUG - VN ctest-vn-41667206 UUID is c2e653cb-88d6-4666-8625-fdf9e9fd02bb 2026-02-11 13:43:48,448 - DEBUG - Response for create_network : {'network': {'id': '8d8eb008-256a-403f-bccd-b467b3e2e2a6', 'name': 'ctest-ext_vn-46258924', 'tenant_id': '8a6cbc99c0904372bc2f5336b4f40165', 'project_id': '8a6cbc99c0904372bc2f5336b4f40165', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42634412', 'ctest-ext_vn-46258924'], 'port_security_enabled': True, 'description': ''}} 2026-02-11 13:43:48,661 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a82fee7f-5fc0-4328-a7d1-c8932e36e43b', 'name': '', 'tenant_id': '8a6cbc99c0904372bc2f5336b4f40165', 'network_id': '8d8eb008-256a-403f-bccd-b467b3e2e2a6', 'ip_version': 4, 'cidr': '82.112.236.192/26', 'allocation_pools': [{'start': '82.112.236.194', 'end': '82.112.236.254'}], 'gateway_ip': '82.112.236.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.112.236.194', 'tags': [], 'project_id': '8a6cbc99c0904372bc2f5336b4f40165'}} 2026-02-11 13:43:48,679 - INFO - Created VN ctest-ext_vn-46258924 2026-02-11 13:43:48,729 - DEBUG - VN ctest-ext_vn-46258924 UUID is 8d8eb008-256a-403f-bccd-b467b3e2e2a6 2026-02-11 13:43:48,894 - DEBUG - Services list from nova: [, , ] 2026-02-11 13:43:49,990 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5293-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5293-1) 2026-02-11 13:43:51,183 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5293-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5293-1) 2026-02-11 13:43:51,275 - INFO - Setting gateway for router dd29b0fb-80a4-40d2-8e1a-943b368de628 to network 8d8eb008-256a-403f-bccd-b467b3e2e2a6 2026-02-11 13:43:51,364 - INFO - Adding interface with subnet_id 2eb9e2c6-a893-4a52-b4ae-38a590a43f7b, port_id None to router dd29b0fb-80a4-40d2-8e1a-943b368de628 2026-02-11 13:43:51,846 - INFO - Waiting for VM ctest-TestRoutersBasic-42634412-30342303 to be up.. 2026-02-11 13:43:52,039 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-11 13:43:57,119 - DEBUG - VM is in ACTIVE state now 2026-02-11 13:43:57,119 - INFO - VM name : ctest-TestRoutersBasic-42634412-30342303 2026-02-11 13:43:57,201 - DEBUG - VM ctest-TestRoutersBasic-42634412-30342303 ID is 518dcce1-9857-4af1-b233-c85670863b38 2026-02-11 13:43:57,222 - DEBUG - VM ctest-TestRoutersBasic-42634412-30342303 launched on Node cn-jenkins-deploy-platform-ansible-os-5293-1 2026-02-11 13:43:57,301 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/518dcce1-9857-4af1-b233-c85670863b38 2026-02-11 13:43:57,594 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/518dcce1-9857-4af1-b233-c85670863b38 2026-02-11 13:43:57,631 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/4d5cbc5a-d184-4fdf-afe5-dd1cff43e481 2026-02-11 13:44:00,900 - 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 1031ms') 2026-02-11 13:44:00,900 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42634412-30342303 failed! 2026-02-11 13:44:00,957 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-42634412:ctest-vn-41667206 is 29.69.23.129 and allocation pool is NOT set 2026-02-11 13:44:03,018 - 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=7.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.56 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 = 1.563/4.666/7.769/3.103 ms') 2026-02-11 13:44:03,018 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42634412-30342303 passed 2026-02-11 13:44:03,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 13:44:03,178 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42634412-30342303, IP 29.69.23.131, Port 22 2026-02-11 13:44:03,334 - DEBUG - VM ctest-TestRoutersBasic-42634412-30342303 is ready for SSH connections 2026-02-11 13:44:03,334 - INFO - Waiting for VM ctest-TestRoutersBasic-42634412-08880080 to be up.. 2026-02-11 13:44:03,423 - DEBUG - VM is in ACTIVE state now 2026-02-11 13:44:03,423 - INFO - VM name : ctest-TestRoutersBasic-42634412-08880080 2026-02-11 13:44:03,502 - DEBUG - VM ctest-TestRoutersBasic-42634412-08880080 ID is 64b12cba-6ef6-4f5b-9797-b2ab4c0e5983 2026-02-11 13:44:03,502 - DEBUG - VM ctest-TestRoutersBasic-42634412-08880080 launched on Node cn-jenkins-deploy-platform-ansible-os-5293-1 2026-02-11 13:44:03,582 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/64b12cba-6ef6-4f5b-9797-b2ab4c0e5983 2026-02-11 13:44:03,592 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/190a0e8d-f508-4405-b7f6-85a2bd468171 2026-02-11 13:44:04,839 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.02 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 = 1.022/2.125/3.228/1.103 ms') 2026-02-11 13:44:04,839 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-42634412-08880080 passed 2026-02-11 13:44:04,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 13:44:04,994 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42634412-08880080, IP 82.112.236.195, Port 22 2026-02-11 13:44:05,060 - 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': ''} 2026-02-11 13:44:05,140 - DEBUG - VM ctest-TestRoutersBasic-42634412-08880080 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-11 13:44:10,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 13:44:10,142 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42634412-08880080, IP 82.112.236.195, Port 22 2026-02-11 13:44:10,297 - DEBUG - VM ctest-TestRoutersBasic-42634412-08880080 is ready for SSH connections 2026-02-11 13:44:10,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-11 13:44:10,298 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.112.236.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-02-11 13:44:10,298 - DEBUG - ping -s 56 -c 3 -W 1 82.112.236.195 2026-02-11 13:44:14,045 - DEBUG - PING 82.112.236.195 (82.112.236.195): 56 data bytes 64 bytes from 82.112.236.195: seq=0 ttl=62 time=5.067 ms 64 bytes from 82.112.236.195: seq=1 ttl=62 time=1.086 ms 64 bytes from 82.112.236.195: seq=2 ttl=62 time=0.930 ms --- 82.112.236.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.930/2.361/5.067 ms 2026-02-11 13:44:14,045 - INFO - Ping to IP 82.112.236.195 from VM ctest-TestRoutersBasic-42634412-30342303 passed 2026-02-11 13:44:14,046 - INFO - Deleting interface with subnet_id 2eb9e2c6-a893-4a52-b4ae-38a590a43f7b, port_id None from router dd29b0fb-80a4-40d2-8e1a-943b368de628 2026-02-11 13:44:14,293 - INFO - Deleting VM ctest-TestRoutersBasic-42634412-08880080 2026-02-11 13:44:14,371 - INFO - Deleting VM ctest-TestRoutersBasic-42634412-30342303 2026-02-11 13:44:14,469 - INFO - Deleting VN ctest-ext_vn-46258924 2026-02-11 13:44:14,538 - DEBUG - VN 8d8eb008-256a-403f-bccd-b467b3e2e2a6 still in use: Unable to complete operation on network 8d8eb008-256a-403f-bccd-b467b3e2e2a6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9ef689e4-078a-4c54-af1b-0bf665a22e5e'] 2026-02-11 13:44:14,538 - WARNING - Deleting VN ctest-ext_vn-46258924 failed..Will retry 2026-02-11 13:44:16,655 - DEBUG - Response for deleting network () 2026-02-11 13:44:16,655 - INFO - Deleting VN ctest-vn-41667206 2026-02-11 13:44:16,772 - DEBUG - Response for deleting network () 2026-02-11 13:44:17,028 - DEBUG - No XMPP flaps were noticed during the test
2026-02-11 13:44:17,028 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2026-02-11 13:44:17,029 - INFO - -------------------------------------------------------------------------------- 2026-02-11 13:44:17,760 - INFO - Deleted project: ctest-TestRoutersBasic-42634412, ID : 8a6cbc99-c090-4372-bc2f-5336b4f40165