2025-10-09 18:02:36,939 - INFO - Domain Default found not creating 2025-10-09 18:02:37,082 - INFO - Project ctest-TestRoutersBasic-53236817 not found, creating it 2025-10-09 18:02:37,522 - INFO - Created Project:ctest-TestRoutersBasic-53236817, ID : 2009a408-8b1e-4e60-a569-4236bd699777 2025-10-09 18:02:38,937 - INFO - ================================================================================ 2025-10-09 18:02:38,938 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-09 18:02:38,938 - 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-09 18:02:39,199 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-10-09 18:02:39,199 - INFO - Initial checks done. Running the testcase now 2025-10-09 18:02:39,199 - INFO - 2025-10-09 18:02:39,929 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-53236817 2025-10-09 18:02:40,030 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-53236817 2025-10-09 18:02:40,370 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53236817', 'default']} 2025-10-09 18:02:40,666 - DEBUG - Response for create_network : {'network': {'id': 'e90d8fb1-ac39-485c-8796-ea831ff3bc83', 'name': 'ctest-vn-32095374', 'tenant_id': '2009a4088b1e4e60a5694236bd699777', 'project_id': '2009a4088b1e4e60a5694236bd699777', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53236817', 'ctest-vn-32095374'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 18:02:40,830 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd628f6d-c6c1-4de7-82ba-2ed8573603d8', 'name': '', 'tenant_id': '2009a4088b1e4e60a5694236bd699777', 'network_id': 'e90d8fb1-ac39-485c-8796-ea831ff3bc83', 'ip_version': 4, 'cidr': '95.55.154.64/26', 'allocation_pools': [{'start': '95.55.154.66', 'end': '95.55.154.126'}], 'gateway_ip': '95.55.154.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.55.154.66', 'tags': [], 'project_id': '2009a4088b1e4e60a5694236bd699777'}} 2025-10-09 18:02:40,849 - INFO - Created VN ctest-vn-32095374 2025-10-09 18:02:40,902 - DEBUG - VN ctest-vn-32095374 UUID is e90d8fb1-ac39-485c-8796-ea831ff3bc83 2025-10-09 18:02:41,229 - DEBUG - Response for create_network : {'network': {'id': 'f53312cf-015c-43bb-8e42-24b745522b3e', 'name': 'ctest-ext_vn-78009618', 'tenant_id': '2009a4088b1e4e60a5694236bd699777', 'project_id': '2009a4088b1e4e60a5694236bd699777', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53236817', 'ctest-ext_vn-78009618'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 18:02:41,405 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b1ffdec5-f7cb-43a0-b823-91a74ab338ac', 'name': '', 'tenant_id': '2009a4088b1e4e60a5694236bd699777', 'network_id': 'f53312cf-015c-43bb-8e42-24b745522b3e', 'ip_version': 4, 'cidr': '71.127.175.128/26', 'allocation_pools': [{'start': '71.127.175.130', 'end': '71.127.175.190'}], 'gateway_ip': '71.127.175.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.127.175.130', 'tags': [], 'project_id': '2009a4088b1e4e60a5694236bd699777'}} 2025-10-09 18:02:41,423 - INFO - Created VN ctest-ext_vn-78009618 2025-10-09 18:02:41,474 - DEBUG - VN ctest-ext_vn-78009618 UUID is f53312cf-015c-43bb-8e42-24b745522b3e 2025-10-09 18:02:41,674 - DEBUG - Services list from nova: [, , ] 2025-10-09 18:02:42,698 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4272-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4272-1) 2025-10-09 18:02:43,816 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4272-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4272-1) 2025-10-09 18:02:43,885 - INFO - Setting gateway for router c163043e-31cf-4ad9-b414-9a5247f3628c to network f53312cf-015c-43bb-8e42-24b745522b3e 2025-10-09 18:02:43,947 - INFO - Adding interface with subnet_id cd628f6d-c6c1-4de7-82ba-2ed8573603d8, port_id None to router c163043e-31cf-4ad9-b414-9a5247f3628c 2025-10-09 18:02:44,256 - INFO - Waiting for VM ctest-TestRoutersBasic-53236817-78381356 to be up.. 2025-10-09 18:02:44,388 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 18:02:49,466 - DEBUG - VM is in ACTIVE state now 2025-10-09 18:02:49,466 - INFO - VM name : ctest-TestRoutersBasic-53236817-78381356 2025-10-09 18:02:49,546 - DEBUG - VM ctest-TestRoutersBasic-53236817-78381356 ID is 248d0137-7771-4a48-af40-e4fa0000e2a7 2025-10-09 18:02:49,572 - DEBUG - VM ctest-TestRoutersBasic-53236817-78381356 launched on Node cn-jenkins-deploy-platform-ansible-os-4272-1 2025-10-09 18:02:49,654 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/248d0137-7771-4a48-af40-e4fa0000e2a7 2025-10-09 18:02:49,949 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/248d0137-7771-4a48-af40-e4fa0000e2a7 2025-10-09 18:02:49,981 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c8224c29-f162-4d33-82a2-9611a2cd07b2 2025-10-09 18:02:53,227 - 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 1007ms') 2025-10-09 18:02:53,227 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53236817-78381356 failed! 2025-10-09 18:02:53,282 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-53236817:ctest-vn-32095374 is 95.55.154.65 and allocation pool is NOT set 2025-10-09 18:02:55,350 - 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.420 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.420/1.605/2.791/1.185 ms') 2025-10-09 18:02:55,350 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53236817-78381356 passed 2025-10-09 18:02:55,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 18:02:55,502 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53236817-78381356, IP 95.55.154.67, Port 22 2025-10-09 18:02:55,657 - DEBUG - VM ctest-TestRoutersBasic-53236817-78381356 is ready for SSH connections 2025-10-09 18:02:55,657 - INFO - Waiting for VM ctest-TestRoutersBasic-53236817-54485359 to be up.. 2025-10-09 18:02:55,729 - DEBUG - VM is in ACTIVE state now 2025-10-09 18:02:55,729 - INFO - VM name : ctest-TestRoutersBasic-53236817-54485359 2025-10-09 18:02:55,798 - DEBUG - VM ctest-TestRoutersBasic-53236817-54485359 ID is cf1f1910-2b01-4562-b5e7-d944f38e4a4f 2025-10-09 18:02:55,798 - DEBUG - VM ctest-TestRoutersBasic-53236817-54485359 launched on Node cn-jenkins-deploy-platform-ansible-os-4272-1 2025-10-09 18:02:55,866 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/cf1f1910-2b01-4562-b5e7-d944f38e4a4f 2025-10-09 18:02:55,874 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/45b76327-77e3-476b-8ee8-577535cc3dd4 2025-10-09 18:02:57,109 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.341 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.341/1.540/2.740/1.199 ms') 2025-10-09 18:02:57,110 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-53236817-54485359 passed 2025-10-09 18:02:57,262 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 18:02:57,262 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53236817-54485359, IP 71.127.175.131, Port 22 2025-10-09 18:02:57,413 - DEBUG - VM ctest-TestRoutersBasic-53236817-54485359 is ready for SSH connections 2025-10-09 18:02:57,414 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 18:02:57,414 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.127.175.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 18:02:57,414 - DEBUG - ping -s 56 -c 3 -W 1 71.127.175.131 2025-10-09 18:03:01,408 - DEBUG - PING 71.127.175.131 (71.127.175.131): 56 data bytes 64 bytes from 71.127.175.131: seq=0 ttl=62 time=7.099 ms 64 bytes from 71.127.175.131: seq=1 ttl=62 time=0.795 ms 64 bytes from 71.127.175.131: seq=2 ttl=62 time=0.812 ms --- 71.127.175.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.795/2.902/7.099 ms 2025-10-09 18:03:01,408 - INFO - Ping to IP 71.127.175.131 from VM ctest-TestRoutersBasic-53236817-78381356 passed 2025-10-09 18:03:01,408 - INFO - Deleting interface with subnet_id cd628f6d-c6c1-4de7-82ba-2ed8573603d8, port_id None from router c163043e-31cf-4ad9-b414-9a5247f3628c 2025-10-09 18:03:01,581 - INFO - Deleting VM ctest-TestRoutersBasic-53236817-54485359 2025-10-09 18:03:01,674 - INFO - Deleting VM ctest-TestRoutersBasic-53236817-78381356 2025-10-09 18:03:01,749 - INFO - Deleting VN ctest-ext_vn-78009618 2025-10-09 18:03:01,828 - DEBUG - VN f53312cf-015c-43bb-8e42-24b745522b3e still in use: Unable to complete operation on network f53312cf-015c-43bb-8e42-24b745522b3e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2d831342-0c95-4d29-a810-7a7b06eb123e'] 2025-10-09 18:03:01,828 - WARNING - Deleting VN ctest-ext_vn-78009618 failed..Will retry 2025-10-09 18:03:03,923 - DEBUG - Response for deleting network () 2025-10-09 18:03:03,923 - INFO - Deleting VN ctest-vn-32095374 2025-10-09 18:03:04,023 - DEBUG - Response for deleting network () 2025-10-09 18:03:04,280 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 18:03:04,280 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-10-09 18:03:04,281 - INFO - -------------------------------------------------------------------------------- 2025-10-09 18:03:04,989 - INFO - Deleted project: ctest-TestRoutersBasic-53236817, ID : 2009a408-8b1e-4e60-a569-4236bd699777