2025-05-06 11:37:11,775 - INFO - Domain Default found not creating 2025-05-06 11:37:11,906 - INFO - Project ctest-TestRoutersBasic-23263247 not found, creating it 2025-05-06 11:37:12,367 - INFO - Created Project:ctest-TestRoutersBasic-23263247, ID : fdeca7f9-af7a-482f-9fe6-f0608f49e6cb 2025-05-06 11:37:13,702 - INFO - ================================================================================ 2025-05-06 11:37:13,702 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-06 11:37:13,703 - 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-05-06 11:37:13,959 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.254': '0'}} with 2025-05-06 11:37:13,959 - INFO - Initial checks done. Running the testcase now 2025-05-06 11:37:13,959 - INFO - 2025-05-06 11:37:14,635 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-23263247 2025-05-06 11:37:14,729 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-23263247 2025-05-06 11:37:15,053 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23263247', 'default']} 2025-05-06 11:37:15,333 - DEBUG - Response for create_network : {'network': {'id': '4a0c7b40-6119-4df3-92eb-007bfd5dfd2a', 'name': 'ctest-vn-70404653', 'tenant_id': 'fdeca7f9af7a482f9fe6f0608f49e6cb', 'project_id': 'fdeca7f9af7a482f9fe6f0608f49e6cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23263247', 'ctest-vn-70404653'], 'port_security_enabled': True, 'description': ''}} 2025-05-06 11:37:15,481 - DEBUG - Response for create_subnet : {'subnet': {'id': '114de57d-0435-4252-a13e-2646fc20d1e2', 'name': '', 'tenant_id': 'fdeca7f9af7a482f9fe6f0608f49e6cb', 'network_id': '4a0c7b40-6119-4df3-92eb-007bfd5dfd2a', 'ip_version': 4, 'cidr': '148.66.101.128/26', 'allocation_pools': [{'start': '148.66.101.130', 'end': '148.66.101.190'}], 'gateway_ip': '148.66.101.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.66.101.130', 'tags': [], 'project_id': 'fdeca7f9af7a482f9fe6f0608f49e6cb'}} 2025-05-06 11:37:15,497 - INFO - Created VN ctest-vn-70404653 2025-05-06 11:37:15,549 - DEBUG - VN ctest-vn-70404653 UUID is 4a0c7b40-6119-4df3-92eb-007bfd5dfd2a 2025-05-06 11:37:15,889 - DEBUG - Response for create_network : {'network': {'id': '45a685a2-6961-4c21-8cf9-6d7ee7cc4643', 'name': 'ctest-ext_vn-42503108', 'tenant_id': 'fdeca7f9af7a482f9fe6f0608f49e6cb', 'project_id': 'fdeca7f9af7a482f9fe6f0608f49e6cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23263247', 'ctest-ext_vn-42503108'], 'port_security_enabled': True, 'description': ''}} 2025-05-06 11:37:16,018 - DEBUG - Response for create_subnet : {'subnet': {'id': '7eaee847-9247-48a6-a045-167d12f83985', 'name': '', 'tenant_id': 'fdeca7f9af7a482f9fe6f0608f49e6cb', 'network_id': '45a685a2-6961-4c21-8cf9-6d7ee7cc4643', 'ip_version': 4, 'cidr': '147.54.142.192/26', 'allocation_pools': [{'start': '147.54.142.194', 'end': '147.54.142.254'}], 'gateway_ip': '147.54.142.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.54.142.194', 'tags': [], 'project_id': 'fdeca7f9af7a482f9fe6f0608f49e6cb'}} 2025-05-06 11:37:16,034 - INFO - Created VN ctest-ext_vn-42503108 2025-05-06 11:37:16,085 - DEBUG - VN ctest-ext_vn-42503108 UUID is 45a685a2-6961-4c21-8cf9-6d7ee7cc4643 2025-05-06 11:37:16,281 - DEBUG - Services list from nova: [, , ] 2025-05-06 11:37:17,235 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3278-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3278-1) 2025-05-06 11:37:18,309 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3278-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3278-1) 2025-05-06 11:37:18,408 - INFO - Setting gateway for router 958289cd-3cd0-4c2d-b4a1-0c3f80c3d60b to network 45a685a2-6961-4c21-8cf9-6d7ee7cc4643 2025-05-06 11:37:18,468 - INFO - Adding interface with subnet_id 114de57d-0435-4252-a13e-2646fc20d1e2, port_id None to router 958289cd-3cd0-4c2d-b4a1-0c3f80c3d60b 2025-05-06 11:37:18,816 - INFO - Waiting for VM ctest-TestRoutersBasic-23263247-67804673 to be up.. 2025-05-06 11:37:18,993 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-06 11:37:24,065 - DEBUG - VM is in ACTIVE state now 2025-05-06 11:37:24,065 - INFO - VM name : ctest-TestRoutersBasic-23263247-67804673 2025-05-06 11:37:24,131 - DEBUG - VM ctest-TestRoutersBasic-23263247-67804673 ID is c7452a90-ae62-4e01-b3b9-03505def68f5 2025-05-06 11:37:24,149 - DEBUG - VM ctest-TestRoutersBasic-23263247-67804673 launched on Node cn-jenkins-deploy-platform-ansible-os-3278-1 2025-05-06 11:37:24,234 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/c7452a90-ae62-4e01-b3b9-03505def68f5 2025-05-06 11:37:24,524 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/c7452a90-ae62-4e01-b3b9-03505def68f5 2025-05-06 11:37:24,553 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/ea3527c5-de2d-4429-942e-3667a4cd77a8 2025-05-06 11:37:27,794 - 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 1012ms') 2025-05-06 11:37:27,794 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-23263247-67804673 failed! 2025-05-06 11:37:27,857 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-23263247:ctest-vn-70404653 is 148.66.101.129 and allocation pool is NOT set 2025-05-06 11:37:29,922 - 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=2.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.356 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 = 0.356/1.620/2.885/1.264 ms') 2025-05-06 11:37:29,922 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-23263247-67804673 passed 2025-05-06 11:37:30,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 11:37:30,073 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-23263247-67804673, IP 148.66.101.131, Port 22 2025-05-06 11:37:30,229 - DEBUG - VM ctest-TestRoutersBasic-23263247-67804673 is ready for SSH connections 2025-05-06 11:37:30,229 - INFO - Waiting for VM ctest-TestRoutersBasic-23263247-31478737 to be up.. 2025-05-06 11:37:30,302 - DEBUG - VM is in ACTIVE state now 2025-05-06 11:37:30,302 - INFO - VM name : ctest-TestRoutersBasic-23263247-31478737 2025-05-06 11:37:30,361 - DEBUG - VM ctest-TestRoutersBasic-23263247-31478737 ID is bf9432df-0429-44aa-b2b0-fa48f0162d71 2025-05-06 11:37:30,361 - DEBUG - VM ctest-TestRoutersBasic-23263247-31478737 launched on Node cn-jenkins-deploy-platform-ansible-os-3278-1 2025-05-06 11:37:30,418 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/bf9432df-0429-44aa-b2b0-fa48f0162d71 2025-05-06 11:37:30,425 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/5a5cc7f1-79af-4c6d-a772-f3e91957ac4f 2025-05-06 11:37:31,649 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.298 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.298/1.838/3.379/1.540 ms') 2025-05-06 11:37:31,649 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-23263247-31478737 passed 2025-05-06 11:37:31,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 11:37:31,797 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-23263247-31478737, IP 147.54.142.195, Port 22 2025-05-06 11:37:31,954 - DEBUG - VM ctest-TestRoutersBasic-23263247-31478737 is ready for SSH connections 2025-05-06 11:37:31,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 11:37:31,954 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.54.142.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-05-06 11:37:31,954 - DEBUG - ping -s 56 -c 3 -W 1 147.54.142.195 2025-05-06 11:37:35,883 - DEBUG - PING 147.54.142.195 (147.54.142.195): 56 data bytes 64 bytes from 147.54.142.195: seq=0 ttl=62 time=5.415 ms 64 bytes from 147.54.142.195: seq=1 ttl=62 time=0.908 ms 64 bytes from 147.54.142.195: seq=2 ttl=62 time=0.785 ms --- 147.54.142.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.785/2.369/5.415 ms 2025-05-06 11:37:35,883 - INFO - Ping to IP 147.54.142.195 from VM ctest-TestRoutersBasic-23263247-67804673 passed 2025-05-06 11:37:35,883 - INFO - Deleting interface with subnet_id 114de57d-0435-4252-a13e-2646fc20d1e2, port_id None from router 958289cd-3cd0-4c2d-b4a1-0c3f80c3d60b 2025-05-06 11:37:36,050 - INFO - Deleting VM ctest-TestRoutersBasic-23263247-31478737 2025-05-06 11:37:36,107 - INFO - Deleting VM ctest-TestRoutersBasic-23263247-67804673 2025-05-06 11:37:36,183 - INFO - Deleting VN ctest-ext_vn-42503108 2025-05-06 11:37:36,240 - DEBUG - VN 45a685a2-6961-4c21-8cf9-6d7ee7cc4643 still in use: Unable to complete operation on network 45a685a2-6961-4c21-8cf9-6d7ee7cc4643. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-76c21330-9945-4ec9-96a4-2bba81c72e3c'] 2025-05-06 11:37:36,240 - WARNING - Deleting VN ctest-ext_vn-42503108 failed..Will retry 2025-05-06 11:37:38,345 - DEBUG - Response for deleting network () 2025-05-06 11:37:38,345 - INFO - Deleting VN ctest-vn-70404653 2025-05-06 11:37:38,440 - DEBUG - Response for deleting network () 2025-05-06 11:37:38,706 - DEBUG - No XMPP flaps were noticed during the test
2025-05-06 11:37:38,706 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-05-06 11:37:38,706 - INFO - -------------------------------------------------------------------------------- 2025-05-06 11:37:39,347 - INFO - Deleted project: ctest-TestRoutersBasic-23263247, ID : fdeca7f9-af7a-482f-9fe6-f0608f49e6cb