2025-08-15 09:46:33,857 - INFO - Domain Default found not creating 2025-08-15 09:46:33,991 - INFO - Project ctest-TestRoutersBasic-59229003 not found, creating it 2025-08-15 09:46:34,484 - INFO - Created Project:ctest-TestRoutersBasic-59229003, ID : e14f4e88-dd2d-4378-8f30-2c4eb568c5dc 2025-08-15 09:46:35,943 - INFO - ================================================================================ 2025-08-15 09:46:35,943 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-15 09:46:35,943 - 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-15 09:46:37,197 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.14': '0', '10.20.0.254': '0'}, '10.0.0.242': {'10.20.0.254': '0', '10.20.0.25': '0'}} with 2025-08-15 09:46:37,197 - INFO - Initial checks done. Running the testcase now 2025-08-15 09:46:37,197 - INFO - 2025-08-15 09:46:37,883 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-59229003 2025-08-15 09:46:37,940 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-59229003 2025-08-15 09:46:38,251 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59229003', 'default']} 2025-08-15 09:46:38,654 - DEBUG - Response for create_network : {'network': {'id': 'c904aa28-d727-4a56-a1a0-3c799377ec71', 'name': 'ctest-vn-70655063', 'tenant_id': 'e14f4e88dd2d43788f302c4eb568c5dc', 'project_id': 'e14f4e88dd2d43788f302c4eb568c5dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59229003', 'ctest-vn-70655063'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 09:46:38,936 - DEBUG - Response for create_subnet : {'subnet': {'id': '99d45e5c-90f6-4429-8495-93eccddeca32', 'name': '', 'tenant_id': 'e14f4e88dd2d43788f302c4eb568c5dc', 'network_id': 'c904aa28-d727-4a56-a1a0-3c799377ec71', 'ip_version': 4, 'cidr': '157.46.82.0/26', 'allocation_pools': [{'start': '157.46.82.2', 'end': '157.46.82.62'}], 'gateway_ip': '157.46.82.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.46.82.2', 'tags': [], 'project_id': 'e14f4e88dd2d43788f302c4eb568c5dc'}} 2025-08-15 09:46:38,960 - INFO - Created VN ctest-vn-70655063 2025-08-15 09:46:38,974 - DEBUG - VN ctest-vn-70655063 UUID is c904aa28-d727-4a56-a1a0-3c799377ec71 2025-08-15 09:46:39,377 - DEBUG - Response for create_network : {'network': {'id': 'bfa12545-86e4-4993-9d8f-e7d5aff3b819', 'name': 'ctest-ext_vn-73601899', 'tenant_id': 'e14f4e88dd2d43788f302c4eb568c5dc', 'project_id': 'e14f4e88dd2d43788f302c4eb568c5dc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59229003', 'ctest-ext_vn-73601899'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 09:46:39,606 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d45d53d-a2db-4b5f-9014-dc3eb6ffe0fc', 'name': '', 'tenant_id': 'e14f4e88dd2d43788f302c4eb568c5dc', 'network_id': 'bfa12545-86e4-4993-9d8f-e7d5aff3b819', 'ip_version': 4, 'cidr': '180.135.101.64/26', 'allocation_pools': [{'start': '180.135.101.66', 'end': '180.135.101.126'}], 'gateway_ip': '180.135.101.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.135.101.66', 'tags': [], 'project_id': 'e14f4e88dd2d43788f302c4eb568c5dc'}} 2025-08-15 09:46:39,626 - INFO - Created VN ctest-ext_vn-73601899 2025-08-15 09:46:39,636 - DEBUG - VN ctest-ext_vn-73601899 UUID is bfa12545-86e4-4993-9d8f-e7d5aff3b819 2025-08-15 09:46:39,759 - DEBUG - Services list from nova: [, , , ] 2025-08-15 09:46:40,822 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3861-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3861-2) 2025-08-15 09:46:42,011 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3861-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3861-1) 2025-08-15 09:46:42,124 - INFO - Setting gateway for router 9d8c6231-762a-4a9f-a056-8e403b0d4e30 to network bfa12545-86e4-4993-9d8f-e7d5aff3b819 2025-08-15 09:46:42,222 - INFO - Adding interface with subnet_id 99d45e5c-90f6-4429-8495-93eccddeca32, port_id None to router 9d8c6231-762a-4a9f-a056-8e403b0d4e30 2025-08-15 09:46:42,775 - INFO - Waiting for VM ctest-TestRoutersBasic-59229003-28643816 to be up.. 2025-08-15 09:46:42,917 - DEBUG - VM is in ACTIVE state now 2025-08-15 09:46:42,917 - INFO - VM name : ctest-TestRoutersBasic-59229003-28643816 2025-08-15 09:46:43,038 - DEBUG - VM ctest-TestRoutersBasic-59229003-28643816 ID is e69d53a6-28b5-42e9-b044-474287e77d23 2025-08-15 09:46:43,081 - DEBUG - VM ctest-TestRoutersBasic-59229003-28643816 launched on Node an-jenkins-deploy-platform-ansible-os-3861-2 2025-08-15 09:46:43,197 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/e69d53a6-28b5-42e9-b044-474287e77d23 2025-08-15 09:46:43,693 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/e69d53a6-28b5-42e9-b044-474287e77d23 2025-08-15 09:46:43,764 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/cfe376df-47a5-4259-9c55-cdfeccea1580 2025-08-15 09:46:46,961 - 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 1026ms') 2025-08-15 09:46:46,962 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59229003-28643816 failed! 2025-08-15 09:46:46,975 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-59229003:ctest-vn-70655063 is 157.46.82.1 and allocation pool is NOT set 2025-08-15 09:46:51,062 - 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 1023ms') 2025-08-15 09:46:51,062 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59229003-28643816 failed! 2025-08-15 09:46:51,077 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-59229003:ctest-vn-70655063 is 157.46.82.1 and allocation pool is NOT set 2025-08-15 09:46:53,139 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.597 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.597/2.508/4.419/1.911 ms') 2025-08-15 09:46:53,139 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59229003-28643816 passed 2025-08-15 09:46:53,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:46:53,204 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59229003-28643816, IP 157.46.82.3, Port 22 2025-08-15 09:46:53,358 - DEBUG - VM ctest-TestRoutersBasic-59229003-28643816 is ready for SSH connections 2025-08-15 09:46:53,358 - INFO - Waiting for VM ctest-TestRoutersBasic-59229003-75269509 to be up.. 2025-08-15 09:46:53,428 - DEBUG - VM is in ACTIVE state now 2025-08-15 09:46:53,428 - INFO - VM name : ctest-TestRoutersBasic-59229003-75269509 2025-08-15 09:46:53,497 - DEBUG - VM ctest-TestRoutersBasic-59229003-75269509 ID is 9808c27f-4eb2-41de-95c2-b00e47f2517e 2025-08-15 09:46:53,497 - DEBUG - VM ctest-TestRoutersBasic-59229003-75269509 launched on Node an-jenkins-deploy-platform-ansible-os-3861-1 2025-08-15 09:46:53,567 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/9808c27f-4eb2-41de-95c2-b00e47f2517e 2025-08-15 09:46:53,576 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/7eff0370-f3ab-4d5b-bb3f-5d39abf4b11e 2025-08-15 09:46:54,738 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.797 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.797/2.149/3.502/1.352 ms') 2025-08-15 09:46:54,738 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59229003-75269509 passed 2025-08-15 09:46:54,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:46:54,804 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59229003-75269509, IP 180.135.101.67, Port 22 2025-08-15 09:46:54,959 - DEBUG - VM ctest-TestRoutersBasic-59229003-75269509 is ready for SSH connections 2025-08-15 09:46:54,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:46:54,959 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.135.101.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-15 09:46:54,959 - DEBUG - ping -s 56 -c 3 -W 1 180.135.101.67 2025-08-15 09:46:58,590 - DEBUG - PING 180.135.101.67 (180.135.101.67): 56 data bytes 64 bytes from 180.135.101.67: seq=0 ttl=62 time=6.948 ms 64 bytes from 180.135.101.67: seq=1 ttl=62 time=1.265 ms 64 bytes from 180.135.101.67: seq=2 ttl=62 time=1.207 ms --- 180.135.101.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.207/3.140/6.948 ms 2025-08-15 09:46:58,590 - INFO - Ping to IP 180.135.101.67 from VM ctest-TestRoutersBasic-59229003-28643816 passed 2025-08-15 09:46:58,590 - INFO - Deleting interface with subnet_id 99d45e5c-90f6-4429-8495-93eccddeca32, port_id None from router 9d8c6231-762a-4a9f-a056-8e403b0d4e30 2025-08-15 09:46:58,951 - INFO - Deleting VM ctest-TestRoutersBasic-59229003-75269509 2025-08-15 09:46:59,122 - INFO - Deleting VM ctest-TestRoutersBasic-59229003-28643816 2025-08-15 09:46:59,244 - INFO - Deleting VN ctest-ext_vn-73601899 2025-08-15 09:46:59,367 - DEBUG - VN bfa12545-86e4-4993-9d8f-e7d5aff3b819 still in use: Unable to complete operation on network bfa12545-86e4-4993-9d8f-e7d5aff3b819. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3ff19792-c88a-465b-a9ba-86ad243c760b'] 2025-08-15 09:46:59,367 - WARNING - Deleting VN ctest-ext_vn-73601899 failed..Will retry 2025-08-15 09:47:01,554 - DEBUG - Response for deleting network () 2025-08-15 09:47:01,555 - INFO - Deleting VN ctest-vn-70655063 2025-08-15 09:47:01,714 - DEBUG - Response for deleting network () 2025-08-15 09:47:02,986 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 09:47:02,986 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-08-15 09:47:02,986 - INFO - -------------------------------------------------------------------------------- 2025-08-15 09:47:03,712 - INFO - Deleted project: ctest-TestRoutersBasic-59229003, ID : e14f4e88-dd2d-4378-8f30-2c4eb568c5dc