2025-10-28 18:27:23,803 - INFO - Domain Default found not creating 2025-10-28 18:27:23,958 - INFO - Project ctest-TestRoutersBasic-93553276 not found, creating it 2025-10-28 18:27:24,425 - INFO - Created Project:ctest-TestRoutersBasic-93553276, ID : d7645639-eac2-483e-8fe7-a96ac495d973 2025-10-28 18:27:26,015 - INFO - ================================================================================ 2025-10-28 18:27:26,015 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-28 18:27:26,015 - 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-10-28 18:27:26,270 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-28 18:27:26,271 - INFO - Initial checks done. Running the testcase now 2025-10-28 18:27:26,271 - INFO - 2025-10-28 18:27:26,982 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-93553276 2025-10-28 18:27:27,077 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-93553276 2025-10-28 18:27:27,393 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93553276', 'default']} 2025-10-28 18:27:27,687 - DEBUG - Response for create_network : {'network': {'id': '9a7416bf-4c80-48d6-bc45-a9b499471de2', 'name': 'ctest-vn-05422396', 'tenant_id': 'd7645639eac2483e8fe7a96ac495d973', 'project_id': 'd7645639eac2483e8fe7a96ac495d973', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93553276', 'ctest-vn-05422396'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 18:27:27,915 - DEBUG - Response for create_subnet : {'subnet': {'id': '366d60fb-8a12-40b6-8d9c-84d2c89c44ce', 'name': '', 'tenant_id': 'd7645639eac2483e8fe7a96ac495d973', 'network_id': '9a7416bf-4c80-48d6-bc45-a9b499471de2', 'ip_version': 4, 'cidr': '60.250.80.64/26', 'allocation_pools': [{'start': '60.250.80.66', 'end': '60.250.80.126'}], 'gateway_ip': '60.250.80.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.250.80.66', 'tags': [], 'project_id': 'd7645639eac2483e8fe7a96ac495d973'}} 2025-10-28 18:27:27,934 - INFO - Created VN ctest-vn-05422396 2025-10-28 18:27:27,985 - DEBUG - VN ctest-vn-05422396 UUID is 9a7416bf-4c80-48d6-bc45-a9b499471de2 2025-10-28 18:27:28,301 - DEBUG - Response for create_network : {'network': {'id': '2d51a1ab-4b4f-4c0b-8b55-45523650f634', 'name': 'ctest-ext_vn-66366589', 'tenant_id': 'd7645639eac2483e8fe7a96ac495d973', 'project_id': 'd7645639eac2483e8fe7a96ac495d973', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93553276', 'ctest-ext_vn-66366589'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 18:27:28,471 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a971e65-5ef8-4282-a213-ae96bb8a8556', 'name': '', 'tenant_id': 'd7645639eac2483e8fe7a96ac495d973', 'network_id': '2d51a1ab-4b4f-4c0b-8b55-45523650f634', 'ip_version': 4, 'cidr': '143.102.93.0/26', 'allocation_pools': [{'start': '143.102.93.2', 'end': '143.102.93.62'}], 'gateway_ip': '143.102.93.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.102.93.2', 'tags': [], 'project_id': 'd7645639eac2483e8fe7a96ac495d973'}} 2025-10-28 18:27:28,488 - INFO - Created VN ctest-ext_vn-66366589 2025-10-28 18:27:28,537 - DEBUG - VN ctest-ext_vn-66366589 UUID is 2d51a1ab-4b4f-4c0b-8b55-45523650f634 2025-10-28 18:27:28,700 - DEBUG - Services list from nova: [, , ] 2025-10-28 18:27:29,729 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4515-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4515-1) 2025-10-28 18:27:30,929 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4515-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4515-1) 2025-10-28 18:27:30,994 - INFO - Setting gateway for router 302c7105-bf89-44f2-800f-db1190382d5e to network 2d51a1ab-4b4f-4c0b-8b55-45523650f634 2025-10-28 18:27:31,054 - INFO - Adding interface with subnet_id 366d60fb-8a12-40b6-8d9c-84d2c89c44ce, port_id None to router 302c7105-bf89-44f2-800f-db1190382d5e 2025-10-28 18:27:31,343 - INFO - Waiting for VM ctest-TestRoutersBasic-93553276-65941007 to be up.. 2025-10-28 18:27:31,468 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-28 18:27:36,545 - DEBUG - VM is in ACTIVE state now 2025-10-28 18:27:36,545 - INFO - VM name : ctest-TestRoutersBasic-93553276-65941007 2025-10-28 18:27:36,628 - DEBUG - VM ctest-TestRoutersBasic-93553276-65941007 ID is cb3b8c81-35fa-45e0-b8b0-92a1903c2fbc 2025-10-28 18:27:36,648 - DEBUG - VM ctest-TestRoutersBasic-93553276-65941007 launched on Node cn-jenkins-deploy-platform-ansible-os-4515-1 2025-10-28 18:27:36,724 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/cb3b8c81-35fa-45e0-b8b0-92a1903c2fbc 2025-10-28 18:27:37,031 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/cb3b8c81-35fa-45e0-b8b0-92a1903c2fbc 2025-10-28 18:27:37,064 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/ce191b62-8b1d-481c-a024-303cf011f937 2025-10-28 18:27:40,322 - 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 1026ms') 2025-10-28 18:27:40,322 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-93553276-65941007 failed! 2025-10-28 18:27:40,381 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-93553276:ctest-vn-05422396 is 60.250.80.65 and allocation pool is NOT set 2025-10-28 18:27:42,446 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.853 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.853/2.267/3.682/1.414 ms') 2025-10-28 18:27:42,446 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-93553276-65941007 passed 2025-10-28 18:27:42,601 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 18:27:42,601 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93553276-65941007, IP 60.250.80.67, Port 22 2025-10-28 18:27:42,756 - DEBUG - VM ctest-TestRoutersBasic-93553276-65941007 is ready for SSH connections 2025-10-28 18:27:42,756 - INFO - Waiting for VM ctest-TestRoutersBasic-93553276-20801299 to be up.. 2025-10-28 18:27:42,839 - DEBUG - VM is in ACTIVE state now 2025-10-28 18:27:42,840 - INFO - VM name : ctest-TestRoutersBasic-93553276-20801299 2025-10-28 18:27:42,932 - DEBUG - VM ctest-TestRoutersBasic-93553276-20801299 ID is dee353ca-a6c8-4417-a818-492a162a9c82 2025-10-28 18:27:42,932 - DEBUG - VM ctest-TestRoutersBasic-93553276-20801299 launched on Node cn-jenkins-deploy-platform-ansible-os-4515-1 2025-10-28 18:27:43,035 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/dee353ca-a6c8-4417-a818-492a162a9c82 2025-10-28 18:27:43,047 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/02d3f267-2323-4159-9074-033f8962fa25 2025-10-28 18:27:44,308 - 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=3.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.490 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.490/1.930/3.370/1.440 ms') 2025-10-28 18:27:44,308 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-93553276-20801299 passed 2025-10-28 18:27:44,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 18:27:44,461 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93553276-20801299, IP 143.102.93.3, Port 22 2025-10-28 18:27:44,621 - DEBUG - VM ctest-TestRoutersBasic-93553276-20801299 is ready for SSH connections 2025-10-28 18:27:44,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 18:27:44,621 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.102.93.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-28 18:27:44,621 - DEBUG - ping -s 56 -c 3 -W 1 143.102.93.3 2025-10-28 18:27:48,337 - DEBUG - PING 143.102.93.3 (143.102.93.3): 56 data bytes 64 bytes from 143.102.93.3: seq=0 ttl=62 time=5.371 ms 64 bytes from 143.102.93.3: seq=1 ttl=62 time=1.042 ms 64 bytes from 143.102.93.3: seq=2 ttl=62 time=1.248 ms --- 143.102.93.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.042/2.553/5.371 ms 2025-10-28 18:27:48,337 - INFO - Ping to IP 143.102.93.3 from VM ctest-TestRoutersBasic-93553276-65941007 passed 2025-10-28 18:27:48,338 - INFO - Deleting interface with subnet_id 366d60fb-8a12-40b6-8d9c-84d2c89c44ce, port_id None from router 302c7105-bf89-44f2-800f-db1190382d5e 2025-10-28 18:27:48,522 - INFO - Deleting VM ctest-TestRoutersBasic-93553276-20801299 2025-10-28 18:27:48,598 - INFO - Deleting VM ctest-TestRoutersBasic-93553276-65941007 2025-10-28 18:27:48,681 - INFO - Deleting VN ctest-ext_vn-66366589 2025-10-28 18:27:48,753 - DEBUG - VN 2d51a1ab-4b4f-4c0b-8b55-45523650f634 still in use: Unable to complete operation on network 2d51a1ab-4b4f-4c0b-8b55-45523650f634. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fc1a4ea0-9270-406e-a788-aca0ad25e080'] 2025-10-28 18:27:48,754 - WARNING - Deleting VN ctest-ext_vn-66366589 failed..Will retry 2025-10-28 18:27:50,866 - DEBUG - Response for deleting network () 2025-10-28 18:27:50,866 - INFO - Deleting VN ctest-vn-05422396 2025-10-28 18:27:50,962 - DEBUG - Response for deleting network () 2025-10-28 18:27:51,233 - DEBUG - No XMPP flaps were noticed during the test 2025-10-28 18:27:51,233 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-28 18:27:51,233 - INFO - -------------------------------------------------------------------------------- 2025-10-28 18:27:51,920 - INFO - Deleted project: ctest-TestRoutersBasic-93553276, ID : d7645639-eac2-483e-8fe7-a96ac495d973