2025-07-21 12:12:00,040 - INFO - Domain Default found not creating 2025-07-21 12:12:00,182 - INFO - Project ctest-TestRoutersBasic-77038601 not found, creating it 2025-07-21 12:12:00,617 - INFO - Created Project:ctest-TestRoutersBasic-77038601, ID : 773a75a6-bd47-4e72-9cb3-9cf575203d0a 2025-07-21 12:12:02,038 - INFO - ================================================================================ 2025-07-21 12:12:02,038 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-21 12:12:02,038 - 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-07-21 12:12:02,294 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-07-21 12:12:02,294 - INFO - Initial checks done. Running the testcase now 2025-07-21 12:12:02,294 - INFO - 2025-07-21 12:12:02,995 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-77038601 2025-07-21 12:12:03,090 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-77038601 2025-07-21 12:12:03,414 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77038601', 'default']} 2025-07-21 12:12:03,717 - DEBUG - Response for create_network : {'network': {'id': 'fa96b999-511b-4f92-80f2-92e6464129f3', 'name': 'ctest-vn-88645372', 'tenant_id': '773a75a6bd474e729cb39cf575203d0a', 'project_id': '773a75a6bd474e729cb39cf575203d0a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77038601', 'ctest-vn-88645372'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 12:12:03,896 - DEBUG - Response for create_subnet : {'subnet': {'id': '9dc3b2c4-8c2d-47a6-81a0-ca8fb97cf052', 'name': '', 'tenant_id': '773a75a6bd474e729cb39cf575203d0a', 'network_id': 'fa96b999-511b-4f92-80f2-92e6464129f3', 'ip_version': 4, 'cidr': '80.33.182.192/26', 'allocation_pools': [{'start': '80.33.182.194', 'end': '80.33.182.254'}], 'gateway_ip': '80.33.182.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.33.182.194', 'tags': [], 'project_id': '773a75a6bd474e729cb39cf575203d0a'}} 2025-07-21 12:12:03,914 - INFO - Created VN ctest-vn-88645372 2025-07-21 12:12:03,966 - DEBUG - VN ctest-vn-88645372 UUID is fa96b999-511b-4f92-80f2-92e6464129f3 2025-07-21 12:12:04,323 - DEBUG - Response for create_network : {'network': {'id': '764bec19-d328-49ba-8e8b-d4e414ddd0c4', 'name': 'ctest-ext_vn-84599454', 'tenant_id': '773a75a6bd474e729cb39cf575203d0a', 'project_id': '773a75a6bd474e729cb39cf575203d0a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-77038601', 'ctest-ext_vn-84599454'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 12:12:04,523 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e5ed9b7e-099b-4563-8346-358b79cf16fb', 'name': '', 'tenant_id': '773a75a6bd474e729cb39cf575203d0a', 'network_id': '764bec19-d328-49ba-8e8b-d4e414ddd0c4', 'ip_version': 4, 'cidr': '183.90.103.0/26', 'allocation_pools': [{'start': '183.90.103.2', 'end': '183.90.103.62'}], 'gateway_ip': '183.90.103.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.90.103.2', 'tags': [], 'project_id': '773a75a6bd474e729cb39cf575203d0a'}} 2025-07-21 12:12:04,549 - INFO - Created VN ctest-ext_vn-84599454 2025-07-21 12:12:04,606 - DEBUG - VN ctest-ext_vn-84599454 UUID is 764bec19-d328-49ba-8e8b-d4e414ddd0c4 2025-07-21 12:12:04,787 - DEBUG - Services list from nova: [, , ] 2025-07-21 12:12:05,779 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3678-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3678-1) 2025-07-21 12:12:07,034 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3678-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3678-1) 2025-07-21 12:12:07,103 - INFO - Setting gateway for router 2ba88e72-71e2-4e1a-9d80-bdccfc3e170d to network 764bec19-d328-49ba-8e8b-d4e414ddd0c4 2025-07-21 12:12:07,175 - INFO - Adding interface with subnet_id 9dc3b2c4-8c2d-47a6-81a0-ca8fb97cf052, port_id None to router 2ba88e72-71e2-4e1a-9d80-bdccfc3e170d 2025-07-21 12:12:07,623 - INFO - Waiting for VM ctest-TestRoutersBasic-77038601-38918405 to be up.. 2025-07-21 12:12:07,753 - DEBUG - VM is in ACTIVE state now 2025-07-21 12:12:07,753 - INFO - VM name : ctest-TestRoutersBasic-77038601-38918405 2025-07-21 12:12:07,878 - DEBUG - VM ctest-TestRoutersBasic-77038601-38918405 ID is 8436a498-5732-4c91-9279-fb76cdcbf3fb 2025-07-21 12:12:07,904 - DEBUG - VM ctest-TestRoutersBasic-77038601-38918405 launched on Node cn-jenkins-deploy-platform-ansible-os-3678-1 2025-07-21 12:12:08,017 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/8436a498-5732-4c91-9279-fb76cdcbf3fb 2025-07-21 12:12:08,347 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/8436a498-5732-4c91-9279-fb76cdcbf3fb 2025-07-21 12:12:08,391 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/a808afae-9f94-49a4-9980-612bc977b057 2025-07-21 12:12:11,676 - 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 1032ms') 2025-07-21 12:12:11,676 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77038601-38918405 failed! 2025-07-21 12:12:11,730 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-77038601:ctest-vn-88645372 is 80.33.182.193 and allocation pool is NOT set 2025-07-21 12:12:15,804 - 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-07-21 12:12:15,804 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77038601-38918405 failed! 2025-07-21 12:12:15,858 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-77038601:ctest-vn-88645372 is 80.33.182.193 and allocation pool is NOT set 2025-07-21 12:12:17,920 - 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.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.333 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.333/1.786/3.239/1.453 ms') 2025-07-21 12:12:17,920 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-77038601-38918405 passed 2025-07-21 12:12:18,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:12:18,074 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77038601-38918405, IP 80.33.182.195, Port 22 2025-07-21 12:12:18,225 - DEBUG - VM ctest-TestRoutersBasic-77038601-38918405 is ready for SSH connections 2025-07-21 12:12:18,226 - INFO - Waiting for VM ctest-TestRoutersBasic-77038601-42426731 to be up.. 2025-07-21 12:12:18,298 - DEBUG - VM is in ACTIVE state now 2025-07-21 12:12:18,298 - INFO - VM name : ctest-TestRoutersBasic-77038601-42426731 2025-07-21 12:12:18,378 - DEBUG - VM ctest-TestRoutersBasic-77038601-42426731 ID is e6ed3116-a19f-457c-bb96-c61083323ec2 2025-07-21 12:12:18,378 - DEBUG - VM ctest-TestRoutersBasic-77038601-42426731 launched on Node cn-jenkins-deploy-platform-ansible-os-3678-1 2025-07-21 12:12:18,452 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/e6ed3116-a19f-457c-bb96-c61083323ec2 2025-07-21 12:12:18,462 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/e405b0d5-ae63-4c4b-90ec-673306490b8b 2025-07-21 12:12:19,700 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.584 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.584/1.693/2.803/1.109 ms') 2025-07-21 12:12:19,700 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-77038601-42426731 passed 2025-07-21 12:12:19,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:12:19,850 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-77038601-42426731, IP 183.90.103.3, Port 22 2025-07-21 12:12:20,010 - DEBUG - VM ctest-TestRoutersBasic-77038601-42426731 is ready for SSH connections 2025-07-21 12:12:20,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 12:12:20,010 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.90.103.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-21 12:12:20,010 - DEBUG - ping -s 56 -c 3 -W 1 183.90.103.3 2025-07-21 12:12:23,972 - DEBUG - PING 183.90.103.3 (183.90.103.3): 56 data bytes 64 bytes from 183.90.103.3: seq=0 ttl=62 time=5.741 ms 64 bytes from 183.90.103.3: seq=1 ttl=62 time=1.033 ms 64 bytes from 183.90.103.3: seq=2 ttl=62 time=0.880 ms --- 183.90.103.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.880/2.551/5.741 ms 2025-07-21 12:12:23,972 - INFO - Ping to IP 183.90.103.3 from VM ctest-TestRoutersBasic-77038601-38918405 passed 2025-07-21 12:12:23,972 - INFO - Deleting interface with subnet_id 9dc3b2c4-8c2d-47a6-81a0-ca8fb97cf052, port_id None from router 2ba88e72-71e2-4e1a-9d80-bdccfc3e170d 2025-07-21 12:12:24,169 - INFO - Deleting VM ctest-TestRoutersBasic-77038601-42426731 2025-07-21 12:12:24,240 - INFO - Deleting VM ctest-TestRoutersBasic-77038601-38918405 2025-07-21 12:12:24,333 - INFO - Deleting VN ctest-ext_vn-84599454 2025-07-21 12:12:24,414 - DEBUG - VN 764bec19-d328-49ba-8e8b-d4e414ddd0c4 still in use: Unable to complete operation on network 764bec19-d328-49ba-8e8b-d4e414ddd0c4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7898bbac-4bf1-4799-9886-8b1e2591ae81'] 2025-07-21 12:12:24,414 - WARNING - Deleting VN ctest-ext_vn-84599454 failed..Will retry 2025-07-21 12:12:26,529 - DEBUG - Response for deleting network () 2025-07-21 12:12:26,529 - INFO - Deleting VN ctest-vn-88645372 2025-07-21 12:12:26,626 - DEBUG - Response for deleting network () 2025-07-21 12:12:26,880 - DEBUG - No XMPP flaps were noticed during the test
2025-07-21 12:12:26,880 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2025-07-21 12:12:26,880 - INFO - -------------------------------------------------------------------------------- 2025-07-21 12:12:27,538 - INFO - Deleted project: ctest-TestRoutersBasic-77038601, ID : 773a75a6-bd47-4e72-9cb3-9cf575203d0a