2025-06-19 08:26:42,060 - INFO - Domain Default found not creating 2025-06-19 08:26:42,212 - INFO - Project ctest-TestRoutersBasic-57589922 not found, creating it 2025-06-19 08:26:42,702 - INFO - Created Project:ctest-TestRoutersBasic-57589922, ID : 969e0ca3-dca0-4bcf-888b-610342522841 2025-06-19 08:26:44,193 - INFO - ================================================================================ 2025-06-19 08:26:44,193 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-19 08:26:44,193 - 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-06-19 08:26:44,453 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-06-19 08:26:44,453 - INFO - Initial checks done. Running the testcase now 2025-06-19 08:26:44,453 - INFO - 2025-06-19 08:26:45,205 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-57589922 2025-06-19 08:26:45,306 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-57589922 2025-06-19 08:26:45,641 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57589922', 'default']} 2025-06-19 08:26:45,952 - DEBUG - Response for create_network : {'network': {'id': '00b0dcd7-94dd-4ac3-b718-b4628235ef7b', 'name': 'ctest-vn-40433644', 'tenant_id': '969e0ca3dca04bcf888b610342522841', 'project_id': '969e0ca3dca04bcf888b610342522841', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57589922', 'ctest-vn-40433644'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 08:26:46,169 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b66e838-8c73-4686-a60a-eb24fe6d0166', 'name': '', 'tenant_id': '969e0ca3dca04bcf888b610342522841', 'network_id': '00b0dcd7-94dd-4ac3-b718-b4628235ef7b', 'ip_version': 4, 'cidr': '96.177.40.128/26', 'allocation_pools': [{'start': '96.177.40.130', 'end': '96.177.40.190'}], 'gateway_ip': '96.177.40.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.177.40.130', 'tags': [], 'project_id': '969e0ca3dca04bcf888b610342522841'}} 2025-06-19 08:26:46,189 - INFO - Created VN ctest-vn-40433644 2025-06-19 08:26:46,242 - DEBUG - VN ctest-vn-40433644 UUID is 00b0dcd7-94dd-4ac3-b718-b4628235ef7b 2025-06-19 08:26:46,586 - DEBUG - Response for create_network : {'network': {'id': 'c4fedcb3-7bc0-43a2-8db8-3c89c1f42b5d', 'name': 'ctest-ext_vn-44408355', 'tenant_id': '969e0ca3dca04bcf888b610342522841', 'project_id': '969e0ca3dca04bcf888b610342522841', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-57589922', 'ctest-ext_vn-44408355'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 08:26:46,776 - DEBUG - Response for create_subnet : {'subnet': {'id': '9813d154-4e3e-493f-afbf-8c500c78a849', 'name': '', 'tenant_id': '969e0ca3dca04bcf888b610342522841', 'network_id': 'c4fedcb3-7bc0-43a2-8db8-3c89c1f42b5d', 'ip_version': 4, 'cidr': '29.27.168.0/26', 'allocation_pools': [{'start': '29.27.168.2', 'end': '29.27.168.62'}], 'gateway_ip': '29.27.168.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.27.168.2', 'tags': [], 'project_id': '969e0ca3dca04bcf888b610342522841'}} 2025-06-19 08:26:46,797 - INFO - Created VN ctest-ext_vn-44408355 2025-06-19 08:26:46,849 - DEBUG - VN ctest-ext_vn-44408355 UUID is c4fedcb3-7bc0-43a2-8db8-3c89c1f42b5d 2025-06-19 08:26:47,028 - DEBUG - Services list from nova: [, , ] 2025-06-19 08:26:48,101 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3486-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3486-1) 2025-06-19 08:26:49,315 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3486-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3486-1) 2025-06-19 08:26:49,376 - INFO - Setting gateway for router c7a7ef19-ded2-4427-b266-821cc1bbc406 to network c4fedcb3-7bc0-43a2-8db8-3c89c1f42b5d 2025-06-19 08:26:49,451 - INFO - Adding interface with subnet_id 8b66e838-8c73-4686-a60a-eb24fe6d0166, port_id None to router c7a7ef19-ded2-4427-b266-821cc1bbc406 2025-06-19 08:26:49,819 - INFO - Waiting for VM ctest-TestRoutersBasic-57589922-37484708 to be up.. 2025-06-19 08:26:49,968 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-19 08:26:55,056 - DEBUG - VM is in ACTIVE state now 2025-06-19 08:26:55,057 - INFO - VM name : ctest-TestRoutersBasic-57589922-37484708 2025-06-19 08:26:55,134 - DEBUG - VM ctest-TestRoutersBasic-57589922-37484708 ID is b9a15197-822e-4baa-81cd-cc098ffc6344 2025-06-19 08:26:55,153 - DEBUG - VM ctest-TestRoutersBasic-57589922-37484708 launched on Node cn-jenkins-deploy-platform-ansible-os-3486-1 2025-06-19 08:26:55,233 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b9a15197-822e-4baa-81cd-cc098ffc6344 2025-06-19 08:26:55,547 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b9a15197-822e-4baa-81cd-cc098ffc6344 2025-06-19 08:26:55,585 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e3e4757b-9fcc-4d7b-8c66-3c4d90153d48 2025-06-19 08:26:58,842 - 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 1001ms') 2025-06-19 08:26:58,843 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57589922-37484708 failed! 2025-06-19 08:26:58,898 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-57589922:ctest-vn-40433644 is 96.177.40.129 and allocation pool is NOT set 2025-06-19 08:27:00,963 - 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=5.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.50 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.498/3.367/5.236/1.869 ms') 2025-06-19 08:27:00,963 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-57589922-37484708 passed 2025-06-19 08:27:01,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 08:27:01,122 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57589922-37484708, IP 96.177.40.131, Port 22 2025-06-19 08:27:01,295 - DEBUG - VM ctest-TestRoutersBasic-57589922-37484708 is ready for SSH connections 2025-06-19 08:27:01,295 - INFO - Waiting for VM ctest-TestRoutersBasic-57589922-44599610 to be up.. 2025-06-19 08:27:01,396 - DEBUG - VM is in ACTIVE state now 2025-06-19 08:27:01,396 - INFO - VM name : ctest-TestRoutersBasic-57589922-44599610 2025-06-19 08:27:01,493 - DEBUG - VM ctest-TestRoutersBasic-57589922-44599610 ID is 3d1f8fd5-25f4-4f07-b01f-e725892c62a4 2025-06-19 08:27:01,494 - DEBUG - VM ctest-TestRoutersBasic-57589922-44599610 launched on Node cn-jenkins-deploy-platform-ansible-os-3486-1 2025-06-19 08:27:01,584 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/3d1f8fd5-25f4-4f07-b01f-e725892c62a4 2025-06-19 08:27:01,593 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/c495a056-6740-49f9-9a86-a0f31b4e2112 2025-06-19 08:27:02,853 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.429 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.429/1.759/3.089/1.330 ms') 2025-06-19 08:27:02,853 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-57589922-44599610 passed 2025-06-19 08:27:03,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 08:27:03,014 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-57589922-44599610, IP 29.27.168.3, Port 22 2025-06-19 08:27:03,173 - DEBUG - VM ctest-TestRoutersBasic-57589922-44599610 is ready for SSH connections 2025-06-19 08:27:03,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 08:27:03,173 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.27.168.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-06-19 08:27:03,173 - DEBUG - ping -s 56 -c 3 -W 1 29.27.168.3 2025-06-19 08:27:07,294 - DEBUG - PING 29.27.168.3 (29.27.168.3): 56 data bytes 64 bytes from 29.27.168.3: seq=0 ttl=62 time=7.780 ms 64 bytes from 29.27.168.3: seq=1 ttl=62 time=1.320 ms 64 bytes from 29.27.168.3: seq=2 ttl=62 time=1.111 ms --- 29.27.168.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.111/3.403/7.780 ms 2025-06-19 08:27:07,294 - INFO - Ping to IP 29.27.168.3 from VM ctest-TestRoutersBasic-57589922-37484708 passed 2025-06-19 08:27:07,294 - INFO - Deleting interface with subnet_id 8b66e838-8c73-4686-a60a-eb24fe6d0166, port_id None from router c7a7ef19-ded2-4427-b266-821cc1bbc406 2025-06-19 08:27:07,548 - INFO - Deleting VM ctest-TestRoutersBasic-57589922-44599610 2025-06-19 08:27:07,627 - INFO - Deleting VM ctest-TestRoutersBasic-57589922-37484708 2025-06-19 08:27:07,719 - INFO - Deleting VN ctest-ext_vn-44408355 2025-06-19 08:27:07,814 - DEBUG - VN c4fedcb3-7bc0-43a2-8db8-3c89c1f42b5d still in use: Unable to complete operation on network c4fedcb3-7bc0-43a2-8db8-3c89c1f42b5d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-814c56ad-493d-4470-a114-78cb5ce5759c'] 2025-06-19 08:27:07,815 - WARNING - Deleting VN ctest-ext_vn-44408355 failed..Will retry 2025-06-19 08:27:09,944 - DEBUG - Response for deleting network () 2025-06-19 08:27:09,944 - INFO - Deleting VN ctest-vn-40433644 2025-06-19 08:27:10,077 - DEBUG - Response for deleting network () 2025-06-19 08:27:10,340 - DEBUG - No XMPP flaps were noticed during the test
2025-06-19 08:27:10,340 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-19 08:27:10,341 - INFO - -------------------------------------------------------------------------------- 2025-06-19 08:27:11,096 - INFO - Deleted project: ctest-TestRoutersBasic-57589922, ID : 969e0ca3-dca0-4bcf-888b-610342522841