2025-11-20 01:54:17,373 - INFO - Domain Default found not creating 2025-11-20 01:54:17,529 - INFO - Project ctest-TestRoutersBasic-88812611 not found, creating it 2025-11-20 01:54:17,972 - INFO - Created Project:ctest-TestRoutersBasic-88812611, ID : 6727a6fa-1c26-4640-89bc-e2827f85b0de 2025-11-20 01:54:20,039 - INFO - ================================================================================ 2025-11-20 01:54:20,039 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-20 01:54:20,039 - 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-11-20 01:54:20,292 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.192': '0'}} with 2025-11-20 01:54:20,292 - INFO - Initial checks done. Running the testcase now 2025-11-20 01:54:20,292 - INFO - 2025-11-20 01:54:20,975 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88812611 2025-11-20 01:54:21,071 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88812611 2025-11-20 01:54:21,382 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88812611', 'default']} 2025-11-20 01:54:21,666 - DEBUG - Response for create_network : {'network': {'id': '62eab885-cd7c-4ae7-a329-09f97f7b91af', 'name': 'ctest-vn-42635971', 'tenant_id': '6727a6fa1c26464089bce2827f85b0de', 'project_id': '6727a6fa1c26464089bce2827f85b0de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88812611', 'ctest-vn-42635971'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 01:54:21,824 - DEBUG - Response for create_subnet : {'subnet': {'id': '105a23d4-cef5-4e7c-befe-ae201ba9d97e', 'name': '', 'tenant_id': '6727a6fa1c26464089bce2827f85b0de', 'network_id': '62eab885-cd7c-4ae7-a329-09f97f7b91af', 'ip_version': 4, 'cidr': '110.10.174.192/26', 'allocation_pools': [{'start': '110.10.174.194', 'end': '110.10.174.254'}], 'gateway_ip': '110.10.174.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.10.174.194', 'tags': [], 'project_id': '6727a6fa1c26464089bce2827f85b0de'}} 2025-11-20 01:54:21,843 - INFO - Created VN ctest-vn-42635971 2025-11-20 01:54:21,894 - DEBUG - VN ctest-vn-42635971 UUID is 62eab885-cd7c-4ae7-a329-09f97f7b91af 2025-11-20 01:54:22,219 - DEBUG - Response for create_network : {'network': {'id': 'cbbb4dbc-801e-4f45-95b8-680dc0eb3006', 'name': 'ctest-ext_vn-43877470', 'tenant_id': '6727a6fa1c26464089bce2827f85b0de', 'project_id': '6727a6fa1c26464089bce2827f85b0de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88812611', 'ctest-ext_vn-43877470'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 01:54:22,419 - DEBUG - Response for create_subnet : {'subnet': {'id': '50485db3-ddf9-4114-9c46-8c2bdf374e0a', 'name': '', 'tenant_id': '6727a6fa1c26464089bce2827f85b0de', 'network_id': 'cbbb4dbc-801e-4f45-95b8-680dc0eb3006', 'ip_version': 4, 'cidr': '38.191.54.128/26', 'allocation_pools': [{'start': '38.191.54.130', 'end': '38.191.54.190'}], 'gateway_ip': '38.191.54.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.191.54.130', 'tags': [], 'project_id': '6727a6fa1c26464089bce2827f85b0de'}} 2025-11-20 01:54:22,436 - INFO - Created VN ctest-ext_vn-43877470 2025-11-20 01:54:22,486 - DEBUG - VN ctest-ext_vn-43877470 UUID is cbbb4dbc-801e-4f45-95b8-680dc0eb3006 2025-11-20 01:54:22,658 - DEBUG - Services list from nova: [, , ] 2025-11-20 01:54:23,675 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4769-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4769-1) 2025-11-20 01:54:24,827 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4769-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4769-1) 2025-11-20 01:54:24,910 - INFO - Setting gateway for router 0d36a39f-850d-42e7-a7de-ae7aa8dbf9f6 to network cbbb4dbc-801e-4f45-95b8-680dc0eb3006 2025-11-20 01:54:24,969 - INFO - Adding interface with subnet_id 105a23d4-cef5-4e7c-befe-ae201ba9d97e, port_id None to router 0d36a39f-850d-42e7-a7de-ae7aa8dbf9f6 2025-11-20 01:54:25,417 - INFO - Waiting for VM ctest-TestRoutersBasic-88812611-56732238 to be up.. 2025-11-20 01:54:25,609 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 01:54:30,699 - DEBUG - VM is in ACTIVE state now 2025-11-20 01:54:30,699 - INFO - VM name : ctest-TestRoutersBasic-88812611-56732238 2025-11-20 01:54:30,776 - DEBUG - VM ctest-TestRoutersBasic-88812611-56732238 ID is a9f59d2a-13df-421b-9ef3-d01d5b22d0d5 2025-11-20 01:54:30,794 - DEBUG - VM ctest-TestRoutersBasic-88812611-56732238 launched on Node cn-jenkins-deploy-platform-ansible-os-4769-1 2025-11-20 01:54:30,863 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/a9f59d2a-13df-421b-9ef3-d01d5b22d0d5 2025-11-20 01:54:31,159 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/a9f59d2a-13df-421b-9ef3-d01d5b22d0d5 2025-11-20 01:54:31,195 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/afea941e-3d0a-44b8-82e6-7f20ef9dc7cd 2025-11-20 01:54:34,453 - 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 1017ms') 2025-11-20 01:54:34,453 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88812611-56732238 failed! 2025-11-20 01:54:34,506 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88812611:ctest-vn-42635971 is 110.10.174.193 and allocation pool is NOT set 2025-11-20 01:54:36,564 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.409 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.409/1.583/2.758/1.174 ms') 2025-11-20 01:54:36,565 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88812611-56732238 passed 2025-11-20 01:54:36,710 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:54:36,711 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88812611-56732238, IP 110.10.174.195, Port 22 2025-11-20 01:54:36,862 - DEBUG - VM ctest-TestRoutersBasic-88812611-56732238 is ready for SSH connections 2025-11-20 01:54:36,862 - INFO - Waiting for VM ctest-TestRoutersBasic-88812611-26235077 to be up.. 2025-11-20 01:54:36,940 - DEBUG - VM is in ACTIVE state now 2025-11-20 01:54:36,940 - INFO - VM name : ctest-TestRoutersBasic-88812611-26235077 2025-11-20 01:54:37,018 - DEBUG - VM ctest-TestRoutersBasic-88812611-26235077 ID is da7cbd19-90c0-48b7-9339-979ab4650c07 2025-11-20 01:54:37,018 - DEBUG - VM ctest-TestRoutersBasic-88812611-26235077 launched on Node cn-jenkins-deploy-platform-ansible-os-4769-1 2025-11-20 01:54:37,100 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/da7cbd19-90c0-48b7-9339-979ab4650c07 2025-11-20 01:54:37,110 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/57aa4aff-1794-4b7a-b013-52f50f5ded56 2025-11-20 01:54:38,346 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.373 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.373/1.547/2.722/1.174 ms') 2025-11-20 01:54:38,346 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88812611-26235077 passed 2025-11-20 01:54:38,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:54:38,495 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88812611-26235077, IP 38.191.54.131, Port 22 2025-11-20 01:54:38,650 - DEBUG - VM ctest-TestRoutersBasic-88812611-26235077 is ready for SSH connections 2025-11-20 01:54:38,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:54:38,650 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.191.54.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-20 01:54:38,650 - DEBUG - ping -s 56 -c 3 -W 1 38.191.54.131 2025-11-20 01:54:42,360 - DEBUG - PING 38.191.54.131 (38.191.54.131): 56 data bytes 64 bytes from 38.191.54.131: seq=0 ttl=62 time=7.445 ms 64 bytes from 38.191.54.131: seq=1 ttl=62 time=0.820 ms 64 bytes from 38.191.54.131: seq=2 ttl=62 time=0.921 ms --- 38.191.54.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.820/3.062/7.445 ms 2025-11-20 01:54:42,360 - INFO - Ping to IP 38.191.54.131 from VM ctest-TestRoutersBasic-88812611-56732238 passed 2025-11-20 01:54:42,361 - INFO - Deleting interface with subnet_id 105a23d4-cef5-4e7c-befe-ae201ba9d97e, port_id None from router 0d36a39f-850d-42e7-a7de-ae7aa8dbf9f6 2025-11-20 01:54:42,529 - INFO - Deleting VM ctest-TestRoutersBasic-88812611-26235077 2025-11-20 01:54:42,600 - INFO - Deleting VM ctest-TestRoutersBasic-88812611-56732238 2025-11-20 01:54:42,679 - INFO - Deleting VN ctest-ext_vn-43877470 2025-11-20 01:54:42,740 - DEBUG - VN cbbb4dbc-801e-4f45-95b8-680dc0eb3006 still in use: Unable to complete operation on network cbbb4dbc-801e-4f45-95b8-680dc0eb3006. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2bfba25b-7c68-45da-adf2-38318b5d1cbc'] 2025-11-20 01:54:42,740 - WARNING - Deleting VN ctest-ext_vn-43877470 failed..Will retry 2025-11-20 01:54:44,829 - DEBUG - Response for deleting network () 2025-11-20 01:54:44,829 - INFO - Deleting VN ctest-vn-42635971 2025-11-20 01:54:44,918 - DEBUG - Response for deleting network () 2025-11-20 01:54:45,171 - DEBUG - No XMPP flaps were noticed during the test
2025-11-20 01:54:45,171 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-20 01:54:45,171 - INFO - -------------------------------------------------------------------------------- 2025-11-20 01:54:45,850 - INFO - Deleted project: ctest-TestRoutersBasic-88812611, ID : 6727a6fa-1c26-4640-89bc-e2827f85b0de