2026-08-25 23:46:10,468 - INFO - Domain Default found not creating 2026-08-25 23:46:10,645 - INFO - Project ctest-TestRoutersBasic-04023727 not found, creating it 2026-08-25 23:46:11,143 - INFO - Created Project:ctest-TestRoutersBasic-04023727, ID : f962a891-4c50-4c89-954d-312e985c1e62 2026-08-25 23:46:13,147 - INFO - ================================================================================ 2026-08-25 23:46:13,148 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-25 23:46:13,148 - 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-08-25 23:46:13,413 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.17': '0'}} with 2026-08-25 23:46:13,413 - INFO - Initial checks done. Running the testcase now 2026-08-25 23:46:13,413 - INFO - 2026-08-25 23:46:14,280 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-04023727 2026-08-25 23:46:14,384 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-04023727 2026-08-25 23:46:14,724 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04023727', 'default']} 2026-08-25 23:46:15,038 - DEBUG - Response for create_network : {'network': {'id': 'a0b0f4cd-364b-403c-8251-4aa8f361565a', 'name': 'ctest-vn-46199485', 'tenant_id': 'f962a8914c504c89954d312e985c1e62', 'project_id': 'f962a8914c504c89954d312e985c1e62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04023727', 'ctest-vn-46199485'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 23:46:15,266 - DEBUG - Response for create_subnet : {'subnet': {'id': '741298d1-3495-41c1-a1e8-4a64d9599a75', 'name': '', 'tenant_id': 'f962a8914c504c89954d312e985c1e62', 'network_id': 'a0b0f4cd-364b-403c-8251-4aa8f361565a', 'ip_version': 4, 'cidr': '46.198.80.192/26', 'allocation_pools': [{'start': '46.198.80.194', 'end': '46.198.80.254'}], 'gateway_ip': '46.198.80.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.198.80.194', 'tags': [], 'project_id': 'f962a8914c504c89954d312e985c1e62'}} 2026-08-25 23:46:15,290 - INFO - Created VN ctest-vn-46199485 2026-08-25 23:46:15,344 - DEBUG - VN ctest-vn-46199485 UUID is a0b0f4cd-364b-403c-8251-4aa8f361565a 2026-08-25 23:46:15,706 - DEBUG - Response for create_network : {'network': {'id': '302f8e58-f566-4d00-8727-06f47f908772', 'name': 'ctest-ext_vn-08441740', 'tenant_id': 'f962a8914c504c89954d312e985c1e62', 'project_id': 'f962a8914c504c89954d312e985c1e62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-04023727', 'ctest-ext_vn-08441740'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 23:46:15,892 - DEBUG - Response for create_subnet : {'subnet': {'id': '0bd89102-eb3b-4ddd-b340-784304985e73', 'name': '', 'tenant_id': 'f962a8914c504c89954d312e985c1e62', 'network_id': '302f8e58-f566-4d00-8727-06f47f908772', 'ip_version': 4, 'cidr': '74.199.223.128/26', 'allocation_pools': [{'start': '74.199.223.130', 'end': '74.199.223.190'}], 'gateway_ip': '74.199.223.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.199.223.130', 'tags': [], 'project_id': 'f962a8914c504c89954d312e985c1e62'}} 2026-08-25 23:46:15,911 - INFO - Created VN ctest-ext_vn-08441740 2026-08-25 23:46:15,964 - DEBUG - VN ctest-ext_vn-08441740 UUID is 302f8e58-f566-4d00-8727-06f47f908772 2026-08-25 23:46:16,182 - DEBUG - Services list from nova: [, , ] 2026-08-25 23:46:16,541 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6230-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6230-1) 2026-08-25 23:46:16,953 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6230-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6230-1) 2026-08-25 23:46:17,053 - INFO - Setting gateway for router e33fbb2b-8eab-44ef-8640-a89611a8d483 to network 302f8e58-f566-4d00-8727-06f47f908772 2026-08-25 23:46:17,148 - INFO - Adding interface with subnet_id 741298d1-3495-41c1-a1e8-4a64d9599a75, port_id None to router e33fbb2b-8eab-44ef-8640-a89611a8d483 2026-08-25 23:46:17,496 - INFO - Waiting for VM ctest-TestRoutersBasic-04023727-41401360 to be up.. 2026-08-25 23:46:17,559 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 23:46:22,646 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 23:46:27,801 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 23:46:32,880 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 23:46:37,968 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 23:46:43,060 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 23:46:48,163 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 23:46:53,256 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 23:46:58,343 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 23:47:03,424 - DEBUG - VM is in ACTIVE state now 2026-08-25 23:47:03,424 - INFO - VM name : ctest-TestRoutersBasic-04023727-41401360 2026-08-25 23:47:03,514 - DEBUG - VM ctest-TestRoutersBasic-04023727-41401360 ID is 4a6d6958-d819-4558-aa50-d0859c30d924 2026-08-25 23:47:03,538 - DEBUG - VM ctest-TestRoutersBasic-04023727-41401360 launched on Node cn-jenkins-deploy-platform-ansible-os-6230-1 2026-08-25 23:47:03,627 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/4a6d6958-d819-4558-aa50-d0859c30d924 2026-08-25 23:47:03,997 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/4a6d6958-d819-4558-aa50-d0859c30d924 2026-08-25 23:47:04,031 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/67df0c5d-6220-4568-aba4-1da9854c7fe4 2026-08-25 23:47:05,276 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=3.99 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.16 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.160/2.573/3.986/1.413 ms') 2026-08-25 23:47:05,276 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-04023727-41401360 passed 2026-08-25 23:47:05,432 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 23:47:05,432 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04023727-41401360, IP 46.198.80.195, Port 22 2026-08-25 23:47:05,498 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-08-25 23:47:05,578 - DEBUG - VM ctest-TestRoutersBasic-04023727-41401360 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-25 23:47:10,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 23:47:10,579 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04023727-41401360, IP 46.198.80.195, Port 22 2026-08-25 23:47:10,750 - DEBUG - VM ctest-TestRoutersBasic-04023727-41401360 is ready for SSH connections 2026-08-25 23:47:10,750 - INFO - Waiting for VM ctest-TestRoutersBasic-04023727-51750973 to be up.. 2026-08-25 23:47:10,841 - DEBUG - VM is in ACTIVE state now 2026-08-25 23:47:10,841 - INFO - VM name : ctest-TestRoutersBasic-04023727-51750973 2026-08-25 23:47:10,928 - DEBUG - VM ctest-TestRoutersBasic-04023727-51750973 ID is 33a562c5-34d4-415a-b7cf-1c12ec696292 2026-08-25 23:47:10,928 - DEBUG - VM ctest-TestRoutersBasic-04023727-51750973 launched on Node cn-jenkins-deploy-platform-ansible-os-6230-1 2026-08-25 23:47:11,017 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/33a562c5-34d4-415a-b7cf-1c12ec696292 2026-08-25 23:47:11,031 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/861377ce-307c-4462-9ea4-fc837d0f0863 2026-08-25 23:47:12,282 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=3.76 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.548 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.548/2.155/3.762/1.607 ms') 2026-08-25 23:47:12,282 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-04023727-51750973 passed 2026-08-25 23:47:12,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 23:47:12,436 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-04023727-51750973, IP 74.199.223.132, Port 22 2026-08-25 23:47:12,617 - DEBUG - VM ctest-TestRoutersBasic-04023727-51750973 is ready for SSH connections 2026-08-25 23:47:12,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 23:47:12,617 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.199.223.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-25 23:47:12,617 - DEBUG - ping -s 56 -c 3 -W 1 74.199.223.132 2026-08-25 23:47:15,675 - DEBUG - PING 74.199.223.132 (74.199.223.132): 56 data bytes 64 bytes from 74.199.223.132: seq=0 ttl=62 time=6.790 ms 64 bytes from 74.199.223.132: seq=1 ttl=62 time=2.181 ms 64 bytes from 74.199.223.132: seq=2 ttl=62 time=1.468 ms --- 74.199.223.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.468/3.479/6.790 ms 2026-08-25 23:47:15,675 - INFO - Ping to IP 74.199.223.132 from VM ctest-TestRoutersBasic-04023727-41401360 passed 2026-08-25 23:47:15,676 - INFO - Deleting interface with subnet_id 741298d1-3495-41c1-a1e8-4a64d9599a75, port_id None from router e33fbb2b-8eab-44ef-8640-a89611a8d483 2026-08-25 23:47:15,912 - INFO - Deleting VM ctest-TestRoutersBasic-04023727-51750973 2026-08-25 23:47:15,991 - INFO - Deleting VM ctest-TestRoutersBasic-04023727-41401360 2026-08-25 23:47:16,082 - INFO - Deleting VN ctest-ext_vn-08441740 2026-08-25 23:47:16,167 - DEBUG - VN 302f8e58-f566-4d00-8727-06f47f908772 still in use: Unable to complete operation on network 302f8e58-f566-4d00-8727-06f47f908772. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b9b32940-50d6-4eff-a470-2ad85b3d0241'] 2026-08-25 23:47:16,168 - WARNING - Deleting VN ctest-ext_vn-08441740 failed..Will retry 2026-08-25 23:47:18,369 - DEBUG - Response for deleting network () 2026-08-25 23:47:18,369 - INFO - Deleting VN ctest-vn-46199485 2026-08-25 23:47:18,469 - DEBUG - Response for deleting network () 2026-08-25 23:47:18,742 - DEBUG - No XMPP flaps were noticed during the test 2026-08-25 23:47:18,742 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:05] 2026-08-25 23:47:18,742 - INFO - -------------------------------------------------------------------------------- 2026-08-25 23:47:19,556 - INFO - Deleted project: ctest-TestRoutersBasic-04023727, ID : f962a891-4c50-4c89-954d-312e985c1e62