2025-05-23 02:13:01,232 - INFO - Domain Default found not creating 2025-05-23 02:13:01,398 - INFO - Project ctest-TestRoutersBasic-13964920 not found, creating it 2025-05-23 02:13:01,881 - INFO - Created Project:ctest-TestRoutersBasic-13964920, ID : 03185a96-5fea-4061-b1a7-76a3369d6ddf 2025-05-23 02:13:03,342 - INFO - ================================================================================ 2025-05-23 02:13:03,343 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-23 02:13:03,343 - 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-05-23 02:13:03,597 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-05-23 02:13:03,597 - INFO - Initial checks done. Running the testcase now 2025-05-23 02:13:03,597 - INFO - 2025-05-23 02:13:04,332 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-13964920 2025-05-23 02:13:04,431 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-13964920 2025-05-23 02:13:04,759 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13964920', 'default']} 2025-05-23 02:13:05,059 - DEBUG - Response for create_network : {'network': {'id': 'd5e2e7a8-9a07-49dc-be45-9e55c7252ad6', 'name': 'ctest-vn-10392780', 'tenant_id': '03185a965fea4061b1a776a3369d6ddf', 'project_id': '03185a965fea4061b1a776a3369d6ddf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13964920', 'ctest-vn-10392780'], 'port_security_enabled': True, 'description': ''}} 2025-05-23 02:13:05,244 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b839d957-73ad-4fc1-b6c7-19cac46c93a3', 'name': '', 'tenant_id': '03185a965fea4061b1a776a3369d6ddf', 'network_id': 'd5e2e7a8-9a07-49dc-be45-9e55c7252ad6', 'ip_version': 4, 'cidr': '215.234.111.192/26', 'allocation_pools': [{'start': '215.234.111.194', 'end': '215.234.111.254'}], 'gateway_ip': '215.234.111.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.234.111.194', 'tags': [], 'project_id': '03185a965fea4061b1a776a3369d6ddf'}} 2025-05-23 02:13:05,265 - INFO - Created VN ctest-vn-10392780 2025-05-23 02:13:05,322 - DEBUG - VN ctest-vn-10392780 UUID is d5e2e7a8-9a07-49dc-be45-9e55c7252ad6 2025-05-23 02:13:05,695 - DEBUG - Response for create_network : {'network': {'id': 'fd1f8440-282c-45c3-813e-662bf560ac7e', 'name': 'ctest-ext_vn-85844936', 'tenant_id': '03185a965fea4061b1a776a3369d6ddf', 'project_id': '03185a965fea4061b1a776a3369d6ddf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13964920', 'ctest-ext_vn-85844936'], 'port_security_enabled': True, 'description': ''}} 2025-05-23 02:13:05,875 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe34a047-5b12-42e8-99bc-d940e38dadc6', 'name': '', 'tenant_id': '03185a965fea4061b1a776a3369d6ddf', 'network_id': 'fd1f8440-282c-45c3-813e-662bf560ac7e', 'ip_version': 4, 'cidr': '134.250.145.128/26', 'allocation_pools': [{'start': '134.250.145.130', 'end': '134.250.145.190'}], 'gateway_ip': '134.250.145.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.250.145.130', 'tags': [], 'project_id': '03185a965fea4061b1a776a3369d6ddf'}} 2025-05-23 02:13:05,894 - INFO - Created VN ctest-ext_vn-85844936 2025-05-23 02:13:05,946 - DEBUG - VN ctest-ext_vn-85844936 UUID is fd1f8440-282c-45c3-813e-662bf560ac7e 2025-05-23 02:13:06,112 - DEBUG - Services list from nova: [, , ] 2025-05-23 02:13:07,121 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3334-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3334-1) 2025-05-23 02:13:08,337 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3334-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3334-1) 2025-05-23 02:13:08,429 - INFO - Setting gateway for router 4c67918d-9972-4434-b1ce-8710baee820b to network fd1f8440-282c-45c3-813e-662bf560ac7e 2025-05-23 02:13:08,523 - INFO - Adding interface with subnet_id b839d957-73ad-4fc1-b6c7-19cac46c93a3, port_id None to router 4c67918d-9972-4434-b1ce-8710baee820b 2025-05-23 02:13:09,140 - INFO - Waiting for VM ctest-TestRoutersBasic-13964920-93982033 to be up.. 2025-05-23 02:13:09,239 - DEBUG - VM is in ACTIVE state now 2025-05-23 02:13:09,240 - INFO - VM name : ctest-TestRoutersBasic-13964920-93982033 2025-05-23 02:13:09,341 - DEBUG - VM ctest-TestRoutersBasic-13964920-93982033 ID is ad1a1078-f103-462e-b76e-1466c8cf4884 2025-05-23 02:13:09,363 - DEBUG - VM ctest-TestRoutersBasic-13964920-93982033 launched on Node cn-jenkins-deploy-platform-ansible-os-3334-1 2025-05-23 02:13:09,454 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ad1a1078-f103-462e-b76e-1466c8cf4884 2025-05-23 02:13:09,783 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ad1a1078-f103-462e-b76e-1466c8cf4884 2025-05-23 02:13:09,821 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/389ea55a-15f9-4563-a80d-bd1a882ec0dc 2025-05-23 02:13:13,107 - 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 1025ms') 2025-05-23 02:13:13,107 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13964920-93982033 failed! 2025-05-23 02:13:13,163 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-13964920:ctest-vn-10392780 is 215.234.111.193 and allocation pool is NOT set 2025-05-23 02:13:17,232 - 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 1011ms') 2025-05-23 02:13:17,233 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13964920-93982033 failed! 2025-05-23 02:13:17,310 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-13964920:ctest-vn-10392780 is 215.234.111.193 and allocation pool is NOT set 2025-05-23 02:13:19,371 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.427 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 = 0.427/1.689/2.951/1.262 ms') 2025-05-23 02:13:19,371 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13964920-93982033 passed 2025-05-23 02:13:19,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-23 02:13:19,523 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13964920-93982033, IP 215.234.111.195, Port 22 2025-05-23 02:13:19,682 - DEBUG - VM ctest-TestRoutersBasic-13964920-93982033 is ready for SSH connections 2025-05-23 02:13:19,683 - INFO - Waiting for VM ctest-TestRoutersBasic-13964920-79328810 to be up.. 2025-05-23 02:13:19,760 - DEBUG - VM is in ACTIVE state now 2025-05-23 02:13:19,760 - INFO - VM name : ctest-TestRoutersBasic-13964920-79328810 2025-05-23 02:13:19,834 - DEBUG - VM ctest-TestRoutersBasic-13964920-79328810 ID is cedd8598-6e31-4f0e-8f1c-6f82ea715e12 2025-05-23 02:13:19,834 - DEBUG - VM ctest-TestRoutersBasic-13964920-79328810 launched on Node cn-jenkins-deploy-platform-ansible-os-3334-1 2025-05-23 02:13:19,908 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cedd8598-6e31-4f0e-8f1c-6f82ea715e12 2025-05-23 02:13:19,917 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1d674c90-b503-46b3-ad1f-1ca650711b81 2025-05-23 02:13:21,162 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.755 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.755/1.714/2.673/0.959 ms') 2025-05-23 02:13:21,162 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-13964920-79328810 passed 2025-05-23 02:13:21,319 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-23 02:13:21,319 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13964920-79328810, IP 134.250.145.131, Port 22 2025-05-23 02:13:21,474 - DEBUG - VM ctest-TestRoutersBasic-13964920-79328810 is ready for SSH connections 2025-05-23 02:13:21,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-23 02:13:21,475 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.250.145.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-23 02:13:21,475 - DEBUG - ping -s 56 -c 3 -W 1 134.250.145.131 2025-05-23 02:13:25,478 - DEBUG - PING 134.250.145.131 (134.250.145.131): 56 data bytes 64 bytes from 134.250.145.131: seq=0 ttl=62 time=5.697 ms 64 bytes from 134.250.145.131: seq=1 ttl=62 time=0.974 ms 64 bytes from 134.250.145.131: seq=2 ttl=62 time=0.978 ms --- 134.250.145.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.974/2.549/5.697 ms 2025-05-23 02:13:25,478 - INFO - Ping to IP 134.250.145.131 from VM ctest-TestRoutersBasic-13964920-93982033 passed 2025-05-23 02:13:25,478 - INFO - Deleting interface with subnet_id b839d957-73ad-4fc1-b6c7-19cac46c93a3, port_id None from router 4c67918d-9972-4434-b1ce-8710baee820b 2025-05-23 02:13:25,708 - INFO - Deleting VM ctest-TestRoutersBasic-13964920-79328810 2025-05-23 02:13:25,793 - INFO - Deleting VM ctest-TestRoutersBasic-13964920-93982033 2025-05-23 02:13:25,885 - INFO - Deleting VN ctest-ext_vn-85844936 2025-05-23 02:13:25,988 - DEBUG - VN fd1f8440-282c-45c3-813e-662bf560ac7e still in use: Unable to complete operation on network fd1f8440-282c-45c3-813e-662bf560ac7e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1a380ddc-2c59-48db-887a-475e672f27a4'] 2025-05-23 02:13:25,988 - WARNING - Deleting VN ctest-ext_vn-85844936 failed..Will retry 2025-05-23 02:13:28,129 - DEBUG - Response for deleting network () 2025-05-23 02:13:28,129 - INFO - Deleting VN ctest-vn-10392780 2025-05-23 02:13:28,243 - DEBUG - Response for deleting network () 2025-05-23 02:13:28,501 - DEBUG - No XMPP flaps were noticed during the test 2025-05-23 02:13:28,501 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-05-23 02:13:28,501 - INFO - -------------------------------------------------------------------------------- 2025-05-23 02:13:29,191 - INFO - Deleted project: ctest-TestRoutersBasic-13964920, ID : 03185a96-5fea-4061-b1a7-76a3369d6ddf