2026-04-24 14:14:49,601 - INFO - Domain Default found not creating 2026-04-24 14:14:49,795 - INFO - Project ctest-TestRoutersBasic-21615452 not found, creating it 2026-04-24 14:14:50,274 - INFO - Created Project:ctest-TestRoutersBasic-21615452, ID : bc18a46c-8c44-417e-99a0-cba2f60e78e0 2026-04-24 14:14:51,907 - INFO - ================================================================================ 2026-04-24 14:14:51,908 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-24 14:14:51,908 - 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-04-24 14:14:52,161 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-04-24 14:14:52,161 - INFO - Initial checks done. Running the testcase now 2026-04-24 14:14:52,161 - INFO - 2026-04-24 14:14:52,919 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-21615452 2026-04-24 14:14:53,039 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-21615452 2026-04-24 14:14:53,471 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21615452', 'default']} 2026-04-24 14:14:53,810 - DEBUG - Response for create_network : {'network': {'id': '287bc30d-fa96-48ac-9ab5-4b3cbda114f4', 'name': 'ctest-vn-52732514', 'tenant_id': 'bc18a46c8c44417e99a0cba2f60e78e0', 'project_id': 'bc18a46c8c44417e99a0cba2f60e78e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21615452', 'ctest-vn-52732514'], 'port_security_enabled': True, 'description': ''}} 2026-04-24 14:14:54,018 - DEBUG - Response for create_subnet : {'subnet': {'id': '5df4ac1a-d879-42c2-8608-b8e006374a8f', 'name': '', 'tenant_id': 'bc18a46c8c44417e99a0cba2f60e78e0', 'network_id': '287bc30d-fa96-48ac-9ab5-4b3cbda114f4', 'ip_version': 4, 'cidr': '128.66.20.192/26', 'allocation_pools': [{'start': '128.66.20.194', 'end': '128.66.20.254'}], 'gateway_ip': '128.66.20.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.66.20.194', 'tags': [], 'project_id': 'bc18a46c8c44417e99a0cba2f60e78e0'}} 2026-04-24 14:14:54,040 - INFO - Created VN ctest-vn-52732514 2026-04-24 14:14:54,091 - DEBUG - VN ctest-vn-52732514 UUID is 287bc30d-fa96-48ac-9ab5-4b3cbda114f4 2026-04-24 14:14:54,425 - DEBUG - Response for create_network : {'network': {'id': '51478907-97f2-492d-8ca0-1107a1d3b4d3', 'name': 'ctest-ext_vn-79801974', 'tenant_id': 'bc18a46c8c44417e99a0cba2f60e78e0', 'project_id': 'bc18a46c8c44417e99a0cba2f60e78e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21615452', 'ctest-ext_vn-79801974'], 'port_security_enabled': True, 'description': ''}} 2026-04-24 14:14:54,650 - DEBUG - Response for create_subnet : {'subnet': {'id': '86baf202-099b-4992-b062-81c1b9597cfe', 'name': '', 'tenant_id': 'bc18a46c8c44417e99a0cba2f60e78e0', 'network_id': '51478907-97f2-492d-8ca0-1107a1d3b4d3', 'ip_version': 4, 'cidr': '161.164.146.0/26', 'allocation_pools': [{'start': '161.164.146.2', 'end': '161.164.146.62'}], 'gateway_ip': '161.164.146.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.164.146.2', 'tags': [], 'project_id': 'bc18a46c8c44417e99a0cba2f60e78e0'}} 2026-04-24 14:14:54,672 - INFO - Created VN ctest-ext_vn-79801974 2026-04-24 14:14:54,731 - DEBUG - VN ctest-ext_vn-79801974 UUID is 51478907-97f2-492d-8ca0-1107a1d3b4d3 2026-04-24 14:14:54,909 - DEBUG - Services list from nova: [, , ] 2026-04-24 14:14:55,997 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5681-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5681-1) 2026-04-24 14:14:57,228 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5681-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5681-1) 2026-04-24 14:14:57,317 - INFO - Setting gateway for router e6b351c4-a765-4dbf-9547-a58bbbda2a55 to network 51478907-97f2-492d-8ca0-1107a1d3b4d3 2026-04-24 14:14:57,377 - INFO - Adding interface with subnet_id 5df4ac1a-d879-42c2-8608-b8e006374a8f, port_id None to router e6b351c4-a765-4dbf-9547-a58bbbda2a55 2026-04-24 14:14:57,670 - INFO - Waiting for VM ctest-TestRoutersBasic-21615452-94590694 to be up.. 2026-04-24 14:14:57,881 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-24 14:15:02,983 - DEBUG - VM is in ACTIVE state now 2026-04-24 14:15:02,983 - INFO - VM name : ctest-TestRoutersBasic-21615452-94590694 2026-04-24 14:15:03,082 - DEBUG - VM ctest-TestRoutersBasic-21615452-94590694 ID is 4f5aebd3-f1ea-41aa-8047-68e7e679585b 2026-04-24 14:15:03,105 - DEBUG - VM ctest-TestRoutersBasic-21615452-94590694 launched on Node cn-jenkins-deploy-platform-ansible-os-5681-1 2026-04-24 14:15:03,210 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/4f5aebd3-f1ea-41aa-8047-68e7e679585b 2026-04-24 14:15:03,524 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/4f5aebd3-f1ea-41aa-8047-68e7e679585b 2026-04-24 14:15:03,576 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/08b116e8-2717-41f9-b587-624d4e45215a 2026-04-24 14:15:06,847 - 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-04-24 14:15:06,847 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-21615452-94590694 failed! 2026-04-24 14:15:06,903 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-21615452:ctest-vn-52732514 is 128.66.20.193 and allocation pool is NOT set 2026-04-24 14:15:08,966 - 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=4.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.20 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.197/2.923/4.650/1.726 ms') 2026-04-24 14:15:08,966 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-21615452-94590694 passed 2026-04-24 14:15:09,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 14:15:09,127 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21615452-94590694, IP 128.66.20.195, Port 22 2026-04-24 14:15:09,282 - DEBUG - VM ctest-TestRoutersBasic-21615452-94590694 is ready for SSH connections 2026-04-24 14:15:09,283 - INFO - Waiting for VM ctest-TestRoutersBasic-21615452-56935921 to be up.. 2026-04-24 14:15:09,380 - DEBUG - VM is in ACTIVE state now 2026-04-24 14:15:09,380 - INFO - VM name : ctest-TestRoutersBasic-21615452-56935921 2026-04-24 14:15:09,473 - DEBUG - VM ctest-TestRoutersBasic-21615452-56935921 ID is ed2d35e3-609a-4a56-b3a7-08be10b662ef 2026-04-24 14:15:09,473 - DEBUG - VM ctest-TestRoutersBasic-21615452-56935921 launched on Node cn-jenkins-deploy-platform-ansible-os-5681-1 2026-04-24 14:15:09,570 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ed2d35e3-609a-4a56-b3a7-08be10b662ef 2026-04-24 14:15:09,580 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b374ceb6-2972-4a3d-aa2e-8c86765ccaf4 2026-04-24 14:15:10,825 - 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=4.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.636 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.636/2.734/4.833/2.098 ms') 2026-04-24 14:15:10,826 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-21615452-56935921 passed 2026-04-24 14:15:10,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 14:15:10,983 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21615452-56935921, IP 161.164.146.3, Port 22 2026-04-24 14:15:11,157 - DEBUG - VM ctest-TestRoutersBasic-21615452-56935921 is ready for SSH connections 2026-04-24 14:15:11,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 14:15:11,157 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.164.146.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-04-24 14:15:11,157 - DEBUG - ping -s 56 -c 3 -W 1 161.164.146.3 2026-04-24 14:15:14,902 - DEBUG - PING 161.164.146.3 (161.164.146.3): 56 data bytes 64 bytes from 161.164.146.3: seq=0 ttl=62 time=6.596 ms 64 bytes from 161.164.146.3: seq=1 ttl=62 time=0.934 ms 64 bytes from 161.164.146.3: seq=2 ttl=62 time=1.056 ms --- 161.164.146.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.934/2.862/6.596 ms 2026-04-24 14:15:14,902 - INFO - Ping to IP 161.164.146.3 from VM ctest-TestRoutersBasic-21615452-94590694 passed 2026-04-24 14:15:14,903 - INFO - Deleting interface with subnet_id 5df4ac1a-d879-42c2-8608-b8e006374a8f, port_id None from router e6b351c4-a765-4dbf-9547-a58bbbda2a55 2026-04-24 14:15:15,118 - INFO - Deleting VM ctest-TestRoutersBasic-21615452-56935921 2026-04-24 14:15:15,210 - INFO - Deleting VM ctest-TestRoutersBasic-21615452-94590694 2026-04-24 14:15:15,319 - INFO - Deleting VN ctest-ext_vn-79801974 2026-04-24 14:15:15,402 - DEBUG - VN 51478907-97f2-492d-8ca0-1107a1d3b4d3 still in use: Unable to complete operation on network 51478907-97f2-492d-8ca0-1107a1d3b4d3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a2b62a12-069a-47ff-8b2f-adbb3dc69de2'] 2026-04-24 14:15:15,402 - WARNING - Deleting VN ctest-ext_vn-79801974 failed..Will retry 2026-04-24 14:15:17,525 - DEBUG - Response for deleting network () 2026-04-24 14:15:17,525 - INFO - Deleting VN ctest-vn-52732514 2026-04-24 14:15:17,663 - DEBUG - Response for deleting network () 2026-04-24 14:15:17,922 - DEBUG - No XMPP flaps were noticed during the test
2026-04-24 14:15:17,922 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-04-24 14:15:17,922 - INFO - -------------------------------------------------------------------------------- 2026-04-24 14:15:18,653 - INFO - Deleted project: ctest-TestRoutersBasic-21615452, ID : bc18a46c-8c44-417e-99a0-cba2f60e78e0