2025-09-04 12:32:56,897 - INFO - Domain Default found not creating 2025-09-04 12:32:57,021 - INFO - Project ctest-TestRoutersBasic-24337430 not found, creating it 2025-09-04 12:32:57,462 - INFO - Created Project:ctest-TestRoutersBasic-24337430, ID : 0469b10e-8b63-4f83-aba8-e1efb2401328 2025-09-04 12:32:58,779 - INFO - ================================================================================ 2025-09-04 12:32:58,779 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-04 12:32:58,779 - 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-09-04 12:32:59,034 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-04 12:32:59,034 - INFO - Initial checks done. Running the testcase now 2025-09-04 12:32:59,035 - INFO - 2025-09-04 12:32:59,725 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-24337430 2025-09-04 12:32:59,826 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-24337430 2025-09-04 12:33:00,142 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24337430', 'default']} 2025-09-04 12:33:00,417 - DEBUG - Response for create_network : {'network': {'id': 'a8ef3868-dbae-4b9c-b80d-a588843d57a3', 'name': 'ctest-vn-50991829', 'tenant_id': '0469b10e8b634f83aba8e1efb2401328', 'project_id': '0469b10e8b634f83aba8e1efb2401328', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24337430', 'ctest-vn-50991829'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 12:33:00,585 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e210c65f-29f3-486a-917b-a881682b1827', 'name': '', 'tenant_id': '0469b10e8b634f83aba8e1efb2401328', 'network_id': 'a8ef3868-dbae-4b9c-b80d-a588843d57a3', 'ip_version': 4, 'cidr': '39.178.66.64/26', 'allocation_pools': [{'start': '39.178.66.66', 'end': '39.178.66.126'}], 'gateway_ip': '39.178.66.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.178.66.66', 'tags': [], 'project_id': '0469b10e8b634f83aba8e1efb2401328'}} 2025-09-04 12:33:00,601 - INFO - Created VN ctest-vn-50991829 2025-09-04 12:33:00,650 - DEBUG - VN ctest-vn-50991829 UUID is a8ef3868-dbae-4b9c-b80d-a588843d57a3 2025-09-04 12:33:00,981 - DEBUG - Response for create_network : {'network': {'id': '86b9aa7d-8851-4338-8a61-9b42085cc3a0', 'name': 'ctest-ext_vn-99118392', 'tenant_id': '0469b10e8b634f83aba8e1efb2401328', 'project_id': '0469b10e8b634f83aba8e1efb2401328', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-24337430', 'ctest-ext_vn-99118392'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 12:33:01,137 - DEBUG - Response for create_subnet : {'subnet': {'id': '22b1b2d4-64fd-4f7f-a20d-07495f9553ba', 'name': '', 'tenant_id': '0469b10e8b634f83aba8e1efb2401328', 'network_id': '86b9aa7d-8851-4338-8a61-9b42085cc3a0', 'ip_version': 4, 'cidr': '2.117.117.0/26', 'allocation_pools': [{'start': '2.117.117.2', 'end': '2.117.117.62'}], 'gateway_ip': '2.117.117.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.117.117.2', 'tags': [], 'project_id': '0469b10e8b634f83aba8e1efb2401328'}} 2025-09-04 12:33:01,155 - INFO - Created VN ctest-ext_vn-99118392 2025-09-04 12:33:01,206 - DEBUG - VN ctest-ext_vn-99118392 UUID is 86b9aa7d-8851-4338-8a61-9b42085cc3a0 2025-09-04 12:33:01,400 - DEBUG - Services list from nova: [, , ] 2025-09-04 12:33:02,363 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4014-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4014-1) 2025-09-04 12:33:03,453 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4014-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4014-1) 2025-09-04 12:33:03,521 - INFO - Setting gateway for router 0c33bc0e-092e-45c4-847c-c5fa60988ee6 to network 86b9aa7d-8851-4338-8a61-9b42085cc3a0 2025-09-04 12:33:03,577 - INFO - Adding interface with subnet_id e210c65f-29f3-486a-917b-a881682b1827, port_id None to router 0c33bc0e-092e-45c4-847c-c5fa60988ee6 2025-09-04 12:33:03,900 - INFO - Waiting for VM ctest-TestRoutersBasic-24337430-85139621 to be up.. 2025-09-04 12:33:04,030 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 12:33:09,132 - DEBUG - VM is in ACTIVE state now 2025-09-04 12:33:09,132 - INFO - VM name : ctest-TestRoutersBasic-24337430-85139621 2025-09-04 12:33:09,251 - DEBUG - VM ctest-TestRoutersBasic-24337430-85139621 ID is aaf346b8-751b-4e36-a8f1-d140988a1997 2025-09-04 12:33:09,277 - DEBUG - VM ctest-TestRoutersBasic-24337430-85139621 launched on Node cn-jenkins-deploy-platform-ansible-os-4014-1 2025-09-04 12:33:09,356 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/aaf346b8-751b-4e36-a8f1-d140988a1997 2025-09-04 12:33:09,655 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/aaf346b8-751b-4e36-a8f1-d140988a1997 2025-09-04 12:33:09,682 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2f622298-8aef-4835-a5cc-3559126f0aba 2025-09-04 12:33:12,921 - 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-09-04 12:33:12,921 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24337430-85139621 failed! 2025-09-04 12:33:12,974 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-24337430:ctest-vn-50991829 is 39.178.66.65 and allocation pool is NOT set 2025-09-04 12:33:15,042 - 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=4.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.87 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.869/3.161/4.454/1.292 ms') 2025-09-04 12:33:15,042 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-24337430-85139621 passed 2025-09-04 12:33:15,194 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 12:33:15,194 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24337430-85139621, IP 39.178.66.67, Port 22 2025-09-04 12:33:15,345 - DEBUG - VM ctest-TestRoutersBasic-24337430-85139621 is ready for SSH connections 2025-09-04 12:33:15,345 - INFO - Waiting for VM ctest-TestRoutersBasic-24337430-76094073 to be up.. 2025-09-04 12:33:15,418 - DEBUG - VM is in ACTIVE state now 2025-09-04 12:33:15,418 - INFO - VM name : ctest-TestRoutersBasic-24337430-76094073 2025-09-04 12:33:15,491 - DEBUG - VM ctest-TestRoutersBasic-24337430-76094073 ID is 949e4cb5-3c20-4ba9-98a5-5bc1119b8043 2025-09-04 12:33:15,491 - DEBUG - VM ctest-TestRoutersBasic-24337430-76094073 launched on Node cn-jenkins-deploy-platform-ansible-os-4014-1 2025-09-04 12:33:15,568 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/949e4cb5-3c20-4ba9-98a5-5bc1119b8043 2025-09-04 12:33:15,576 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/87cf182d-a302-44bf-adad-5ccb57420679 2025-09-04 12:33:16,807 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.495 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.495/1.805/3.115/1.310 ms') 2025-09-04 12:33:16,808 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-24337430-76094073 passed 2025-09-04 12:33:16,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 12:33:16,954 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-24337430-76094073, IP 2.117.117.3, Port 22 2025-09-04 12:33:17,105 - DEBUG - VM ctest-TestRoutersBasic-24337430-76094073 is ready for SSH connections 2025-09-04 12:33:17,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 12:33:17,106 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.117.117.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-04 12:33:17,106 - DEBUG - ping -s 56 -c 3 -W 1 2.117.117.3 2025-09-04 12:33:20,791 - DEBUG - PING 2.117.117.3 (2.117.117.3): 56 data bytes 64 bytes from 2.117.117.3: seq=0 ttl=62 time=7.599 ms 64 bytes from 2.117.117.3: seq=1 ttl=62 time=0.778 ms 64 bytes from 2.117.117.3: seq=2 ttl=62 time=0.953 ms --- 2.117.117.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.778/3.110/7.599 ms 2025-09-04 12:33:20,791 - INFO - Ping to IP 2.117.117.3 from VM ctest-TestRoutersBasic-24337430-85139621 passed 2025-09-04 12:33:20,791 - INFO - Deleting interface with subnet_id e210c65f-29f3-486a-917b-a881682b1827, port_id None from router 0c33bc0e-092e-45c4-847c-c5fa60988ee6 2025-09-04 12:33:20,971 - INFO - Deleting VM ctest-TestRoutersBasic-24337430-76094073 2025-09-04 12:33:21,036 - INFO - Deleting VM ctest-TestRoutersBasic-24337430-85139621 2025-09-04 12:33:21,113 - INFO - Deleting VN ctest-ext_vn-99118392 2025-09-04 12:33:21,168 - DEBUG - VN 86b9aa7d-8851-4338-8a61-9b42085cc3a0 still in use: Unable to complete operation on network 86b9aa7d-8851-4338-8a61-9b42085cc3a0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cbc7dfd9-3bb7-418b-a93f-68de1f79bd30'] 2025-09-04 12:33:21,168 - WARNING - Deleting VN ctest-ext_vn-99118392 failed..Will retry 2025-09-04 12:33:23,259 - DEBUG - Response for deleting network () 2025-09-04 12:33:23,259 - INFO - Deleting VN ctest-vn-50991829 2025-09-04 12:33:23,354 - DEBUG - Response for deleting network () 2025-09-04 12:33:23,606 - DEBUG - No XMPP flaps were noticed during the test
2025-09-04 12:33:23,606 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-04 12:33:23,606 - INFO - -------------------------------------------------------------------------------- 2025-09-04 12:33:24,242 - INFO - Deleted project: ctest-TestRoutersBasic-24337430, ID : 0469b10e-8b63-4f83-aba8-e1efb2401328