2025-07-30 19:55:51,474 - INFO - Domain Default found not creating 2025-07-30 19:55:51,616 - INFO - Project ctest-TestRoutersBasic-58836656 not found, creating it 2025-07-30 19:55:52,057 - INFO - Created Project:ctest-TestRoutersBasic-58836656, ID : 7fec2fb1-a5ca-4d15-aa92-cd340d5c7b66 2025-07-30 19:55:53,453 - INFO - ================================================================================ 2025-07-30 19:55:53,453 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-30 19:55:53,454 - 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-07-30 19:55:53,712 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.0.0.38': '0'}} with 2025-07-30 19:55:53,712 - INFO - Initial checks done. Running the testcase now 2025-07-30 19:55:53,712 - INFO - 2025-07-30 19:55:54,427 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-58836656 2025-07-30 19:55:54,522 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-58836656 2025-07-30 19:55:54,841 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58836656', 'default']} 2025-07-30 19:55:55,124 - DEBUG - Response for create_network : {'network': {'id': 'a5c952a8-03d4-4c59-9469-c1592e009ff7', 'name': 'ctest-vn-83002956', 'tenant_id': '7fec2fb1a5ca4d15aa92cd340d5c7b66', 'project_id': '7fec2fb1a5ca4d15aa92cd340d5c7b66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58836656', 'ctest-vn-83002956'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 19:55:55,294 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd73060e-e976-4509-8df0-00c69a15b795', 'name': '', 'tenant_id': '7fec2fb1a5ca4d15aa92cd340d5c7b66', 'network_id': 'a5c952a8-03d4-4c59-9469-c1592e009ff7', 'ip_version': 4, 'cidr': '25.199.126.0/26', 'allocation_pools': [{'start': '25.199.126.2', 'end': '25.199.126.62'}], 'gateway_ip': '25.199.126.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.199.126.2', 'tags': [], 'project_id': '7fec2fb1a5ca4d15aa92cd340d5c7b66'}} 2025-07-30 19:55:55,311 - INFO - Created VN ctest-vn-83002956 2025-07-30 19:55:55,362 - DEBUG - VN ctest-vn-83002956 UUID is a5c952a8-03d4-4c59-9469-c1592e009ff7 2025-07-30 19:55:55,704 - DEBUG - Response for create_network : {'network': {'id': '6f12b30d-ca5b-4790-9242-0beb25e43400', 'name': 'ctest-ext_vn-79956814', 'tenant_id': '7fec2fb1a5ca4d15aa92cd340d5c7b66', 'project_id': '7fec2fb1a5ca4d15aa92cd340d5c7b66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58836656', 'ctest-ext_vn-79956814'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 19:55:55,918 - DEBUG - Response for create_subnet : {'subnet': {'id': '74f6d666-c561-4e22-b922-00b5ae5070ae', 'name': '', 'tenant_id': '7fec2fb1a5ca4d15aa92cd340d5c7b66', 'network_id': '6f12b30d-ca5b-4790-9242-0beb25e43400', 'ip_version': 4, 'cidr': '68.122.207.192/26', 'allocation_pools': [{'start': '68.122.207.194', 'end': '68.122.207.254'}], 'gateway_ip': '68.122.207.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.122.207.194', 'tags': [], 'project_id': '7fec2fb1a5ca4d15aa92cd340d5c7b66'}} 2025-07-30 19:55:55,935 - INFO - Created VN ctest-ext_vn-79956814 2025-07-30 19:55:55,990 - DEBUG - VN ctest-ext_vn-79956814 UUID is 6f12b30d-ca5b-4790-9242-0beb25e43400 2025-07-30 19:55:56,157 - DEBUG - Services list from nova: [, , ] 2025-07-30 19:55:57,146 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3725-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3725-1) 2025-07-30 19:55:58,234 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3725-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3725-1) 2025-07-30 19:55:58,308 - INFO - Setting gateway for router a7129f98-4e13-42af-b1ba-655baac3f2db to network 6f12b30d-ca5b-4790-9242-0beb25e43400 2025-07-30 19:55:58,366 - INFO - Adding interface with subnet_id fd73060e-e976-4509-8df0-00c69a15b795, port_id None to router a7129f98-4e13-42af-b1ba-655baac3f2db 2025-07-30 19:55:58,644 - INFO - Waiting for VM ctest-TestRoutersBasic-58836656-56265922 to be up.. 2025-07-30 19:55:58,764 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-30 19:56:03,848 - DEBUG - VM is in ACTIVE state now 2025-07-30 19:56:03,848 - INFO - VM name : ctest-TestRoutersBasic-58836656-56265922 2025-07-30 19:56:03,922 - DEBUG - VM ctest-TestRoutersBasic-58836656-56265922 ID is 30f2c79c-c3ff-4f7d-8d42-2867dcebc25b 2025-07-30 19:56:03,942 - DEBUG - VM ctest-TestRoutersBasic-58836656-56265922 launched on Node cn-jenkins-deploy-platform-ansible-os-3725-1. 2025-07-30 19:56:04,024 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/30f2c79c-c3ff-4f7d-8d42-2867dcebc25b 2025-07-30 19:56:04,319 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/30f2c79c-c3ff-4f7d-8d42-2867dcebc25b 2025-07-30 19:56:04,354 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cdab73af-1550-4306-abdc-8a1b712bc0b1 2025-07-30 19:56:07,594 - 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 1014ms') 2025-07-30 19:56:07,595 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58836656-56265922 failed! 2025-07-30 19:56:07,649 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-58836656:ctest-vn-83002956 is 25.199.126.1 and allocation pool is NOT set 2025-07-30 19:56:09,707 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.422 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 = 0.422/1.779/3.136/1.357 ms') 2025-07-30 19:56:09,707 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58836656-56265922 passed 2025-07-30 19:56:09,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 19:56:09,858 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58836656-56265922, IP 25.199.126.3, Port 22 2025-07-30 19:56:10,013 - DEBUG - VM ctest-TestRoutersBasic-58836656-56265922 is ready for SSH connections 2025-07-30 19:56:10,014 - INFO - Waiting for VM ctest-TestRoutersBasic-58836656-53699969 to be up.. 2025-07-30 19:56:10,099 - DEBUG - VM is in ACTIVE state now 2025-07-30 19:56:10,099 - INFO - VM name : ctest-TestRoutersBasic-58836656-53699969 2025-07-30 19:56:10,170 - DEBUG - VM ctest-TestRoutersBasic-58836656-53699969 ID is f70478a4-ab0f-4720-a584-8a3f70be149d 2025-07-30 19:56:10,170 - DEBUG - VM ctest-TestRoutersBasic-58836656-53699969 launched on Node cn-jenkins-deploy-platform-ansible-os-3725-1. 2025-07-30 19:56:10,245 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f70478a4-ab0f-4720-a584-8a3f70be149d 2025-07-30 19:56:10,253 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3161633b-d3be-471d-bf83-49af60a81760 2025-07-30 19:56:11,493 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 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.414/2.100/3.786/1.686 ms') 2025-07-30 19:56:11,493 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-58836656-53699969 passed 2025-07-30 19:56:11,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 19:56:11,650 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58836656-53699969, IP 68.122.207.195, Port 22 2025-07-30 19:56:11,811 - DEBUG - VM ctest-TestRoutersBasic-58836656-53699969 is ready for SSH connections 2025-07-30 19:56:11,811 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 19:56:11,811 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.122.207.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-07-30 19:56:11,812 - DEBUG - ping -s 56 -c 3 -W 1 68.122.207.195 2025-07-30 19:56:15,490 - DEBUG - PING 68.122.207.195 (68.122.207.195): 56 data bytes 64 bytes from 68.122.207.195: seq=0 ttl=62 time=5.874 ms 64 bytes from 68.122.207.195: seq=1 ttl=62 time=0.846 ms 64 bytes from 68.122.207.195: seq=2 ttl=62 time=0.980 ms --- 68.122.207.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.846/2.566/5.874 ms 2025-07-30 19:56:15,490 - INFO - Ping to IP 68.122.207.195 from VM ctest-TestRoutersBasic-58836656-56265922 passed 2025-07-30 19:56:15,490 - INFO - Deleting interface with subnet_id fd73060e-e976-4509-8df0-00c69a15b795, port_id None from router a7129f98-4e13-42af-b1ba-655baac3f2db 2025-07-30 19:56:15,672 - INFO - Deleting VM ctest-TestRoutersBasic-58836656-53699969 2025-07-30 19:56:15,738 - INFO - Deleting VM ctest-TestRoutersBasic-58836656-56265922 2025-07-30 19:56:15,808 - INFO - Deleting VN ctest-ext_vn-79956814 2025-07-30 19:56:15,869 - DEBUG - VN 6f12b30d-ca5b-4790-9242-0beb25e43400 still in use: Unable to complete operation on network 6f12b30d-ca5b-4790-9242-0beb25e43400. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-328fe3ab-7450-4193-a098-d55ba1dbebea'] 2025-07-30 19:56:15,869 - WARNING - Deleting VN ctest-ext_vn-79956814 failed..Will retry 2025-07-30 19:56:17,971 - DEBUG - Response for deleting network () 2025-07-30 19:56:17,971 - INFO - Deleting VN ctest-vn-83002956 2025-07-30 19:56:18,077 - DEBUG - Response for deleting network () 2025-07-30 19:56:18,341 - DEBUG - No XMPP flaps were noticed during the test
2025-07-30 19:56:18,341 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-07-30 19:56:18,341 - INFO - -------------------------------------------------------------------------------- 2025-07-30 19:56:19,006 - INFO - Deleted project: ctest-TestRoutersBasic-58836656, ID : 7fec2fb1-a5ca-4d15-aa92-cd340d5c7b66