2024-10-24 14:36:01,072 - INFO - Domain Default found not creating 2024-10-24 14:36:01,257 - INFO - Project ctest-TestBasicVMVNx-25472298 not found, creating it 2024-10-24 14:36:01,769 - INFO - Created Project:ctest-TestBasicVMVNx-25472298, ID : cb25101b-cc5c-4e99-b50e-85713c979cb5 2024-10-24 14:36:03,340 - INFO - ================================================================================ 2024-10-24 14:36:03,340 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-24 14:36:03,340 - 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-10-24 14:36:03,596 - DEBUG - Nothing to compare xmpp stats {'10.0.0.54': {'10.20.0.17': '0'}} with 2024-10-24 14:36:03,597 - INFO - Initial checks done. Running the testcase now 2024-10-24 14:36:03,597 - INFO - 2024-10-24 14:36:04,243 - DEBUG - Response for create_network : {'network': {'id': '71e5ce42-5552-40cf-9484-745ecf99a404', 'name': 'ctest-vn-31942554', 'tenant_id': 'cb25101bcc5c4e99b50e85713c979cb5', 'project_id': 'cb25101bcc5c4e99b50e85713c979cb5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-25472298', 'ctest-vn-31942554'], 'port_security_enabled': True, 'description': ''}} 2024-10-24 14:36:04,483 - DEBUG - Response for create_subnet : {'subnet': {'id': '67f1ca06-3371-4522-aa6c-19db4eb9610b', 'name': '', 'tenant_id': 'cb25101bcc5c4e99b50e85713c979cb5', 'network_id': '71e5ce42-5552-40cf-9484-745ecf99a404', 'ip_version': 4, 'cidr': '136.230.38.128/26', 'allocation_pools': [{'start': '136.230.38.130', 'end': '136.230.38.190'}], 'gateway_ip': '136.230.38.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.230.38.130', 'tags': [], 'project_id': 'cb25101bcc5c4e99b50e85713c979cb5'}} 2024-10-24 14:36:04,510 - INFO - Created VN ctest-vn-31942554 2024-10-24 14:36:04,570 - DEBUG - VN ctest-vn-31942554 UUID is 71e5ce42-5552-40cf-9484-745ecf99a404 2024-10-24 14:36:04,751 - DEBUG - Services list from nova: [, , ] 2024-10-24 14:36:05,829 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2141-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2141-1) 2024-10-24 14:36:07,029 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2141-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2141-1) 2024-10-24 14:36:07,029 - INFO - Waiting for VM ctest-TestBasicVMVNx-25472298-05414852 to be up.. 2024-10-24 14:36:07,119 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-24 14:36:12,207 - DEBUG - VM is in ACTIVE state now 2024-10-24 14:36:12,207 - INFO - VM name : ctest-TestBasicVMVNx-25472298-05414852 2024-10-24 14:36:12,291 - DEBUG - VM ctest-TestBasicVMVNx-25472298-05414852 ID is c19d0d74-fd7b-4144-9945-e36806bda51a 2024-10-24 14:36:12,317 - DEBUG - VM ctest-TestBasicVMVNx-25472298-05414852 launched on Node cn-jenkins-deploy-platform-ansible-os-2141-1 2024-10-24 14:36:12,401 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/c19d0d74-fd7b-4144-9945-e36806bda51a 2024-10-24 14:36:12,708 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/c19d0d74-fd7b-4144-9945-e36806bda51a 2024-10-24 14:36:12,747 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine-interface/f5d0636f-827d-4065-9081-ac3c42baff54 2024-10-24 14:36:16,013 - 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 1007ms') 2024-10-24 14:36:16,013 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-25472298-05414852 failed! 2024-10-24 14:36:16,074 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-25472298:ctest-vn-31942554 is 136.230.38.129 and allocation pool is NOT set 2024-10-24 14:36:18,146 - 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.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.833 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.833/5.181/9.530/4.348 ms') 2024-10-24 14:36:18,146 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-25472298-05414852 passed 2024-10-24 14:36:18,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 14:36:18,311 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-25472298-05414852, IP 136.230.38.131, Port 22 2024-10-24 14:36:18,470 - DEBUG - VM ctest-TestBasicVMVNx-25472298-05414852 is ready for SSH connections 2024-10-24 14:36:18,471 - INFO - Waiting for VM ctest-TestBasicVMVNx-25472298-59023323 to be up.. 2024-10-24 14:36:18,558 - DEBUG - VM is in ACTIVE state now 2024-10-24 14:36:18,558 - INFO - VM name : ctest-TestBasicVMVNx-25472298-59023323 2024-10-24 14:36:18,653 - DEBUG - VM ctest-TestBasicVMVNx-25472298-59023323 ID is a80c0d59-e5ce-47e2-8070-a5ed19b9a9b3 2024-10-24 14:36:18,653 - DEBUG - VM ctest-TestBasicVMVNx-25472298-59023323 launched on Node cn-jenkins-deploy-platform-ansible-os-2141-1 2024-10-24 14:36:18,735 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/a80c0d59-e5ce-47e2-8070-a5ed19b9a9b3 2024-10-24 14:36:18,747 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine-interface/c6f984d0-c088-4c88-9799-d905a9ec49e4 2024-10-24 14:36:19,997 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.387 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.387/1.771/3.156/1.384 ms') 2024-10-24 14:36:19,998 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-25472298-59023323 passed 2024-10-24 14:36:20,158 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 14:36:20,158 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-25472298-59023323, IP 136.230.38.132, Port 22 2024-10-24 14:36:20,314 - DEBUG - VM ctest-TestBasicVMVNx-25472298-59023323 is ready for SSH connections 2024-10-24 14:36:20,314 - DEBUG - FILE SIZE = 1303B 2024-10-24 14:36:20,314 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-25472298-05414852 to ctest-TestBasicVMVNx-25472298-59023323 using scp 2024-10-24 14:36:20,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 14:36:20,320 - 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.54, gateway password: c0ntrail123 2024-10-24 14:36:20,321 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-24 14:36:22,411 - DEBUG - 1+0 records in 1+0 records out 2024-10-24 14:36:23,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 14:36:23,346 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.54, gateway password: c0ntrail123 2024-10-24 14:36:23,347 - DEBUG - ls -l testfile 2024-10-24 14:36:24,983 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 24 08:36 testfile 2024-10-24 14:36:24,984 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-25472298-59023323 2024-10-24 14:36:24,984 - INFO - Deleting VM ctest-TestBasicVMVNx-25472298-59023323 2024-10-24 14:36:25,069 - INFO - Deleting VM ctest-TestBasicVMVNx-25472298-05414852 2024-10-24 14:36:25,148 - INFO - Deleting VN ctest-vn-31942554 2024-10-24 14:36:25,192 - DEBUG - VN 71e5ce42-5552-40cf-9484-745ecf99a404 still in use: Unable to complete operation on network 71e5ce42-5552-40cf-9484-745ecf99a404. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-94631490-2cae-4bf1-9931-e1f12cbac2b0'] 2024-10-24 14:36:25,192 - WARNING - Deleting VN ctest-vn-31942554 failed..Will retry 2024-10-24 14:36:27,325 - DEBUG - Response for deleting network () 2024-10-24 14:36:27,591 - DEBUG - No XMPP flaps were noticed during the test
2024-10-24 14:36:27,591 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-10-24 14:36:27,591 - INFO - -------------------------------------------------------------------------------- 2024-10-24 14:36:28,364 - INFO - Deleted project: ctest-TestBasicVMVNx-25472298, ID : cb25101b-cc5c-4e99-b50e-85713c979cb5