2024-10-31 11:39:39,734 - INFO - Domain Default found not creating 2024-10-31 11:39:39,931 - INFO - Project ctest-TestBasicVMVNx-52164314 not found, creating it 2024-10-31 11:39:40,543 - INFO - Created Project:ctest-TestBasicVMVNx-52164314, ID : a2d960f8-30e2-48d8-b521-1fdbdc66405f 2024-10-31 11:39:42,331 - INFO - ================================================================================ 2024-10-31 11:39:42,332 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-31 11:39:42,332 - 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-31 11:39:42,589 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.5': '0'}} with 2024-10-31 11:39:42,589 - INFO - Initial checks done. Running the testcase now 2024-10-31 11:39:42,589 - INFO - 2024-10-31 11:39:43,277 - DEBUG - Response for create_network : {'network': {'id': '316cbfd4-1fbe-45dd-bd2b-191756471c6c', 'name': 'ctest-vn-04209105', 'tenant_id': 'a2d960f830e248d8b5211fdbdc66405f', 'project_id': 'a2d960f830e248d8b5211fdbdc66405f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-52164314', 'ctest-vn-04209105'], 'port_security_enabled': True, 'description': ''}} 2024-10-31 11:39:43,502 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a44b606-e168-458b-beda-1188af432214', 'name': '', 'tenant_id': 'a2d960f830e248d8b5211fdbdc66405f', 'network_id': '316cbfd4-1fbe-45dd-bd2b-191756471c6c', 'ip_version': 4, 'cidr': '66.192.109.192/26', 'allocation_pools': [{'start': '66.192.109.194', 'end': '66.192.109.254'}], 'gateway_ip': '66.192.109.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.192.109.194', 'tags': [], 'project_id': 'a2d960f830e248d8b5211fdbdc66405f'}} 2024-10-31 11:39:43,529 - INFO - Created VN ctest-vn-04209105 2024-10-31 11:39:43,592 - DEBUG - VN ctest-vn-04209105 UUID is 316cbfd4-1fbe-45dd-bd2b-191756471c6c 2024-10-31 11:39:43,796 - DEBUG - Services list from nova: [, , ] 2024-10-31 11:39:45,064 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2184-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2184-1) 2024-10-31 11:39:46,520 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2184-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2184-1) 2024-10-31 11:39:46,520 - INFO - Waiting for VM ctest-TestBasicVMVNx-52164314-85097648 to be up.. 2024-10-31 11:39:46,637 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-31 11:39:51,738 - DEBUG - VM is in ACTIVE state now 2024-10-31 11:39:51,738 - INFO - VM name : ctest-TestBasicVMVNx-52164314-85097648 2024-10-31 11:39:51,833 - DEBUG - VM ctest-TestBasicVMVNx-52164314-85097648 ID is 59078c97-55e3-4f50-bfc6-d776eebdd343 2024-10-31 11:39:51,857 - DEBUG - VM ctest-TestBasicVMVNx-52164314-85097648 launched on Node cn-jenkins-deploy-platform-ansible-os-2184-1 2024-10-31 11:39:51,957 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/59078c97-55e3-4f50-bfc6-d776eebdd343 2024-10-31 11:39:52,302 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/59078c97-55e3-4f50-bfc6-d776eebdd343 2024-10-31 11:39:52,346 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/f58c23f4-6e26-4dec-815b-7193956c4f53 2024-10-31 11:39:55,637 - 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 1030ms') 2024-10-31 11:39:55,637 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-52164314-85097648 failed! 2024-10-31 11:39:55,700 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-52164314:ctest-vn-04209105 is 66.192.109.193 and allocation pool is NOT set 2024-10-31 11:39:57,771 - 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=3.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.43 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 = 3.432/3.501/3.571/0.069 ms') 2024-10-31 11:39:57,771 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-52164314-85097648 passed 2024-10-31 11:39:57,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-31 11:39:57,933 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-52164314-85097648, IP 66.192.109.195, Port 22 2024-10-31 11:39:58,000 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-10-31 11:39:58,183 - DEBUG - VM ctest-TestBasicVMVNx-52164314-85097648 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-31 11:40:03,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-31 11:40:03,185 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-52164314-85097648, IP 66.192.109.195, Port 22 2024-10-31 11:40:03,345 - DEBUG - VM ctest-TestBasicVMVNx-52164314-85097648 is ready for SSH connections 2024-10-31 11:40:03,345 - INFO - Waiting for VM ctest-TestBasicVMVNx-52164314-43406695 to be up.. 2024-10-31 11:40:03,455 - DEBUG - VM is in ACTIVE state now 2024-10-31 11:40:03,455 - INFO - VM name : ctest-TestBasicVMVNx-52164314-43406695 2024-10-31 11:40:03,563 - DEBUG - VM ctest-TestBasicVMVNx-52164314-43406695 ID is f25500ad-0653-4b5a-aca1-3b5f46f584fc 2024-10-31 11:40:03,563 - DEBUG - VM ctest-TestBasicVMVNx-52164314-43406695 launched on Node cn-jenkins-deploy-platform-ansible-os-2184-1 2024-10-31 11:40:03,669 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/f25500ad-0653-4b5a-aca1-3b5f46f584fc 2024-10-31 11:40:03,683 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/2b4ddd6f-a025-4815-858b-351070873e63 2024-10-31 11:40:04,953 - 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=5.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.557 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.557/2.836/5.116/2.279 ms') 2024-10-31 11:40:04,953 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-52164314-43406695 passed 2024-10-31 11:40:05,136 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-31 11:40:05,137 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-52164314-43406695, IP 66.192.109.196, Port 22 2024-10-31 11:40:05,308 - DEBUG - VM ctest-TestBasicVMVNx-52164314-43406695 is ready for SSH connections 2024-10-31 11:40:05,308 - DEBUG - FILE SIZE = 1303B 2024-10-31 11:40:05,309 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-52164314-85097648 to ctest-TestBasicVMVNx-52164314-43406695 using scp 2024-10-31 11:40:05,309 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-31 11:40:05,316 - 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.31, gateway password: c0ntrail123 2024-10-31 11:40:05,316 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-31 11:40:07,385 - DEBUG - 1+0 records in 1+0 records out 2024-10-31 11:40:08,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-31 11:40:08,445 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-10-31 11:40:08,446 - DEBUG - ls -l testfile 2024-10-31 11:40:10,084 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 31 05:40 testfile 2024-10-31 11:40:10,085 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-52164314-43406695 2024-10-31 11:40:10,085 - INFO - Deleting VM ctest-TestBasicVMVNx-52164314-43406695 2024-10-31 11:40:10,181 - INFO - Deleting VM ctest-TestBasicVMVNx-52164314-85097648 2024-10-31 11:40:10,271 - INFO - Deleting VN ctest-vn-04209105 2024-10-31 11:40:10,326 - DEBUG - VN 316cbfd4-1fbe-45dd-bd2b-191756471c6c still in use: Unable to complete operation on network 316cbfd4-1fbe-45dd-bd2b-191756471c6c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4611bd20-62b9-4d85-a9c6-b8f6f4de8c4b'] 2024-10-31 11:40:10,326 - WARNING - Deleting VN ctest-vn-04209105 failed..Will retry 2024-10-31 11:40:12,469 - DEBUG - Response for deleting network () 2024-10-31 11:40:12,724 - DEBUG - No XMPP flaps were noticed during the test
2024-10-31 11:40:12,724 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2024-10-31 11:40:12,725 - INFO - -------------------------------------------------------------------------------- 2024-10-31 11:40:13,509 - INFO - Deleted project: ctest-TestBasicVMVNx-52164314, ID : a2d960f8-30e2-48d8-b521-1fdbdc66405f