2025-09-08 12:00:08,200 - INFO - Domain Default found not creating 2025-09-08 12:00:08,359 - INFO - Project ctest-TestRoutersBasic-56699955 not found, creating it 2025-09-08 12:00:08,806 - INFO - Created Project:ctest-TestRoutersBasic-56699955, ID : 63b086e8-1458-4b1d-8c69-129d3855d7f0 2025-09-08 12:00:10,879 - INFO - ================================================================================ 2025-09-08 12:00:10,879 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-08 12:00:10,879 - 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-08 12:00:11,138 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-08 12:00:11,138 - INFO - Initial checks done. Running the testcase now 2025-09-08 12:00:11,138 - INFO - 2025-09-08 12:00:11,841 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-56699955 2025-09-08 12:00:11,936 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-56699955 2025-09-08 12:00:12,252 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56699955', 'default']} 2025-09-08 12:00:12,548 - DEBUG - Response for create_network : {'network': {'id': 'd3f24b59-c964-4d75-94bb-9607627a67c8', 'name': 'ctest-vn-75069394', 'tenant_id': '63b086e814584b1d8c69129d3855d7f0', 'project_id': '63b086e814584b1d8c69129d3855d7f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56699955', 'ctest-vn-75069394'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 12:00:12,738 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5e974f5-f7c3-42fa-a276-0326acae2d33', 'name': '', 'tenant_id': '63b086e814584b1d8c69129d3855d7f0', 'network_id': 'd3f24b59-c964-4d75-94bb-9607627a67c8', 'ip_version': 4, 'cidr': '193.43.69.128/26', 'allocation_pools': [{'start': '193.43.69.130', 'end': '193.43.69.190'}], 'gateway_ip': '193.43.69.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.43.69.130', 'tags': [], 'project_id': '63b086e814584b1d8c69129d3855d7f0'}} 2025-09-08 12:00:12,756 - INFO - Created VN ctest-vn-75069394 2025-09-08 12:00:12,808 - DEBUG - VN ctest-vn-75069394 UUID is d3f24b59-c964-4d75-94bb-9607627a67c8 2025-09-08 12:00:13,186 - DEBUG - Response for create_network : {'network': {'id': '64a231d8-35c8-4de8-b57d-21d83ea09e02', 'name': 'ctest-ext_vn-17678524', 'tenant_id': '63b086e814584b1d8c69129d3855d7f0', 'project_id': '63b086e814584b1d8c69129d3855d7f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56699955', 'ctest-ext_vn-17678524'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 12:00:13,439 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cae0d32b-7542-4c5a-af28-70571d92ab74', 'name': '', 'tenant_id': '63b086e814584b1d8c69129d3855d7f0', 'network_id': '64a231d8-35c8-4de8-b57d-21d83ea09e02', 'ip_version': 4, 'cidr': '22.51.81.0/26', 'allocation_pools': [{'start': '22.51.81.2', 'end': '22.51.81.62'}], 'gateway_ip': '22.51.81.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.51.81.2', 'tags': [], 'project_id': '63b086e814584b1d8c69129d3855d7f0'}} 2025-09-08 12:00:13,457 - INFO - Created VN ctest-ext_vn-17678524 2025-09-08 12:00:13,508 - DEBUG - VN ctest-ext_vn-17678524 UUID is 64a231d8-35c8-4de8-b57d-21d83ea09e02 2025-09-08 12:00:13,676 - DEBUG - Services list from nova: [, , ] 2025-09-08 12:00:14,720 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4045-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4045-1) 2025-09-08 12:00:15,874 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4045-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4045-1) 2025-09-08 12:00:15,949 - INFO - Setting gateway for router abffc71d-4ead-4c13-bd22-d8a3d6129064 to network 64a231d8-35c8-4de8-b57d-21d83ea09e02 2025-09-08 12:00:16,025 - INFO - Adding interface with subnet_id d5e974f5-f7c3-42fa-a276-0326acae2d33, port_id None to router abffc71d-4ead-4c13-bd22-d8a3d6129064 2025-09-08 12:00:16,388 - INFO - Waiting for VM ctest-TestRoutersBasic-56699955-02063355 to be up.. 2025-09-08 12:00:16,520 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 12:00:21,600 - DEBUG - VM is in ACTIVE state now 2025-09-08 12:00:21,600 - INFO - VM name : ctest-TestRoutersBasic-56699955-02063355 2025-09-08 12:00:21,680 - DEBUG - VM ctest-TestRoutersBasic-56699955-02063355 ID is c8f3d364-03e0-45b4-90a0-4d894149ad26 2025-09-08 12:00:21,705 - DEBUG - VM ctest-TestRoutersBasic-56699955-02063355 launched on Node cn-jenkins-deploy-platform-ansible-os-4045-1 2025-09-08 12:00:21,789 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c8f3d364-03e0-45b4-90a0-4d894149ad26 2025-09-08 12:00:22,088 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c8f3d364-03e0-45b4-90a0-4d894149ad26 2025-09-08 12:00:22,153 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d7523fee-9a8a-4c5d-9eb3-16688b58ef43 2025-09-08 12:00:25,399 - 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 1007ms') 2025-09-08 12:00:25,399 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56699955-02063355 failed! 2025-09-08 12:00:25,456 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-56699955:ctest-vn-75069394 is 193.43.69.129 and allocation pool is NOT set 2025-09-08 12:00:27,512 - 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.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.599 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.599/1.840/3.081/1.241 ms') 2025-09-08 12:00:27,512 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56699955-02063355 passed 2025-09-08 12:00:27,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:00:27,664 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56699955-02063355, IP 193.43.69.131, Port 22 2025-09-08 12:00:27,819 - DEBUG - VM ctest-TestRoutersBasic-56699955-02063355 is ready for SSH connections 2025-09-08 12:00:27,819 - INFO - Waiting for VM ctest-TestRoutersBasic-56699955-67936622 to be up.. 2025-09-08 12:00:27,891 - DEBUG - VM is in ACTIVE state now 2025-09-08 12:00:27,891 - INFO - VM name : ctest-TestRoutersBasic-56699955-67936622 2025-09-08 12:00:27,959 - DEBUG - VM ctest-TestRoutersBasic-56699955-67936622 ID is 1f881232-bae7-4cf0-8d93-00525a8273e5 2025-09-08 12:00:27,959 - DEBUG - VM ctest-TestRoutersBasic-56699955-67936622 launched on Node cn-jenkins-deploy-platform-ansible-os-4045-1 2025-09-08 12:00:28,028 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1f881232-bae7-4cf0-8d93-00525a8273e5 2025-09-08 12:00:28,037 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8c8f5374-e568-4f65-a5fb-e6caeeb7470a 2025-09-08 12:00:29,278 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.384 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.384/1.710/3.036/1.326 ms') 2025-09-08 12:00:29,279 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-56699955-67936622 passed 2025-09-08 12:00:29,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:00:29,436 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56699955-67936622, IP 22.51.81.3, Port 22 2025-09-08 12:00:29,591 - DEBUG - VM ctest-TestRoutersBasic-56699955-67936622 is ready for SSH connections 2025-09-08 12:00:29,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:00:29,591 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.51.81.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-08 12:00:29,591 - DEBUG - ping -s 56 -c 3 -W 1 22.51.81.3 2025-09-08 12:00:33,592 - DEBUG - PING 22.51.81.3 (22.51.81.3): 56 data bytes 64 bytes from 22.51.81.3: seq=0 ttl=62 time=4.037 ms 64 bytes from 22.51.81.3: seq=1 ttl=62 time=0.815 ms 64 bytes from 22.51.81.3: seq=2 ttl=62 time=1.269 ms --- 22.51.81.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.815/2.040/4.037 ms 2025-09-08 12:00:33,593 - INFO - Ping to IP 22.51.81.3 from VM ctest-TestRoutersBasic-56699955-02063355 passed 2025-09-08 12:00:33,593 - INFO - Deleting interface with subnet_id d5e974f5-f7c3-42fa-a276-0326acae2d33, port_id None from router abffc71d-4ead-4c13-bd22-d8a3d6129064 2025-09-08 12:00:33,876 - INFO - Deleting VM ctest-TestRoutersBasic-56699955-67936622 2025-09-08 12:00:33,942 - INFO - Deleting VM ctest-TestRoutersBasic-56699955-02063355 2025-09-08 12:00:34,025 - INFO - Deleting VN ctest-ext_vn-17678524 2025-09-08 12:00:34,096 - DEBUG - VN 64a231d8-35c8-4de8-b57d-21d83ea09e02 still in use: Unable to complete operation on network 64a231d8-35c8-4de8-b57d-21d83ea09e02. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-35b8776f-2f14-439a-a02d-bb455794559f'] 2025-09-08 12:00:34,096 - WARNING - Deleting VN ctest-ext_vn-17678524 failed..Will retry 2025-09-08 12:00:36,188 - DEBUG - Response for deleting network () 2025-09-08 12:00:36,188 - INFO - Deleting VN ctest-vn-75069394 2025-09-08 12:00:36,286 - DEBUG - Response for deleting network () 2025-09-08 12:00:36,540 - DEBUG - No XMPP flaps were noticed during the test 2025-09-08 12:00:36,540 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-09-08 12:00:36,540 - INFO - -------------------------------------------------------------------------------- 2025-09-08 12:00:37,233 - INFO - Deleted project: ctest-TestRoutersBasic-56699955, ID : 63b086e8-1458-4b1d-8c69-129d3855d7f0