2025-02-10 10:12:40,334 - INFO - Domain Default found not creating 2025-02-10 10:12:40,471 - INFO - Project ctest-TestRoutersBasic-66554700 not found, creating it 2025-02-10 10:12:40,925 - INFO - Created Project:ctest-TestRoutersBasic-66554700, ID : fc73f1d8-83d2-4cc3-8dc5-e240b867a931 2025-02-10 10:12:42,284 - INFO - ================================================================================ 2025-02-10 10:12:42,284 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-10 10:12:42,285 - 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-02-10 10:12:42,540 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.20.0.10': '0'}} with 2025-02-10 10:12:42,540 - INFO - Initial checks done. Running the testcase now 2025-02-10 10:12:42,540 - INFO - 2025-02-10 10:12:43,262 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-66554700 2025-02-10 10:12:43,362 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-66554700 2025-02-10 10:12:43,686 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66554700', 'default']} 2025-02-10 10:12:43,984 - DEBUG - Response for create_network : {'network': {'id': 'b97c2003-1bd5-402b-a759-8dc615f44224', 'name': 'ctest-vn-84058173', 'tenant_id': 'fc73f1d883d24cc38dc5e240b867a931', 'project_id': 'fc73f1d883d24cc38dc5e240b867a931', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66554700', 'ctest-vn-84058173'], 'port_security_enabled': True, 'description': ''}} 2025-02-10 10:12:44,143 - DEBUG - Response for create_subnet : {'subnet': {'id': '102c733d-c674-4fcc-b5d8-81a21c0aa3fb', 'name': '', 'tenant_id': 'fc73f1d883d24cc38dc5e240b867a931', 'network_id': 'b97c2003-1bd5-402b-a759-8dc615f44224', 'ip_version': 4, 'cidr': '8.55.160.64/26', 'allocation_pools': [{'start': '8.55.160.66', 'end': '8.55.160.126'}], 'gateway_ip': '8.55.160.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.55.160.66', 'tags': [], 'project_id': 'fc73f1d883d24cc38dc5e240b867a931'}} 2025-02-10 10:12:44,161 - INFO - Created VN ctest-vn-84058173 2025-02-10 10:12:44,214 - DEBUG - VN ctest-vn-84058173 UUID is b97c2003-1bd5-402b-a759-8dc615f44224 2025-02-10 10:12:44,552 - DEBUG - Response for create_network : {'network': {'id': 'a53ef5d1-e4a5-4f31-8881-19374de35929', 'name': 'ctest-ext_vn-96273487', 'tenant_id': 'fc73f1d883d24cc38dc5e240b867a931', 'project_id': 'fc73f1d883d24cc38dc5e240b867a931', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66554700', 'ctest-ext_vn-96273487'], 'port_security_enabled': True, 'description': ''}} 2025-02-10 10:12:44,751 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a0e312c-60e8-447d-bdea-4cb6af78221a', 'name': '', 'tenant_id': 'fc73f1d883d24cc38dc5e240b867a931', 'network_id': 'a53ef5d1-e4a5-4f31-8881-19374de35929', 'ip_version': 4, 'cidr': '142.32.221.64/26', 'allocation_pools': [{'start': '142.32.221.66', 'end': '142.32.221.126'}], 'gateway_ip': '142.32.221.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.32.221.66', 'tags': [], 'project_id': 'fc73f1d883d24cc38dc5e240b867a931'}} 2025-02-10 10:12:44,768 - INFO - Created VN ctest-ext_vn-96273487 2025-02-10 10:12:44,822 - DEBUG - VN ctest-ext_vn-96273487 UUID is a53ef5d1-e4a5-4f31-8881-19374de35929 2025-02-10 10:12:45,023 - DEBUG - Services list from nova: [, , ] 2025-02-10 10:12:46,011 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2711-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2711-1) 2025-02-10 10:12:47,110 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2711-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2711-1) 2025-02-10 10:12:47,186 - INFO - Setting gateway for router 3fba8c2f-afbd-45cd-861d-31294c2c810f to network a53ef5d1-e4a5-4f31-8881-19374de35929 2025-02-10 10:12:47,255 - INFO - Adding interface with subnet_id 102c733d-c674-4fcc-b5d8-81a21c0aa3fb, port_id None to router 3fba8c2f-afbd-45cd-861d-31294c2c810f 2025-02-10 10:12:47,677 - INFO - Waiting for VM ctest-TestRoutersBasic-66554700-61469692 to be up.. 2025-02-10 10:12:47,835 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-10 10:12:52,908 - DEBUG - VM is in ACTIVE state now 2025-02-10 10:12:52,908 - INFO - VM name : ctest-TestRoutersBasic-66554700-61469692 2025-02-10 10:12:52,982 - DEBUG - VM ctest-TestRoutersBasic-66554700-61469692 ID is f1ac0f97-06ff-44d3-96d0-9c7c646bff6d 2025-02-10 10:12:53,000 - DEBUG - VM ctest-TestRoutersBasic-66554700-61469692 launched on Node cn-jenkins-deploy-platform-ansible-os-2711-1 2025-02-10 10:12:53,073 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/f1ac0f97-06ff-44d3-96d0-9c7c646bff6d 2025-02-10 10:12:53,367 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/f1ac0f97-06ff-44d3-96d0-9c7c646bff6d 2025-02-10 10:12:53,396 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/79a8513d-290d-4162-9552-bc71661ea314 2025-02-10 10:12:56,665 - 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 1031ms') 2025-02-10 10:12:56,665 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66554700-61469692 failed! 2025-02-10 10:12:56,722 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-66554700:ctest-vn-84058173 is 8.55.160.65 and allocation pool is NOT set 2025-02-10 10:12:58,780 - 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=2.79 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 1002ms\r\nrtt min/avg/max/mdev = 0.398/1.596/2.794/1.198 ms') 2025-02-10 10:12:58,780 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66554700-61469692 passed 2025-02-10 10:12:58,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 10:12:58,938 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66554700-61469692, IP 8.55.160.67, Port 22 2025-02-10 10:12:59,090 - DEBUG - VM ctest-TestRoutersBasic-66554700-61469692 is ready for SSH connections 2025-02-10 10:12:59,090 - INFO - Waiting for VM ctest-TestRoutersBasic-66554700-90204705 to be up.. 2025-02-10 10:12:59,168 - DEBUG - VM is in ACTIVE state now 2025-02-10 10:12:59,168 - INFO - VM name : ctest-TestRoutersBasic-66554700-90204705 2025-02-10 10:12:59,240 - DEBUG - VM ctest-TestRoutersBasic-66554700-90204705 ID is 7d357570-f15d-4143-857f-63bad0254db3 2025-02-10 10:12:59,240 - DEBUG - VM ctest-TestRoutersBasic-66554700-90204705 launched on Node cn-jenkins-deploy-platform-ansible-os-2711-1 2025-02-10 10:12:59,308 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/7d357570-f15d-4143-857f-63bad0254db3 2025-02-10 10:12:59,316 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/64526d42-85cd-4bdb-b5c7-a6264f08879b 2025-02-10 10:13:00,552 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.351 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.351/1.456/2.562/1.105 ms') 2025-02-10 10:13:00,552 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-66554700-90204705 passed 2025-02-10 10:13:00,706 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 10:13:00,706 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66554700-90204705, IP 142.32.221.67, Port 22 2025-02-10 10:13:00,861 - DEBUG - VM ctest-TestRoutersBasic-66554700-90204705 is ready for SSH connections 2025-02-10 10:13:00,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 10:13:00,862 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.32.221.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123 2025-02-10 10:13:00,862 - DEBUG - ping -s 56 -c 3 -W 1 142.32.221.67 2025-02-10 10:13:04,823 - DEBUG - PING 142.32.221.67 (142.32.221.67): 56 data bytes 64 bytes from 142.32.221.67: seq=0 ttl=62 time=5.011 ms 64 bytes from 142.32.221.67: seq=1 ttl=62 time=0.846 ms 64 bytes from 142.32.221.67: seq=2 ttl=62 time=0.878 ms --- 142.32.221.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.846/2.245/5.011 ms 2025-02-10 10:13:04,823 - INFO - Ping to IP 142.32.221.67 from VM ctest-TestRoutersBasic-66554700-61469692 passed 2025-02-10 10:13:04,823 - INFO - Deleting interface with subnet_id 102c733d-c674-4fcc-b5d8-81a21c0aa3fb, port_id None from router 3fba8c2f-afbd-45cd-861d-31294c2c810f 2025-02-10 10:13:05,044 - INFO - Deleting VM ctest-TestRoutersBasic-66554700-90204705 2025-02-10 10:13:05,109 - INFO - Deleting VM ctest-TestRoutersBasic-66554700-61469692 2025-02-10 10:13:05,189 - INFO - Deleting VN ctest-ext_vn-96273487 2025-02-10 10:13:05,263 - DEBUG - VN a53ef5d1-e4a5-4f31-8881-19374de35929 still in use: Unable to complete operation on network a53ef5d1-e4a5-4f31-8881-19374de35929. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-144bd63b-ebc0-4b29-abdd-3a0178082bb2'] 2025-02-10 10:13:05,263 - WARNING - Deleting VN ctest-ext_vn-96273487 failed..Will retry 2025-02-10 10:13:07,379 - DEBUG - Response for deleting network () 2025-02-10 10:13:07,379 - INFO - Deleting VN ctest-vn-84058173 2025-02-10 10:13:07,476 - DEBUG - Response for deleting network () 2025-02-10 10:13:07,735 - DEBUG - No XMPP flaps were noticed during the test 2025-02-10 10:13:07,735 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-02-10 10:13:07,735 - INFO - -------------------------------------------------------------------------------- 2025-02-10 10:13:08,383 - INFO - Deleted project: ctest-TestRoutersBasic-66554700, ID : fc73f1d8-83d2-4cc3-8dc5-e240b867a931