2025-10-30 21:28:16,845 - INFO - Domain Default found not creating 2025-10-30 21:28:17,217 - INFO - Project ctest-TestRoutersBasic-17859800 not found, creating it 2025-10-30 21:28:17,890 - INFO - Created Project:ctest-TestRoutersBasic-17859800, ID : 8987069a-cfba-42b0-99e3-1e1ab8271231 2025-10-30 21:28:19,967 - INFO - ================================================================================ 2025-10-30 21:28:19,967 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-30 21:28:19,967 - 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-30 21:28:20,291 - DEBUG - Nothing to compare xmpp stats {'10.0.0.153': {'10.20.0.254': '0'}} with 2025-10-30 21:28:20,291 - INFO - Initial checks done. Running the testcase now 2025-10-30 21:28:20,291 - INFO - 2025-10-30 21:28:21,193 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-17859800 2025-10-30 21:28:21,293 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-17859800 2025-10-30 21:28:21,672 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17859800', 'default']} 2025-10-30 21:28:22,159 - DEBUG - Response for create_network : {'network': {'id': '88c0b5db-c447-44e8-99b8-404a1ee74a51', 'name': 'ctest-vn-17567946', 'tenant_id': '8987069acfba42b099e31e1ab8271231', 'project_id': '8987069acfba42b099e31e1ab8271231', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17859800', 'ctest-vn-17567946'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:28:22,451 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f216e6e-bc1d-4478-bc56-ce286d00afb9', 'name': '', 'tenant_id': '8987069acfba42b099e31e1ab8271231', 'network_id': '88c0b5db-c447-44e8-99b8-404a1ee74a51', 'ip_version': 4, 'cidr': '156.254.50.128/26', 'allocation_pools': [{'start': '156.254.50.130', 'end': '156.254.50.190'}], 'gateway_ip': '156.254.50.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.254.50.130', 'tags': [], 'project_id': '8987069acfba42b099e31e1ab8271231'}} 2025-10-30 21:28:22,482 - INFO - Created VN ctest-vn-17567946 2025-10-30 21:28:22,542 - DEBUG - VN ctest-vn-17567946 UUID is 88c0b5db-c447-44e8-99b8-404a1ee74a51 2025-10-30 21:28:22,966 - DEBUG - Response for create_network : {'network': {'id': 'e04c7427-69b4-412d-9af6-212e81fa81fa', 'name': 'ctest-ext_vn-45237952', 'tenant_id': '8987069acfba42b099e31e1ab8271231', 'project_id': '8987069acfba42b099e31e1ab8271231', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17859800', 'ctest-ext_vn-45237952'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:28:23,153 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cdf95945-0f89-4d1f-9144-917176cbdca7', 'name': '', 'tenant_id': '8987069acfba42b099e31e1ab8271231', 'network_id': 'e04c7427-69b4-412d-9af6-212e81fa81fa', 'ip_version': 4, 'cidr': '152.89.247.64/26', 'allocation_pools': [{'start': '152.89.247.66', 'end': '152.89.247.126'}], 'gateway_ip': '152.89.247.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.89.247.66', 'tags': [], 'project_id': '8987069acfba42b099e31e1ab8271231'}} 2025-10-30 21:28:23,174 - INFO - Created VN ctest-ext_vn-45237952 2025-10-30 21:28:23,229 - DEBUG - VN ctest-ext_vn-45237952 UUID is e04c7427-69b4-412d-9af6-212e81fa81fa 2025-10-30 21:28:23,543 - DEBUG - Services list from nova: [, , ] 2025-10-30 21:28:24,855 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4554-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4554-1) 2025-10-30 21:28:26,200 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4554-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4554-1) 2025-10-30 21:28:26,278 - INFO - Setting gateway for router ca3cb06c-3beb-44b3-b951-874fd9f3c27c to network e04c7427-69b4-412d-9af6-212e81fa81fa 2025-10-30 21:28:26,326 - INFO - Adding interface with subnet_id 9f216e6e-bc1d-4478-bc56-ce286d00afb9, port_id None to router ca3cb06c-3beb-44b3-b951-874fd9f3c27c 2025-10-30 21:28:26,683 - INFO - Waiting for VM ctest-TestRoutersBasic-17859800-37238841 to be up.. 2025-10-30 21:28:26,852 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 21:28:32,002 - DEBUG - VM is in ACTIVE state now 2025-10-30 21:28:32,002 - INFO - VM name : ctest-TestRoutersBasic-17859800-37238841 2025-10-30 21:28:32,141 - DEBUG - VM ctest-TestRoutersBasic-17859800-37238841 ID is 863e4c12-e03e-4748-82d5-db7a0d72341c 2025-10-30 21:28:32,190 - DEBUG - VM ctest-TestRoutersBasic-17859800-37238841 launched on Node cn-jenkins-deploy-platform-ansible-os-4554-1 2025-10-30 21:28:32,327 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-machine/863e4c12-e03e-4748-82d5-db7a0d72341c 2025-10-30 21:28:32,639 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-machine/863e4c12-e03e-4748-82d5-db7a0d72341c 2025-10-30 21:28:32,711 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-machine-interface/535d4ffb-ab1c-4c64-88a9-dda38b23b131 2025-10-30 21:28:36,042 - 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 1020ms') 2025-10-30 21:28:36,042 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17859800-37238841 failed! 2025-10-30 21:28:36,109 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-17859800:ctest-vn-17567946 is 156.254.50.129 and allocation pool is NOT set 2025-10-30 21:28:38,197 - 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=15.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.15 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 = 3.146/9.388/15.630/6.242 ms') 2025-10-30 21:28:38,198 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17859800-37238841 passed 2025-10-30 21:28:38,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:28:38,324 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17859800-37238841, IP 156.254.50.131, Port 22 2025-10-30 21:28:38,496 - DEBUG - VM ctest-TestRoutersBasic-17859800-37238841 is ready for SSH connections 2025-10-30 21:28:38,496 - INFO - Waiting for VM ctest-TestRoutersBasic-17859800-37633766 to be up.. 2025-10-30 21:28:38,616 - DEBUG - VM is in ACTIVE state now 2025-10-30 21:28:38,616 - INFO - VM name : ctest-TestRoutersBasic-17859800-37633766 2025-10-30 21:28:38,774 - DEBUG - VM ctest-TestRoutersBasic-17859800-37633766 ID is 97001bbd-0d9b-46f8-a98a-0ecb471ef9c7 2025-10-30 21:28:38,774 - DEBUG - VM ctest-TestRoutersBasic-17859800-37633766 launched on Node cn-jenkins-deploy-platform-ansible-os-4554-1 2025-10-30 21:28:38,883 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-machine/97001bbd-0d9b-46f8-a98a-0ecb471ef9c7 2025-10-30 21:28:38,896 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-machine-interface/9035bd10-2571-4510-8c8f-651ccd104e90 2025-10-30 21:28:40,185 - 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=5.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.15 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.147/3.152/5.158/2.005 ms') 2025-10-30 21:28:40,185 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-17859800-37633766 passed 2025-10-30 21:28:40,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:28:40,357 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17859800-37633766, IP 152.89.247.67, Port 22 2025-10-30 21:28:40,530 - DEBUG - VM ctest-TestRoutersBasic-17859800-37633766 is ready for SSH connections 2025-10-30 21:28:40,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:28:40,530 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.89.247.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.153, gateway password: c0ntrail123 2025-10-30 21:28:40,530 - DEBUG - ping -s 56 -c 3 -W 1 152.89.247.67 2025-10-30 21:28:45,171 - DEBUG - PING 152.89.247.67 (152.89.247.67): 56 data bytes 64 bytes from 152.89.247.67: seq=0 ttl=62 time=7.131 ms 64 bytes from 152.89.247.67: seq=1 ttl=62 time=1.812 ms 64 bytes from 152.89.247.67: seq=2 ttl=62 time=2.217 ms --- 152.89.247.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.812/3.720/7.131 ms 2025-10-30 21:28:45,172 - INFO - Ping to IP 152.89.247.67 from VM ctest-TestRoutersBasic-17859800-37238841 passed 2025-10-30 21:28:45,172 - INFO - Deleting interface with subnet_id 9f216e6e-bc1d-4478-bc56-ce286d00afb9, port_id None from router ca3cb06c-3beb-44b3-b951-874fd9f3c27c 2025-10-30 21:28:45,475 - INFO - Deleting VM ctest-TestRoutersBasic-17859800-37633766 2025-10-30 21:28:45,549 - INFO - Deleting VM ctest-TestRoutersBasic-17859800-37238841 2025-10-30 21:28:45,637 - INFO - Deleting VN ctest-ext_vn-45237952 2025-10-30 21:28:45,707 - DEBUG - VN e04c7427-69b4-412d-9af6-212e81fa81fa still in use: Unable to complete operation on network e04c7427-69b4-412d-9af6-212e81fa81fa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f1300521-b614-49d2-89cc-5ecc0d8bb48b'] 2025-10-30 21:28:45,707 - WARNING - Deleting VN ctest-ext_vn-45237952 failed..Will retry 2025-10-30 21:28:47,944 - DEBUG - Response for deleting network () 2025-10-30 21:28:47,944 - INFO - Deleting VN ctest-vn-17567946 2025-10-30 21:28:48,088 - DEBUG - Response for deleting network () 2025-10-30 21:28:48,410 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 21:28:48,411 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29] 2025-10-30 21:28:48,411 - INFO - -------------------------------------------------------------------------------- 2025-10-30 21:28:49,375 - INFO - Deleted project: ctest-TestRoutersBasic-17859800, ID : 8987069a-cfba-42b0-99e3-1e1ab8271231