2025-08-30 21:55:26,781 - INFO - Domain Default found not creating 2025-08-30 21:55:26,913 - INFO - Project ctest-TestRoutersBasic-83183353 not found, creating it 2025-08-30 21:55:27,341 - INFO - Created Project:ctest-TestRoutersBasic-83183353, ID : 8f9e0da1-68d2-47bb-942a-b4e7f058812c 2025-08-30 21:55:28,665 - INFO - ================================================================================ 2025-08-30 21:55:28,665 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-30 21:55:28,666 - 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-30 21:55:28,921 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.254': '0'}} with 2025-08-30 21:55:28,921 - INFO - Initial checks done. Running the testcase now 2025-08-30 21:55:28,921 - INFO - 2025-08-30 21:55:29,593 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-83183353 2025-08-30 21:55:29,689 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-83183353 2025-08-30 21:55:30,001 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83183353', 'default']} 2025-08-30 21:55:30,275 - DEBUG - Response for create_network : {'network': {'id': 'a2e7934b-e17c-4270-a567-dea7cfbaefb2', 'name': 'ctest-vn-01716963', 'tenant_id': '8f9e0da168d247bb942ab4e7f058812c', 'project_id': '8f9e0da168d247bb942ab4e7f058812c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83183353', 'ctest-vn-01716963'], 'port_security_enabled': True, 'description': ''}} 2025-08-30 21:55:30,435 - DEBUG - Response for create_subnet : {'subnet': {'id': '78a7a380-1a9c-4d24-a742-3d63f9dd2133', 'name': '', 'tenant_id': '8f9e0da168d247bb942ab4e7f058812c', 'network_id': 'a2e7934b-e17c-4270-a567-dea7cfbaefb2', 'ip_version': 4, 'cidr': '111.1.169.192/26', 'allocation_pools': [{'start': '111.1.169.194', 'end': '111.1.169.254'}], 'gateway_ip': '111.1.169.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.1.169.194', 'tags': [], 'project_id': '8f9e0da168d247bb942ab4e7f058812c'}} 2025-08-30 21:55:30,450 - INFO - Created VN ctest-vn-01716963 2025-08-30 21:55:30,501 - DEBUG - VN ctest-vn-01716963 UUID is a2e7934b-e17c-4270-a567-dea7cfbaefb2 2025-08-30 21:55:30,818 - DEBUG - Response for create_network : {'network': {'id': '541d456e-f611-4143-a80b-19a1b12fcfbf', 'name': 'ctest-ext_vn-73542586', 'tenant_id': '8f9e0da168d247bb942ab4e7f058812c', 'project_id': '8f9e0da168d247bb942ab4e7f058812c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83183353', 'ctest-ext_vn-73542586'], 'port_security_enabled': True, 'description': ''}} 2025-08-30 21:55:31,030 - DEBUG - Response for create_subnet : {'subnet': {'id': '3311fb54-f837-4a27-98f2-88d19f8a583a', 'name': '', 'tenant_id': '8f9e0da168d247bb942ab4e7f058812c', 'network_id': '541d456e-f611-4143-a80b-19a1b12fcfbf', 'ip_version': 4, 'cidr': '56.217.37.64/26', 'allocation_pools': [{'start': '56.217.37.66', 'end': '56.217.37.126'}], 'gateway_ip': '56.217.37.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.217.37.66', 'tags': [], 'project_id': '8f9e0da168d247bb942ab4e7f058812c'}} 2025-08-30 21:55:31,046 - INFO - Created VN ctest-ext_vn-73542586 2025-08-30 21:55:31,097 - DEBUG - VN ctest-ext_vn-73542586 UUID is 541d456e-f611-4143-a80b-19a1b12fcfbf 2025-08-30 21:55:31,283 - DEBUG - Services list from nova: [, , ] 2025-08-30 21:55:32,236 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3983-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3983-1) 2025-08-30 21:55:33,279 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3983-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3983-1) 2025-08-30 21:55:33,339 - INFO - Setting gateway for router 378aaa50-7bc6-445c-85a3-740dcd47ebd7 to network 541d456e-f611-4143-a80b-19a1b12fcfbf 2025-08-30 21:55:33,397 - INFO - Adding interface with subnet_id 78a7a380-1a9c-4d24-a742-3d63f9dd2133, port_id None to router 378aaa50-7bc6-445c-85a3-740dcd47ebd7 2025-08-30 21:55:33,728 - INFO - Waiting for VM ctest-TestRoutersBasic-83183353-69358954 to be up.. 2025-08-30 21:55:33,908 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-30 21:55:39,009 - DEBUG - VM is in ACTIVE state now 2025-08-30 21:55:39,009 - INFO - VM name : ctest-TestRoutersBasic-83183353-69358954 2025-08-30 21:55:39,112 - DEBUG - VM ctest-TestRoutersBasic-83183353-69358954 ID is 6cd86e9c-e17a-4fc0-807e-5e2a6bc9fd10 2025-08-30 21:55:39,138 - DEBUG - VM ctest-TestRoutersBasic-83183353-69358954 launched on Node cn-jenkins-deploy-platform-ansible-os-3983-1 2025-08-30 21:55:39,224 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/6cd86e9c-e17a-4fc0-807e-5e2a6bc9fd10 2025-08-30 21:55:39,519 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/6cd86e9c-e17a-4fc0-807e-5e2a6bc9fd10 2025-08-30 21:55:39,547 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/ccb38a33-2a26-4a1f-a86e-cc1aff9d2b03 2025-08-30 21:55:42,799 - 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 1028ms') 2025-08-30 21:55:42,799 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83183353-69358954 failed! 2025-08-30 21:55:42,853 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-83183353:ctest-vn-01716963 is 111.1.169.193 and allocation pool is NOT set 2025-08-30 21:55:44,909 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.321 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.321/1.490/2.659/1.169 ms') 2025-08-30 21:55:44,909 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83183353-69358954 passed 2025-08-30 21:55:45,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 21:55:45,057 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83183353-69358954, IP 111.1.169.195, Port 22 2025-08-30 21:55:45,212 - DEBUG - VM ctest-TestRoutersBasic-83183353-69358954 is ready for SSH connections 2025-08-30 21:55:45,213 - INFO - Waiting for VM ctest-TestRoutersBasic-83183353-21538656 to be up.. 2025-08-30 21:55:45,286 - DEBUG - VM is in ACTIVE state now 2025-08-30 21:55:45,287 - INFO - VM name : ctest-TestRoutersBasic-83183353-21538656 2025-08-30 21:55:45,351 - DEBUG - VM ctest-TestRoutersBasic-83183353-21538656 ID is 3e360afb-5c18-42e3-b696-48e54be18522 2025-08-30 21:55:45,351 - DEBUG - VM ctest-TestRoutersBasic-83183353-21538656 launched on Node cn-jenkins-deploy-platform-ansible-os-3983-1 2025-08-30 21:55:45,419 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/3e360afb-5c18-42e3-b696-48e54be18522 2025-08-30 21:55:45,427 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/76346783-18b7-4c80-86bc-0afc432e432b 2025-08-30 21:55:46,659 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.419 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.419/2.289/4.160/1.870 ms') 2025-08-30 21:55:46,659 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-83183353-21538656 passed 2025-08-30 21:55:46,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 21:55:46,809 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83183353-21538656, IP 56.217.37.67, Port 22 2025-08-30 21:55:46,965 - DEBUG - VM ctest-TestRoutersBasic-83183353-21538656 is ready for SSH connections 2025-08-30 21:55:46,965 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 21:55:46,965 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.217.37.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-30 21:55:46,965 - DEBUG - ping -s 56 -c 3 -W 1 56.217.37.67 2025-08-30 21:55:50,645 - DEBUG - PING 56.217.37.67 (56.217.37.67): 56 data bytes 64 bytes from 56.217.37.67: seq=0 ttl=62 time=5.062 ms 64 bytes from 56.217.37.67: seq=1 ttl=62 time=0.700 ms 64 bytes from 56.217.37.67: seq=2 ttl=62 time=0.825 ms --- 56.217.37.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.700/2.195/5.062 ms 2025-08-30 21:55:50,645 - INFO - Ping to IP 56.217.37.67 from VM ctest-TestRoutersBasic-83183353-69358954 passed 2025-08-30 21:55:50,645 - INFO - Deleting interface with subnet_id 78a7a380-1a9c-4d24-a742-3d63f9dd2133, port_id None from router 378aaa50-7bc6-445c-85a3-740dcd47ebd7 2025-08-30 21:55:50,801 - INFO - Deleting VM ctest-TestRoutersBasic-83183353-21538656 2025-08-30 21:55:50,863 - INFO - Deleting VM ctest-TestRoutersBasic-83183353-69358954 2025-08-30 21:55:50,932 - INFO - Deleting VN ctest-ext_vn-73542586 2025-08-30 21:55:50,994 - DEBUG - VN 541d456e-f611-4143-a80b-19a1b12fcfbf still in use: Unable to complete operation on network 541d456e-f611-4143-a80b-19a1b12fcfbf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-92b19caa-e86d-404c-9e43-bb4ffccc1284'] 2025-08-30 21:55:50,994 - WARNING - Deleting VN ctest-ext_vn-73542586 failed..Will retry 2025-08-30 21:55:53,081 - DEBUG - Response for deleting network () 2025-08-30 21:55:53,081 - INFO - Deleting VN ctest-vn-01716963 2025-08-30 21:55:53,166 - DEBUG - Response for deleting network () 2025-08-30 21:55:53,417 - DEBUG - No XMPP flaps were noticed during the test 2025-08-30 21:55:53,418 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-08-30 21:55:53,418 - INFO - -------------------------------------------------------------------------------- 2025-08-30 21:55:54,053 - INFO - Deleted project: ctest-TestRoutersBasic-83183353, ID : 8f9e0da1-68d2-47bb-942a-b4e7f058812c