2025-01-02 22:29:47,679 - INFO - Domain Default found not creating 2025-01-02 22:29:47,854 - INFO - Project ctest-TestRoutersBasic-23846419 not found, creating it 2025-01-02 22:29:48,368 - INFO - Created Project:ctest-TestRoutersBasic-23846419, ID : fa9c5744-2e8d-40aa-9893-3025772f4594 2025-01-02 22:29:49,954 - INFO - ================================================================================ 2025-01-02 22:29:49,954 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-02 22:29:49,954 - 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 22:29:50,214 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.18': '0'}} with 2025-01-02 22:29:50,214 - INFO - Initial checks done. Running the testcase now 2025-01-02 22:29:50,215 - INFO - 2025-01-02 22:29:50,937 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-23846419 2025-01-02 22:29:51,032 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-23846419 2025-01-02 22:29:51,356 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23846419', 'default']} 2025-01-02 22:29:51,667 - DEBUG - Response for create_network : {'network': {'id': '7eedd506-059e-45e7-ac30-975cf9e59b8b', 'name': 'ctest-vn-85796491', 'tenant_id': 'fa9c57442e8d40aa98933025772f4594', 'project_id': 'fa9c57442e8d40aa98933025772f4594', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23846419', 'ctest-vn-85796491'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 22:29:51,838 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d149fb8-df72-439d-8e4a-3b51358452cd', 'name': '', 'tenant_id': 'fa9c57442e8d40aa98933025772f4594', 'network_id': '7eedd506-059e-45e7-ac30-975cf9e59b8b', 'ip_version': 4, 'cidr': '129.159.124.192/26', 'allocation_pools': [{'start': '129.159.124.194', 'end': '129.159.124.254'}], 'gateway_ip': '129.159.124.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.159.124.194', 'tags': [], 'project_id': 'fa9c57442e8d40aa98933025772f4594'}} 2025-01-02 22:29:51,860 - INFO - Created VN ctest-vn-85796491 2025-01-02 22:29:51,912 - DEBUG - VN ctest-vn-85796491 UUID is 7eedd506-059e-45e7-ac30-975cf9e59b8b 2025-01-02 22:29:52,258 - DEBUG - Response for create_network : {'network': {'id': 'e7617c17-5150-4ed4-aad0-7f89124f463b', 'name': 'ctest-ext_vn-29585632', 'tenant_id': 'fa9c57442e8d40aa98933025772f4594', 'project_id': 'fa9c57442e8d40aa98933025772f4594', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23846419', 'ctest-ext_vn-29585632'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 22:29:52,469 - DEBUG - Response for create_subnet : {'subnet': {'id': '833ffec7-b344-4c3d-9e89-173c29087c83', 'name': '', 'tenant_id': 'fa9c57442e8d40aa98933025772f4594', 'network_id': 'e7617c17-5150-4ed4-aad0-7f89124f463b', 'ip_version': 4, 'cidr': '167.250.50.0/26', 'allocation_pools': [{'start': '167.250.50.2', 'end': '167.250.50.62'}], 'gateway_ip': '167.250.50.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.250.50.2', 'tags': [], 'project_id': 'fa9c57442e8d40aa98933025772f4594'}} 2025-01-02 22:29:52,487 - INFO - Created VN ctest-ext_vn-29585632 2025-01-02 22:29:52,540 - DEBUG - VN ctest-ext_vn-29585632 UUID is e7617c17-5150-4ed4-aad0-7f89124f463b 2025-01-02 22:29:52,711 - DEBUG - Services list from nova: [, , ] 2025-01-02 22:29:53,716 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2514-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2514-1) 2025-01-02 22:29:54,860 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2514-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2514-1) 2025-01-02 22:29:54,935 - INFO - Setting gateway for router 73ab9725-2c50-4c4b-b690-9f595e02b55a to network e7617c17-5150-4ed4-aad0-7f89124f463b 2025-01-02 22:29:55,010 - INFO - Adding interface with subnet_id 7d149fb8-df72-439d-8e4a-3b51358452cd, port_id None to router 73ab9725-2c50-4c4b-b690-9f595e02b55a 2025-01-02 22:29:55,439 - INFO - Waiting for VM ctest-TestRoutersBasic-23846419-47476274 to be up.. 2025-01-02 22:29:55,626 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-02 22:30:00,704 - DEBUG - VM is in ACTIVE state now 2025-01-02 22:30:00,705 - INFO - VM name : ctest-TestRoutersBasic-23846419-47476274 2025-01-02 22:30:00,783 - DEBUG - VM ctest-TestRoutersBasic-23846419-47476274 ID is cdb3318b-e262-4b9e-aa83-dcb12f127fa3 2025-01-02 22:30:00,811 - DEBUG - VM ctest-TestRoutersBasic-23846419-47476274 launched on Node cn-jenkins-deploy-platform-ansible-os-2514-1 2025-01-02 22:30:00,904 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/cdb3318b-e262-4b9e-aa83-dcb12f127fa3 2025-01-02 22:30:01,204 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/cdb3318b-e262-4b9e-aa83-dcb12f127fa3 2025-01-02 22:30:01,239 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/2a3c34e8-9e75-4611-8af5-2cc5f9a77b7a 2025-01-02 22:30:04,497 - 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 1003ms') 2025-01-02 22:30:04,498 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-23846419-47476274 failed! 2025-01-02 22:30:04,568 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-23846419:ctest-vn-85796491 is 129.159.124.193 and allocation pool is NOT set 2025-01-02 22:30:06,625 - 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=5.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.844 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.844/3.210/5.576/2.366 ms') 2025-01-02 22:30:06,625 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-23846419-47476274 passed 2025-01-02 22:30:06,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 22:30:06,780 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-23846419-47476274, IP 129.159.124.195, Port 22 2025-01-02 22:30:06,935 - DEBUG - VM ctest-TestRoutersBasic-23846419-47476274 is ready for SSH connections 2025-01-02 22:30:06,935 - INFO - Waiting for VM ctest-TestRoutersBasic-23846419-45284548 to be up.. 2025-01-02 22:30:07,024 - DEBUG - VM is in ACTIVE state now 2025-01-02 22:30:07,024 - INFO - VM name : ctest-TestRoutersBasic-23846419-45284548 2025-01-02 22:30:07,105 - DEBUG - VM ctest-TestRoutersBasic-23846419-45284548 ID is 47955169-cc97-4107-9e8a-f8ee88f5ba8f 2025-01-02 22:30:07,105 - DEBUG - VM ctest-TestRoutersBasic-23846419-45284548 launched on Node cn-jenkins-deploy-platform-ansible-os-2514-1 2025-01-02 22:30:07,182 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/47955169-cc97-4107-9e8a-f8ee88f5ba8f 2025-01-02 22:30:07,193 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/717c15fa-70f0-4aca-9867-9e93f99e5ad5 2025-01-02 22:30:08,455 - 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=4.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.644 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.644/2.576/4.509/1.932 ms') 2025-01-02 22:30:08,455 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-23846419-45284548 passed 2025-01-02 22:30:08,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 22:30:08,608 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-23846419-45284548, IP 167.250.50.3, Port 22 2025-01-02 22:30:08,768 - DEBUG - VM ctest-TestRoutersBasic-23846419-45284548 is ready for SSH connections 2025-01-02 22:30:08,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 22:30:08,768 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.250.50.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2025-01-02 22:30:08,768 - DEBUG - ping -s 56 -c 3 -W 1 167.250.50.3 2025-01-02 22:30:12,757 - DEBUG - PING 167.250.50.3 (167.250.50.3): 56 data bytes 64 bytes from 167.250.50.3: seq=0 ttl=62 time=7.925 ms 64 bytes from 167.250.50.3: seq=1 ttl=62 time=1.321 ms 64 bytes from 167.250.50.3: seq=2 ttl=62 time=1.065 ms --- 167.250.50.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.065/3.437/7.925 ms 2025-01-02 22:30:12,757 - INFO - Ping to IP 167.250.50.3 from VM ctest-TestRoutersBasic-23846419-47476274 passed 2025-01-02 22:30:12,758 - INFO - Deleting interface with subnet_id 7d149fb8-df72-439d-8e4a-3b51358452cd, port_id None from router 73ab9725-2c50-4c4b-b690-9f595e02b55a 2025-01-02 22:30:12,973 - INFO - Deleting VM ctest-TestRoutersBasic-23846419-45284548 2025-01-02 22:30:13,061 - INFO - Deleting VM ctest-TestRoutersBasic-23846419-47476274 2025-01-02 22:30:13,143 - INFO - Deleting VN ctest-ext_vn-29585632 2025-01-02 22:30:13,227 - DEBUG - VN e7617c17-5150-4ed4-aad0-7f89124f463b still in use: Unable to complete operation on network e7617c17-5150-4ed4-aad0-7f89124f463b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f556a691-a3a2-447b-8ace-3fa7a2909668'] 2025-01-02 22:30:13,228 - WARNING - Deleting VN ctest-ext_vn-29585632 failed..Will retry 2025-01-02 22:30:15,349 - DEBUG - Response for deleting network () 2025-01-02 22:30:15,349 - INFO - Deleting VN ctest-vn-85796491 2025-01-02 22:30:15,471 - DEBUG - Response for deleting network () 2025-01-02 22:30:15,730 - DEBUG - No XMPP flaps were noticed during the test
2025-01-02 22:30:15,730 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-02 22:30:15,730 - INFO - -------------------------------------------------------------------------------- 2025-01-02 22:30:16,434 - INFO - Deleted project: ctest-TestRoutersBasic-23846419, ID : fa9c5744-2e8d-40aa-9893-3025772f4594