2026-02-12 04:24:23,502 - INFO - Domain Default found not creating 2026-02-12 04:24:23,694 - INFO - Project ctest-TestRoutersBasic-81022885 not found, creating it 2026-02-12 04:24:24,201 - INFO - Created Project:ctest-TestRoutersBasic-81022885, ID : 0bfc3be5-bc18-4822-9df6-f08d23c039d9 2026-02-12 04:24:25,881 - INFO - ================================================================================ 2026-02-12 04:24:25,882 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-12 04:24:25,882 - 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 04:24:26,141 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-12 04:24:26,141 - INFO - Initial checks done. Running the testcase now 2026-02-12 04:24:26,141 - INFO - 2026-02-12 04:24:26,945 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-81022885 2026-02-12 04:24:27,044 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-81022885 2026-02-12 04:24:27,367 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81022885', 'default']} 2026-02-12 04:24:27,683 - DEBUG - Response for create_network : {'network': {'id': 'd1adb56b-90bb-436a-a026-1fea600be71c', 'name': 'ctest-vn-20101948', 'tenant_id': '0bfc3be5bc1848229df6f08d23c039d9', 'project_id': '0bfc3be5bc1848229df6f08d23c039d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81022885', 'ctest-vn-20101948'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 04:24:27,858 - DEBUG - Response for create_subnet : {'subnet': {'id': '796f5f93-4b69-4a4f-b60a-e99cd1b6483c', 'name': '', 'tenant_id': '0bfc3be5bc1848229df6f08d23c039d9', 'network_id': 'd1adb56b-90bb-436a-a026-1fea600be71c', 'ip_version': 4, 'cidr': '95.215.208.0/26', 'allocation_pools': [{'start': '95.215.208.2', 'end': '95.215.208.62'}], 'gateway_ip': '95.215.208.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.215.208.2', 'tags': [], 'project_id': '0bfc3be5bc1848229df6f08d23c039d9'}} 2026-02-12 04:24:27,876 - INFO - Created VN ctest-vn-20101948 2026-02-12 04:24:27,932 - DEBUG - VN ctest-vn-20101948 UUID is d1adb56b-90bb-436a-a026-1fea600be71c 2026-02-12 04:24:28,246 - DEBUG - Response for create_network : {'network': {'id': 'bdcfd64d-9884-4b8e-afb0-23daad78ff42', 'name': 'ctest-ext_vn-24339202', 'tenant_id': '0bfc3be5bc1848229df6f08d23c039d9', 'project_id': '0bfc3be5bc1848229df6f08d23c039d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81022885', 'ctest-ext_vn-24339202'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 04:24:28,464 - DEBUG - Response for create_subnet : {'subnet': {'id': '67b1005b-82ce-43b7-9150-d7be397d0578', 'name': '', 'tenant_id': '0bfc3be5bc1848229df6f08d23c039d9', 'network_id': 'bdcfd64d-9884-4b8e-afb0-23daad78ff42', 'ip_version': 4, 'cidr': '56.54.248.192/26', 'allocation_pools': [{'start': '56.54.248.194', 'end': '56.54.248.254'}], 'gateway_ip': '56.54.248.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.54.248.194', 'tags': [], 'project_id': '0bfc3be5bc1848229df6f08d23c039d9'}} 2026-02-12 04:24:28,485 - INFO - Created VN ctest-ext_vn-24339202 2026-02-12 04:24:28,539 - DEBUG - VN ctest-ext_vn-24339202 UUID is bdcfd64d-9884-4b8e-afb0-23daad78ff42 2026-02-12 04:24:28,715 - DEBUG - Services list from nova: [, , ] 2026-02-12 04:24:29,843 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5310-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5310-1) 2026-02-12 04:24:31,107 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5310-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5310-1) 2026-02-12 04:24:31,175 - INFO - Setting gateway for router cfff2b5d-0aa3-42d2-927e-f96b489acae0 to network bdcfd64d-9884-4b8e-afb0-23daad78ff42 2026-02-12 04:24:31,251 - INFO - Adding interface with subnet_id 796f5f93-4b69-4a4f-b60a-e99cd1b6483c, port_id None to router cfff2b5d-0aa3-42d2-927e-f96b489acae0 2026-02-12 04:24:31,816 - INFO - Waiting for VM ctest-TestRoutersBasic-81022885-36099233 to be up.. 2026-02-12 04:24:32,013 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-12 04:24:37,106 - DEBUG - VM is in ACTIVE state now 2026-02-12 04:24:37,106 - INFO - VM name : ctest-TestRoutersBasic-81022885-36099233 2026-02-12 04:24:37,205 - DEBUG - VM ctest-TestRoutersBasic-81022885-36099233 ID is fa01faa6-23bd-4fc1-8e1b-32f639333d84 2026-02-12 04:24:37,229 - DEBUG - VM ctest-TestRoutersBasic-81022885-36099233 launched on Node cn-jenkins-deploy-platform-ansible-os-5310-1 2026-02-12 04:24:37,324 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fa01faa6-23bd-4fc1-8e1b-32f639333d84 2026-02-12 04:24:37,676 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fa01faa6-23bd-4fc1-8e1b-32f639333d84 2026-02-12 04:24:37,716 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ad5f41c1-7e4a-4514-a53a-ad6386b1fc19 2026-02-12 04:24:40,978 - 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 1019ms') 2026-02-12 04:24:40,978 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81022885-36099233 failed! 2026-02-12 04:24:41,036 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-81022885:ctest-vn-20101948 is 95.215.208.1 and allocation pool is NOT set 2026-02-12 04:24:43,103 - 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=3.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.58 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 = 2.580/3.171/3.763/0.591 ms') 2026-02-12 04:24:43,103 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81022885-36099233 passed 2026-02-12 04:24:43,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 04:24:43,260 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81022885-36099233, IP 95.215.208.3, Port 22 2026-02-12 04:24:43,325 - 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 04:24:43,411 - DEBUG - VM ctest-TestRoutersBasic-81022885-36099233 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-12 04:24:48,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 04:24:48,412 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81022885-36099233, IP 95.215.208.3, Port 22 2026-02-12 04:24:48,567 - DEBUG - VM ctest-TestRoutersBasic-81022885-36099233 is ready for SSH connections 2026-02-12 04:24:48,567 - INFO - Waiting for VM ctest-TestRoutersBasic-81022885-64547804 to be up.. 2026-02-12 04:24:48,649 - DEBUG - VM is in ACTIVE state now 2026-02-12 04:24:48,649 - INFO - VM name : ctest-TestRoutersBasic-81022885-64547804 2026-02-12 04:24:48,734 - DEBUG - VM ctest-TestRoutersBasic-81022885-64547804 ID is 7f1bc463-12b4-4ee3-9747-822015b541ca 2026-02-12 04:24:48,734 - DEBUG - VM ctest-TestRoutersBasic-81022885-64547804 launched on Node cn-jenkins-deploy-platform-ansible-os-5310-1 2026-02-12 04:24:48,817 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7f1bc463-12b4-4ee3-9747-822015b541ca 2026-02-12 04:24:48,826 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cf78ebae-86bc-4fd8-a7c7-5d8045aadaa5 2026-02-12 04:24:50,065 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.362 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.362/1.921/3.481/1.559 ms') 2026-02-12 04:24:50,065 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-81022885-64547804 passed 2026-02-12 04:24:50,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 04:24:50,220 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81022885-64547804, IP 56.54.248.195, Port 22 2026-02-12 04:24:50,380 - DEBUG - VM ctest-TestRoutersBasic-81022885-64547804 is ready for SSH connections 2026-02-12 04:24:50,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 04:24:50,380 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.54.248.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-12 04:24:50,380 - DEBUG - ping -s 56 -c 3 -W 1 56.54.248.195 2026-02-12 04:24:54,417 - DEBUG - PING 56.54.248.195 (56.54.248.195): 56 data bytes 64 bytes from 56.54.248.195: seq=0 ttl=62 time=8.229 ms 64 bytes from 56.54.248.195: seq=1 ttl=62 time=1.003 ms 64 bytes from 56.54.248.195: seq=2 ttl=62 time=1.274 ms --- 56.54.248.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.003/3.502/8.229 ms 2026-02-12 04:24:54,417 - INFO - Ping to IP 56.54.248.195 from VM ctest-TestRoutersBasic-81022885-36099233 passed 2026-02-12 04:24:54,417 - INFO - Deleting interface with subnet_id 796f5f93-4b69-4a4f-b60a-e99cd1b6483c, port_id None from router cfff2b5d-0aa3-42d2-927e-f96b489acae0 2026-02-12 04:24:54,660 - INFO - Deleting VM ctest-TestRoutersBasic-81022885-64547804 2026-02-12 04:24:54,748 - INFO - Deleting VM ctest-TestRoutersBasic-81022885-36099233 2026-02-12 04:24:54,842 - INFO - Deleting VN ctest-ext_vn-24339202 2026-02-12 04:24:54,933 - DEBUG - VN bdcfd64d-9884-4b8e-afb0-23daad78ff42 still in use: Unable to complete operation on network bdcfd64d-9884-4b8e-afb0-23daad78ff42. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ed738739-8f59-4caf-aff0-b8271f3434d4'] 2026-02-12 04:24:54,933 - WARNING - Deleting VN ctest-ext_vn-24339202 failed..Will retry 2026-02-12 04:24:57,039 - DEBUG - Response for deleting network () 2026-02-12 04:24:57,039 - INFO - Deleting VN ctest-vn-20101948 2026-02-12 04:24:57,147 - DEBUG - Response for deleting network () 2026-02-12 04:24:57,405 - DEBUG - No XMPP flaps were noticed during the test
2026-02-12 04:24:57,405 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2026-02-12 04:24:57,406 - INFO - -------------------------------------------------------------------------------- 2026-02-12 04:24:58,173 - INFO - Deleted project: ctest-TestRoutersBasic-81022885, ID : 0bfc3be5-bc18-4822-9df6-f08d23c039d9