2025-06-17 19:06:07,586 - INFO - Domain Default found not creating 2025-06-17 19:06:07,779 - INFO - Project ctest-TestRoutersBasic-17609800 not found, creating it 2025-06-17 19:06:08,244 - INFO - Created Project:ctest-TestRoutersBasic-17609800, ID : 1a391e8e-b666-438e-af7b-8a2165af0ede 2025-06-17 19:06:09,814 - INFO - ================================================================================ 2025-06-17 19:06:09,814 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-17 19:06:09,815 - 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-06-17 19:06:10,084 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-06-17 19:06:10,084 - INFO - Initial checks done. Running the testcase now 2025-06-17 19:06:10,084 - INFO - 2025-06-17 19:06:10,814 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-17609800 2025-06-17 19:06:10,917 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-17609800 2025-06-17 19:06:11,253 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17609800', 'default']} 2025-06-17 19:06:11,585 - DEBUG - Response for create_network : {'network': {'id': '925ffc60-6bc7-4794-9f64-37e218e74557', 'name': 'ctest-vn-05825416', 'tenant_id': '1a391e8eb666438eaf7b8a2165af0ede', 'project_id': '1a391e8eb666438eaf7b8a2165af0ede', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17609800', 'ctest-vn-05825416'], 'port_security_enabled': True, 'description': ''}} 2025-06-17 19:06:11,825 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eac675a9-fe8f-448a-bc66-c59d0acef453', 'name': '', 'tenant_id': '1a391e8eb666438eaf7b8a2165af0ede', 'network_id': '925ffc60-6bc7-4794-9f64-37e218e74557', 'ip_version': 4, 'cidr': '70.154.10.192/26', 'allocation_pools': [{'start': '70.154.10.194', 'end': '70.154.10.254'}], 'gateway_ip': '70.154.10.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.154.10.194', 'tags': [], 'project_id': '1a391e8eb666438eaf7b8a2165af0ede'}} 2025-06-17 19:06:11,849 - INFO - Created VN ctest-vn-05825416 2025-06-17 19:06:11,905 - DEBUG - VN ctest-vn-05825416 UUID is 925ffc60-6bc7-4794-9f64-37e218e74557 2025-06-17 19:06:12,274 - DEBUG - Response for create_network : {'network': {'id': '4bf1cf22-0054-4356-a66d-ecb3fb9142dd', 'name': 'ctest-ext_vn-29521287', 'tenant_id': '1a391e8eb666438eaf7b8a2165af0ede', 'project_id': '1a391e8eb666438eaf7b8a2165af0ede', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17609800', 'ctest-ext_vn-29521287'], 'port_security_enabled': True, 'description': ''}} 2025-06-17 19:06:12,438 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a945e746-cd98-40ce-9baa-a652a7244837', 'name': '', 'tenant_id': '1a391e8eb666438eaf7b8a2165af0ede', 'network_id': '4bf1cf22-0054-4356-a66d-ecb3fb9142dd', 'ip_version': 4, 'cidr': '100.175.143.64/26', 'allocation_pools': [{'start': '100.175.143.66', 'end': '100.175.143.126'}], 'gateway_ip': '100.175.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.175.143.66', 'tags': [], 'project_id': '1a391e8eb666438eaf7b8a2165af0ede'}} 2025-06-17 19:06:12,460 - INFO - Created VN ctest-ext_vn-29521287 2025-06-17 19:06:12,513 - DEBUG - VN ctest-ext_vn-29521287 UUID is 4bf1cf22-0054-4356-a66d-ecb3fb9142dd 2025-06-17 19:06:12,695 - DEBUG - Services list from nova: [, , ] 2025-06-17 19:06:13,996 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3464-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3464-1) 2025-06-17 19:06:15,259 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3464-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3464-1) 2025-06-17 19:06:15,352 - INFO - Setting gateway for router ec26be81-a5fe-4dcf-806f-e7bfd1fec880 to network 4bf1cf22-0054-4356-a66d-ecb3fb9142dd 2025-06-17 19:06:15,424 - INFO - Adding interface with subnet_id eac675a9-fe8f-448a-bc66-c59d0acef453, port_id None to router ec26be81-a5fe-4dcf-806f-e7bfd1fec880 2025-06-17 19:06:15,916 - INFO - Waiting for VM ctest-TestRoutersBasic-17609800-79513930 to be up.. 2025-06-17 19:06:16,086 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-17 19:06:21,181 - DEBUG - VM is in ACTIVE state now 2025-06-17 19:06:21,181 - INFO - VM name : ctest-TestRoutersBasic-17609800-79513930 2025-06-17 19:06:21,281 - DEBUG - VM ctest-TestRoutersBasic-17609800-79513930 ID is 02f27204-48dc-46bf-b4b3-a3e7a039393e 2025-06-17 19:06:21,304 - DEBUG - VM ctest-TestRoutersBasic-17609800-79513930 launched on Node cn-jenkins-deploy-platform-ansible-os-3464-1 2025-06-17 19:06:21,400 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/02f27204-48dc-46bf-b4b3-a3e7a039393e 2025-06-17 19:06:21,720 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/02f27204-48dc-46bf-b4b3-a3e7a039393e 2025-06-17 19:06:21,756 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/fd782d01-eb36-4d22-8d3e-8e513ef0a821 2025-06-17 19:06:25,039 - 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 1024ms') 2025-06-17 19:06:25,039 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17609800-79513930 failed! 2025-06-17 19:06:25,097 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-17609800:ctest-vn-05825416 is 70.154.10.193 and allocation pool is NOT set 2025-06-17 19:06:27,156 - 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.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.59 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.594/3.279/4.965/1.685 ms') 2025-06-17 19:06:27,156 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17609800-79513930 passed 2025-06-17 19:06:27,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 19:06:27,317 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17609800-79513930, IP 70.154.10.195, Port 22 2025-06-17 19:06:27,472 - DEBUG - VM ctest-TestRoutersBasic-17609800-79513930 is ready for SSH connections 2025-06-17 19:06:27,472 - INFO - Waiting for VM ctest-TestRoutersBasic-17609800-42699906 to be up.. 2025-06-17 19:06:27,567 - DEBUG - VM is in ACTIVE state now 2025-06-17 19:06:27,567 - INFO - VM name : ctest-TestRoutersBasic-17609800-42699906 2025-06-17 19:06:27,659 - DEBUG - VM ctest-TestRoutersBasic-17609800-42699906 ID is 030d16e3-e623-468a-8870-9678e288a1d2 2025-06-17 19:06:27,659 - DEBUG - VM ctest-TestRoutersBasic-17609800-42699906 launched on Node cn-jenkins-deploy-platform-ansible-os-3464-1 2025-06-17 19:06:27,747 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/030d16e3-e623-468a-8870-9678e288a1d2 2025-06-17 19:06:27,763 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/da5117af-6ee1-4c10-87ec-716b42e39753 2025-06-17 19:06:29,043 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.486 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.486/1.833/3.181/1.347 ms') 2025-06-17 19:06:29,043 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-17609800-42699906 passed 2025-06-17 19:06:29,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 19:06:29,201 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17609800-42699906, IP 100.175.143.67, Port 22 2025-06-17 19:06:29,360 - DEBUG - VM ctest-TestRoutersBasic-17609800-42699906 is ready for SSH connections 2025-06-17 19:06:29,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 19:06:29,361 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.175.143.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-06-17 19:06:29,361 - DEBUG - ping -s 56 -c 3 -W 1 100.175.143.67 2025-06-17 19:06:33,457 - DEBUG - PING 100.175.143.67 (100.175.143.67): 56 data bytes 64 bytes from 100.175.143.67: seq=0 ttl=62 time=5.046 ms 64 bytes from 100.175.143.67: seq=1 ttl=62 time=0.992 ms 64 bytes from 100.175.143.67: seq=2 ttl=62 time=1.165 ms --- 100.175.143.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.992/2.401/5.046 ms 2025-06-17 19:06:33,457 - INFO - Ping to IP 100.175.143.67 from VM ctest-TestRoutersBasic-17609800-79513930 passed 2025-06-17 19:06:33,457 - INFO - Deleting interface with subnet_id eac675a9-fe8f-448a-bc66-c59d0acef453, port_id None from router ec26be81-a5fe-4dcf-806f-e7bfd1fec880 2025-06-17 19:06:33,707 - INFO - Deleting VM ctest-TestRoutersBasic-17609800-42699906 2025-06-17 19:06:33,793 - INFO - Deleting VM ctest-TestRoutersBasic-17609800-79513930 2025-06-17 19:06:33,889 - INFO - Deleting VN ctest-ext_vn-29521287 2025-06-17 19:06:33,974 - DEBUG - VN 4bf1cf22-0054-4356-a66d-ecb3fb9142dd still in use: Unable to complete operation on network 4bf1cf22-0054-4356-a66d-ecb3fb9142dd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-47065278-ca3b-4557-8e7d-3b6e5c6cca3c'] 2025-06-17 19:06:33,974 - WARNING - Deleting VN ctest-ext_vn-29521287 failed..Will retry 2025-06-17 19:06:36,103 - DEBUG - Response for deleting network () 2025-06-17 19:06:36,104 - INFO - Deleting VN ctest-vn-05825416 2025-06-17 19:06:36,245 - DEBUG - Response for deleting network () 2025-06-17 19:06:36,504 - DEBUG - No XMPP flaps were noticed during the test 2025-06-17 19:06:36,504 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2025-06-17 19:06:36,505 - INFO - -------------------------------------------------------------------------------- 2025-06-17 19:06:37,237 - INFO - Deleted project: ctest-TestRoutersBasic-17609800, ID : 1a391e8e-b666-438e-af7b-8a2165af0ede