2026-02-10 04:22:31,070 - INFO - Domain Default found not creating 2026-02-10 04:22:31,273 - INFO - Project ctest-TestRoutersBasic-44814132 not found, creating it 2026-02-10 04:22:31,766 - INFO - Created Project:ctest-TestRoutersBasic-44814132, ID : c0e2c94c-fd24-4bef-95ab-fc99256a97dd 2026-02-10 04:22:33,391 - INFO - ================================================================================ 2026-02-10 04:22:33,391 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-10 04:22:33,391 - 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-10 04:22:33,651 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-02-10 04:22:33,652 - INFO - Initial checks done. Running the testcase now 2026-02-10 04:22:33,652 - INFO - 2026-02-10 04:22:34,467 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-44814132 2026-02-10 04:22:34,563 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-44814132 2026-02-10 04:22:34,883 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44814132', 'default']} 2026-02-10 04:22:35,179 - DEBUG - Response for create_network : {'network': {'id': 'c5432ef6-0650-4c00-b22f-3c717eb6f0de', 'name': 'ctest-vn-05042175', 'tenant_id': 'c0e2c94cfd244bef95abfc99256a97dd', 'project_id': 'c0e2c94cfd244bef95abfc99256a97dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44814132', 'ctest-vn-05042175'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 04:22:35,363 - DEBUG - Response for create_subnet : {'subnet': {'id': '0376f5cf-9e15-4284-8cbe-4818ad1c83f2', 'name': '', 'tenant_id': 'c0e2c94cfd244bef95abfc99256a97dd', 'network_id': 'c5432ef6-0650-4c00-b22f-3c717eb6f0de', 'ip_version': 4, 'cidr': '103.213.3.0/26', 'allocation_pools': [{'start': '103.213.3.2', 'end': '103.213.3.62'}], 'gateway_ip': '103.213.3.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.213.3.2', 'tags': [], 'project_id': 'c0e2c94cfd244bef95abfc99256a97dd'}} 2026-02-10 04:22:35,384 - INFO - Created VN ctest-vn-05042175 2026-02-10 04:22:35,439 - DEBUG - VN ctest-vn-05042175 UUID is c5432ef6-0650-4c00-b22f-3c717eb6f0de 2026-02-10 04:22:35,799 - DEBUG - Response for create_network : {'network': {'id': '5734cf7c-35f1-4ecd-8240-434505c25d4c', 'name': 'ctest-ext_vn-94217910', 'tenant_id': 'c0e2c94cfd244bef95abfc99256a97dd', 'project_id': 'c0e2c94cfd244bef95abfc99256a97dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44814132', 'ctest-ext_vn-94217910'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 04:22:36,004 - DEBUG - Response for create_subnet : {'subnet': {'id': '5caf290d-28e2-46c6-8c8c-25ad763ed9b2', 'name': '', 'tenant_id': 'c0e2c94cfd244bef95abfc99256a97dd', 'network_id': '5734cf7c-35f1-4ecd-8240-434505c25d4c', 'ip_version': 4, 'cidr': '95.173.213.192/26', 'allocation_pools': [{'start': '95.173.213.194', 'end': '95.173.213.254'}], 'gateway_ip': '95.173.213.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.173.213.194', 'tags': [], 'project_id': 'c0e2c94cfd244bef95abfc99256a97dd'}} 2026-02-10 04:22:36,022 - INFO - Created VN ctest-ext_vn-94217910 2026-02-10 04:22:36,075 - DEBUG - VN ctest-ext_vn-94217910 UUID is 5734cf7c-35f1-4ecd-8240-434505c25d4c 2026-02-10 04:22:36,258 - DEBUG - Services list from nova: [, , ] 2026-02-10 04:22:37,406 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5260-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5260-1) 2026-02-10 04:22:38,819 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5260-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5260-1) 2026-02-10 04:22:38,914 - INFO - Setting gateway for router 1dab77e6-ed2a-4fe6-aa3f-dabc5ce1d70c to network 5734cf7c-35f1-4ecd-8240-434505c25d4c 2026-02-10 04:22:38,977 - INFO - Adding interface with subnet_id 0376f5cf-9e15-4284-8cbe-4818ad1c83f2, port_id None to router 1dab77e6-ed2a-4fe6-aa3f-dabc5ce1d70c 2026-02-10 04:22:39,637 - INFO - Waiting for VM ctest-TestRoutersBasic-44814132-92797389 to be up.. 2026-02-10 04:22:39,873 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-10 04:22:44,956 - DEBUG - VM is in ACTIVE state now 2026-02-10 04:22:44,956 - INFO - VM name : ctest-TestRoutersBasic-44814132-92797389 2026-02-10 04:22:45,041 - DEBUG - VM ctest-TestRoutersBasic-44814132-92797389 ID is 0b73b007-b9ac-4e50-b334-ed0fafbc844a 2026-02-10 04:22:45,062 - DEBUG - VM ctest-TestRoutersBasic-44814132-92797389 launched on Node cn-jenkins-deploy-platform-ansible-os-5260-1 2026-02-10 04:22:45,145 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0b73b007-b9ac-4e50-b334-ed0fafbc844a 2026-02-10 04:22:45,487 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0b73b007-b9ac-4e50-b334-ed0fafbc844a 2026-02-10 04:22:45,530 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fa3557c3-89c8-440b-a5c9-cb5ff6434323 2026-02-10 04:22:48,797 - 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 1026ms') 2026-02-10 04:22:48,797 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44814132-92797389 failed! 2026-02-10 04:22:48,855 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-44814132:ctest-vn-05042175 is 103.213.3.1 and allocation pool is NOT set 2026-02-10 04:22:50,915 - 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=5.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.92 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 = 2.919/4.226/5.534/1.307 ms') 2026-02-10 04:22:50,915 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44814132-92797389 passed 2026-02-10 04:22:51,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 04:22:51,071 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44814132-92797389, IP 103.213.3.3, Port 22 2026-02-10 04:22:51,137 - 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-02-10 04:22:51,222 - DEBUG - VM ctest-TestRoutersBasic-44814132-92797389 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-10 04:22:56,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 04:22:56,224 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44814132-92797389, IP 103.213.3.3, Port 22 2026-02-10 04:22:56,383 - DEBUG - VM ctest-TestRoutersBasic-44814132-92797389 is ready for SSH connections 2026-02-10 04:22:56,383 - INFO - Waiting for VM ctest-TestRoutersBasic-44814132-27749782 to be up.. 2026-02-10 04:22:56,468 - DEBUG - VM is in ACTIVE state now 2026-02-10 04:22:56,468 - INFO - VM name : ctest-TestRoutersBasic-44814132-27749782 2026-02-10 04:22:56,549 - DEBUG - VM ctest-TestRoutersBasic-44814132-27749782 ID is 0638c5cf-87e6-4831-993d-adb80ded186e 2026-02-10 04:22:56,549 - DEBUG - VM ctest-TestRoutersBasic-44814132-27749782 launched on Node cn-jenkins-deploy-platform-ansible-os-5260-1 2026-02-10 04:22:56,632 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0638c5cf-87e6-4831-993d-adb80ded186e 2026-02-10 04:22:56,642 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/57bcbbe3-306a-4d49-a147-29866ad094c4 2026-02-10 04:22:57,887 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.448 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.448/2.076/3.704/1.628 ms') 2026-02-10 04:22:57,887 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-44814132-27749782 passed 2026-02-10 04:22:58,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 04:22:58,039 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44814132-27749782, IP 95.173.213.195, Port 22 2026-02-10 04:22:58,199 - DEBUG - VM ctest-TestRoutersBasic-44814132-27749782 is ready for SSH connections 2026-02-10 04:22:58,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 04:22:58,199 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.173.213.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-10 04:22:58,200 - DEBUG - ping -s 56 -c 3 -W 1 95.173.213.195 2026-02-10 04:23:01,951 - DEBUG - PING 95.173.213.195 (95.173.213.195): 56 data bytes 64 bytes from 95.173.213.195: seq=0 ttl=62 time=7.912 ms 64 bytes from 95.173.213.195: seq=1 ttl=62 time=0.979 ms 64 bytes from 95.173.213.195: seq=2 ttl=62 time=1.151 ms --- 95.173.213.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.979/3.347/7.912 ms 2026-02-10 04:23:01,951 - INFO - Ping to IP 95.173.213.195 from VM ctest-TestRoutersBasic-44814132-92797389 passed 2026-02-10 04:23:01,951 - INFO - Deleting interface with subnet_id 0376f5cf-9e15-4284-8cbe-4818ad1c83f2, port_id None from router 1dab77e6-ed2a-4fe6-aa3f-dabc5ce1d70c 2026-02-10 04:23:02,149 - INFO - Deleting VM ctest-TestRoutersBasic-44814132-27749782 2026-02-10 04:23:02,226 - INFO - Deleting VM ctest-TestRoutersBasic-44814132-92797389 2026-02-10 04:23:02,322 - INFO - Deleting VN ctest-ext_vn-94217910 2026-02-10 04:23:02,395 - DEBUG - VN 5734cf7c-35f1-4ecd-8240-434505c25d4c still in use: Unable to complete operation on network 5734cf7c-35f1-4ecd-8240-434505c25d4c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-49981af8-1fe9-48db-a398-684f0aadbf8a'] 2026-02-10 04:23:02,395 - WARNING - Deleting VN ctest-ext_vn-94217910 failed..Will retry 2026-02-10 04:23:04,519 - DEBUG - Response for deleting network () 2026-02-10 04:23:04,519 - INFO - Deleting VN ctest-vn-05042175 2026-02-10 04:23:04,631 - DEBUG - Response for deleting network () 2026-02-10 04:23:04,894 - DEBUG - No XMPP flaps were noticed during the test 2026-02-10 04:23:04,894 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31] 2026-02-10 04:23:04,894 - INFO - -------------------------------------------------------------------------------- 2026-02-10 04:23:05,620 - INFO - Deleted project: ctest-TestRoutersBasic-44814132, ID : c0e2c94c-fd24-4bef-95ab-fc99256a97dd