2025-10-28 08:54:40,730 - INFO - Reading existing Domain with UUID 3e60116d-6a4a-4c62-bccd-443e6f5e662f 2025-10-28 08:54:40,742 - INFO - Using existing domain ['admin_domain'](3e60116d-6a4a-4c62-bccd-443e6f5e662f) 2025-10-28 08:54:40,971 - INFO - Project ctest-TestRoutersBasic-97707600 not found, creating it 2025-10-28 08:54:41,501 - INFO - Created Project:ctest-TestRoutersBasic-97707600, ID : f2da2894-24c3-4228-8c3e-8917ef947930 2025-10-28 08:54:43,347 - INFO - ================================================================================ 2025-10-28 08:54:43,347 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-28 08:54:43,347 - 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-28 08:54:43,742 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.0.0.38': '0'}} with 2025-10-28 08:54:43,742 - INFO - Initial checks done. Running the testcase now 2025-10-28 08:54:43,742 - INFO - 2025-10-28 08:54:44,589 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-97707600 2025-10-28 08:54:44,688 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-97707600 2025-10-28 08:54:45,020 - DEBUG - Reading firewall policy {'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-97707600', 'default']} 2025-10-28 08:54:45,509 - DEBUG - Response for create_network : {'network': {'id': 'e36c4bd7-e2ee-4e4a-9d41-83829f481e55', 'name': 'ctest-vn-77327506', 'tenant_id': 'f2da289424c342288c3e8917ef947930', 'project_id': 'f2da289424c342288c3e8917ef947930', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-97707600', 'ctest-vn-77327506'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-28 08:54:45,745 - DEBUG - Response for create_subnet : {'subnet': {'id': '884afafc-5be4-455d-9052-2335449a4f79', 'name': '', 'tenant_id': 'f2da289424c342288c3e8917ef947930', 'network_id': 'e36c4bd7-e2ee-4e4a-9d41-83829f481e55', 'ip_version': 4, 'cidr': '65.31.60.0/26', 'allocation_pools': [{'start': '65.31.60.2', 'end': '65.31.60.62'}], 'gateway_ip': '65.31.60.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-28T08:54:45.646035', 'updated_at': '2025-10-28T08:54:45.646035', 'dns_server_address': '65.31.60.2', 'tags': [], 'project_id': 'f2da289424c342288c3e8917ef947930'}} 2025-10-28 08:54:45,814 - INFO - Created VN ctest-vn-77327506 2025-10-28 08:54:45,868 - DEBUG - VN ctest-vn-77327506 UUID is e36c4bd7-e2ee-4e4a-9d41-83829f481e55 2025-10-28 08:54:46,397 - DEBUG - Response for create_network : {'network': {'id': '1e895afe-5367-4b1a-b521-1cd9fcffbd50', 'name': 'ctest-ext_vn-65499675', 'tenant_id': 'f2da289424c342288c3e8917ef947930', 'project_id': 'f2da289424c342288c3e8917ef947930', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRoutersBasic-97707600', 'ctest-ext_vn-65499675'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-28 08:54:46,661 - DEBUG - Response for create_subnet : {'subnet': {'id': '73cac2db-d9e3-45b8-b2c2-2a2fdb314ba6', 'name': '', 'tenant_id': 'f2da289424c342288c3e8917ef947930', 'network_id': '1e895afe-5367-4b1a-b521-1cd9fcffbd50', 'ip_version': 4, 'cidr': '145.104.236.0/26', 'allocation_pools': [{'start': '145.104.236.2', 'end': '145.104.236.62'}], 'gateway_ip': '145.104.236.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-28T08:54:46.556505', 'updated_at': '2025-10-28T08:54:46.556505', 'dns_server_address': '145.104.236.2', 'tags': [], 'project_id': 'f2da289424c342288c3e8917ef947930'}} 2025-10-28 08:54:46,770 - INFO - Created VN ctest-ext_vn-65499675 2025-10-28 08:54:46,824 - DEBUG - VN ctest-ext_vn-65499675 UUID is 1e895afe-5367-4b1a-b521-1cd9fcffbd50 2025-10-28 08:54:47,102 - DEBUG - Services list from nova: [, , ] 2025-10-28 08:54:48,229 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-609-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-609-1) 2025-10-28 08:54:49,621 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-609-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-609-1) 2025-10-28 08:54:49,777 - INFO - Setting gateway for router 72947a10-991c-45bd-87e1-60be46bf6c31 to network 1e895afe-5367-4b1a-b521-1cd9fcffbd50 2025-10-28 08:54:49,929 - INFO - Adding interface with subnet_id 884afafc-5be4-455d-9052-2335449a4f79, port_id None to router 72947a10-991c-45bd-87e1-60be46bf6c31 2025-10-28 08:54:50,635 - INFO - Waiting for VM ctest-TestRoutersBasic-97707600-07386988 to be up.. 2025-10-28 08:54:50,809 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-28 08:54:55,954 - DEBUG - VM is in ACTIVE state now 2025-10-28 08:54:55,955 - INFO - VM name : ctest-TestRoutersBasic-97707600-07386988 2025-10-28 08:54:56,094 - DEBUG - VM ctest-TestRoutersBasic-97707600-07386988 ID is 0d62979e-bb48-45cb-9af0-b3928fee581d 2025-10-28 08:54:56,135 - DEBUG - VM ctest-TestRoutersBasic-97707600-07386988 launched on Node cn-jenkins-deploy-platform-juju-os-609-1 2025-10-28 08:54:56,287 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine/0d62979e-bb48-45cb-9af0-b3928fee581d 2025-10-28 08:54:56,639 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine/0d62979e-bb48-45cb-9af0-b3928fee581d 2025-10-28 08:54:56,729 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine-interface/f63d9a4c-a1e7-4555-b093-892f54be8fa7 2025-10-28 08:55:00,221 - 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 1010ms') 2025-10-28 08:55:00,222 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97707600-07386988 failed! 2025-10-28 08:55:00,280 - DEBUG - Gateway for vn admin_domain:ctest-TestRoutersBasic-97707600:ctest-vn-77327506 is 65.31.60.1 and allocation pool is NOT set 2025-10-28 08:55:02,380 - 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=6.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.47 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.471/5.073/6.676/1.602 ms') 2025-10-28 08:55:02,380 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97707600-07386988 passed 2025-10-28 08:55:02,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 08:55:02,600 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97707600-07386988, IP 65.31.60.3, Port 22 2025-10-28 08:55:02,695 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-28 08:55:02,832 - DEBUG - VM ctest-TestRoutersBasic-97707600-07386988 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-28 08:55:07,833 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 08:55:07,833 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97707600-07386988, IP 65.31.60.3, Port 22 2025-10-28 08:55:08,046 - DEBUG - VM ctest-TestRoutersBasic-97707600-07386988 is ready for SSH connections 2025-10-28 08:55:08,046 - INFO - Waiting for VM ctest-TestRoutersBasic-97707600-67485218 to be up.. 2025-10-28 08:55:08,186 - DEBUG - VM is in ACTIVE state now 2025-10-28 08:55:08,186 - INFO - VM name : ctest-TestRoutersBasic-97707600-67485218 2025-10-28 08:55:08,319 - DEBUG - VM ctest-TestRoutersBasic-97707600-67485218 ID is 763dac19-0d70-40cd-88d8-e8ee51e8ea06 2025-10-28 08:55:08,319 - DEBUG - VM ctest-TestRoutersBasic-97707600-67485218 launched on Node cn-jenkins-deploy-platform-juju-os-609-1 2025-10-28 08:55:08,460 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine/763dac19-0d70-40cd-88d8-e8ee51e8ea06 2025-10-28 08:55:08,517 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-machine-interface/beb0bbb1-04ca-43c9-a2ac-5cf443f008ee 2025-10-28 08:55:09,967 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.323 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.323/1.840/3.357/1.517 ms') 2025-10-28 08:55:09,967 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-97707600-67485218 passed 2025-10-28 08:55:10,120 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 08:55:10,120 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97707600-67485218, IP 145.104.236.3, Port 22 2025-10-28 08:55:10,342 - DEBUG - VM ctest-TestRoutersBasic-97707600-67485218 is ready for SSH connections 2025-10-28 08:55:10,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 08:55:10,343 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 145.104.236.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-28 08:55:10,343 - DEBUG - ping -s 56 -c 3 -W 1 145.104.236.3 2025-10-28 08:55:14,094 - DEBUG - PING 145.104.236.3 (145.104.236.3): 56 data bytes 64 bytes from 145.104.236.3: seq=0 ttl=62 time=7.679 ms 64 bytes from 145.104.236.3: seq=1 ttl=62 time=0.944 ms 64 bytes from 145.104.236.3: seq=2 ttl=62 time=1.033 ms --- 145.104.236.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.944/3.218/7.679 ms 2025-10-28 08:55:14,094 - INFO - Ping to IP 145.104.236.3 from VM ctest-TestRoutersBasic-97707600-07386988 passed 2025-10-28 08:55:14,095 - INFO - Deleting interface with subnet_id 884afafc-5be4-455d-9052-2335449a4f79, port_id None from router 72947a10-991c-45bd-87e1-60be46bf6c31 2025-10-28 08:55:14,479 - INFO - Deleting VM ctest-TestRoutersBasic-97707600-67485218 2025-10-28 08:55:14,587 - INFO - Deleting VM ctest-TestRoutersBasic-97707600-07386988 2025-10-28 08:55:14,697 - INFO - Deleting VN ctest-ext_vn-65499675 2025-10-28 08:55:14,886 - DEBUG - VN 1e895afe-5367-4b1a-b521-1cd9fcffbd50 still in use: Unable to complete operation on network 1e895afe-5367-4b1a-b521-1cd9fcffbd50. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-816c5811-958b-495c-a82a-76d4d8e7b800'] 2025-10-28 08:55:14,886 - WARNING - Deleting VN ctest-ext_vn-65499675 failed..Will retry 2025-10-28 08:55:17,060 - DEBUG - Response for deleting network () 2025-10-28 08:55:17,060 - INFO - Deleting VN ctest-vn-77327506 2025-10-28 08:55:17,286 - DEBUG - Response for deleting network () 2025-10-28 08:55:17,685 - DEBUG - No XMPP flaps were noticed during the test 2025-10-28 08:55:17,685 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34] 2025-10-28 08:55:17,685 - INFO - -------------------------------------------------------------------------------- 2025-10-28 08:55:18,423 - INFO - Deleted project: ctest-TestRoutersBasic-97707600, ID : f2da2894-24c3-4228-8c3e-8917ef947930