2025-06-17 00:20:41,065 - INFO - Domain Default found not creating 2025-06-17 00:20:41,210 - INFO - Project ctest-TestRoutersBasic-37771217 not found, creating it 2025-06-17 00:20:41,677 - INFO - Created Project:ctest-TestRoutersBasic-37771217, ID : 4b925abc-a79a-4f6c-b106-cfcce2616a6e 2025-06-17 00:20:43,038 - INFO - ================================================================================ 2025-06-17 00:20:43,038 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-17 00:20:43,038 - 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-17 00:20:43,294 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-06-17 00:20:43,294 - INFO - Initial checks done. Running the testcase now 2025-06-17 00:20:43,294 - INFO - 2025-06-17 00:20:43,978 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-37771217 2025-06-17 00:20:44,079 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-37771217 2025-06-17 00:20:44,407 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37771217', 'default']} 2025-06-17 00:20:44,695 - DEBUG - Response for create_network : {'network': {'id': '96a4a88e-f3dd-4c5e-93b4-ac389fc025e5', 'name': 'ctest-vn-93428688', 'tenant_id': '4b925abca79a4f6cb106cfcce2616a6e', 'project_id': '4b925abca79a4f6cb106cfcce2616a6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37771217', 'ctest-vn-93428688'], 'port_security_enabled': True, 'description': ''}} 2025-06-17 00:20:44,850 - DEBUG - Response for create_subnet : {'subnet': {'id': '03a09ff6-b16f-485f-86f3-ea869023d2a6', 'name': '', 'tenant_id': '4b925abca79a4f6cb106cfcce2616a6e', 'network_id': '96a4a88e-f3dd-4c5e-93b4-ac389fc025e5', 'ip_version': 4, 'cidr': '139.124.9.128/26', 'allocation_pools': [{'start': '139.124.9.130', 'end': '139.124.9.190'}], 'gateway_ip': '139.124.9.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.124.9.130', 'tags': [], 'project_id': '4b925abca79a4f6cb106cfcce2616a6e'}} 2025-06-17 00:20:44,867 - INFO - Created VN ctest-vn-93428688 2025-06-17 00:20:44,919 - DEBUG - VN ctest-vn-93428688 UUID is 96a4a88e-f3dd-4c5e-93b4-ac389fc025e5 2025-06-17 00:20:45,259 - DEBUG - Response for create_network : {'network': {'id': 'bb95b8db-7c61-488d-8169-9c184a327bb8', 'name': 'ctest-ext_vn-15033027', 'tenant_id': '4b925abca79a4f6cb106cfcce2616a6e', 'project_id': '4b925abca79a4f6cb106cfcce2616a6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37771217', 'ctest-ext_vn-15033027'], 'port_security_enabled': True, 'description': ''}} 2025-06-17 00:20:45,474 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a779dba8-e2f9-4d38-954a-9ee7405d7410', 'name': '', 'tenant_id': '4b925abca79a4f6cb106cfcce2616a6e', 'network_id': 'bb95b8db-7c61-488d-8169-9c184a327bb8', 'ip_version': 4, 'cidr': '209.88.124.64/26', 'allocation_pools': [{'start': '209.88.124.66', 'end': '209.88.124.126'}], 'gateway_ip': '209.88.124.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.88.124.66', 'tags': [], 'project_id': '4b925abca79a4f6cb106cfcce2616a6e'}} 2025-06-17 00:20:45,494 - INFO - Created VN ctest-ext_vn-15033027 2025-06-17 00:20:45,547 - DEBUG - VN ctest-ext_vn-15033027 UUID is bb95b8db-7c61-488d-8169-9c184a327bb8 2025-06-17 00:20:45,710 - DEBUG - Services list from nova: [, , ] 2025-06-17 00:20:46,731 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3458-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3458-1) 2025-06-17 00:20:47,872 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3458-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3458-1) 2025-06-17 00:20:47,942 - INFO - Setting gateway for router 17a370be-3e77-43e1-89d1-b41d9d61b5df to network bb95b8db-7c61-488d-8169-9c184a327bb8 2025-06-17 00:20:48,011 - INFO - Adding interface with subnet_id 03a09ff6-b16f-485f-86f3-ea869023d2a6, port_id None to router 17a370be-3e77-43e1-89d1-b41d9d61b5df 2025-06-17 00:20:48,437 - INFO - Waiting for VM ctest-TestRoutersBasic-37771217-63537426 to be up.. 2025-06-17 00:20:48,628 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-17 00:20:53,708 - DEBUG - VM is in ACTIVE state now 2025-06-17 00:20:53,708 - INFO - VM name : ctest-TestRoutersBasic-37771217-63537426 2025-06-17 00:20:53,785 - DEBUG - VM ctest-TestRoutersBasic-37771217-63537426 ID is 867041cc-b250-4a0f-84e9-b3ebd9a5659f 2025-06-17 00:20:53,804 - DEBUG - VM ctest-TestRoutersBasic-37771217-63537426 launched on Node cn-jenkins-deploy-platform-ansible-os-3458-1 2025-06-17 00:20:53,877 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/867041cc-b250-4a0f-84e9-b3ebd9a5659f 2025-06-17 00:20:54,166 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/867041cc-b250-4a0f-84e9-b3ebd9a5659f 2025-06-17 00:20:54,198 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/b0a05778-cde3-4b8d-bfac-e9924113210b 2025-06-17 00:20:57,453 - 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 1011ms') 2025-06-17 00:20:57,453 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37771217-63537426 failed! 2025-06-17 00:20:57,511 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-37771217:ctest-vn-93428688 is 139.124.9.129 and allocation pool is NOT set 2025-06-17 00:20:59,576 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.410 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.410/1.642/2.875/1.232 ms') 2025-06-17 00:20:59,576 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37771217-63537426 passed 2025-06-17 00:20:59,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 00:20:59,732 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37771217-63537426, IP 139.124.9.131, Port 22 2025-06-17 00:20:59,882 - DEBUG - VM ctest-TestRoutersBasic-37771217-63537426 is ready for SSH connections 2025-06-17 00:20:59,883 - INFO - Waiting for VM ctest-TestRoutersBasic-37771217-61927927 to be up.. 2025-06-17 00:20:59,961 - DEBUG - VM is in ACTIVE state now 2025-06-17 00:20:59,961 - INFO - VM name : ctest-TestRoutersBasic-37771217-61927927 2025-06-17 00:21:00,037 - DEBUG - VM ctest-TestRoutersBasic-37771217-61927927 ID is 9bc46ce4-b34f-4e2c-bbac-77aa6c3da9e3 2025-06-17 00:21:00,037 - DEBUG - VM ctest-TestRoutersBasic-37771217-61927927 launched on Node cn-jenkins-deploy-platform-ansible-os-3458-1 2025-06-17 00:21:00,112 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/9bc46ce4-b34f-4e2c-bbac-77aa6c3da9e3 2025-06-17 00:21:00,122 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/d704db48-3133-40ba-95cb-4440205324c2 2025-06-17 00:21:01,366 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.384 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.384/2.093/3.803/1.709 ms') 2025-06-17 00:21:01,366 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-37771217-61927927 passed 2025-06-17 00:21:01,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 00:21:01,531 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37771217-61927927, IP 209.88.124.67, Port 22 2025-06-17 00:21:01,686 - DEBUG - VM ctest-TestRoutersBasic-37771217-61927927 is ready for SSH connections 2025-06-17 00:21:01,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 00:21:01,687 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.88.124.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-06-17 00:21:01,687 - DEBUG - ping -s 56 -c 3 -W 1 209.88.124.67 2025-06-17 00:21:05,735 - DEBUG - PING 209.88.124.67 (209.88.124.67): 56 data bytes 64 bytes from 209.88.124.67: seq=0 ttl=62 time=3.915 ms 64 bytes from 209.88.124.67: seq=1 ttl=62 time=0.843 ms 64 bytes from 209.88.124.67: seq=2 ttl=62 time=1.034 ms --- 209.88.124.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.843/1.930/3.915 ms 2025-06-17 00:21:05,736 - INFO - Ping to IP 209.88.124.67 from VM ctest-TestRoutersBasic-37771217-63537426 passed 2025-06-17 00:21:05,736 - INFO - Deleting interface with subnet_id 03a09ff6-b16f-485f-86f3-ea869023d2a6, port_id None from router 17a370be-3e77-43e1-89d1-b41d9d61b5df 2025-06-17 00:21:05,927 - INFO - Deleting VM ctest-TestRoutersBasic-37771217-61927927 2025-06-17 00:21:05,990 - INFO - Deleting VM ctest-TestRoutersBasic-37771217-63537426 2025-06-17 00:21:06,053 - INFO - Deleting VN ctest-ext_vn-15033027 2025-06-17 00:21:06,123 - DEBUG - VN bb95b8db-7c61-488d-8169-9c184a327bb8 still in use: Unable to complete operation on network bb95b8db-7c61-488d-8169-9c184a327bb8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9db5a15f-1932-48f7-b55f-6220e06de7b4'] 2025-06-17 00:21:06,123 - WARNING - Deleting VN ctest-ext_vn-15033027 failed..Will retry 2025-06-17 00:21:08,242 - DEBUG - Response for deleting network () 2025-06-17 00:21:08,242 - INFO - Deleting VN ctest-vn-93428688 2025-06-17 00:21:08,355 - DEBUG - Response for deleting network () 2025-06-17 00:21:08,614 - DEBUG - No XMPP flaps were noticed during the test
2025-06-17 00:21:08,614 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-06-17 00:21:08,614 - INFO - -------------------------------------------------------------------------------- 2025-06-17 00:21:09,291 - INFO - Deleted project: ctest-TestRoutersBasic-37771217, ID : 4b925abc-a79a-4f6c-b106-cfcce2616a6e