2025-06-26 19:35:23,143 - INFO - Domain Default found not creating 2025-06-26 19:35:23,328 - INFO - Project ctest-TestRoutersBasic-33366872 not found, creating it 2025-06-26 19:35:23,829 - INFO - Created Project:ctest-TestRoutersBasic-33366872, ID : aefe1e75-7e47-4e07-a3ed-8f5f756b0ea3 2025-06-26 19:35:25,670 - INFO - ================================================================================ 2025-06-26 19:35:25,671 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-26 19:35:25,671 - 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-06-26 19:35:25,954 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-06-26 19:35:25,954 - INFO - Initial checks done. Running the testcase now 2025-06-26 19:35:25,954 - INFO - 2025-06-26 19:35:26,748 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-33366872 2025-06-26 19:35:26,854 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-33366872 2025-06-26 19:35:27,193 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33366872', 'default']} 2025-06-26 19:35:27,519 - DEBUG - Response for create_network : {'network': {'id': '21e864eb-12c0-4d32-8413-502d8d6f862b', 'name': 'ctest-vn-60678530', 'tenant_id': 'aefe1e757e474e07a3ed8f5f756b0ea3', 'project_id': 'aefe1e757e474e07a3ed8f5f756b0ea3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33366872', 'ctest-vn-60678530'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 19:35:27,677 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b701947-e910-4521-b4fc-50c8dc6aedd5', 'name': '', 'tenant_id': 'aefe1e757e474e07a3ed8f5f756b0ea3', 'network_id': '21e864eb-12c0-4d32-8413-502d8d6f862b', 'ip_version': 4, 'cidr': '142.169.132.192/26', 'allocation_pools': [{'start': '142.169.132.194', 'end': '142.169.132.254'}], 'gateway_ip': '142.169.132.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.169.132.194', 'tags': [], 'project_id': 'aefe1e757e474e07a3ed8f5f756b0ea3'}} 2025-06-26 19:35:27,700 - INFO - Created VN ctest-vn-60678530 2025-06-26 19:35:27,753 - DEBUG - VN ctest-vn-60678530 UUID is 21e864eb-12c0-4d32-8413-502d8d6f862b 2025-06-26 19:35:28,128 - DEBUG - Response for create_network : {'network': {'id': '7bf8ae78-06db-4e86-96da-234fe9a89a38', 'name': 'ctest-ext_vn-30743239', 'tenant_id': 'aefe1e757e474e07a3ed8f5f756b0ea3', 'project_id': 'aefe1e757e474e07a3ed8f5f756b0ea3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33366872', 'ctest-ext_vn-30743239'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 19:35:28,368 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b2b8bca-c225-4afa-a459-e322be8bf17c', 'name': '', 'tenant_id': 'aefe1e757e474e07a3ed8f5f756b0ea3', 'network_id': '7bf8ae78-06db-4e86-96da-234fe9a89a38', 'ip_version': 4, 'cidr': '202.137.131.192/26', 'allocation_pools': [{'start': '202.137.131.194', 'end': '202.137.131.254'}], 'gateway_ip': '202.137.131.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.137.131.194', 'tags': [], 'project_id': 'aefe1e757e474e07a3ed8f5f756b0ea3'}} 2025-06-26 19:35:28,390 - INFO - Created VN ctest-ext_vn-30743239 2025-06-26 19:35:28,445 - DEBUG - VN ctest-ext_vn-30743239 UUID is 7bf8ae78-06db-4e86-96da-234fe9a89a38 2025-06-26 19:35:28,655 - DEBUG - Services list from nova: [, , ] 2025-06-26 19:35:29,767 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3562-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3562-1) 2025-06-26 19:35:31,000 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3562-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3562-1) 2025-06-26 19:35:31,088 - INFO - Setting gateway for router bd625028-4238-4d6a-9f89-f85dafdaa917 to network 7bf8ae78-06db-4e86-96da-234fe9a89a38 2025-06-26 19:35:31,158 - INFO - Adding interface with subnet_id 6b701947-e910-4521-b4fc-50c8dc6aedd5, port_id None to router bd625028-4238-4d6a-9f89-f85dafdaa917 2025-06-26 19:35:31,636 - INFO - Waiting for VM ctest-TestRoutersBasic-33366872-36222164 to be up.. 2025-06-26 19:35:31,863 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-26 19:35:36,953 - DEBUG - VM is in ACTIVE state now 2025-06-26 19:35:36,953 - INFO - VM name : ctest-TestRoutersBasic-33366872-36222164 2025-06-26 19:35:37,040 - DEBUG - VM ctest-TestRoutersBasic-33366872-36222164 ID is 587d304c-95be-4a7e-9a7f-2c12c1410e5b 2025-06-26 19:35:37,059 - DEBUG - VM ctest-TestRoutersBasic-33366872-36222164 launched on Node cn-jenkins-deploy-platform-ansible-os-3562-1 2025-06-26 19:35:37,156 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/587d304c-95be-4a7e-9a7f-2c12c1410e5b 2025-06-26 19:35:37,467 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/587d304c-95be-4a7e-9a7f-2c12c1410e5b 2025-06-26 19:35:37,508 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d66224ba-4ac4-4e13-be6f-df0ecd6e7d6d 2025-06-26 19:35:40,768 - 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 1006ms') 2025-06-26 19:35:40,768 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33366872-36222164 failed! 2025-06-26 19:35:40,829 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-33366872:ctest-vn-60678530 is 142.169.132.193 and allocation pool is NOT set 2025-06-26 19:35:42,898 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.484 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.484/2.560/4.637/2.076 ms') 2025-06-26 19:35:42,898 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33366872-36222164 passed 2025-06-26 19:35:43,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 19:35:43,053 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33366872-36222164, IP 142.169.132.195, Port 22 2025-06-26 19:35:43,219 - DEBUG - VM ctest-TestRoutersBasic-33366872-36222164 is ready for SSH connections 2025-06-26 19:35:43,219 - INFO - Waiting for VM ctest-TestRoutersBasic-33366872-16268816 to be up.. 2025-06-26 19:35:43,304 - DEBUG - VM is in ACTIVE state now 2025-06-26 19:35:43,304 - INFO - VM name : ctest-TestRoutersBasic-33366872-16268816 2025-06-26 19:35:43,384 - DEBUG - VM ctest-TestRoutersBasic-33366872-16268816 ID is 91e811d6-9146-446f-8f0b-77b30e0d7918 2025-06-26 19:35:43,385 - DEBUG - VM ctest-TestRoutersBasic-33366872-16268816 launched on Node cn-jenkins-deploy-platform-ansible-os-3562-1 2025-06-26 19:35:43,462 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/91e811d6-9146-446f-8f0b-77b30e0d7918 2025-06-26 19:35:43,471 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/de776aac-f5d4-40b9-bfe7-ab2570a4b948 2025-06-26 19:35:44,725 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.546 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.546/2.143/3.740/1.597 ms') 2025-06-26 19:35:44,725 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-33366872-16268816 passed 2025-06-26 19:35:44,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 19:35:44,893 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33366872-16268816, IP 202.137.131.195, Port 22 2025-06-26 19:35:45,063 - DEBUG - VM ctest-TestRoutersBasic-33366872-16268816 is ready for SSH connections 2025-06-26 19:35:45,063 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 19:35:45,063 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.137.131.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-26 19:35:45,063 - DEBUG - ping -s 56 -c 3 -W 1 202.137.131.195 2025-06-26 19:35:48,831 - DEBUG - PING 202.137.131.195 (202.137.131.195): 56 data bytes 64 bytes from 202.137.131.195: seq=0 ttl=62 time=5.780 ms 64 bytes from 202.137.131.195: seq=1 ttl=62 time=1.055 ms 64 bytes from 202.137.131.195: seq=2 ttl=62 time=0.901 ms --- 202.137.131.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.901/2.578/5.780 ms 2025-06-26 19:35:48,831 - INFO - Ping to IP 202.137.131.195 from VM ctest-TestRoutersBasic-33366872-36222164 passed 2025-06-26 19:35:48,831 - INFO - Deleting interface with subnet_id 6b701947-e910-4521-b4fc-50c8dc6aedd5, port_id None from router bd625028-4238-4d6a-9f89-f85dafdaa917 2025-06-26 19:35:49,080 - INFO - Deleting VM ctest-TestRoutersBasic-33366872-16268816 2025-06-26 19:35:49,162 - INFO - Deleting VM ctest-TestRoutersBasic-33366872-36222164 2025-06-26 19:35:49,261 - INFO - Deleting VN ctest-ext_vn-30743239 2025-06-26 19:35:49,349 - DEBUG - VN 7bf8ae78-06db-4e86-96da-234fe9a89a38 still in use: Unable to complete operation on network 7bf8ae78-06db-4e86-96da-234fe9a89a38. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-56341940-1ae8-45c6-881d-1559946c8591'] 2025-06-26 19:35:49,349 - WARNING - Deleting VN ctest-ext_vn-30743239 failed..Will retry 2025-06-26 19:35:51,477 - DEBUG - Response for deleting network () 2025-06-26 19:35:51,477 - INFO - Deleting VN ctest-vn-60678530 2025-06-26 19:35:51,595 - DEBUG - Response for deleting network () 2025-06-26 19:35:51,891 - DEBUG - No XMPP flaps were noticed during the test
2025-06-26 19:35:51,892 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-26 19:35:51,892 - INFO - -------------------------------------------------------------------------------- 2025-06-26 19:35:52,623 - INFO - Deleted project: ctest-TestRoutersBasic-33366872, ID : aefe1e75-7e47-4e07-a3ed-8f5f756b0ea3