2025-09-19 06:29:05,286 - INFO - Domain Default found not creating 2025-09-19 06:29:05,420 - INFO - Project ctest-TestRoutersBasic-54979391 not found, creating it 2025-09-19 06:29:05,867 - INFO - Created Project:ctest-TestRoutersBasic-54979391, ID : 90714488-4695-42a6-9e60-55f2afd191e9 2025-09-19 06:29:07,288 - INFO - ================================================================================ 2025-09-19 06:29:07,288 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-19 06:29:07,288 - 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-09-19 06:29:07,547 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-09-19 06:29:07,547 - INFO - Initial checks done. Running the testcase now 2025-09-19 06:29:07,547 - INFO - 2025-09-19 06:29:08,253 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-54979391 2025-09-19 06:29:08,349 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-54979391 2025-09-19 06:29:08,677 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54979391', 'default']} 2025-09-19 06:29:08,960 - DEBUG - Response for create_network : {'network': {'id': '53570262-5f74-4add-ac79-9fa7721d2e09', 'name': 'ctest-vn-85459631', 'tenant_id': '90714488469542a69e6055f2afd191e9', 'project_id': '90714488469542a69e6055f2afd191e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54979391', 'ctest-vn-85459631'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 06:29:09,159 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9319a25-edbb-4214-be2a-009bb0ad1e40', 'name': '', 'tenant_id': '90714488469542a69e6055f2afd191e9', 'network_id': '53570262-5f74-4add-ac79-9fa7721d2e09', 'ip_version': 4, 'cidr': '207.188.81.192/26', 'allocation_pools': [{'start': '207.188.81.194', 'end': '207.188.81.254'}], 'gateway_ip': '207.188.81.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.188.81.194', 'tags': [], 'project_id': '90714488469542a69e6055f2afd191e9'}} 2025-09-19 06:29:09,176 - INFO - Created VN ctest-vn-85459631 2025-09-19 06:29:09,229 - DEBUG - VN ctest-vn-85459631 UUID is 53570262-5f74-4add-ac79-9fa7721d2e09 2025-09-19 06:29:09,538 - DEBUG - Response for create_network : {'network': {'id': '945b9226-1cd9-4568-b5a8-31134adb8de1', 'name': 'ctest-ext_vn-10661542', 'tenant_id': '90714488469542a69e6055f2afd191e9', 'project_id': '90714488469542a69e6055f2afd191e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54979391', 'ctest-ext_vn-10661542'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 06:29:09,734 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd20e26c4-e69d-4df3-9105-2b37576778f4', 'name': '', 'tenant_id': '90714488469542a69e6055f2afd191e9', 'network_id': '945b9226-1cd9-4568-b5a8-31134adb8de1', 'ip_version': 4, 'cidr': '189.115.241.64/26', 'allocation_pools': [{'start': '189.115.241.66', 'end': '189.115.241.126'}], 'gateway_ip': '189.115.241.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.115.241.66', 'tags': [], 'project_id': '90714488469542a69e6055f2afd191e9'}} 2025-09-19 06:29:09,754 - INFO - Created VN ctest-ext_vn-10661542 2025-09-19 06:29:09,809 - DEBUG - VN ctest-ext_vn-10661542 UUID is 945b9226-1cd9-4568-b5a8-31134adb8de1 2025-09-19 06:29:09,992 - DEBUG - Services list from nova: [, , ] 2025-09-19 06:29:10,977 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4146-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4146-1) 2025-09-19 06:29:12,042 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4146-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4146-1) 2025-09-19 06:29:12,096 - INFO - Setting gateway for router c876db29-ba90-470e-ae4e-0358a25191f0 to network 945b9226-1cd9-4568-b5a8-31134adb8de1 2025-09-19 06:29:12,143 - INFO - Adding interface with subnet_id d9319a25-edbb-4214-be2a-009bb0ad1e40, port_id None to router c876db29-ba90-470e-ae4e-0358a25191f0 2025-09-19 06:29:12,421 - INFO - Waiting for VM ctest-TestRoutersBasic-54979391-50364346 to be up.. 2025-09-19 06:29:12,531 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-19 06:29:17,600 - DEBUG - VM is in ACTIVE state now 2025-09-19 06:29:17,600 - INFO - VM name : ctest-TestRoutersBasic-54979391-50364346 2025-09-19 06:29:17,671 - DEBUG - VM ctest-TestRoutersBasic-54979391-50364346 ID is 41526401-d693-4ca5-b4f0-4285864e4b8b 2025-09-19 06:29:17,688 - DEBUG - VM ctest-TestRoutersBasic-54979391-50364346 launched on Node cn-jenkins-deploy-platform-ansible-os-4146-1 2025-09-19 06:29:17,757 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/41526401-d693-4ca5-b4f0-4285864e4b8b 2025-09-19 06:29:18,044 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/41526401-d693-4ca5-b4f0-4285864e4b8b 2025-09-19 06:29:18,072 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/dc0b717f-9228-4c6d-a494-3d25c1d1798e 2025-09-19 06:29:21,321 - 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 1011ms') 2025-09-19 06:29:21,321 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54979391-50364346 failed! 2025-09-19 06:29:21,373 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-54979391:ctest-vn-85459631 is 207.188.81.193 and allocation pool is NOT set 2025-09-19 06:29:23,430 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.413 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.413/1.686/2.960/1.273 ms') 2025-09-19 06:29:23,430 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54979391-50364346 passed 2025-09-19 06:29:23,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 06:29:23,577 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54979391-50364346, IP 207.188.81.195, Port 22 2025-09-19 06:29:23,729 - DEBUG - VM ctest-TestRoutersBasic-54979391-50364346 is ready for SSH connections 2025-09-19 06:29:23,729 - INFO - Waiting for VM ctest-TestRoutersBasic-54979391-58647128 to be up.. 2025-09-19 06:29:23,801 - DEBUG - VM is in ACTIVE state now 2025-09-19 06:29:23,801 - INFO - VM name : ctest-TestRoutersBasic-54979391-58647128 2025-09-19 06:29:23,864 - DEBUG - VM ctest-TestRoutersBasic-54979391-58647128 ID is dcf4962d-1618-4a8b-8fef-bc3e6c0ba3e7 2025-09-19 06:29:23,865 - DEBUG - VM ctest-TestRoutersBasic-54979391-58647128 launched on Node cn-jenkins-deploy-platform-ansible-os-4146-1 2025-09-19 06:29:23,928 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/dcf4962d-1618-4a8b-8fef-bc3e6c0ba3e7 2025-09-19 06:29:23,935 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/f7d9cf99-f9d3-4d17-bbd9-ee69a3851f5e 2025-09-19 06:29:25,173 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.382 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.382/1.960/3.539/1.578 ms') 2025-09-19 06:29:25,173 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-54979391-58647128 passed 2025-09-19 06:29:25,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 06:29:25,321 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54979391-58647128, IP 189.115.241.67, Port 22 2025-09-19 06:29:25,480 - DEBUG - VM ctest-TestRoutersBasic-54979391-58647128 is ready for SSH connections 2025-09-19 06:29:25,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 06:29:25,481 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.115.241.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-09-19 06:29:25,481 - DEBUG - ping -s 56 -c 3 -W 1 189.115.241.67 2025-09-19 06:29:29,455 - DEBUG - PING 189.115.241.67 (189.115.241.67): 56 data bytes 64 bytes from 189.115.241.67: seq=0 ttl=62 time=6.465 ms 64 bytes from 189.115.241.67: seq=1 ttl=62 time=0.971 ms 64 bytes from 189.115.241.67: seq=2 ttl=62 time=0.770 ms --- 189.115.241.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.770/2.735/6.465 ms 2025-09-19 06:29:29,455 - INFO - Ping to IP 189.115.241.67 from VM ctest-TestRoutersBasic-54979391-50364346 passed 2025-09-19 06:29:29,455 - INFO - Deleting interface with subnet_id d9319a25-edbb-4214-be2a-009bb0ad1e40, port_id None from router c876db29-ba90-470e-ae4e-0358a25191f0 2025-09-19 06:29:29,622 - INFO - Deleting VM ctest-TestRoutersBasic-54979391-58647128 2025-09-19 06:29:29,684 - INFO - Deleting VM ctest-TestRoutersBasic-54979391-50364346 2025-09-19 06:29:29,763 - INFO - Deleting VN ctest-ext_vn-10661542 2025-09-19 06:29:29,823 - DEBUG - VN 945b9226-1cd9-4568-b5a8-31134adb8de1 still in use: Unable to complete operation on network 945b9226-1cd9-4568-b5a8-31134adb8de1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8cf73f42-9053-4f4d-9018-25598a34c420'] 2025-09-19 06:29:29,823 - WARNING - Deleting VN ctest-ext_vn-10661542 failed..Will retry 2025-09-19 06:29:31,913 - DEBUG - Response for deleting network () 2025-09-19 06:29:31,913 - INFO - Deleting VN ctest-vn-85459631 2025-09-19 06:29:32,003 - DEBUG - Response for deleting network () 2025-09-19 06:29:32,258 - DEBUG - No XMPP flaps were noticed during the test 2025-09-19 06:29:32,258 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-09-19 06:29:32,258 - INFO - -------------------------------------------------------------------------------- 2025-09-19 06:29:32,913 - INFO - Deleted project: ctest-TestRoutersBasic-54979391, ID : 90714488-4695-42a6-9e60-55f2afd191e9