2026-03-09 02:16:03,403 - INFO - Domain Default found not creating 2026-03-09 02:16:03,612 - INFO - Project ctest-TestRoutersBasic-98484013 not found, creating it 2026-03-09 02:16:04,129 - INFO - Created Project:ctest-TestRoutersBasic-98484013, ID : bcef7059-4442-4287-9e58-0c194d0ac685 2026-03-09 02:16:05,768 - INFO - ================================================================================ 2026-03-09 02:16:05,768 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-09 02:16:05,769 - 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 2026-03-09 02:16:06,037 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.200': '0'}} with 2026-03-09 02:16:06,037 - INFO - Initial checks done. Running the testcase now 2026-03-09 02:16:06,037 - INFO - 2026-03-09 02:16:06,793 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-98484013 2026-03-09 02:16:06,892 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-98484013 2026-03-09 02:16:07,212 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98484013', 'default']} 2026-03-09 02:16:07,520 - DEBUG - Response for create_network : {'network': {'id': '370b469d-97e6-47b2-9d57-0e9d09bd41d9', 'name': 'ctest-vn-85299510', 'tenant_id': 'bcef7059444242879e580c194d0ac685', 'project_id': 'bcef7059444242879e580c194d0ac685', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98484013', 'ctest-vn-85299510'], 'port_security_enabled': True, 'description': ''}} 2026-03-09 02:16:07,771 - DEBUG - Response for create_subnet : {'subnet': {'id': '0686ffd8-281d-4330-a4cb-bae99436aa97', 'name': '', 'tenant_id': 'bcef7059444242879e580c194d0ac685', 'network_id': '370b469d-97e6-47b2-9d57-0e9d09bd41d9', 'ip_version': 4, 'cidr': '187.239.222.64/26', 'allocation_pools': [{'start': '187.239.222.66', 'end': '187.239.222.126'}], 'gateway_ip': '187.239.222.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.239.222.66', 'tags': [], 'project_id': 'bcef7059444242879e580c194d0ac685'}} 2026-03-09 02:16:07,789 - INFO - Created VN ctest-vn-85299510 2026-03-09 02:16:07,844 - DEBUG - VN ctest-vn-85299510 UUID is 370b469d-97e6-47b2-9d57-0e9d09bd41d9 2026-03-09 02:16:08,169 - DEBUG - Response for create_network : {'network': {'id': 'e454c40e-affb-498e-aaf4-22ca0cca7c17', 'name': 'ctest-ext_vn-65544991', 'tenant_id': 'bcef7059444242879e580c194d0ac685', 'project_id': 'bcef7059444242879e580c194d0ac685', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98484013', 'ctest-ext_vn-65544991'], 'port_security_enabled': True, 'description': ''}} 2026-03-09 02:16:08,388 - DEBUG - Response for create_subnet : {'subnet': {'id': '18716b9d-d329-4fa7-91f4-00c5829b5368', 'name': '', 'tenant_id': 'bcef7059444242879e580c194d0ac685', 'network_id': 'e454c40e-affb-498e-aaf4-22ca0cca7c17', 'ip_version': 4, 'cidr': '107.145.118.0/26', 'allocation_pools': [{'start': '107.145.118.2', 'end': '107.145.118.62'}], 'gateway_ip': '107.145.118.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.145.118.2', 'tags': [], 'project_id': 'bcef7059444242879e580c194d0ac685'}} 2026-03-09 02:16:08,405 - INFO - Created VN ctest-ext_vn-65544991 2026-03-09 02:16:08,456 - DEBUG - VN ctest-ext_vn-65544991 UUID is e454c40e-affb-498e-aaf4-22ca0cca7c17 2026-03-09 02:16:08,665 - DEBUG - Services list from nova: [, , ] 2026-03-09 02:16:09,749 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5453-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5453-1) 2026-03-09 02:16:10,973 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5453-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5453-1) 2026-03-09 02:16:11,046 - INFO - Setting gateway for router c3c392bc-a91e-4a9f-9bca-9be590012785 to network e454c40e-affb-498e-aaf4-22ca0cca7c17 2026-03-09 02:16:11,141 - INFO - Adding interface with subnet_id 0686ffd8-281d-4330-a4cb-bae99436aa97, port_id None to router c3c392bc-a91e-4a9f-9bca-9be590012785 2026-03-09 02:16:11,499 - INFO - Waiting for VM ctest-TestRoutersBasic-98484013-51365917 to be up.. 2026-03-09 02:16:11,622 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-09 02:16:16,703 - DEBUG - VM is in ACTIVE state now 2026-03-09 02:16:16,703 - INFO - VM name : ctest-TestRoutersBasic-98484013-51365917 2026-03-09 02:16:16,781 - DEBUG - VM ctest-TestRoutersBasic-98484013-51365917 ID is 8e0f2261-53d0-4b39-a0a0-cc86eb725bec 2026-03-09 02:16:16,806 - DEBUG - VM ctest-TestRoutersBasic-98484013-51365917 launched on Node cn-jenkins-deploy-platform-ansible-os-5453-1 2026-03-09 02:16:16,894 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8e0f2261-53d0-4b39-a0a0-cc86eb725bec 2026-03-09 02:16:17,202 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8e0f2261-53d0-4b39-a0a0-cc86eb725bec 2026-03-09 02:16:17,248 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/18edb0b7-cfe6-4fd4-a455-0db3c52630f6 2026-03-09 02:16:20,527 - 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 1026ms') 2026-03-09 02:16:20,527 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98484013-51365917 failed! 2026-03-09 02:16:20,584 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-98484013:ctest-vn-85299510 is 187.239.222.65 and allocation pool is NOT set 2026-03-09 02:16:22,643 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.20 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 = 1.199/2.572/3.946/1.373 ms') 2026-03-09 02:16:22,643 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98484013-51365917 passed 2026-03-09 02:16:22,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 02:16:22,792 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98484013-51365917, IP 187.239.222.67, Port 22 2026-03-09 02:16:22,959 - DEBUG - VM ctest-TestRoutersBasic-98484013-51365917 is ready for SSH connections 2026-03-09 02:16:22,959 - INFO - Waiting for VM ctest-TestRoutersBasic-98484013-50425044 to be up.. 2026-03-09 02:16:23,048 - DEBUG - VM is in ACTIVE state now 2026-03-09 02:16:23,048 - INFO - VM name : ctest-TestRoutersBasic-98484013-50425044 2026-03-09 02:16:23,133 - DEBUG - VM ctest-TestRoutersBasic-98484013-50425044 ID is 7dad800b-8baf-4762-808a-77b45727c1ea 2026-03-09 02:16:23,134 - DEBUG - VM ctest-TestRoutersBasic-98484013-50425044 launched on Node cn-jenkins-deploy-platform-ansible-os-5453-1 2026-03-09 02:16:23,216 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7dad800b-8baf-4762-808a-77b45727c1ea 2026-03-09 02:16:23,224 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9fa65613-5cbf-4031-8dde-ef76123bf4e7 2026-03-09 02:16:24,474 - 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=7.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.94 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 = 2.938/5.067/7.196/2.129 ms') 2026-03-09 02:16:24,474 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-98484013-50425044 passed 2026-03-09 02:16:24,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 02:16:24,628 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98484013-50425044, IP 107.145.118.3, Port 22 2026-03-09 02:16:24,694 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-03-09 02:16:24,777 - DEBUG - VM ctest-TestRoutersBasic-98484013-50425044 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-09 02:16:29,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 02:16:29,778 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98484013-50425044, IP 107.145.118.3, Port 22 2026-03-09 02:16:29,944 - DEBUG - VM ctest-TestRoutersBasic-98484013-50425044 is ready for SSH connections 2026-03-09 02:16:29,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 02:16:29,944 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.145.118.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-09 02:16:29,944 - DEBUG - ping -s 56 -c 3 -W 1 107.145.118.3 2026-03-09 02:16:33,675 - DEBUG - PING 107.145.118.3 (107.145.118.3): 56 data bytes 64 bytes from 107.145.118.3: seq=0 ttl=62 time=7.833 ms 64 bytes from 107.145.118.3: seq=1 ttl=62 time=1.415 ms 64 bytes from 107.145.118.3: seq=2 ttl=62 time=1.149 ms --- 107.145.118.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.149/3.465/7.833 ms 2026-03-09 02:16:33,675 - INFO - Ping to IP 107.145.118.3 from VM ctest-TestRoutersBasic-98484013-51365917 passed 2026-03-09 02:16:33,675 - INFO - Deleting interface with subnet_id 0686ffd8-281d-4330-a4cb-bae99436aa97, port_id None from router c3c392bc-a91e-4a9f-9bca-9be590012785 2026-03-09 02:16:33,906 - INFO - Deleting VM ctest-TestRoutersBasic-98484013-50425044 2026-03-09 02:16:33,989 - INFO - Deleting VM ctest-TestRoutersBasic-98484013-51365917 2026-03-09 02:16:34,078 - INFO - Deleting VN ctest-ext_vn-65544991 2026-03-09 02:16:34,169 - DEBUG - VN e454c40e-affb-498e-aaf4-22ca0cca7c17 still in use: Unable to complete operation on network e454c40e-affb-498e-aaf4-22ca0cca7c17. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-48ef6064-51ec-4bcd-9c04-dbf1d0ed92b3'] 2026-03-09 02:16:34,170 - WARNING - Deleting VN ctest-ext_vn-65544991 failed..Will retry 2026-03-09 02:16:36,273 - DEBUG - Response for deleting network () 2026-03-09 02:16:36,273 - INFO - Deleting VN ctest-vn-85299510 2026-03-09 02:16:36,372 - DEBUG - Response for deleting network () 2026-03-09 02:16:36,632 - DEBUG - No XMPP flaps were noticed during the test 2026-03-09 02:16:36,632 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31] 2026-03-09 02:16:36,632 - INFO - -------------------------------------------------------------------------------- 2026-03-09 02:16:37,368 - INFO - Deleted project: ctest-TestRoutersBasic-98484013, ID : bcef7059-4442-4287-9e58-0c194d0ac685