2026-02-12 15:18:50,920 - INFO - Domain Default found not creating 2026-02-12 15:18:51,117 - INFO - Project ctest-TestRoutersBasic-38064567 not found, creating it 2026-02-12 15:18:51,609 - INFO - Created Project:ctest-TestRoutersBasic-38064567, ID : 94fe52d4-e549-45d7-99cf-66374444be04 2026-02-12 15:18:53,450 - INFO - ================================================================================ 2026-02-12 15:18:53,451 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-12 15:18:53,451 - 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-12 15:18:53,709 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.254': '0'}} with 2026-02-12 15:18:53,709 - INFO - Initial checks done. Running the testcase now 2026-02-12 15:18:53,709 - INFO - 2026-02-12 15:18:54,571 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-38064567 2026-02-12 15:18:54,671 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-38064567 2026-02-12 15:18:54,999 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38064567', 'default']} 2026-02-12 15:18:55,328 - DEBUG - Response for create_network : {'network': {'id': '2a9ddd31-8010-422f-9e44-c3363a3647fe', 'name': 'ctest-vn-65395079', 'tenant_id': '94fe52d4e54945d799cf66374444be04', 'project_id': '94fe52d4e54945d799cf66374444be04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38064567', 'ctest-vn-65395079'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 15:18:55,553 - DEBUG - Response for create_subnet : {'subnet': {'id': '3aee0e1f-dce0-43e7-bed6-566b6f0ffd54', 'name': '', 'tenant_id': '94fe52d4e54945d799cf66374444be04', 'network_id': '2a9ddd31-8010-422f-9e44-c3363a3647fe', 'ip_version': 4, 'cidr': '111.208.210.0/26', 'allocation_pools': [{'start': '111.208.210.2', 'end': '111.208.210.62'}], 'gateway_ip': '111.208.210.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.208.210.2', 'tags': [], 'project_id': '94fe52d4e54945d799cf66374444be04'}} 2026-02-12 15:18:55,577 - INFO - Created VN ctest-vn-65395079 2026-02-12 15:18:55,635 - DEBUG - VN ctest-vn-65395079 UUID is 2a9ddd31-8010-422f-9e44-c3363a3647fe 2026-02-12 15:18:55,993 - DEBUG - Response for create_network : {'network': {'id': 'faf088aa-af9d-41a8-bab9-d9fe0743f076', 'name': 'ctest-ext_vn-03229571', 'tenant_id': '94fe52d4e54945d799cf66374444be04', 'project_id': '94fe52d4e54945d799cf66374444be04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38064567', 'ctest-ext_vn-03229571'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 15:18:56,213 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bef68e1c-6bed-4334-bbcc-3896661ab6ee', 'name': '', 'tenant_id': '94fe52d4e54945d799cf66374444be04', 'network_id': 'faf088aa-af9d-41a8-bab9-d9fe0743f076', 'ip_version': 4, 'cidr': '222.203.80.0/26', 'allocation_pools': [{'start': '222.203.80.2', 'end': '222.203.80.62'}], 'gateway_ip': '222.203.80.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.203.80.2', 'tags': [], 'project_id': '94fe52d4e54945d799cf66374444be04'}} 2026-02-12 15:18:56,239 - INFO - Created VN ctest-ext_vn-03229571 2026-02-12 15:18:56,295 - DEBUG - VN ctest-ext_vn-03229571 UUID is faf088aa-af9d-41a8-bab9-d9fe0743f076 2026-02-12 15:18:56,486 - DEBUG - Services list from nova: [, , ] 2026-02-12 15:18:57,709 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5319-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5319-1) 2026-02-12 15:18:59,163 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5319-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5319-1) 2026-02-12 15:18:59,294 - INFO - Setting gateway for router 59ea3cc4-6d7f-4300-9f26-2f82597aa079 to network faf088aa-af9d-41a8-bab9-d9fe0743f076 2026-02-12 15:18:59,404 - INFO - Adding interface with subnet_id 3aee0e1f-dce0-43e7-bed6-566b6f0ffd54, port_id None to router 59ea3cc4-6d7f-4300-9f26-2f82597aa079 2026-02-12 15:18:59,819 - INFO - Waiting for VM ctest-TestRoutersBasic-38064567-21258169 to be up.. 2026-02-12 15:19:00,009 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-12 15:19:05,114 - DEBUG - VM is in ACTIVE state now 2026-02-12 15:19:05,114 - INFO - VM name : ctest-TestRoutersBasic-38064567-21258169 2026-02-12 15:19:05,211 - DEBUG - VM ctest-TestRoutersBasic-38064567-21258169 ID is f881a500-f5f1-48f1-b4bb-efd0849e2206 2026-02-12 15:19:05,235 - DEBUG - VM ctest-TestRoutersBasic-38064567-21258169 launched on Node cn-jenkins-deploy-platform-ansible-os-5319-1 2026-02-12 15:19:05,337 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/f881a500-f5f1-48f1-b4bb-efd0849e2206 2026-02-12 15:19:05,685 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/f881a500-f5f1-48f1-b4bb-efd0849e2206 2026-02-12 15:19:05,743 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/1112b830-4f34-4668-9034-03d9436c5cf0 2026-02-12 15:19:08,991 - 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 1001ms') 2026-02-12 15:19:08,991 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38064567-21258169 failed! 2026-02-12 15:19:09,047 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-38064567:ctest-vn-65395079 is 111.208.210.1 and allocation pool is NOT set 2026-02-12 15:19:11,116 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.27 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 = 1.273/4.897/8.522/3.624 ms') 2026-02-12 15:19:11,116 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38064567-21258169 passed 2026-02-12 15:19:11,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 15:19:11,275 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38064567-21258169, IP 111.208.210.3, Port 22 2026-02-12 15:19:11,342 - 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-12 15:19:11,447 - DEBUG - VM ctest-TestRoutersBasic-38064567-21258169 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-12 15:19:16,448 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 15:19:16,448 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38064567-21258169, IP 111.208.210.3, Port 22 2026-02-12 15:19:16,621 - DEBUG - VM ctest-TestRoutersBasic-38064567-21258169 is ready for SSH connections 2026-02-12 15:19:16,622 - INFO - Waiting for VM ctest-TestRoutersBasic-38064567-72893375 to be up.. 2026-02-12 15:19:16,714 - DEBUG - VM is in ACTIVE state now 2026-02-12 15:19:16,714 - INFO - VM name : ctest-TestRoutersBasic-38064567-72893375 2026-02-12 15:19:16,808 - DEBUG - VM ctest-TestRoutersBasic-38064567-72893375 ID is 76a26031-6968-4d07-bcfb-2efb96f7fbff 2026-02-12 15:19:16,808 - DEBUG - VM ctest-TestRoutersBasic-38064567-72893375 launched on Node cn-jenkins-deploy-platform-ansible-os-5319-1 2026-02-12 15:19:16,902 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/76a26031-6968-4d07-bcfb-2efb96f7fbff 2026-02-12 15:19:16,912 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/9c480d4d-0f75-4171-a3f2-e46336f96d46 2026-02-12 15:19:18,166 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.533 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.533/2.213/3.894/1.680 ms') 2026-02-12 15:19:18,166 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-38064567-72893375 passed 2026-02-12 15:19:18,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 15:19:18,323 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38064567-72893375, IP 222.203.80.3, Port 22 2026-02-12 15:19:18,489 - DEBUG - VM ctest-TestRoutersBasic-38064567-72893375 is ready for SSH connections 2026-02-12 15:19:18,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 15:19:18,489 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.203.80.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-02-12 15:19:18,489 - DEBUG - ping -s 56 -c 3 -W 1 222.203.80.3 2026-02-12 15:19:22,317 - DEBUG - PING 222.203.80.3 (222.203.80.3): 56 data bytes 64 bytes from 222.203.80.3: seq=0 ttl=62 time=7.126 ms 64 bytes from 222.203.80.3: seq=1 ttl=62 time=1.660 ms 64 bytes from 222.203.80.3: seq=2 ttl=62 time=1.237 ms --- 222.203.80.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.237/3.341/7.126 ms 2026-02-12 15:19:22,317 - INFO - Ping to IP 222.203.80.3 from VM ctest-TestRoutersBasic-38064567-21258169 passed 2026-02-12 15:19:22,317 - INFO - Deleting interface with subnet_id 3aee0e1f-dce0-43e7-bed6-566b6f0ffd54, port_id None from router 59ea3cc4-6d7f-4300-9f26-2f82597aa079 2026-02-12 15:19:22,571 - INFO - Deleting VM ctest-TestRoutersBasic-38064567-72893375 2026-02-12 15:19:22,668 - INFO - Deleting VM ctest-TestRoutersBasic-38064567-21258169 2026-02-12 15:19:22,768 - INFO - Deleting VN ctest-ext_vn-03229571 2026-02-12 15:19:22,846 - DEBUG - VN faf088aa-af9d-41a8-bab9-d9fe0743f076 still in use: Unable to complete operation on network faf088aa-af9d-41a8-bab9-d9fe0743f076. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f37a5f52-b59c-45cb-b60b-73839828b44e'] 2026-02-12 15:19:22,846 - WARNING - Deleting VN ctest-ext_vn-03229571 failed..Will retry 2026-02-12 15:19:24,978 - DEBUG - Response for deleting network () 2026-02-12 15:19:24,978 - INFO - Deleting VN ctest-vn-65395079 2026-02-12 15:19:25,102 - DEBUG - Response for deleting network () 2026-02-12 15:19:25,373 - DEBUG - No XMPP flaps were noticed during the test
2026-02-12 15:19:25,373 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2026-02-12 15:19:25,373 - INFO - -------------------------------------------------------------------------------- 2026-02-12 15:19:26,165 - INFO - Deleted project: ctest-TestRoutersBasic-38064567, ID : 94fe52d4-e549-45d7-99cf-66374444be04