2025-10-30 17:13:00,790 - INFO - Domain Default found not creating 2025-10-30 17:13:01,180 - INFO - Project ctest-TestRoutersBasic-18042127 not found, creating it 2025-10-30 17:13:01,877 - INFO - Created Project:ctest-TestRoutersBasic-18042127, ID : 3600fce9-b3f5-4259-bbda-b67d16908a3d 2025-10-30 17:13:03,888 - INFO - ================================================================================ 2025-10-30 17:13:03,888 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-30 17:13:03,888 - 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-30 17:13:04,222 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-10-30 17:13:04,222 - INFO - Initial checks done. Running the testcase now 2025-10-30 17:13:04,222 - INFO - 2025-10-30 17:13:05,103 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-18042127 2025-10-30 17:13:05,210 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-18042127 2025-10-30 17:13:05,586 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18042127', 'default']} 2025-10-30 17:13:06,077 - DEBUG - Response for create_network : {'network': {'id': '65459fce-82c5-461f-90cb-491177245b90', 'name': 'ctest-vn-31949398', 'tenant_id': '3600fce9b3f54259bbdab67d16908a3d', 'project_id': '3600fce9b3f54259bbdab67d16908a3d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18042127', 'ctest-vn-31949398'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 17:13:06,256 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dbfc3b20-6f09-4be5-9696-c178815f720b', 'name': '', 'tenant_id': '3600fce9b3f54259bbdab67d16908a3d', 'network_id': '65459fce-82c5-461f-90cb-491177245b90', 'ip_version': 4, 'cidr': '105.35.236.192/26', 'allocation_pools': [{'start': '105.35.236.194', 'end': '105.35.236.254'}], 'gateway_ip': '105.35.236.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.35.236.194', 'tags': [], 'project_id': '3600fce9b3f54259bbdab67d16908a3d'}} 2025-10-30 17:13:06,278 - INFO - Created VN ctest-vn-31949398 2025-10-30 17:13:06,334 - DEBUG - VN ctest-vn-31949398 UUID is 65459fce-82c5-461f-90cb-491177245b90 2025-10-30 17:13:06,856 - DEBUG - Response for create_network : {'network': {'id': '5dae1796-a290-4360-9aee-c3a3cda17f47', 'name': 'ctest-ext_vn-07887728', 'tenant_id': '3600fce9b3f54259bbdab67d16908a3d', 'project_id': '3600fce9b3f54259bbdab67d16908a3d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18042127', 'ctest-ext_vn-07887728'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 17:13:07,058 - DEBUG - Response for create_subnet : {'subnet': {'id': '0195aa25-24a7-4bcf-9fe7-f2c83ac2627b', 'name': '', 'tenant_id': '3600fce9b3f54259bbdab67d16908a3d', 'network_id': '5dae1796-a290-4360-9aee-c3a3cda17f47', 'ip_version': 4, 'cidr': '165.14.102.0/26', 'allocation_pools': [{'start': '165.14.102.2', 'end': '165.14.102.62'}], 'gateway_ip': '165.14.102.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.14.102.2', 'tags': [], 'project_id': '3600fce9b3f54259bbdab67d16908a3d'}} 2025-10-30 17:13:07,077 - INFO - Created VN ctest-ext_vn-07887728 2025-10-30 17:13:07,134 - DEBUG - VN ctest-ext_vn-07887728 UUID is 5dae1796-a290-4360-9aee-c3a3cda17f47 2025-10-30 17:13:07,364 - DEBUG - Services list from nova: [, , ] 2025-10-30 17:13:08,785 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4549-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4549-1) 2025-10-30 17:13:10,097 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4549-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4549-1) 2025-10-30 17:13:10,200 - INFO - Setting gateway for router bcdb8683-52be-4905-8460-d0adc1766a2a to network 5dae1796-a290-4360-9aee-c3a3cda17f47 2025-10-30 17:13:10,256 - INFO - Adding interface with subnet_id dbfc3b20-6f09-4be5-9696-c178815f720b, port_id None to router bcdb8683-52be-4905-8460-d0adc1766a2a 2025-10-30 17:13:10,585 - INFO - Waiting for VM ctest-TestRoutersBasic-18042127-40169108 to be up.. 2025-10-30 17:13:10,752 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 17:13:15,893 - DEBUG - VM is in ACTIVE state now 2025-10-30 17:13:15,893 - INFO - VM name : ctest-TestRoutersBasic-18042127-40169108 2025-10-30 17:13:16,012 - DEBUG - VM ctest-TestRoutersBasic-18042127-40169108 ID is 53d35025-4ff0-4933-b347-18a52af207ba 2025-10-30 17:13:16,031 - DEBUG - VM ctest-TestRoutersBasic-18042127-40169108 launched on Node cn-jenkins-deploy-platform-ansible-os-4549-1 2025-10-30 17:13:16,115 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/53d35025-4ff0-4933-b347-18a52af207ba 2025-10-30 17:13:16,414 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/53d35025-4ff0-4933-b347-18a52af207ba 2025-10-30 17:13:16,467 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8c8eabb5-3ad6-4455-957b-6a74e4c7fc1f 2025-10-30 17:13:19,738 - 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 1027ms') 2025-10-30 17:13:19,738 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18042127-40169108 failed! 2025-10-30 17:13:19,803 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-18042127:ctest-vn-31949398 is 105.35.236.193 and allocation pool is NOT set 2025-10-30 17:13:21,883 - 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=9.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.33 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.331/6.478/9.625/3.147 ms') 2025-10-30 17:13:21,884 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18042127-40169108 passed 2025-10-30 17:13:22,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 17:13:22,071 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18042127-40169108, IP 105.35.236.195, Port 22 2025-10-30 17:13:22,152 - 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-30 17:13:22,329 - DEBUG - VM ctest-TestRoutersBasic-18042127-40169108 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 17:13:27,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 17:13:27,330 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18042127-40169108, IP 105.35.236.195, Port 22 2025-10-30 17:13:27,527 - DEBUG - VM ctest-TestRoutersBasic-18042127-40169108 is ready for SSH connections 2025-10-30 17:13:27,527 - INFO - Waiting for VM ctest-TestRoutersBasic-18042127-82081649 to be up.. 2025-10-30 17:13:27,669 - DEBUG - VM is in ACTIVE state now 2025-10-30 17:13:27,669 - INFO - VM name : ctest-TestRoutersBasic-18042127-82081649 2025-10-30 17:13:27,813 - DEBUG - VM ctest-TestRoutersBasic-18042127-82081649 ID is 08e73045-d97b-4392-9c77-4ba71d05868b 2025-10-30 17:13:27,814 - DEBUG - VM ctest-TestRoutersBasic-18042127-82081649 launched on Node cn-jenkins-deploy-platform-ansible-os-4549-1 2025-10-30 17:13:27,947 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/08e73045-d97b-4392-9c77-4ba71d05868b 2025-10-30 17:13:27,963 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/53eea089-40f4-4f26-970d-88e007a6bcbc 2025-10-30 17:13:29,256 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.950 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.950/1.853/2.756/0.903 ms') 2025-10-30 17:13:29,257 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-18042127-82081649 passed 2025-10-30 17:13:29,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 17:13:29,442 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18042127-82081649, IP 165.14.102.3, Port 22 2025-10-30 17:13:29,639 - DEBUG - VM ctest-TestRoutersBasic-18042127-82081649 is ready for SSH connections 2025-10-30 17:13:29,639 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 17:13:29,640 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.14.102.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 17:13:29,640 - DEBUG - ping -s 56 -c 3 -W 1 165.14.102.3 2025-10-30 17:13:33,890 - DEBUG - PING 165.14.102.3 (165.14.102.3): 56 data bytes 64 bytes from 165.14.102.3: seq=0 ttl=62 time=11.292 ms 64 bytes from 165.14.102.3: seq=1 ttl=62 time=2.084 ms 64 bytes from 165.14.102.3: seq=2 ttl=62 time=1.697 ms --- 165.14.102.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.697/5.024/11.292 ms 2025-10-30 17:13:33,891 - INFO - Ping to IP 165.14.102.3 from VM ctest-TestRoutersBasic-18042127-40169108 passed 2025-10-30 17:13:33,891 - INFO - Deleting interface with subnet_id dbfc3b20-6f09-4be5-9696-c178815f720b, port_id None from router bcdb8683-52be-4905-8460-d0adc1766a2a 2025-10-30 17:13:34,182 - INFO - Deleting VM ctest-TestRoutersBasic-18042127-82081649 2025-10-30 17:13:34,283 - INFO - Deleting VM ctest-TestRoutersBasic-18042127-40169108 2025-10-30 17:13:34,386 - INFO - Deleting VN ctest-ext_vn-07887728 2025-10-30 17:13:34,496 - DEBUG - VN 5dae1796-a290-4360-9aee-c3a3cda17f47 still in use: Unable to complete operation on network 5dae1796-a290-4360-9aee-c3a3cda17f47. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c079fc0b-a965-4be4-97a9-966d4b2233fa'] 2025-10-30 17:13:34,496 - WARNING - Deleting VN ctest-ext_vn-07887728 failed..Will retry 2025-10-30 17:13:36,725 - DEBUG - Response for deleting network () 2025-10-30 17:13:36,725 - INFO - Deleting VN ctest-vn-31949398 2025-10-30 17:13:36,900 - DEBUG - Response for deleting network () 2025-10-30 17:13:37,211 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 17:13:37,212 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34] 2025-10-30 17:13:37,212 - INFO - -------------------------------------------------------------------------------- 2025-10-30 17:13:38,102 - INFO - Deleted project: ctest-TestRoutersBasic-18042127, ID : 3600fce9-b3f5-4259-bbda-b67d16908a3d