2025-09-03 12:02:02,157 - INFO - Domain Default found not creating 2025-09-03 12:02:02,324 - INFO - Project ctest-TestRoutersBasic-13048251 not found, creating it 2025-09-03 12:02:02,777 - INFO - Created Project:ctest-TestRoutersBasic-13048251, ID : 28d0f1fa-40d1-439e-8f25-dc716f57e8b9 2025-09-03 12:02:04,188 - INFO - ================================================================================ 2025-09-03 12:02:04,188 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-03 12:02:04,188 - 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-03 12:02:04,442 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-03 12:02:04,442 - INFO - Initial checks done. Running the testcase now 2025-09-03 12:02:04,442 - INFO - 2025-09-03 12:02:05,195 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-13048251 2025-09-03 12:02:05,294 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-13048251 2025-09-03 12:02:05,605 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13048251', 'default']} 2025-09-03 12:02:05,879 - DEBUG - Response for create_network : {'network': {'id': 'd6f3c92f-872d-4db8-b56b-0fe3673fc9e1', 'name': 'ctest-vn-18881969', 'tenant_id': '28d0f1fa40d1439e8f25dc716f57e8b9', 'project_id': '28d0f1fa40d1439e8f25dc716f57e8b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13048251', 'ctest-vn-18881969'], 'port_security_enabled': True, 'description': ''}} 2025-09-03 12:02:06,059 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dfb35286-306b-4904-8169-cb34c6d78163', 'name': '', 'tenant_id': '28d0f1fa40d1439e8f25dc716f57e8b9', 'network_id': 'd6f3c92f-872d-4db8-b56b-0fe3673fc9e1', 'ip_version': 4, 'cidr': '129.69.123.192/26', 'allocation_pools': [{'start': '129.69.123.194', 'end': '129.69.123.254'}], 'gateway_ip': '129.69.123.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.69.123.194', 'tags': [], 'project_id': '28d0f1fa40d1439e8f25dc716f57e8b9'}} 2025-09-03 12:02:06,075 - INFO - Created VN ctest-vn-18881969 2025-09-03 12:02:06,130 - DEBUG - VN ctest-vn-18881969 UUID is d6f3c92f-872d-4db8-b56b-0fe3673fc9e1 2025-09-03 12:02:06,468 - DEBUG - Response for create_network : {'network': {'id': '7686f6d7-9f64-44f4-a891-a890ff91cb6b', 'name': 'ctest-ext_vn-60691399', 'tenant_id': '28d0f1fa40d1439e8f25dc716f57e8b9', 'project_id': '28d0f1fa40d1439e8f25dc716f57e8b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13048251', 'ctest-ext_vn-60691399'], 'port_security_enabled': True, 'description': ''}} 2025-09-03 12:02:06,645 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c024406-6366-4b16-92d5-85faba5d5f37', 'name': '', 'tenant_id': '28d0f1fa40d1439e8f25dc716f57e8b9', 'network_id': '7686f6d7-9f64-44f4-a891-a890ff91cb6b', 'ip_version': 4, 'cidr': '146.243.215.192/26', 'allocation_pools': [{'start': '146.243.215.194', 'end': '146.243.215.254'}], 'gateway_ip': '146.243.215.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.243.215.194', 'tags': [], 'project_id': '28d0f1fa40d1439e8f25dc716f57e8b9'}} 2025-09-03 12:02:06,667 - INFO - Created VN ctest-ext_vn-60691399 2025-09-03 12:02:06,718 - DEBUG - VN ctest-ext_vn-60691399 UUID is 7686f6d7-9f64-44f4-a891-a890ff91cb6b 2025-09-03 12:02:06,887 - DEBUG - Services list from nova: [, , ] 2025-09-03 12:02:07,880 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4005-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4005-1) 2025-09-03 12:02:08,987 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4005-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4005-1) 2025-09-03 12:02:09,079 - INFO - Setting gateway for router bc55029b-2479-4ec0-824f-b70214427f9f to network 7686f6d7-9f64-44f4-a891-a890ff91cb6b 2025-09-03 12:02:09,177 - INFO - Adding interface with subnet_id dfb35286-306b-4904-8169-cb34c6d78163, port_id None to router bc55029b-2479-4ec0-824f-b70214427f9f 2025-09-03 12:02:09,603 - INFO - Waiting for VM ctest-TestRoutersBasic-13048251-61944900 to be up.. 2025-09-03 12:02:09,751 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-03 12:02:14,837 - DEBUG - VM is in ACTIVE state now 2025-09-03 12:02:14,837 - INFO - VM name : ctest-TestRoutersBasic-13048251-61944900 2025-09-03 12:02:14,918 - DEBUG - VM ctest-TestRoutersBasic-13048251-61944900 ID is 5c31611b-d990-4604-a125-3e3f87b295b9 2025-09-03 12:02:14,937 - DEBUG - VM ctest-TestRoutersBasic-13048251-61944900 launched on Node cn-jenkins-deploy-platform-ansible-os-4005-1 2025-09-03 12:02:15,018 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5c31611b-d990-4604-a125-3e3f87b295b9 2025-09-03 12:02:15,327 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5c31611b-d990-4604-a125-3e3f87b295b9 2025-09-03 12:02:15,364 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5ee8b529-9bb2-4bb4-81db-bf64a5e46055 2025-09-03 12:02:18,630 - 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 1029ms') 2025-09-03 12:02:18,630 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13048251-61944900 failed! 2025-09-03 12:02:18,686 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-13048251:ctest-vn-18881969 is 129.69.123.193 and allocation pool is NOT set 2025-09-03 12:02:20,743 - 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=4.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.440 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.440/2.218/3.997/1.778 ms') 2025-09-03 12:02:20,743 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-13048251-61944900 passed 2025-09-03 12:02:20,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 12:02:20,902 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13048251-61944900, IP 129.69.123.195, Port 22 2025-09-03 12:02:21,053 - DEBUG - VM ctest-TestRoutersBasic-13048251-61944900 is ready for SSH connections 2025-09-03 12:02:21,053 - INFO - Waiting for VM ctest-TestRoutersBasic-13048251-36777950 to be up.. 2025-09-03 12:02:21,123 - DEBUG - VM is in ACTIVE state now 2025-09-03 12:02:21,123 - INFO - VM name : ctest-TestRoutersBasic-13048251-36777950 2025-09-03 12:02:21,190 - DEBUG - VM ctest-TestRoutersBasic-13048251-36777950 ID is f4184101-503e-4bc1-97ef-22727db565c4 2025-09-03 12:02:21,190 - DEBUG - VM ctest-TestRoutersBasic-13048251-36777950 launched on Node cn-jenkins-deploy-platform-ansible-os-4005-1 2025-09-03 12:02:21,257 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f4184101-503e-4bc1-97ef-22727db565c4 2025-09-03 12:02:21,264 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9acf25cd-c807-4e5b-b00a-1e9397a991d4 2025-09-03 12:02:22,499 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.850 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.850/2.219/3.588/1.369 ms') 2025-09-03 12:02:22,499 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-13048251-36777950 passed 2025-09-03 12:02:22,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 12:02:22,646 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13048251-36777950, IP 146.243.215.195, Port 22 2025-09-03 12:02:22,801 - DEBUG - VM ctest-TestRoutersBasic-13048251-36777950 is ready for SSH connections 2025-09-03 12:02:22,801 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 12:02:22,801 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.243.215.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-03 12:02:22,801 - DEBUG - ping -s 56 -c 3 -W 1 146.243.215.195 2025-09-03 12:02:26,787 - DEBUG - PING 146.243.215.195 (146.243.215.195): 56 data bytes 64 bytes from 146.243.215.195: seq=0 ttl=62 time=5.506 ms 64 bytes from 146.243.215.195: seq=1 ttl=62 time=1.071 ms 64 bytes from 146.243.215.195: seq=2 ttl=62 time=0.832 ms --- 146.243.215.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.832/2.469/5.506 ms 2025-09-03 12:02:26,787 - INFO - Ping to IP 146.243.215.195 from VM ctest-TestRoutersBasic-13048251-61944900 passed 2025-09-03 12:02:26,787 - INFO - Deleting interface with subnet_id dfb35286-306b-4904-8169-cb34c6d78163, port_id None from router bc55029b-2479-4ec0-824f-b70214427f9f 2025-09-03 12:02:26,963 - INFO - Deleting VM ctest-TestRoutersBasic-13048251-36777950 2025-09-03 12:02:27,031 - INFO - Deleting VM ctest-TestRoutersBasic-13048251-61944900 2025-09-03 12:02:27,096 - INFO - Deleting VN ctest-ext_vn-60691399 2025-09-03 12:02:27,152 - DEBUG - VN 7686f6d7-9f64-44f4-a891-a890ff91cb6b still in use: Unable to complete operation on network 7686f6d7-9f64-44f4-a891-a890ff91cb6b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-730d2f17-ba83-490b-b38e-2974d1196a97'] 2025-09-03 12:02:27,153 - WARNING - Deleting VN ctest-ext_vn-60691399 failed..Will retry 2025-09-03 12:02:29,250 - DEBUG - Response for deleting network () 2025-09-03 12:02:29,250 - INFO - Deleting VN ctest-vn-18881969 2025-09-03 12:02:29,340 - DEBUG - Response for deleting network () 2025-09-03 12:02:29,603 - DEBUG - No XMPP flaps were noticed during the test
2025-09-03 12:02:29,604 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-03 12:02:29,604 - INFO - -------------------------------------------------------------------------------- 2025-09-03 12:02:30,277 - INFO - Deleted project: ctest-TestRoutersBasic-13048251, ID : 28d0f1fa-40d1-439e-8f25-dc716f57e8b9