2025-10-17 21:53:29,606 - INFO - Domain Default found not creating 2025-10-17 21:53:29,839 - INFO - Project ctest-TestRoutersBasic-90337078 not found, creating it 2025-10-17 21:53:30,412 - INFO - Created Project:ctest-TestRoutersBasic-90337078, ID : 85953167-0410-43a0-9ae4-cd1c9c21f08e 2025-10-17 21:53:32,646 - INFO - ================================================================================ 2025-10-17 21:53:32,646 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-17 21:53:32,646 - 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 2025-10-17 21:53:32,954 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-17 21:53:32,955 - INFO - Initial checks done. Running the testcase now 2025-10-17 21:53:32,956 - INFO - 2025-10-17 21:53:33,750 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-90337078 2025-10-17 21:53:33,861 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-90337078 2025-10-17 21:53:34,269 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90337078', 'default']} 2025-10-17 21:53:34,795 - DEBUG - Response for create_network : {'network': {'id': '06b5b73c-e4a1-47da-a825-29f0dacfafe9', 'name': 'ctest-vn-21755429', 'tenant_id': '85953167041043a09ae4cd1c9c21f08e', 'project_id': '85953167041043a09ae4cd1c9c21f08e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90337078', 'ctest-vn-21755429'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 21:53:35,054 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1854a10-ad37-4ff9-a77f-a2f6e8c60432', 'name': '', 'tenant_id': '85953167041043a09ae4cd1c9c21f08e', 'network_id': '06b5b73c-e4a1-47da-a825-29f0dacfafe9', 'ip_version': 4, 'cidr': '100.145.194.192/26', 'allocation_pools': [{'start': '100.145.194.194', 'end': '100.145.194.254'}], 'gateway_ip': '100.145.194.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.145.194.194', 'tags': [], 'project_id': '85953167041043a09ae4cd1c9c21f08e'}} 2025-10-17 21:53:35,087 - INFO - Created VN ctest-vn-21755429 2025-10-17 21:53:35,141 - DEBUG - VN ctest-vn-21755429 UUID is 06b5b73c-e4a1-47da-a825-29f0dacfafe9 2025-10-17 21:53:35,603 - DEBUG - Response for create_network : {'network': {'id': '947d5a58-9208-47ef-a788-85dc8ca2d790', 'name': 'ctest-ext_vn-57812271', 'tenant_id': '85953167041043a09ae4cd1c9c21f08e', 'project_id': '85953167041043a09ae4cd1c9c21f08e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90337078', 'ctest-ext_vn-57812271'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 21:53:35,796 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc3298c8-a2d4-425d-8506-170aba36a1fb', 'name': '', 'tenant_id': '85953167041043a09ae4cd1c9c21f08e', 'network_id': '947d5a58-9208-47ef-a788-85dc8ca2d790', 'ip_version': 4, 'cidr': '144.128.184.64/26', 'allocation_pools': [{'start': '144.128.184.66', 'end': '144.128.184.126'}], 'gateway_ip': '144.128.184.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.128.184.66', 'tags': [], 'project_id': '85953167041043a09ae4cd1c9c21f08e'}} 2025-10-17 21:53:35,815 - INFO - Created VN ctest-ext_vn-57812271 2025-10-17 21:53:35,869 - DEBUG - VN ctest-ext_vn-57812271 UUID is 947d5a58-9208-47ef-a788-85dc8ca2d790 2025-10-17 21:53:36,072 - DEBUG - Services list from nova: [, , ] 2025-10-17 21:53:37,400 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4359-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4359-1) 2025-10-17 21:53:38,830 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4359-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4359-1) 2025-10-17 21:53:38,891 - INFO - Setting gateway for router f419c008-8bf2-4e02-bcf9-b7f95d3b809e to network 947d5a58-9208-47ef-a788-85dc8ca2d790 2025-10-17 21:53:38,938 - INFO - Adding interface with subnet_id f1854a10-ad37-4ff9-a77f-a2f6e8c60432, port_id None to router f419c008-8bf2-4e02-bcf9-b7f95d3b809e 2025-10-17 21:53:39,225 - INFO - Waiting for VM ctest-TestRoutersBasic-90337078-72665973 to be up.. 2025-10-17 21:53:39,329 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-17 21:53:44,453 - DEBUG - VM is in ACTIVE state now 2025-10-17 21:53:44,453 - INFO - VM name : ctest-TestRoutersBasic-90337078-72665973 2025-10-17 21:53:44,609 - DEBUG - VM ctest-TestRoutersBasic-90337078-72665973 ID is 9501e608-e58d-4140-ae54-c13ca959828e 2025-10-17 21:53:44,648 - DEBUG - VM ctest-TestRoutersBasic-90337078-72665973 launched on Node cn-jenkins-deploy-platform-ansible-os-4359-1 2025-10-17 21:53:44,772 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9501e608-e58d-4140-ae54-c13ca959828e 2025-10-17 21:53:45,112 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9501e608-e58d-4140-ae54-c13ca959828e 2025-10-17 21:53:45,202 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a0940471-daed-4c7c-b31c-f50cc718729b 2025-10-17 21:53:48,537 - 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 1025ms') 2025-10-17 21:53:48,537 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90337078-72665973 failed! 2025-10-17 21:53:48,609 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-90337078:ctest-vn-21755429 is 100.145.194.193 and allocation pool is NOT set 2025-10-17 21:53:50,689 - 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=13.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.53 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.533/7.770/13.008/5.237 ms') 2025-10-17 21:53:50,689 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90337078-72665973 passed 2025-10-17 21:53:50,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:53:50,862 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90337078-72665973, IP 100.145.194.195, Port 22 2025-10-17 21:53:51,041 - DEBUG - VM ctest-TestRoutersBasic-90337078-72665973 is ready for SSH connections 2025-10-17 21:53:51,041 - INFO - Waiting for VM ctest-TestRoutersBasic-90337078-46591689 to be up.. 2025-10-17 21:53:51,207 - DEBUG - VM is in ACTIVE state now 2025-10-17 21:53:51,207 - INFO - VM name : ctest-TestRoutersBasic-90337078-46591689 2025-10-17 21:53:51,333 - DEBUG - VM ctest-TestRoutersBasic-90337078-46591689 ID is 0f62cdc7-7901-4336-98cd-abd7ace6bd5c 2025-10-17 21:53:51,334 - DEBUG - VM ctest-TestRoutersBasic-90337078-46591689 launched on Node cn-jenkins-deploy-platform-ansible-os-4359-1 2025-10-17 21:53:51,471 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0f62cdc7-7901-4336-98cd-abd7ace6bd5c 2025-10-17 21:53:51,486 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4357a588-46fd-40b7-af3d-0cbd60f96c94 2025-10-17 21:53:52,789 - 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=10.1 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.984 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.984/5.548/10.112/4.564 ms') 2025-10-17 21:53:52,789 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-90337078-46591689 passed 2025-10-17 21:53:52,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:53:52,978 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90337078-46591689, IP 144.128.184.67, Port 22 2025-10-17 21:53:53,184 - DEBUG - VM ctest-TestRoutersBasic-90337078-46591689 is ready for SSH connections 2025-10-17 21:53:53,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:53:53,184 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.128.184.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-17 21:53:53,185 - DEBUG - ping -s 56 -c 3 -W 1 144.128.184.67 2025-10-17 21:53:57,371 - DEBUG - PING 144.128.184.67 (144.128.184.67): 56 data bytes 64 bytes from 144.128.184.67: seq=0 ttl=62 time=7.709 ms 64 bytes from 144.128.184.67: seq=1 ttl=62 time=2.356 ms 64 bytes from 144.128.184.67: seq=2 ttl=62 time=1.701 ms --- 144.128.184.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.701/3.922/7.709 ms 2025-10-17 21:53:57,372 - INFO - Ping to IP 144.128.184.67 from VM ctest-TestRoutersBasic-90337078-72665973 passed 2025-10-17 21:53:57,372 - INFO - Deleting interface with subnet_id f1854a10-ad37-4ff9-a77f-a2f6e8c60432, port_id None from router f419c008-8bf2-4e02-bcf9-b7f95d3b809e 2025-10-17 21:53:57,670 - INFO - Deleting VM ctest-TestRoutersBasic-90337078-46591689 2025-10-17 21:53:57,739 - INFO - Deleting VM ctest-TestRoutersBasic-90337078-72665973 2025-10-17 21:53:57,837 - INFO - Deleting VN ctest-ext_vn-57812271 2025-10-17 21:53:57,914 - DEBUG - VN 947d5a58-9208-47ef-a788-85dc8ca2d790 still in use: Unable to complete operation on network 947d5a58-9208-47ef-a788-85dc8ca2d790. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-539fa6f3-80b9-4145-8745-48b814be3e77'] 2025-10-17 21:53:57,915 - WARNING - Deleting VN ctest-ext_vn-57812271 failed..Will retry 2025-10-17 21:54:00,176 - DEBUG - Response for deleting network () 2025-10-17 21:54:00,177 - INFO - Deleting VN ctest-vn-21755429 2025-10-17 21:54:00,310 - DEBUG - Response for deleting network () 2025-10-17 21:54:00,592 - DEBUG - No XMPP flaps were noticed during the test
2025-10-17 21:54:00,592 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-10-17 21:54:00,593 - INFO - -------------------------------------------------------------------------------- 2025-10-17 21:54:01,405 - INFO - Deleted project: ctest-TestRoutersBasic-90337078, ID : 85953167-0410-43a0-9ae4-cd1c9c21f08e