2025-04-16 17:18:42,391 - INFO - Domain Default found not creating 2025-04-16 17:18:42,567 - INFO - Project ctest-TestRoutersBasic-88896276 not found, creating it 2025-04-16 17:18:43,064 - INFO - Created Project:ctest-TestRoutersBasic-88896276, ID : b4940937-3b5c-4c90-818d-a067adb93614 2025-04-16 17:18:44,682 - INFO - ================================================================================ 2025-04-16 17:18:44,682 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-16 17:18:44,682 - 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-04-16 17:18:44,953 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-04-16 17:18:44,953 - INFO - Initial checks done. Running the testcase now 2025-04-16 17:18:44,953 - INFO - 2025-04-16 17:18:45,823 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88896276 2025-04-16 17:18:45,923 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88896276 2025-04-16 17:18:46,258 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88896276', 'default']} 2025-04-16 17:18:46,620 - DEBUG - Response for create_network : {'network': {'id': 'aac6dbda-6f74-4445-82b8-d73a03baeffa', 'name': 'ctest-vn-84289648', 'tenant_id': 'b49409373b5c4c90818da067adb93614', 'project_id': 'b49409373b5c4c90818da067adb93614', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88896276', 'ctest-vn-84289648'], 'port_security_enabled': True, 'description': ''}} 2025-04-16 17:18:46,787 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f844c5e5-0d67-4cd6-a0b4-67d3304ff702', 'name': '', 'tenant_id': 'b49409373b5c4c90818da067adb93614', 'network_id': 'aac6dbda-6f74-4445-82b8-d73a03baeffa', 'ip_version': 4, 'cidr': '120.161.163.64/26', 'allocation_pools': [{'start': '120.161.163.66', 'end': '120.161.163.126'}], 'gateway_ip': '120.161.163.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.161.163.66', 'tags': [], 'project_id': 'b49409373b5c4c90818da067adb93614'}} 2025-04-16 17:18:46,810 - INFO - Created VN ctest-vn-84289648 2025-04-16 17:18:46,867 - DEBUG - VN ctest-vn-84289648 UUID is aac6dbda-6f74-4445-82b8-d73a03baeffa 2025-04-16 17:18:47,237 - DEBUG - Response for create_network : {'network': {'id': '95986340-f7ea-4fc2-9dbf-9050b13e8e4a', 'name': 'ctest-ext_vn-88407842', 'tenant_id': 'b49409373b5c4c90818da067adb93614', 'project_id': 'b49409373b5c4c90818da067adb93614', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88896276', 'ctest-ext_vn-88407842'], 'port_security_enabled': True, 'description': ''}} 2025-04-16 17:18:47,428 - DEBUG - Response for create_subnet : {'subnet': {'id': '221e29d6-1fd6-4406-aae7-19ca7c34a899', 'name': '', 'tenant_id': 'b49409373b5c4c90818da067adb93614', 'network_id': '95986340-f7ea-4fc2-9dbf-9050b13e8e4a', 'ip_version': 4, 'cidr': '128.103.61.192/26', 'allocation_pools': [{'start': '128.103.61.194', 'end': '128.103.61.254'}], 'gateway_ip': '128.103.61.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.103.61.194', 'tags': [], 'project_id': 'b49409373b5c4c90818da067adb93614'}} 2025-04-16 17:18:47,451 - INFO - Created VN ctest-ext_vn-88407842 2025-04-16 17:18:47,507 - DEBUG - VN ctest-ext_vn-88407842 UUID is 95986340-f7ea-4fc2-9dbf-9050b13e8e4a 2025-04-16 17:18:47,713 - DEBUG - Services list from nova: [, , ] 2025-04-16 17:18:48,862 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3123-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3123-1) 2025-04-16 17:18:50,127 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3123-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3123-1) 2025-04-16 17:18:50,214 - INFO - Setting gateway for router 9e1d4735-5fbf-44a9-bfb4-c68b5b5d5dfb to network 95986340-f7ea-4fc2-9dbf-9050b13e8e4a 2025-04-16 17:18:50,293 - INFO - Adding interface with subnet_id f844c5e5-0d67-4cd6-a0b4-67d3304ff702, port_id None to router 9e1d4735-5fbf-44a9-bfb4-c68b5b5d5dfb 2025-04-16 17:18:50,672 - INFO - Waiting for VM ctest-TestRoutersBasic-88896276-86988250 to be up.. 2025-04-16 17:18:50,869 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-16 17:18:56,000 - DEBUG - VM is in ACTIVE state now 2025-04-16 17:18:56,000 - INFO - VM name : ctest-TestRoutersBasic-88896276-86988250 2025-04-16 17:18:56,121 - DEBUG - VM ctest-TestRoutersBasic-88896276-86988250 ID is 50fdd498-ed71-4097-a624-24eaf596fafd 2025-04-16 17:18:56,151 - DEBUG - VM ctest-TestRoutersBasic-88896276-86988250 launched on Node cn-jenkins-deploy-platform-ansible-os-3123-1 2025-04-16 17:18:56,268 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/50fdd498-ed71-4097-a624-24eaf596fafd 2025-04-16 17:18:56,592 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/50fdd498-ed71-4097-a624-24eaf596fafd 2025-04-16 17:18:56,633 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bc1b7851-aa52-4bc4-89d7-7d97f027ffb9 2025-04-16 17:18:59,921 - 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 1009ms') 2025-04-16 17:18:59,921 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88896276-86988250 failed! 2025-04-16 17:18:59,983 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88896276:ctest-vn-84289648 is 120.161.163.65 and allocation pool is NOT set 2025-04-16 17:19:02,045 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.29 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 = 1.292/3.004/4.716/1.712 ms') 2025-04-16 17:19:02,046 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88896276-86988250 passed 2025-04-16 17:19:02,163 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 17:19:02,163 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88896276-86988250, IP 120.161.163.67, Port 22 2025-04-16 17:19:02,332 - DEBUG - VM ctest-TestRoutersBasic-88896276-86988250 is ready for SSH connections 2025-04-16 17:19:02,333 - INFO - Waiting for VM ctest-TestRoutersBasic-88896276-86863421 to be up.. 2025-04-16 17:19:02,438 - DEBUG - VM is in ACTIVE state now 2025-04-16 17:19:02,438 - INFO - VM name : ctest-TestRoutersBasic-88896276-86863421 2025-04-16 17:19:02,540 - DEBUG - VM ctest-TestRoutersBasic-88896276-86863421 ID is 1b3d2894-ba3e-4a92-8704-8f6ca271760c 2025-04-16 17:19:02,540 - DEBUG - VM ctest-TestRoutersBasic-88896276-86863421 launched on Node cn-jenkins-deploy-platform-ansible-os-3123-1 2025-04-16 17:19:02,647 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1b3d2894-ba3e-4a92-8704-8f6ca271760c 2025-04-16 17:19:02,663 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7dd20cf8-01f2-4f6b-afc6-37c97e5cc75e 2025-04-16 17:19:03,943 - 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=4.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.16 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.158/3.561/4.965/1.403 ms') 2025-04-16 17:19:03,944 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88896276-86863421 passed 2025-04-16 17:19:04,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 17:19:04,103 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88896276-86863421, IP 128.103.61.195, Port 22 2025-04-16 17:19:04,276 - DEBUG - VM ctest-TestRoutersBasic-88896276-86863421 is ready for SSH connections 2025-04-16 17:19:04,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 17:19:04,276 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.103.61.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-16 17:19:04,277 - DEBUG - ping -s 56 -c 3 -W 1 128.103.61.195 2025-04-16 17:19:08,014 - DEBUG - PING 128.103.61.195 (128.103.61.195): 56 data bytes 64 bytes from 128.103.61.195: seq=0 ttl=62 time=7.606 ms 64 bytes from 128.103.61.195: seq=1 ttl=62 time=1.603 ms 64 bytes from 128.103.61.195: seq=2 ttl=62 time=1.313 ms --- 128.103.61.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.313/3.507/7.606 ms 2025-04-16 17:19:08,015 - INFO - Ping to IP 128.103.61.195 from VM ctest-TestRoutersBasic-88896276-86988250 passed 2025-04-16 17:19:08,015 - INFO - Deleting interface with subnet_id f844c5e5-0d67-4cd6-a0b4-67d3304ff702, port_id None from router 9e1d4735-5fbf-44a9-bfb4-c68b5b5d5dfb 2025-04-16 17:19:08,246 - INFO - Deleting VM ctest-TestRoutersBasic-88896276-86863421 2025-04-16 17:19:08,332 - INFO - Deleting VM ctest-TestRoutersBasic-88896276-86988250 2025-04-16 17:19:08,427 - INFO - Deleting VN ctest-ext_vn-88407842 2025-04-16 17:19:08,520 - DEBUG - VN 95986340-f7ea-4fc2-9dbf-9050b13e8e4a still in use: Unable to complete operation on network 95986340-f7ea-4fc2-9dbf-9050b13e8e4a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6c247e00-9baf-47a1-a355-1ba174365580'] 2025-04-16 17:19:08,520 - WARNING - Deleting VN ctest-ext_vn-88407842 failed..Will retry 2025-04-16 17:19:10,642 - DEBUG - Response for deleting network () 2025-04-16 17:19:10,642 - INFO - Deleting VN ctest-vn-84289648 2025-04-16 17:19:10,778 - DEBUG - Response for deleting network () 2025-04-16 17:19:11,037 - DEBUG - No XMPP flaps were noticed during the test
2025-04-16 17:19:11,037 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-04-16 17:19:11,037 - INFO - -------------------------------------------------------------------------------- 2025-04-16 17:19:11,784 - INFO - Deleted project: ctest-TestRoutersBasic-88896276, ID : b4940937-3b5c-4c90-818d-a067adb93614