2025-01-02 02:15:50,706 - INFO - Domain Default found not creating 2025-01-02 02:15:50,850 - INFO - Project ctest-TestRoutersBasic-25338069 not found, creating it 2025-01-02 02:15:51,288 - INFO - Created Project:ctest-TestRoutersBasic-25338069, ID : afffdff0-523e-4d17-ae64-b8556a8ed29c 2025-01-02 02:15:52,788 - INFO - ================================================================================ 2025-01-02 02:15:52,788 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-02 02:15:52,788 - 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-01-02 02:15:53,043 - DEBUG - Nothing to compare xmpp stats {'10.0.0.46': {'10.20.0.5': '0'}} with 2025-01-02 02:15:53,043 - INFO - Initial checks done. Running the testcase now 2025-01-02 02:15:53,043 - INFO - 2025-01-02 02:15:53,756 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-25338069 2025-01-02 02:15:53,853 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-25338069 2025-01-02 02:15:54,177 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25338069', 'default']} 2025-01-02 02:15:54,455 - DEBUG - Response for create_network : {'network': {'id': '27d359bc-c56a-4d57-a54b-87ff6ee5057c', 'name': 'ctest-vn-97427802', 'tenant_id': 'afffdff0523e4d17ae64b8556a8ed29c', 'project_id': 'afffdff0523e4d17ae64b8556a8ed29c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25338069', 'ctest-vn-97427802'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 02:15:54,628 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9811239-9d6e-4cb0-96f5-09c4d04613b4', 'name': '', 'tenant_id': 'afffdff0523e4d17ae64b8556a8ed29c', 'network_id': '27d359bc-c56a-4d57-a54b-87ff6ee5057c', 'ip_version': 4, 'cidr': '109.103.73.192/26', 'allocation_pools': [{'start': '109.103.73.194', 'end': '109.103.73.254'}], 'gateway_ip': '109.103.73.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.103.73.194', 'tags': [], 'project_id': 'afffdff0523e4d17ae64b8556a8ed29c'}} 2025-01-02 02:15:54,647 - INFO - Created VN ctest-vn-97427802 2025-01-02 02:15:54,697 - DEBUG - VN ctest-vn-97427802 UUID is 27d359bc-c56a-4d57-a54b-87ff6ee5057c 2025-01-02 02:15:54,991 - DEBUG - Response for create_network : {'network': {'id': '3d8d3a83-afb9-4f04-9675-21f22c630d10', 'name': 'ctest-ext_vn-31805434', 'tenant_id': 'afffdff0523e4d17ae64b8556a8ed29c', 'project_id': 'afffdff0523e4d17ae64b8556a8ed29c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25338069', 'ctest-ext_vn-31805434'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 02:15:55,149 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c968e876-2cba-49b0-9e6b-de69049f1caa', 'name': '', 'tenant_id': 'afffdff0523e4d17ae64b8556a8ed29c', 'network_id': '3d8d3a83-afb9-4f04-9675-21f22c630d10', 'ip_version': 4, 'cidr': '99.11.152.64/26', 'allocation_pools': [{'start': '99.11.152.66', 'end': '99.11.152.126'}], 'gateway_ip': '99.11.152.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.11.152.66', 'tags': [], 'project_id': 'afffdff0523e4d17ae64b8556a8ed29c'}} 2025-01-02 02:15:55,168 - INFO - Created VN ctest-ext_vn-31805434 2025-01-02 02:15:55,221 - DEBUG - VN ctest-ext_vn-31805434 UUID is 3d8d3a83-afb9-4f04-9675-21f22c630d10 2025-01-02 02:15:55,386 - DEBUG - Services list from nova: [, , ] 2025-01-02 02:15:56,366 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2506-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2506-1) 2025-01-02 02:15:57,481 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2506-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2506-1) 2025-01-02 02:15:57,549 - INFO - Setting gateway for router bda7252c-8e3e-4dd0-8616-584c34fb452e to network 3d8d3a83-afb9-4f04-9675-21f22c630d10 2025-01-02 02:15:57,621 - INFO - Adding interface with subnet_id f9811239-9d6e-4cb0-96f5-09c4d04613b4, port_id None to router bda7252c-8e3e-4dd0-8616-584c34fb452e 2025-01-02 02:15:57,946 - INFO - Waiting for VM ctest-TestRoutersBasic-25338069-56430899 to be up.. 2025-01-02 02:15:58,123 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-02 02:16:03,201 - DEBUG - VM is in ACTIVE state now 2025-01-02 02:16:03,201 - INFO - VM name : ctest-TestRoutersBasic-25338069-56430899 2025-01-02 02:16:03,285 - DEBUG - VM ctest-TestRoutersBasic-25338069-56430899 ID is afaa5e60-0eb7-4f07-8e4a-329388793b81 2025-01-02 02:16:03,303 - DEBUG - VM ctest-TestRoutersBasic-25338069-56430899 launched on Node cn-jenkins-deploy-platform-ansible-os-2506-1 2025-01-02 02:16:03,378 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/afaa5e60-0eb7-4f07-8e4a-329388793b81 2025-01-02 02:16:03,675 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/afaa5e60-0eb7-4f07-8e4a-329388793b81 2025-01-02 02:16:03,707 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/82896630-842f-4888-8f46-1d4a9e89ba96 2025-01-02 02:16:06,969 - 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-01-02 02:16:06,969 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25338069-56430899 failed! 2025-01-02 02:16:07,025 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-25338069:ctest-vn-97427802 is 109.103.73.193 and allocation pool is NOT set 2025-01-02 02:16:09,083 - 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.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.430 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.430/1.981/3.532/1.551 ms') 2025-01-02 02:16:09,083 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25338069-56430899 passed 2025-01-02 02:16:09,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 02:16:09,237 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25338069-56430899, IP 109.103.73.195, Port 22 2025-01-02 02:16:09,406 - DEBUG - VM ctest-TestRoutersBasic-25338069-56430899 is ready for SSH connections 2025-01-02 02:16:09,406 - INFO - Waiting for VM ctest-TestRoutersBasic-25338069-46755228 to be up.. 2025-01-02 02:16:09,486 - DEBUG - VM is in ACTIVE state now 2025-01-02 02:16:09,486 - INFO - VM name : ctest-TestRoutersBasic-25338069-46755228 2025-01-02 02:16:09,564 - DEBUG - VM ctest-TestRoutersBasic-25338069-46755228 ID is 853e07f0-9b5d-4b65-a970-e05ccdf3fe8c 2025-01-02 02:16:09,565 - DEBUG - VM ctest-TestRoutersBasic-25338069-46755228 launched on Node cn-jenkins-deploy-platform-ansible-os-2506-1 2025-01-02 02:16:09,645 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/853e07f0-9b5d-4b65-a970-e05ccdf3fe8c 2025-01-02 02:16:09,654 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/281e0bde-30b4-4037-a044-d916cd675776 2025-01-02 02:16:10,888 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.456 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.456/1.712/2.968/1.256 ms') 2025-01-02 02:16:10,888 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-25338069-46755228 passed 2025-01-02 02:16:11,037 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 02:16:11,037 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25338069-46755228, IP 99.11.152.67, Port 22 2025-01-02 02:16:11,193 - DEBUG - VM ctest-TestRoutersBasic-25338069-46755228 is ready for SSH connections 2025-01-02 02:16:11,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 02:16:11,193 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.11.152.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123 2025-01-02 02:16:11,193 - DEBUG - ping -s 56 -c 3 -W 1 99.11.152.67 2025-01-02 02:16:14,903 - DEBUG - PING 99.11.152.67 (99.11.152.67): 56 data bytes 64 bytes from 99.11.152.67: seq=0 ttl=62 time=6.260 ms 64 bytes from 99.11.152.67: seq=1 ttl=62 time=0.922 ms 64 bytes from 99.11.152.67: seq=2 ttl=62 time=0.910 ms --- 99.11.152.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.910/2.697/6.260 ms 2025-01-02 02:16:14,903 - INFO - Ping to IP 99.11.152.67 from VM ctest-TestRoutersBasic-25338069-56430899 passed 2025-01-02 02:16:14,903 - INFO - Deleting interface with subnet_id f9811239-9d6e-4cb0-96f5-09c4d04613b4, port_id None from router bda7252c-8e3e-4dd0-8616-584c34fb452e 2025-01-02 02:16:15,082 - INFO - Deleting VM ctest-TestRoutersBasic-25338069-46755228 2025-01-02 02:16:15,165 - INFO - Deleting VM ctest-TestRoutersBasic-25338069-56430899 2025-01-02 02:16:15,237 - INFO - Deleting VN ctest-ext_vn-31805434 2025-01-02 02:16:15,302 - DEBUG - VN 3d8d3a83-afb9-4f04-9675-21f22c630d10 still in use: Unable to complete operation on network 3d8d3a83-afb9-4f04-9675-21f22c630d10. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2435e8b6-003e-4b0e-88de-4d62444ac509'] 2025-01-02 02:16:15,302 - WARNING - Deleting VN ctest-ext_vn-31805434 failed..Will retry 2025-01-02 02:16:17,403 - DEBUG - Response for deleting network () 2025-01-02 02:16:17,403 - INFO - Deleting VN ctest-vn-97427802 2025-01-02 02:16:17,506 - DEBUG - Response for deleting network () 2025-01-02 02:16:17,763 - DEBUG - No XMPP flaps were noticed during the test
2025-01-02 02:16:17,764 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-01-02 02:16:17,764 - INFO - -------------------------------------------------------------------------------- 2025-01-02 02:16:18,434 - INFO - Deleted project: ctest-TestRoutersBasic-25338069, ID : afffdff0-523e-4d17-ae64-b8556a8ed29c