2025-06-18 12:27:26,643 - INFO - Domain Default found not creating 2025-06-18 12:27:26,809 - INFO - Project ctest-TestRoutersBasic-23508897 not found, creating it 2025-06-18 12:27:27,288 - INFO - Created Project:ctest-TestRoutersBasic-23508897, ID : 8ccc4388-3233-4e62-a463-8b0ab5a7ba5e 2025-06-18 12:27:28,759 - INFO - ================================================================================ 2025-06-18 12:27:28,759 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-18 12:27:28,759 - 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-18 12:27:29,017 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-18 12:27:29,017 - INFO - Initial checks done. Running the testcase now 2025-06-18 12:27:29,017 - INFO - 2025-06-18 12:27:29,729 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-23508897 2025-06-18 12:27:29,825 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-23508897 2025-06-18 12:27:30,241 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23508897', 'default']} 2025-06-18 12:27:30,606 - DEBUG - Response for create_network : {'network': {'id': 'c7205a4c-04ec-4177-a3bf-df60ddc75b78', 'name': 'ctest-vn-22674618', 'tenant_id': '8ccc438832334e62a4638b0ab5a7ba5e', 'project_id': '8ccc438832334e62a4638b0ab5a7ba5e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23508897', 'ctest-vn-22674618'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 12:27:30,811 - DEBUG - Response for create_subnet : {'subnet': {'id': '841e3bff-5005-4b80-8cdd-3ada0f88a7a1', 'name': '', 'tenant_id': '8ccc438832334e62a4638b0ab5a7ba5e', 'network_id': 'c7205a4c-04ec-4177-a3bf-df60ddc75b78', 'ip_version': 4, 'cidr': '83.131.209.128/26', 'allocation_pools': [{'start': '83.131.209.130', 'end': '83.131.209.190'}], 'gateway_ip': '83.131.209.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.131.209.130', 'tags': [], 'project_id': '8ccc438832334e62a4638b0ab5a7ba5e'}} 2025-06-18 12:27:30,829 - INFO - Created VN ctest-vn-22674618 2025-06-18 12:27:30,881 - DEBUG - VN ctest-vn-22674618 UUID is c7205a4c-04ec-4177-a3bf-df60ddc75b78 2025-06-18 12:27:31,220 - DEBUG - Response for create_network : {'network': {'id': '136ba0fd-f8eb-4b80-962a-2a26de1289bd', 'name': 'ctest-ext_vn-57412416', 'tenant_id': '8ccc438832334e62a4638b0ab5a7ba5e', 'project_id': '8ccc438832334e62a4638b0ab5a7ba5e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23508897', 'ctest-ext_vn-57412416'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 12:27:31,402 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bdc8e15c-b801-4666-b4c7-924e48b96fbc', 'name': '', 'tenant_id': '8ccc438832334e62a4638b0ab5a7ba5e', 'network_id': '136ba0fd-f8eb-4b80-962a-2a26de1289bd', 'ip_version': 4, 'cidr': '32.34.117.0/26', 'allocation_pools': [{'start': '32.34.117.2', 'end': '32.34.117.62'}], 'gateway_ip': '32.34.117.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.34.117.2', 'tags': [], 'project_id': '8ccc438832334e62a4638b0ab5a7ba5e'}} 2025-06-18 12:27:31,425 - INFO - Created VN ctest-ext_vn-57412416 2025-06-18 12:27:31,477 - DEBUG - VN ctest-ext_vn-57412416 UUID is 136ba0fd-f8eb-4b80-962a-2a26de1289bd 2025-06-18 12:27:31,650 - DEBUG - Services list from nova: [, , ] 2025-06-18 12:27:32,711 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3474-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3474-1) 2025-06-18 12:27:34,030 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3474-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3474-1) 2025-06-18 12:27:34,109 - INFO - Setting gateway for router e14cf4b2-07e6-4296-9f60-e75cf0760915 to network 136ba0fd-f8eb-4b80-962a-2a26de1289bd 2025-06-18 12:27:34,192 - INFO - Adding interface with subnet_id 841e3bff-5005-4b80-8cdd-3ada0f88a7a1, port_id None to router e14cf4b2-07e6-4296-9f60-e75cf0760915 2025-06-18 12:27:34,741 - INFO - Waiting for VM ctest-TestRoutersBasic-23508897-49735940 to be up.. 2025-06-18 12:27:34,997 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-18 12:27:40,095 - DEBUG - VM is in ACTIVE state now 2025-06-18 12:27:40,095 - INFO - VM name : ctest-TestRoutersBasic-23508897-49735940 2025-06-18 12:27:40,187 - DEBUG - VM ctest-TestRoutersBasic-23508897-49735940 ID is 5476ed2c-a994-49ef-ac3c-1b60c563a554 2025-06-18 12:27:40,209 - DEBUG - VM ctest-TestRoutersBasic-23508897-49735940 launched on Node cn-jenkins-deploy-platform-ansible-os-3474-1 2025-06-18 12:27:40,292 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5476ed2c-a994-49ef-ac3c-1b60c563a554 2025-06-18 12:27:40,596 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5476ed2c-a994-49ef-ac3c-1b60c563a554 2025-06-18 12:27:40,632 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d1711f0c-b606-4af1-916d-74b62ada364a 2025-06-18 12:27:43,894 - 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 1021ms') 2025-06-18 12:27:43,894 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-23508897-49735940 failed! 2025-06-18 12:27:43,949 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-23508897:ctest-vn-22674618 is 83.131.209.129 and allocation pool is NOT set 2025-06-18 12:27:46,011 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.433 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.433/2.549/4.665/2.116 ms') 2025-06-18 12:27:46,011 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-23508897-49735940 passed 2025-06-18 12:27:46,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 12:27:46,169 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-23508897-49735940, IP 83.131.209.131, Port 22 2025-06-18 12:27:46,324 - DEBUG - VM ctest-TestRoutersBasic-23508897-49735940 is ready for SSH connections 2025-06-18 12:27:46,325 - INFO - Waiting for VM ctest-TestRoutersBasic-23508897-55271484 to be up.. 2025-06-18 12:27:46,410 - DEBUG - VM is in ACTIVE state now 2025-06-18 12:27:46,410 - INFO - VM name : ctest-TestRoutersBasic-23508897-55271484 2025-06-18 12:27:46,492 - DEBUG - VM ctest-TestRoutersBasic-23508897-55271484 ID is 8bebff3d-d896-4207-bd4c-bf4ce039d8ab 2025-06-18 12:27:46,492 - DEBUG - VM ctest-TestRoutersBasic-23508897-55271484 launched on Node cn-jenkins-deploy-platform-ansible-os-3474-1 2025-06-18 12:27:46,574 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8bebff3d-d896-4207-bd4c-bf4ce039d8ab 2025-06-18 12:27:46,585 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/296ca405-9188-4eee-8662-d093976eb940 2025-06-18 12:27:47,847 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.443 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.443/1.599/2.756/1.156 ms') 2025-06-18 12:27:47,847 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-23508897-55271484 passed 2025-06-18 12:27:48,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 12:27:48,001 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-23508897-55271484, IP 32.34.117.3, Port 22 2025-06-18 12:27:48,161 - DEBUG - VM ctest-TestRoutersBasic-23508897-55271484 is ready for SSH connections 2025-06-18 12:27:48,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 12:27:48,161 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.34.117.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-18 12:27:48,161 - DEBUG - ping -s 56 -c 3 -W 1 32.34.117.3 2025-06-18 12:27:52,149 - DEBUG - PING 32.34.117.3 (32.34.117.3): 56 data bytes 64 bytes from 32.34.117.3: seq=0 ttl=62 time=6.364 ms 64 bytes from 32.34.117.3: seq=1 ttl=62 time=1.209 ms 64 bytes from 32.34.117.3: seq=2 ttl=62 time=1.256 ms --- 32.34.117.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.209/2.943/6.364 ms 2025-06-18 12:27:52,149 - INFO - Ping to IP 32.34.117.3 from VM ctest-TestRoutersBasic-23508897-49735940 passed 2025-06-18 12:27:52,150 - INFO - Deleting interface with subnet_id 841e3bff-5005-4b80-8cdd-3ada0f88a7a1, port_id None from router e14cf4b2-07e6-4296-9f60-e75cf0760915 2025-06-18 12:27:52,364 - INFO - Deleting VM ctest-TestRoutersBasic-23508897-55271484 2025-06-18 12:27:52,437 - INFO - Deleting VM ctest-TestRoutersBasic-23508897-49735940 2025-06-18 12:27:52,514 - INFO - Deleting VN ctest-ext_vn-57412416 2025-06-18 12:27:52,581 - DEBUG - VN 136ba0fd-f8eb-4b80-962a-2a26de1289bd still in use: Unable to complete operation on network 136ba0fd-f8eb-4b80-962a-2a26de1289bd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4967216c-810b-498a-8a51-7e9f106263d2'] 2025-06-18 12:27:52,582 - WARNING - Deleting VN ctest-ext_vn-57412416 failed..Will retry 2025-06-18 12:27:54,703 - DEBUG - Response for deleting network () 2025-06-18 12:27:54,703 - INFO - Deleting VN ctest-vn-22674618 2025-06-18 12:27:54,814 - DEBUG - Response for deleting network () 2025-06-18 12:27:55,067 - DEBUG - No XMPP flaps were noticed during the test
2025-06-18 12:27:55,067 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-06-18 12:27:55,067 - INFO - -------------------------------------------------------------------------------- 2025-06-18 12:27:55,751 - INFO - Deleted project: ctest-TestRoutersBasic-23508897, ID : 8ccc4388-3233-4e62-a463-8b0ab5a7ba5e