2025-06-25 12:13:03,845 - INFO - Domain Default found not creating 2025-06-25 12:13:04,031 - INFO - Project ctest-TestRoutersBasic-10682375 not found, creating it 2025-06-25 12:13:04,619 - INFO - Created Project:ctest-TestRoutersBasic-10682375, ID : dac9bc16-e8d2-4f57-9e36-9b1a2bd95acf 2025-06-25 12:13:06,421 - INFO - ================================================================================ 2025-06-25 12:13:06,422 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-25 12:13:06,422 - 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-06-25 12:13:06,685 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-06-25 12:13:06,685 - INFO - Initial checks done. Running the testcase now 2025-06-25 12:13:06,685 - INFO - 2025-06-25 12:13:07,446 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-10682375 2025-06-25 12:13:07,552 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-10682375 2025-06-25 12:13:07,903 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10682375', 'default']} 2025-06-25 12:13:08,247 - DEBUG - Response for create_network : {'network': {'id': 'c9683777-7018-49a8-b823-b0b8d4fbb830', 'name': 'ctest-vn-17989643', 'tenant_id': 'dac9bc16e8d24f579e369b1a2bd95acf', 'project_id': 'dac9bc16e8d24f579e369b1a2bd95acf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10682375', 'ctest-vn-17989643'], 'port_security_enabled': True, 'description': ''}} 2025-06-25 12:13:08,421 - DEBUG - Response for create_subnet : {'subnet': {'id': '70fdd08e-a35a-4412-9a78-b330aeaef389', 'name': '', 'tenant_id': 'dac9bc16e8d24f579e369b1a2bd95acf', 'network_id': 'c9683777-7018-49a8-b823-b0b8d4fbb830', 'ip_version': 4, 'cidr': '99.90.220.128/26', 'allocation_pools': [{'start': '99.90.220.130', 'end': '99.90.220.190'}], 'gateway_ip': '99.90.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.90.220.130', 'tags': [], 'project_id': 'dac9bc16e8d24f579e369b1a2bd95acf'}} 2025-06-25 12:13:08,442 - INFO - Created VN ctest-vn-17989643 2025-06-25 12:13:08,496 - DEBUG - VN ctest-vn-17989643 UUID is c9683777-7018-49a8-b823-b0b8d4fbb830 2025-06-25 12:13:08,880 - DEBUG - Response for create_network : {'network': {'id': '01c762d5-0a7b-4f02-ab6e-75b6e68c768e', 'name': 'ctest-ext_vn-85084350', 'tenant_id': 'dac9bc16e8d24f579e369b1a2bd95acf', 'project_id': 'dac9bc16e8d24f579e369b1a2bd95acf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10682375', 'ctest-ext_vn-85084350'], 'port_security_enabled': True, 'description': ''}} 2025-06-25 12:13:09,091 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5472867-5be3-4e79-ac3d-4a07b39529da', 'name': '', 'tenant_id': 'dac9bc16e8d24f579e369b1a2bd95acf', 'network_id': '01c762d5-0a7b-4f02-ab6e-75b6e68c768e', 'ip_version': 4, 'cidr': '206.145.128.0/26', 'allocation_pools': [{'start': '206.145.128.2', 'end': '206.145.128.62'}], 'gateway_ip': '206.145.128.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.145.128.2', 'tags': [], 'project_id': 'dac9bc16e8d24f579e369b1a2bd95acf'}} 2025-06-25 12:13:09,113 - INFO - Created VN ctest-ext_vn-85084350 2025-06-25 12:13:09,167 - DEBUG - VN ctest-ext_vn-85084350 UUID is 01c762d5-0a7b-4f02-ab6e-75b6e68c768e 2025-06-25 12:13:09,369 - DEBUG - Services list from nova: [, , ] 2025-06-25 12:13:10,564 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3548-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3548-1) 2025-06-25 12:13:11,917 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3548-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3548-1) 2025-06-25 12:13:12,021 - INFO - Setting gateway for router dde07a66-5369-47eb-b002-9396136e7a7d to network 01c762d5-0a7b-4f02-ab6e-75b6e68c768e 2025-06-25 12:13:12,120 - INFO - Adding interface with subnet_id 70fdd08e-a35a-4412-9a78-b330aeaef389, port_id None to router dde07a66-5369-47eb-b002-9396136e7a7d 2025-06-25 12:13:12,589 - INFO - Waiting for VM ctest-TestRoutersBasic-10682375-42317444 to be up.. 2025-06-25 12:13:12,774 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-25 12:13:17,875 - DEBUG - VM is in ACTIVE state now 2025-06-25 12:13:17,875 - INFO - VM name : ctest-TestRoutersBasic-10682375-42317444 2025-06-25 12:13:17,966 - DEBUG - VM ctest-TestRoutersBasic-10682375-42317444 ID is 60e60d2e-cbde-4207-8967-a8d2ce824bf2 2025-06-25 12:13:17,989 - DEBUG - VM ctest-TestRoutersBasic-10682375-42317444 launched on Node cn-jenkins-deploy-platform-ansible-os-3548-1 2025-06-25 12:13:18,082 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/60e60d2e-cbde-4207-8967-a8d2ce824bf2 2025-06-25 12:13:18,393 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/60e60d2e-cbde-4207-8967-a8d2ce824bf2 2025-06-25 12:13:18,433 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c9ba1303-3938-4866-a3e9-b9d0580c831e 2025-06-25 12:13:21,723 - 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 1030ms') 2025-06-25 12:13:21,723 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-10682375-42317444 failed! 2025-06-25 12:13:21,800 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-10682375:ctest-vn-17989643 is 99.90.220.129 and allocation pool is NOT set 2025-06-25 12:13:23,865 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.466 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.466/2.228/3.991/1.762 ms') 2025-06-25 12:13:23,865 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-10682375-42317444 passed 2025-06-25 12:13:24,020 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 12:13:24,020 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10682375-42317444, IP 99.90.220.131, Port 22 2025-06-25 12:13:24,176 - DEBUG - VM ctest-TestRoutersBasic-10682375-42317444 is ready for SSH connections 2025-06-25 12:13:24,176 - INFO - Waiting for VM ctest-TestRoutersBasic-10682375-79672143 to be up.. 2025-06-25 12:13:24,269 - DEBUG - VM is in ACTIVE state now 2025-06-25 12:13:24,270 - INFO - VM name : ctest-TestRoutersBasic-10682375-79672143 2025-06-25 12:13:24,353 - DEBUG - VM ctest-TestRoutersBasic-10682375-79672143 ID is 5917339e-a1df-46c3-8d4e-f99c1be99fe6 2025-06-25 12:13:24,353 - DEBUG - VM ctest-TestRoutersBasic-10682375-79672143 launched on Node cn-jenkins-deploy-platform-ansible-os-3548-1 2025-06-25 12:13:24,442 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5917339e-a1df-46c3-8d4e-f99c1be99fe6 2025-06-25 12:13:24,454 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/50ada576-ff37-4ba7-83f4-dce850eb663c 2025-06-25 12:13:25,700 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.43 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 = 1.430/2.864/4.298/1.434 ms') 2025-06-25 12:13:25,700 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-10682375-79672143 passed 2025-06-25 12:13:25,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 12:13:25,860 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10682375-79672143, IP 206.145.128.3, Port 22 2025-06-25 12:13:26,025 - DEBUG - VM ctest-TestRoutersBasic-10682375-79672143 is ready for SSH connections 2025-06-25 12:13:26,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 12:13:26,025 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.145.128.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-06-25 12:13:26,025 - DEBUG - ping -s 56 -c 3 -W 1 206.145.128.3 2025-06-25 12:13:29,768 - DEBUG - PING 206.145.128.3 (206.145.128.3): 56 data bytes 64 bytes from 206.145.128.3: seq=0 ttl=62 time=8.335 ms 64 bytes from 206.145.128.3: seq=1 ttl=62 time=1.917 ms 64 bytes from 206.145.128.3: seq=2 ttl=62 time=1.065 ms --- 206.145.128.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.065/3.772/8.335 ms 2025-06-25 12:13:29,768 - INFO - Ping to IP 206.145.128.3 from VM ctest-TestRoutersBasic-10682375-42317444 passed 2025-06-25 12:13:29,768 - INFO - Deleting interface with subnet_id 70fdd08e-a35a-4412-9a78-b330aeaef389, port_id None from router dde07a66-5369-47eb-b002-9396136e7a7d 2025-06-25 12:13:30,032 - INFO - Deleting VM ctest-TestRoutersBasic-10682375-79672143 2025-06-25 12:13:30,144 - INFO - Deleting VM ctest-TestRoutersBasic-10682375-42317444 2025-06-25 12:13:30,233 - INFO - Deleting VN ctest-ext_vn-85084350 2025-06-25 12:13:30,388 - DEBUG - VN 01c762d5-0a7b-4f02-ab6e-75b6e68c768e still in use: Unable to complete operation on network 01c762d5-0a7b-4f02-ab6e-75b6e68c768e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f05ff7a7-6dc4-4a87-b7ad-2abe40b9a1d7'] 2025-06-25 12:13:30,388 - WARNING - Deleting VN ctest-ext_vn-85084350 failed..Will retry 2025-06-25 12:13:32,518 - DEBUG - Response for deleting network () 2025-06-25 12:13:32,518 - INFO - Deleting VN ctest-vn-17989643 2025-06-25 12:13:32,652 - DEBUG - Response for deleting network () 2025-06-25 12:13:32,915 - DEBUG - No XMPP flaps were noticed during the test 2025-06-25 12:13:32,915 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-06-25 12:13:32,915 - INFO - -------------------------------------------------------------------------------- 2025-06-25 12:13:33,628 - INFO - Deleted project: ctest-TestRoutersBasic-10682375, ID : dac9bc16-e8d2-4f57-9e36-9b1a2bd95acf