2024-11-10 23:26:49,662 - INFO - Domain Default found not creating 2024-11-10 23:26:49,928 - INFO - Project ctest-TestBasicVMVNx-60111749 not found, creating it 2024-11-10 23:26:50,712 - INFO - Created Project:ctest-TestBasicVMVNx-60111749, ID : d43a9ed1-db20-4989-a3be-4b4fcf46ef4c 2024-11-10 23:26:52,937 - INFO - ================================================================================ 2024-11-10 23:26:52,938 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-10 23:26:52,938 - 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-11-10 23:26:53,231 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.13': '0'}} with 2024-11-10 23:26:53,231 - INFO - Initial checks done. Running the testcase now 2024-11-10 23:26:53,231 - INFO - 2024-11-10 23:26:53,997 - DEBUG - Response for create_network : {'network': {'id': '89432de7-f3ec-4f25-b014-c2b4798d5c60', 'name': 'ctest-vn-64554462', 'tenant_id': 'd43a9ed1db204989a3be4b4fcf46ef4c', 'project_id': 'd43a9ed1db204989a3be4b4fcf46ef4c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-60111749', 'ctest-vn-64554462'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 23:26:54,239 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e04dcf37-6412-4aa8-b6c7-4a1d02ddcedc', 'name': '', 'tenant_id': 'd43a9ed1db204989a3be4b4fcf46ef4c', 'network_id': '89432de7-f3ec-4f25-b014-c2b4798d5c60', 'ip_version': 4, 'cidr': '214.156.185.128/26', 'allocation_pools': [{'start': '214.156.185.130', 'end': '214.156.185.190'}], 'gateway_ip': '214.156.185.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.156.185.130', 'tags': [], 'project_id': 'd43a9ed1db204989a3be4b4fcf46ef4c'}} 2024-11-10 23:26:54,261 - INFO - Created VN ctest-vn-64554462 2024-11-10 23:26:54,325 - DEBUG - VN ctest-vn-64554462 UUID is 89432de7-f3ec-4f25-b014-c2b4798d5c60 2024-11-10 23:26:54,551 - DEBUG - Services list from nova: [, , ] 2024-11-10 23:26:56,274 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2268-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2268-1) 2024-11-10 23:26:57,696 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2268-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2268-1) 2024-11-10 23:26:57,696 - INFO - Waiting for VM ctest-TestBasicVMVNx-60111749-56344180 to be up.. 2024-11-10 23:26:57,822 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 23:27:02,943 - DEBUG - VM is in ACTIVE state now 2024-11-10 23:27:02,943 - INFO - VM name : ctest-TestBasicVMVNx-60111749-56344180 2024-11-10 23:27:03,068 - DEBUG - VM ctest-TestBasicVMVNx-60111749-56344180 ID is a54b7ec6-387f-47c6-9924-8c1d046d4a09 2024-11-10 23:27:03,224 - DEBUG - VM ctest-TestBasicVMVNx-60111749-56344180 launched on Node cn-jenkins-deploy-platform-ansible-os-2268-1 2024-11-10 23:27:03,318 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/a54b7ec6-387f-47c6-9924-8c1d046d4a09 2024-11-10 23:27:03,677 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/a54b7ec6-387f-47c6-9924-8c1d046d4a09 2024-11-10 23:27:03,768 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/3cf321c9-8017-493d-a781-e944c08ac34a 2024-11-10 23:27:07,102 - 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 1029ms') 2024-11-10 23:27:07,103 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-60111749-56344180 failed! 2024-11-10 23:27:07,177 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-60111749:ctest-vn-64554462 is 214.156.185.129 and allocation pool is NOT set 2024-11-10 23:27:11,264 - 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=2 ttl=63 time=5.70 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 5.697/5.697/5.697/0.000 ms') 2024-11-10 23:27:11,264 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-60111749-56344180 passed 2024-11-10 23:27:11,425 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 23:27:11,426 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-60111749-56344180, IP 214.156.185.131, Port 22 2024-11-10 23:27:11,596 - DEBUG - VM ctest-TestBasicVMVNx-60111749-56344180 is ready for SSH connections 2024-11-10 23:27:11,596 - INFO - Waiting for VM ctest-TestBasicVMVNx-60111749-20187441 to be up.. 2024-11-10 23:27:11,727 - DEBUG - VM is in ACTIVE state now 2024-11-10 23:27:11,727 - INFO - VM name : ctest-TestBasicVMVNx-60111749-20187441 2024-11-10 23:27:11,825 - DEBUG - VM ctest-TestBasicVMVNx-60111749-20187441 ID is 5b71cc6b-6740-48a6-befb-99ec01947aa7 2024-11-10 23:27:11,825 - DEBUG - VM ctest-TestBasicVMVNx-60111749-20187441 launched on Node cn-jenkins-deploy-platform-ansible-os-2268-1 2024-11-10 23:27:11,919 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/5b71cc6b-6740-48a6-befb-99ec01947aa7 2024-11-10 23:27:11,930 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/4e3b5647-b509-4824-966a-a4d8d022e9e7 2024-11-10 23:27:13,186 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.873 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.873/2.449/4.025/1.576 ms') 2024-11-10 23:27:13,187 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-60111749-20187441 passed 2024-11-10 23:27:13,402 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 23:27:13,402 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-60111749-20187441, IP 214.156.185.132, Port 22 2024-11-10 23:27:13,605 - DEBUG - VM ctest-TestBasicVMVNx-60111749-20187441 is ready for SSH connections 2024-11-10 23:27:13,605 - DEBUG - FILE SIZE = 1303B 2024-11-10 23:27:13,605 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-60111749-56344180 to ctest-TestBasicVMVNx-60111749-20187441 using scp 2024-11-10 23:27:13,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 23:27:13,621 - 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-11-10 23:27:13,622 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-10 23:27:16,071 - DEBUG - 1+0 records in 1+0 records out 2024-11-10 23:27:16,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 23:27:17,265 - 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-11-10 23:27:17,265 - DEBUG - ls -l testfile 2024-11-10 23:27:19,123 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 10 16:27 testfile 2024-11-10 23:27:19,123 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-60111749-20187441 2024-11-10 23:27:19,123 - INFO - Deleting VM ctest-TestBasicVMVNx-60111749-20187441 2024-11-10 23:27:19,264 - INFO - Deleting VM ctest-TestBasicVMVNx-60111749-56344180 2024-11-10 23:27:19,411 - INFO - Deleting VN ctest-vn-64554462 2024-11-10 23:27:19,462 - DEBUG - VN 89432de7-f3ec-4f25-b014-c2b4798d5c60 still in use: Unable to complete operation on network 89432de7-f3ec-4f25-b014-c2b4798d5c60. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e70d38f5-aa3e-40bf-b030-2af2a6bd1fea'] 2024-11-10 23:27:19,462 - WARNING - Deleting VN ctest-vn-64554462 failed..Will retry 2024-11-10 23:27:21,729 - DEBUG - Response for deleting network () 2024-11-10 23:27:22,030 - DEBUG - No XMPP flaps were noticed during the test 2024-11-10 23:27:22,031 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2024-11-10 23:27:22,031 - INFO - -------------------------------------------------------------------------------- 2024-11-10 23:27:22,846 - INFO - Deleted project: ctest-TestBasicVMVNx-60111749, ID : d43a9ed1-db20-4989-a3be-4b4fcf46ef4c