2024-09-11 22:17:45,435 - INFO - Domain Default found not creating 2024-09-11 22:17:45,625 - INFO - Project ctest-TestBasicVMVNx-88635874 not found, creating it 2024-09-11 22:17:46,158 - INFO - Created Project:ctest-TestBasicVMVNx-88635874, ID : 8de9dc02-6aa6-4a83-8cc8-bc3bf5939df4 2024-09-11 22:17:47,887 - INFO - ================================================================================ 2024-09-11 22:17:47,887 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-11 22:17:47,887 - INFO - TEST DESCRIPTION : Description: Test to validate File Transfer using scp between VMs. Files of different sizes. Test steps: 1. Creating vm's - vm1 and vm2 and a Vn - vn222 2. Transfer file from vm1 to vm2 with diferrent file sizes using scp 3. file sizes - 64,1202,2210,10000 4. verify files present in vm2 match with the size of the file sent. Pass criteria: File in vm2 should match with the transferred file size from vm1 Maintainer : ganeshahv@juniper.net 2024-09-11 22:17:48,145 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.11': '0'}} with 2024-09-11 22:17:48,145 - INFO - Initial checks done. Running the testcase now 2024-09-11 22:17:48,145 - INFO - 2024-09-11 22:17:48,813 - DEBUG - Response for create_network : {'network': {'id': '35fecc41-3157-4831-a804-4d2145d74f7b', 'name': 'ctest-vn-60740041', 'tenant_id': '8de9dc026aa64a838cc8bc3bf5939df4', 'project_id': '8de9dc026aa64a838cc8bc3bf5939df4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-88635874', 'ctest-vn-60740041'], 'port_security_enabled': True, 'description': ''}} 2024-09-11 22:17:49,036 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e68cd3c-c722-4da8-9692-e4383710161d', 'name': '', 'tenant_id': '8de9dc026aa64a838cc8bc3bf5939df4', 'network_id': '35fecc41-3157-4831-a804-4d2145d74f7b', 'ip_version': 4, 'cidr': '35.140.254.128/26', 'allocation_pools': [{'start': '35.140.254.130', 'end': '35.140.254.190'}], 'gateway_ip': '35.140.254.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.140.254.130', 'tags': [], 'project_id': '8de9dc026aa64a838cc8bc3bf5939df4'}} 2024-09-11 22:17:49,062 - INFO - Created VN ctest-vn-60740041 2024-09-11 22:17:49,122 - DEBUG - VN ctest-vn-60740041 UUID is 35fecc41-3157-4831-a804-4d2145d74f7b 2024-09-11 22:17:49,330 - DEBUG - Services list from nova: [, , ] 2024-09-11 22:17:50,546 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1901-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1901-1) 2024-09-11 22:17:51,968 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1901-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1901-1) 2024-09-11 22:17:51,969 - INFO - Waiting for VM ctest-TestBasicVMVNx-88635874-83919039 to be up.. 2024-09-11 22:17:52,095 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-11 22:17:57,323 - DEBUG - VM is in ACTIVE state now 2024-09-11 22:17:57,323 - INFO - VM name : ctest-TestBasicVMVNx-88635874-83919039 2024-09-11 22:17:57,434 - DEBUG - VM ctest-TestBasicVMVNx-88635874-83919039 ID is a27f1aac-ff89-409e-af86-2b96a07c26be 2024-09-11 22:17:57,456 - DEBUG - VM ctest-TestBasicVMVNx-88635874-83919039 launched on Node cn-jenkins-deploy-platform-ansible-os-1901-1 2024-09-11 22:17:57,553 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/a27f1aac-ff89-409e-af86-2b96a07c26be 2024-09-11 22:17:57,900 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/a27f1aac-ff89-409e-af86-2b96a07c26be 2024-09-11 22:17:57,946 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/a6575e4e-475f-4ea3-8e6e-32ca3bb76cff 2024-09-11 22:18:01,223 - 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') 2024-09-11 22:18:01,223 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-88635874-83919039 failed! 2024-09-11 22:18:01,298 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-88635874:ctest-vn-60740041 is 35.140.254.129 and allocation pool is NOT set 2024-09-11 22:18:03,364 - 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=9.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.462 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.462/4.860/9.258/4.398 ms') 2024-09-11 22:18:03,364 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-88635874-83919039 passed 2024-09-11 22:18:03,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 22:18:03,526 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-88635874-83919039, IP 35.140.254.131, Port 22 2024-09-11 22:18:03,701 - DEBUG - VM ctest-TestBasicVMVNx-88635874-83919039 is ready for SSH connections 2024-09-11 22:18:03,701 - INFO - Waiting for VM ctest-TestBasicVMVNx-88635874-35508136 to be up.. 2024-09-11 22:18:03,822 - DEBUG - VM is in ACTIVE state now 2024-09-11 22:18:03,822 - INFO - VM name : ctest-TestBasicVMVNx-88635874-35508136 2024-09-11 22:18:03,918 - DEBUG - VM ctest-TestBasicVMVNx-88635874-35508136 ID is e7d0128d-fcdf-4181-a5f9-19f091379454 2024-09-11 22:18:03,918 - DEBUG - VM ctest-TestBasicVMVNx-88635874-35508136 launched on Node cn-jenkins-deploy-platform-ansible-os-1901-1 2024-09-11 22:18:04,012 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/e7d0128d-fcdf-4181-a5f9-19f091379454 2024-09-11 22:18:04,024 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/eab40aea-32fd-46ae-8df3-03a46337f64f 2024-09-11 22:18:05,288 - 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=2.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.432 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.432/1.686/2.941/1.254 ms') 2024-09-11 22:18:05,288 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-88635874-35508136 passed 2024-09-11 22:18:05,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 22:18:05,446 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-88635874-35508136, IP 35.140.254.132, Port 22 2024-09-11 22:18:05,612 - DEBUG - VM ctest-TestBasicVMVNx-88635874-35508136 is ready for SSH connections 2024-09-11 22:18:05,612 - DEBUG - FILE SIZE = 1303B 2024-09-11 22:18:05,612 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-88635874-83919039 to ctest-TestBasicVMVNx-88635874-35508136 using scp 2024-09-11 22:18:05,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 22:18:05,622 - DEBUG - Running remote_cmd, Cmd : dd bs=1303 count=1 if=/dev/zero of=testfile, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2024-09-11 22:18:05,622 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-11 22:18:07,675 - DEBUG - 1+0 records in 1+0 records out 2024-09-11 22:18:08,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 22:18:08,908 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2024-09-11 22:18:08,909 - DEBUG - ls -l testfile 2024-09-11 22:18:10,539 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 11 16:18 testfile 2024-09-11 22:18:10,539 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-88635874-35508136 2024-09-11 22:18:10,539 - INFO - Deleting VM ctest-TestBasicVMVNx-88635874-35508136 2024-09-11 22:18:10,611 - INFO - Deleting VM ctest-TestBasicVMVNx-88635874-83919039 2024-09-11 22:18:10,688 - INFO - Deleting VN ctest-vn-60740041 2024-09-11 22:18:10,731 - DEBUG - VN 35fecc41-3157-4831-a804-4d2145d74f7b still in use: Unable to complete operation on network 35fecc41-3157-4831-a804-4d2145d74f7b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4145cafa-adf8-4ec3-911c-d8d8aab4b907'] 2024-09-11 22:18:10,731 - WARNING - Deleting VN ctest-vn-60740041 failed..Will retry 2024-09-11 22:18:12,895 - DEBUG - Response for deleting network () 2024-09-11 22:18:13,172 - DEBUG - No XMPP flaps were noticed during the test
2024-09-11 22:18:13,172 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:26]
2024-09-11 22:18:13,172 - INFO - -------------------------------------------------------------------------------- 2024-09-11 22:18:13,945 - INFO - Deleted project: ctest-TestBasicVMVNx-88635874, ID : 8de9dc02-6aa6-4a83-8cc8-bc3bf5939df4