2025-05-06 19:25:51,298 - INFO - Domain Default found not creating 2025-05-06 19:25:51,424 - INFO - Project ctest-TestRoutersBasic-54383354 not found, creating it 2025-05-06 19:25:51,864 - INFO - Created Project:ctest-TestRoutersBasic-54383354, ID : 311173a5-1cff-48fe-a2ad-c768fa6f3ccc 2025-05-06 19:25:53,206 - INFO - ================================================================================ 2025-05-06 19:25:53,206 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-06 19:25:53,206 - 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-06 19:25:53,461 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-05-06 19:25:53,461 - INFO - Initial checks done. Running the testcase now 2025-05-06 19:25:53,462 - INFO - 2025-05-06 19:25:54,147 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-54383354 2025-05-06 19:25:54,244 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-54383354 2025-05-06 19:25:54,560 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54383354', 'default']} 2025-05-06 19:25:54,857 - DEBUG - Response for create_network : {'network': {'id': '9bf7e1ff-4d17-4ae3-9540-5e9c81b16c3e', 'name': 'ctest-vn-52009701', 'tenant_id': '311173a51cff48fea2adc768fa6f3ccc', 'project_id': '311173a51cff48fea2adc768fa6f3ccc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54383354', 'ctest-vn-52009701'], 'port_security_enabled': True, 'description': ''}} 2025-05-06 19:25:55,013 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a984370-03b8-4197-8cd0-919b17b60f01', 'name': '', 'tenant_id': '311173a51cff48fea2adc768fa6f3ccc', 'network_id': '9bf7e1ff-4d17-4ae3-9540-5e9c81b16c3e', 'ip_version': 4, 'cidr': '183.34.113.64/26', 'allocation_pools': [{'start': '183.34.113.66', 'end': '183.34.113.126'}], 'gateway_ip': '183.34.113.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.34.113.66', 'tags': [], 'project_id': '311173a51cff48fea2adc768fa6f3ccc'}} 2025-05-06 19:25:55,031 - INFO - Created VN ctest-vn-52009701 2025-05-06 19:25:55,088 - DEBUG - VN ctest-vn-52009701 UUID is 9bf7e1ff-4d17-4ae3-9540-5e9c81b16c3e 2025-05-06 19:25:55,429 - DEBUG - Response for create_network : {'network': {'id': 'c65cb030-f19d-4c7b-a7d7-a16f6850661d', 'name': 'ctest-ext_vn-30226445', 'tenant_id': '311173a51cff48fea2adc768fa6f3ccc', 'project_id': '311173a51cff48fea2adc768fa6f3ccc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54383354', 'ctest-ext_vn-30226445'], 'port_security_enabled': True, 'description': ''}} 2025-05-06 19:25:55,635 - DEBUG - Response for create_subnet : {'subnet': {'id': '3fe9b4d4-6e94-4e2c-a6eb-7566fceb8afb', 'name': '', 'tenant_id': '311173a51cff48fea2adc768fa6f3ccc', 'network_id': 'c65cb030-f19d-4c7b-a7d7-a16f6850661d', 'ip_version': 4, 'cidr': '196.161.133.0/26', 'allocation_pools': [{'start': '196.161.133.2', 'end': '196.161.133.62'}], 'gateway_ip': '196.161.133.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.161.133.2', 'tags': [], 'project_id': '311173a51cff48fea2adc768fa6f3ccc'}} 2025-05-06 19:25:55,655 - INFO - Created VN ctest-ext_vn-30226445 2025-05-06 19:25:55,708 - DEBUG - VN ctest-ext_vn-30226445 UUID is c65cb030-f19d-4c7b-a7d7-a16f6850661d 2025-05-06 19:25:55,870 - DEBUG - Services list from nova: [, , ] 2025-05-06 19:25:56,843 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3279-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3279-1) 2025-05-06 19:25:58,065 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3279-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3279-1) 2025-05-06 19:25:58,164 - INFO - Setting gateway for router b97c681d-a0c9-4608-aebd-9d2eed296860 to network c65cb030-f19d-4c7b-a7d7-a16f6850661d 2025-05-06 19:25:58,250 - INFO - Adding interface with subnet_id 9a984370-03b8-4197-8cd0-919b17b60f01, port_id None to router b97c681d-a0c9-4608-aebd-9d2eed296860 2025-05-06 19:25:58,743 - INFO - Waiting for VM ctest-TestRoutersBasic-54383354-72502996 to be up.. 2025-05-06 19:25:58,876 - DEBUG - VM is in ACTIVE state now 2025-05-06 19:25:58,876 - INFO - VM name : ctest-TestRoutersBasic-54383354-72502996 2025-05-06 19:25:58,990 - DEBUG - VM ctest-TestRoutersBasic-54383354-72502996 ID is 299fb534-68f9-4cdf-9744-83265c4f9104 2025-05-06 19:25:59,015 - DEBUG - VM ctest-TestRoutersBasic-54383354-72502996 launched on Node cn-jenkins-deploy-platform-ansible-os-3279-1 2025-05-06 19:25:59,108 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/299fb534-68f9-4cdf-9744-83265c4f9104 2025-05-06 19:25:59,432 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/299fb534-68f9-4cdf-9744-83265c4f9104 2025-05-06 19:25:59,476 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ecc812de-bb98-46ee-9ea8-54f8dca4f50f 2025-05-06 19:26:02,772 - 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-05-06 19:26:02,772 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54383354-72502996 failed! 2025-05-06 19:26:02,844 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-54383354:ctest-vn-52009701 is 183.34.113.65 and allocation pool is NOT set 2025-05-06 19:26:06,935 - 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-05-06 19:26:06,935 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54383354-72502996 failed! 2025-05-06 19:26:06,992 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-54383354:ctest-vn-52009701 is 183.34.113.65 and allocation pool is NOT set 2025-05-06 19:26:09,052 - 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.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.358 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.358/1.734/3.111/1.376 ms') 2025-05-06 19:26:09,052 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54383354-72502996 passed 2025-05-06 19:26:09,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 19:26:09,208 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54383354-72502996, IP 183.34.113.67, Port 22 2025-05-06 19:26:09,368 - DEBUG - VM ctest-TestRoutersBasic-54383354-72502996 is ready for SSH connections 2025-05-06 19:26:09,368 - INFO - Waiting for VM ctest-TestRoutersBasic-54383354-33473809 to be up.. 2025-05-06 19:26:09,441 - DEBUG - VM is in ACTIVE state now 2025-05-06 19:26:09,441 - INFO - VM name : ctest-TestRoutersBasic-54383354-33473809 2025-05-06 19:26:09,509 - DEBUG - VM ctest-TestRoutersBasic-54383354-33473809 ID is fea1538c-cb4f-406b-8c81-563a641c7325 2025-05-06 19:26:09,509 - DEBUG - VM ctest-TestRoutersBasic-54383354-33473809 launched on Node cn-jenkins-deploy-platform-ansible-os-3279-1 2025-05-06 19:26:09,581 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fea1538c-cb4f-406b-8c81-563a641c7325 2025-05-06 19:26:09,590 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/57fc808c-dbd7-4c6b-b626-fbaaadcfc12a 2025-05-06 19:26:10,832 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.437 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.437/1.537/2.638/1.100 ms') 2025-05-06 19:26:10,832 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-54383354-33473809 passed 2025-05-06 19:26:10,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 19:26:10,988 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54383354-33473809, IP 196.161.133.3, Port 22 2025-05-06 19:26:11,143 - DEBUG - VM ctest-TestRoutersBasic-54383354-33473809 is ready for SSH connections 2025-05-06 19:26:11,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 19:26:11,143 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.161.133.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-06 19:26:11,143 - DEBUG - ping -s 56 -c 3 -W 1 196.161.133.3 2025-05-06 19:26:15,087 - DEBUG - PING 196.161.133.3 (196.161.133.3): 56 data bytes 64 bytes from 196.161.133.3: seq=0 ttl=62 time=5.891 ms 64 bytes from 196.161.133.3: seq=1 ttl=62 time=0.803 ms 64 bytes from 196.161.133.3: seq=2 ttl=62 time=0.915 ms --- 196.161.133.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.803/2.536/5.891 ms 2025-05-06 19:26:15,087 - INFO - Ping to IP 196.161.133.3 from VM ctest-TestRoutersBasic-54383354-72502996 passed 2025-05-06 19:26:15,087 - INFO - Deleting interface with subnet_id 9a984370-03b8-4197-8cd0-919b17b60f01, port_id None from router b97c681d-a0c9-4608-aebd-9d2eed296860 2025-05-06 19:26:15,271 - INFO - Deleting VM ctest-TestRoutersBasic-54383354-33473809 2025-05-06 19:26:15,331 - INFO - Deleting VM ctest-TestRoutersBasic-54383354-72502996 2025-05-06 19:26:15,398 - INFO - Deleting VN ctest-ext_vn-30226445 2025-05-06 19:26:15,457 - DEBUG - VN c65cb030-f19d-4c7b-a7d7-a16f6850661d still in use: Unable to complete operation on network c65cb030-f19d-4c7b-a7d7-a16f6850661d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bb92efbd-4890-4b52-8ff1-0ed73bd225e3'] 2025-05-06 19:26:15,457 - WARNING - Deleting VN ctest-ext_vn-30226445 failed..Will retry 2025-05-06 19:26:17,558 - DEBUG - Response for deleting network () 2025-05-06 19:26:17,558 - INFO - Deleting VN ctest-vn-52009701 2025-05-06 19:26:17,674 - DEBUG - Response for deleting network () 2025-05-06 19:26:17,926 - DEBUG - No XMPP flaps were noticed during the test 2025-05-06 19:26:17,926 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24] 2025-05-06 19:26:17,927 - INFO - -------------------------------------------------------------------------------- 2025-05-06 19:26:18,619 - INFO - Deleted project: ctest-TestRoutersBasic-54383354, ID : 311173a5-1cff-48fe-a2ad-c768fa6f3ccc