2025-08-27 17:22:54,107 - INFO - Domain Default found not creating 2025-08-27 17:22:54,236 - INFO - Project ctest-TestRoutersBasic-38112831 not found, creating it 2025-08-27 17:22:54,654 - INFO - Created Project:ctest-TestRoutersBasic-38112831, ID : b40e1be5-eee5-4c5b-be53-f3c426befebf 2025-08-27 17:22:56,043 - INFO - ================================================================================ 2025-08-27 17:22:56,043 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-27 17:22:56,043 - 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-27 17:22:56,298 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-27 17:22:56,298 - INFO - Initial checks done. Running the testcase now 2025-08-27 17:22:56,298 - INFO - 2025-08-27 17:22:56,983 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-38112831 2025-08-27 17:22:57,077 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-38112831 2025-08-27 17:22:57,389 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38112831', 'default']} 2025-08-27 17:22:57,670 - DEBUG - Response for create_network : {'network': {'id': '1836e13b-e9a6-479b-8ac0-4afa7ef38eee', 'name': 'ctest-vn-44978552', 'tenant_id': 'b40e1be5eee54c5bbe53f3c426befebf', 'project_id': 'b40e1be5eee54c5bbe53f3c426befebf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38112831', 'ctest-vn-44978552'], 'port_security_enabled': True, 'description': ''}} 2025-08-27 17:22:57,896 - DEBUG - Response for create_subnet : {'subnet': {'id': '77f16fad-35a0-469b-b68d-b1093978f349', 'name': '', 'tenant_id': 'b40e1be5eee54c5bbe53f3c426befebf', 'network_id': '1836e13b-e9a6-479b-8ac0-4afa7ef38eee', 'ip_version': 4, 'cidr': '142.144.186.192/26', 'allocation_pools': [{'start': '142.144.186.194', 'end': '142.144.186.254'}], 'gateway_ip': '142.144.186.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.144.186.194', 'tags': [], 'project_id': 'b40e1be5eee54c5bbe53f3c426befebf'}} 2025-08-27 17:22:57,910 - INFO - Created VN ctest-vn-44978552 2025-08-27 17:22:57,961 - DEBUG - VN ctest-vn-44978552 UUID is 1836e13b-e9a6-479b-8ac0-4afa7ef38eee 2025-08-27 17:22:58,295 - DEBUG - Response for create_network : {'network': {'id': '7408e8c5-1b8c-4372-a126-e58b98f2e6d6', 'name': 'ctest-ext_vn-80481968', 'tenant_id': 'b40e1be5eee54c5bbe53f3c426befebf', 'project_id': 'b40e1be5eee54c5bbe53f3c426befebf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38112831', 'ctest-ext_vn-80481968'], 'port_security_enabled': True, 'description': ''}} 2025-08-27 17:22:58,500 - DEBUG - Response for create_subnet : {'subnet': {'id': '22d97050-a98e-4d1a-928c-711fc42d1a00', 'name': '', 'tenant_id': 'b40e1be5eee54c5bbe53f3c426befebf', 'network_id': '7408e8c5-1b8c-4372-a126-e58b98f2e6d6', 'ip_version': 4, 'cidr': '130.147.70.0/26', 'allocation_pools': [{'start': '130.147.70.2', 'end': '130.147.70.62'}], 'gateway_ip': '130.147.70.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.147.70.2', 'tags': [], 'project_id': 'b40e1be5eee54c5bbe53f3c426befebf'}} 2025-08-27 17:22:58,517 - INFO - Created VN ctest-ext_vn-80481968 2025-08-27 17:22:58,569 - DEBUG - VN ctest-ext_vn-80481968 UUID is 7408e8c5-1b8c-4372-a126-e58b98f2e6d6 2025-08-27 17:22:58,760 - DEBUG - Services list from nova: [, , ] 2025-08-27 17:22:59,715 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3951-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3951-1) 2025-08-27 17:23:00,786 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3951-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3951-1) 2025-08-27 17:23:00,849 - INFO - Setting gateway for router cb4907d9-66fc-4ce3-8248-7c6b8e023a33 to network 7408e8c5-1b8c-4372-a126-e58b98f2e6d6 2025-08-27 17:23:00,919 - INFO - Adding interface with subnet_id 77f16fad-35a0-469b-b68d-b1093978f349, port_id None to router cb4907d9-66fc-4ce3-8248-7c6b8e023a33 2025-08-27 17:23:01,182 - INFO - Waiting for VM ctest-TestRoutersBasic-38112831-02512698 to be up.. 2025-08-27 17:23:01,287 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-27 17:23:06,353 - DEBUG - VM is in ACTIVE state now 2025-08-27 17:23:06,353 - INFO - VM name : ctest-TestRoutersBasic-38112831-02512698 2025-08-27 17:23:06,416 - DEBUG - VM ctest-TestRoutersBasic-38112831-02512698 ID is 11b638b2-15b2-4a0d-a8cf-95c0c8353e71 2025-08-27 17:23:06,434 - DEBUG - VM ctest-TestRoutersBasic-38112831-02512698 launched on Node cn-jenkins-deploy-platform-ansible-os-3951-1 2025-08-27 17:23:06,494 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/11b638b2-15b2-4a0d-a8cf-95c0c8353e71 2025-08-27 17:23:06,784 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/11b638b2-15b2-4a0d-a8cf-95c0c8353e71 2025-08-27 17:23:06,810 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a9700247-cc23-45e8-b243-65fb8245e296 2025-08-27 17:23:10,067 - 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 1027ms') 2025-08-27 17:23:10,067 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38112831-02512698 failed! 2025-08-27 17:23:10,125 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-38112831:ctest-vn-44978552 is 142.144.186.193 and allocation pool is NOT set 2025-08-27 17:23:12,188 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.398 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.398/1.875/3.352/1.477 ms') 2025-08-27 17:23:12,188 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38112831-02512698 passed 2025-08-27 17:23:12,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 17:23:12,334 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38112831-02512698, IP 142.144.186.195, Port 22 2025-08-27 17:23:12,493 - DEBUG - VM ctest-TestRoutersBasic-38112831-02512698 is ready for SSH connections 2025-08-27 17:23:12,493 - INFO - Waiting for VM ctest-TestRoutersBasic-38112831-94533568 to be up.. 2025-08-27 17:23:12,558 - DEBUG - VM is in ACTIVE state now 2025-08-27 17:23:12,558 - INFO - VM name : ctest-TestRoutersBasic-38112831-94533568 2025-08-27 17:23:12,618 - DEBUG - VM ctest-TestRoutersBasic-38112831-94533568 ID is 50e13ca5-144e-467a-a505-bad45f0b8008 2025-08-27 17:23:12,618 - DEBUG - VM ctest-TestRoutersBasic-38112831-94533568 launched on Node cn-jenkins-deploy-platform-ansible-os-3951-1 2025-08-27 17:23:12,678 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/50e13ca5-144e-467a-a505-bad45f0b8008 2025-08-27 17:23:12,685 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/950327b6-1095-4702-af1d-7532bcd0b6f2 2025-08-27 17:23:13,909 - 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=2.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.369 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.369/1.615/2.862/1.246 ms') 2025-08-27 17:23:13,909 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-38112831-94533568 passed 2025-08-27 17:23:14,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 17:23:14,061 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38112831-94533568, IP 130.147.70.3, Port 22 2025-08-27 17:23:14,212 - DEBUG - VM ctest-TestRoutersBasic-38112831-94533568 is ready for SSH connections 2025-08-27 17:23:14,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 17:23:14,212 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.147.70.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-27 17:23:14,212 - DEBUG - ping -s 56 -c 3 -W 1 130.147.70.3 2025-08-27 17:23:18,219 - DEBUG - PING 130.147.70.3 (130.147.70.3): 56 data bytes 64 bytes from 130.147.70.3: seq=0 ttl=62 time=6.270 ms 64 bytes from 130.147.70.3: seq=1 ttl=62 time=0.802 ms 64 bytes from 130.147.70.3: seq=2 ttl=62 time=1.009 ms --- 130.147.70.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.802/2.693/6.270 ms 2025-08-27 17:23:18,219 - INFO - Ping to IP 130.147.70.3 from VM ctest-TestRoutersBasic-38112831-02512698 passed 2025-08-27 17:23:18,219 - INFO - Deleting interface with subnet_id 77f16fad-35a0-469b-b68d-b1093978f349, port_id None from router cb4907d9-66fc-4ce3-8248-7c6b8e023a33 2025-08-27 17:23:18,391 - INFO - Deleting VM ctest-TestRoutersBasic-38112831-94533568 2025-08-27 17:23:18,452 - INFO - Deleting VM ctest-TestRoutersBasic-38112831-02512698 2025-08-27 17:23:18,527 - INFO - Deleting VN ctest-ext_vn-80481968 2025-08-27 17:23:18,596 - DEBUG - VN 7408e8c5-1b8c-4372-a126-e58b98f2e6d6 still in use: Unable to complete operation on network 7408e8c5-1b8c-4372-a126-e58b98f2e6d6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d5e6acd2-d416-4357-bc65-b5680a494cf4'] 2025-08-27 17:23:18,596 - WARNING - Deleting VN ctest-ext_vn-80481968 failed..Will retry 2025-08-27 17:23:20,680 - DEBUG - Response for deleting network () 2025-08-27 17:23:20,680 - INFO - Deleting VN ctest-vn-44978552 2025-08-27 17:23:20,776 - DEBUG - Response for deleting network () 2025-08-27 17:23:21,030 - DEBUG - No XMPP flaps were noticed during the test 2025-08-27 17:23:21,030 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-08-27 17:23:21,030 - INFO - -------------------------------------------------------------------------------- 2025-08-27 17:23:21,677 - INFO - Deleted project: ctest-TestRoutersBasic-38112831, ID : b40e1be5-eee5-4c5b-be53-f3c426befebf