2025-08-10 09:28:32,166 - INFO - Domain Default found not creating 2025-08-10 09:28:32,285 - INFO - Project ctest-TestRoutersBasic-48674390 not found, creating it 2025-08-10 09:28:32,711 - INFO - Created Project:ctest-TestRoutersBasic-48674390, ID : 14b5e734-529e-4d8d-b43d-75dc94526818 2025-08-10 09:28:34,002 - INFO - ================================================================================ 2025-08-10 09:28:34,002 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-10 09:28:34,002 - 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-08-10 09:28:34,262 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with 2025-08-10 09:28:34,262 - INFO - Initial checks done. Running the testcase now 2025-08-10 09:28:34,262 - INFO - 2025-08-10 09:28:34,926 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-48674390 2025-08-10 09:28:35,020 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-48674390 2025-08-10 09:28:35,320 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48674390', 'default']} 2025-08-10 09:28:35,588 - DEBUG - Response for create_network : {'network': {'id': '069e475e-d46a-4470-a796-ac2b00b0a0dd', 'name': 'ctest-vn-36715351', 'tenant_id': '14b5e734529e4d8db43d75dc94526818', 'project_id': '14b5e734529e4d8db43d75dc94526818', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48674390', 'ctest-vn-36715351'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 09:28:35,779 - DEBUG - Response for create_subnet : {'subnet': {'id': '9653cd52-c5b2-4e90-b6c4-a52d9faae409', 'name': '', 'tenant_id': '14b5e734529e4d8db43d75dc94526818', 'network_id': '069e475e-d46a-4470-a796-ac2b00b0a0dd', 'ip_version': 4, 'cidr': '25.21.201.128/26', 'allocation_pools': [{'start': '25.21.201.130', 'end': '25.21.201.190'}], 'gateway_ip': '25.21.201.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.21.201.130', 'tags': [], 'project_id': '14b5e734529e4d8db43d75dc94526818'}} 2025-08-10 09:28:35,794 - INFO - Created VN ctest-vn-36715351 2025-08-10 09:28:35,844 - DEBUG - VN ctest-vn-36715351 UUID is 069e475e-d46a-4470-a796-ac2b00b0a0dd 2025-08-10 09:28:36,166 - DEBUG - Response for create_network : {'network': {'id': '50f4fead-c63f-41e7-abd2-9d5aabaee74f', 'name': 'ctest-ext_vn-38173600', 'tenant_id': '14b5e734529e4d8db43d75dc94526818', 'project_id': '14b5e734529e4d8db43d75dc94526818', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48674390', 'ctest-ext_vn-38173600'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 09:28:36,329 - DEBUG - Response for create_subnet : {'subnet': {'id': '33ae764d-2a65-4ad6-9528-62ce5e96b547', 'name': '', 'tenant_id': '14b5e734529e4d8db43d75dc94526818', 'network_id': '50f4fead-c63f-41e7-abd2-9d5aabaee74f', 'ip_version': 4, 'cidr': '25.36.232.192/26', 'allocation_pools': [{'start': '25.36.232.194', 'end': '25.36.232.254'}], 'gateway_ip': '25.36.232.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.36.232.194', 'tags': [], 'project_id': '14b5e734529e4d8db43d75dc94526818'}} 2025-08-10 09:28:36,343 - INFO - Created VN ctest-ext_vn-38173600 2025-08-10 09:28:36,396 - DEBUG - VN ctest-ext_vn-38173600 UUID is 50f4fead-c63f-41e7-abd2-9d5aabaee74f 2025-08-10 09:28:36,583 - DEBUG - Services list from nova: [, , ] 2025-08-10 09:28:37,538 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3785-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3785-1) 2025-08-10 09:28:38,607 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3785-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3785-1) 2025-08-10 09:28:38,668 - INFO - Setting gateway for router f1468a08-e319-4c05-8f94-2dc02cc50470 to network 50f4fead-c63f-41e7-abd2-9d5aabaee74f 2025-08-10 09:28:38,736 - INFO - Adding interface with subnet_id 9653cd52-c5b2-4e90-b6c4-a52d9faae409, port_id None to router f1468a08-e319-4c05-8f94-2dc02cc50470 2025-08-10 09:28:39,135 - INFO - Waiting for VM ctest-TestRoutersBasic-48674390-79719360 to be up.. 2025-08-10 09:28:39,264 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-10 09:28:44,343 - DEBUG - VM is in ACTIVE state now 2025-08-10 09:28:44,343 - INFO - VM name : ctest-TestRoutersBasic-48674390-79719360 2025-08-10 09:28:44,409 - DEBUG - VM ctest-TestRoutersBasic-48674390-79719360 ID is 2863babe-4786-49d2-afc8-d9fc31b7f059 2025-08-10 09:28:44,431 - DEBUG - VM ctest-TestRoutersBasic-48674390-79719360 launched on Node cn-jenkins-deploy-platform-ansible-os-3785-1 2025-08-10 09:28:44,492 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/2863babe-4786-49d2-afc8-d9fc31b7f059 2025-08-10 09:28:44,780 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/2863babe-4786-49d2-afc8-d9fc31b7f059 2025-08-10 09:28:44,809 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/e4f3e3ce-4e07-4a80-a8bd-121bf8a8ef69 2025-08-10 09:28:48,053 - 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 1011ms') 2025-08-10 09:28:48,053 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-48674390-79719360 failed! 2025-08-10 09:28:48,108 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-48674390:ctest-vn-36715351 is 25.21.201.129 and allocation pool is NOT set 2025-08-10 09:28:50,171 - 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=2.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.362 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.362/1.530/2.699/1.168 ms') 2025-08-10 09:28:50,171 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-48674390-79719360 passed 2025-08-10 09:28:50,320 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 09:28:50,320 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48674390-79719360, IP 25.21.201.131, Port 22 2025-08-10 09:28:50,475 - DEBUG - VM ctest-TestRoutersBasic-48674390-79719360 is ready for SSH connections 2025-08-10 09:28:50,475 - INFO - Waiting for VM ctest-TestRoutersBasic-48674390-11934582 to be up.. 2025-08-10 09:28:50,540 - DEBUG - VM is in ACTIVE state now 2025-08-10 09:28:50,540 - INFO - VM name : ctest-TestRoutersBasic-48674390-11934582 2025-08-10 09:28:50,595 - DEBUG - VM ctest-TestRoutersBasic-48674390-11934582 ID is 9f6421a0-4f71-4db3-9737-1581634bf339 2025-08-10 09:28:50,595 - DEBUG - VM ctest-TestRoutersBasic-48674390-11934582 launched on Node cn-jenkins-deploy-platform-ansible-os-3785-1 2025-08-10 09:28:50,653 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/9f6421a0-4f71-4db3-9737-1581634bf339 2025-08-10 09:28:50,660 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/6a15ab03-e490-4380-a7b0-0822fe54b8dc 2025-08-10 09:28:51,887 - 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=2.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.280 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.280/1.518/2.756/1.238 ms') 2025-08-10 09:28:51,888 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-48674390-11934582 passed 2025-08-10 09:28:52,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 09:28:52,044 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48674390-11934582, IP 25.36.232.195, Port 22 2025-08-10 09:28:52,199 - DEBUG - VM ctest-TestRoutersBasic-48674390-11934582 is ready for SSH connections 2025-08-10 09:28:52,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 09:28:52,200 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.36.232.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-10 09:28:52,200 - DEBUG - ping -s 56 -c 3 -W 1 25.36.232.195 2025-08-10 09:28:55,832 - DEBUG - PING 25.36.232.195 (25.36.232.195): 56 data bytes 64 bytes from 25.36.232.195: seq=0 ttl=62 time=7.264 ms 64 bytes from 25.36.232.195: seq=1 ttl=62 time=0.760 ms 64 bytes from 25.36.232.195: seq=2 ttl=62 time=0.853 ms --- 25.36.232.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.760/2.959/7.264 ms 2025-08-10 09:28:55,832 - INFO - Ping to IP 25.36.232.195 from VM ctest-TestRoutersBasic-48674390-79719360 passed 2025-08-10 09:28:55,832 - INFO - Deleting interface with subnet_id 9653cd52-c5b2-4e90-b6c4-a52d9faae409, port_id None from router f1468a08-e319-4c05-8f94-2dc02cc50470 2025-08-10 09:28:56,020 - INFO - Deleting VM ctest-TestRoutersBasic-48674390-11934582 2025-08-10 09:28:56,084 - INFO - Deleting VM ctest-TestRoutersBasic-48674390-79719360 2025-08-10 09:28:56,141 - INFO - Deleting VN ctest-ext_vn-38173600 2025-08-10 09:28:56,216 - DEBUG - VN 50f4fead-c63f-41e7-abd2-9d5aabaee74f still in use: Unable to complete operation on network 50f4fead-c63f-41e7-abd2-9d5aabaee74f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ffd45eca-576c-4400-8b72-89c201a29903'] 2025-08-10 09:28:56,216 - WARNING - Deleting VN ctest-ext_vn-38173600 failed..Will retry 2025-08-10 09:28:58,309 - DEBUG - Response for deleting network () 2025-08-10 09:28:58,309 - INFO - Deleting VN ctest-vn-36715351 2025-08-10 09:28:58,397 - DEBUG - Response for deleting network () 2025-08-10 09:28:58,657 - DEBUG - No XMPP flaps were noticed during the test
2025-08-10 09:28:58,657 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2025-08-10 09:28:58,657 - INFO - -------------------------------------------------------------------------------- 2025-08-10 09:28:59,289 - INFO - Deleted project: ctest-TestRoutersBasic-48674390, ID : 14b5e734-529e-4d8d-b43d-75dc94526818