2024-09-10 21:14:24,104 - INFO - Domain Default found not creating 2024-09-10 21:14:24,265 - INFO - Project ctest-TestBasicVMVNx-70472831 not found, creating it 2024-09-10 21:14:24,719 - INFO - Created Project:ctest-TestBasicVMVNx-70472831, ID : 029e381d-4c7a-4681-b370-ba1fa83991d5 2024-09-10 21:14:26,437 - INFO - ================================================================================ 2024-09-10 21:14:26,437 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-10 21:14:26,437 - 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-10 21:14:26,701 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.7': '0'}} with 2024-09-10 21:14:26,701 - INFO - Initial checks done. Running the testcase now 2024-09-10 21:14:26,702 - INFO - 2024-09-10 21:14:27,255 - DEBUG - Response for create_network : {'network': {'id': 'cb5d4a0d-0f60-4d12-bf2b-7b21f9cb70b0', 'name': 'ctest-vn-63144876', 'tenant_id': '029e381d4c7a4681b370ba1fa83991d5', 'project_id': '029e381d4c7a4681b370ba1fa83991d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-70472831', 'ctest-vn-63144876'], 'port_security_enabled': True, 'description': ''}} 2024-09-10 21:14:27,453 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1479d92-f6b4-41cd-bdea-e8fc85d03c47', 'name': '', 'tenant_id': '029e381d4c7a4681b370ba1fa83991d5', 'network_id': 'cb5d4a0d-0f60-4d12-bf2b-7b21f9cb70b0', 'ip_version': 4, 'cidr': '206.85.14.192/26', 'allocation_pools': [{'start': '206.85.14.194', 'end': '206.85.14.254'}], 'gateway_ip': '206.85.14.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.85.14.194', 'tags': [], 'project_id': '029e381d4c7a4681b370ba1fa83991d5'}} 2024-09-10 21:14:27,473 - INFO - Created VN ctest-vn-63144876 2024-09-10 21:14:27,524 - DEBUG - VN ctest-vn-63144876 UUID is cb5d4a0d-0f60-4d12-bf2b-7b21f9cb70b0 2024-09-10 21:14:27,693 - DEBUG - Services list from nova: [, , ] 2024-09-10 21:14:28,726 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1888-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1888-1) 2024-09-10 21:14:29,908 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1888-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1888-1) 2024-09-10 21:14:29,908 - INFO - Waiting for VM ctest-TestBasicVMVNx-70472831-54386866 to be up.. 2024-09-10 21:14:30,005 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-10 21:14:35,097 - DEBUG - VM is in ACTIVE state now 2024-09-10 21:14:35,097 - INFO - VM name : ctest-TestBasicVMVNx-70472831-54386866 2024-09-10 21:14:35,187 - DEBUG - VM ctest-TestBasicVMVNx-70472831-54386866 ID is c62073e0-507e-4b4e-9814-bc6d596bbae1 2024-09-10 21:14:35,212 - DEBUG - VM ctest-TestBasicVMVNx-70472831-54386866 launched on Node cn-jenkins-deploy-platform-ansible-os-1888-1 2024-09-10 21:14:35,295 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/c62073e0-507e-4b4e-9814-bc6d596bbae1 2024-09-10 21:14:35,597 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/c62073e0-507e-4b4e-9814-bc6d596bbae1 2024-09-10 21:14:35,632 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/62272ec7-1a1e-4351-8971-644d543ed680 2024-09-10 21:14:38,903 - 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 1031ms') 2024-09-10 21:14:38,903 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-70472831-54386866 failed! 2024-09-10 21:14:38,960 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-70472831:ctest-vn-63144876 is 206.85.14.193 and allocation pool is NOT set 2024-09-10 21:14:41,022 - 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.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.968 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.968/1.764/2.561/0.796 ms') 2024-09-10 21:14:41,022 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-70472831-54386866 passed 2024-09-10 21:14:41,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 21:14:41,176 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-70472831-54386866, IP 206.85.14.195, Port 22 2024-09-10 21:14:41,327 - DEBUG - VM ctest-TestBasicVMVNx-70472831-54386866 is ready for SSH connections 2024-09-10 21:14:41,327 - INFO - Waiting for VM ctest-TestBasicVMVNx-70472831-00204522 to be up.. 2024-09-10 21:14:41,406 - DEBUG - VM is in ACTIVE state now 2024-09-10 21:14:41,406 - INFO - VM name : ctest-TestBasicVMVNx-70472831-00204522 2024-09-10 21:14:41,486 - DEBUG - VM ctest-TestBasicVMVNx-70472831-00204522 ID is f13758f9-a497-49c0-a779-46f90730dfec 2024-09-10 21:14:41,486 - DEBUG - VM ctest-TestBasicVMVNx-70472831-00204522 launched on Node cn-jenkins-deploy-platform-ansible-os-1888-1 2024-09-10 21:14:41,583 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/f13758f9-a497-49c0-a779-46f90730dfec 2024-09-10 21:14:41,592 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/fc15273a-f80a-435a-8ecd-e5cfc5fedd42 2024-09-10 21:14:42,833 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.418 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.418/1.492/2.567/1.074 ms') 2024-09-10 21:14:42,833 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-70472831-00204522 passed 2024-09-10 21:14:42,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 21:14:42,984 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-70472831-00204522, IP 206.85.14.196, Port 22 2024-09-10 21:14:43,143 - DEBUG - VM ctest-TestBasicVMVNx-70472831-00204522 is ready for SSH connections 2024-09-10 21:14:43,143 - DEBUG - FILE SIZE = 1303B 2024-09-10 21:14:43,143 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-70472831-54386866 to ctest-TestBasicVMVNx-70472831-00204522 using scp 2024-09-10 21:14:43,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 21:14:43,149 - 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.17, gateway password: c0ntrail123 2024-09-10 21:14:43,150 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-10 21:14:45,054 - DEBUG - 1+0 records in 1+0 records out 2024-09-10 21:14:45,877 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 21:14:46,202 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-09-10 21:14:46,202 - DEBUG - ls -l testfile 2024-09-10 21:14:47,760 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 10 15:14 testfile 2024-09-10 21:14:47,760 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-70472831-00204522 2024-09-10 21:14:47,760 - INFO - Deleting VM ctest-TestBasicVMVNx-70472831-00204522 2024-09-10 21:14:47,831 - INFO - Deleting VM ctest-TestBasicVMVNx-70472831-54386866 2024-09-10 21:14:47,906 - INFO - Deleting VN ctest-vn-63144876 2024-09-10 21:14:47,951 - DEBUG - VN cb5d4a0d-0f60-4d12-bf2b-7b21f9cb70b0 still in use: Unable to complete operation on network cb5d4a0d-0f60-4d12-bf2b-7b21f9cb70b0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5521d6dc-61fb-491e-8ca5-7ca074c99830'] 2024-09-10 21:14:47,951 - WARNING - Deleting VN ctest-vn-63144876 failed..Will retry 2024-09-10 21:14:50,055 - DEBUG - Response for deleting network () 2024-09-10 21:14:50,312 - DEBUG - No XMPP flaps were noticed during the test
2024-09-10 21:14:50,313 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-09-10 21:14:50,313 - INFO - -------------------------------------------------------------------------------- 2024-09-10 21:14:50,976 - INFO - Deleted project: ctest-TestBasicVMVNx-70472831, ID : 029e381d-4c7a-4681-b370-ba1fa83991d5