2024-09-09 19:00:55,235 - INFO - Domain Default found not creating
2024-09-09 19:00:55,403 - INFO - Project ctest-TestBasicVMVNx-43723500 not found, creating it
2024-09-09 19:00:55,890 - INFO - Created Project:ctest-TestBasicVMVNx-43723500, ID : 61b8731c-ce95-4f19-aac4-358500834caa
2024-09-09 19:00:57,387 - INFO - ================================================================================
2024-09-09 19:00:57,387 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-09-09 19:00:57,387 - 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-09 19:00:57,654 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.10': '0'}} with
2024-09-09 19:00:57,654 - INFO - Initial checks done. Running the testcase now
2024-09-09 19:00:57,655 - INFO -
2024-09-09 19:00:58,235 - DEBUG - Response for create_network : {'network': {'id': 'd6f0d06f-6842-4005-add2-87cae5933153', 'name': 'ctest-vn-44821271', 'tenant_id': '61b8731cce954f19aac4358500834caa', 'project_id': '61b8731cce954f19aac4358500834caa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-43723500', 'ctest-vn-44821271'], 'port_security_enabled': True, 'description': ''}}
2024-09-09 19:00:58,408 - DEBUG - Response for create_subnet : {'subnet': {'id': '60de5aa4-3e3a-40f7-8d4a-7d684d98e5b1', 'name': '', 'tenant_id': '61b8731cce954f19aac4358500834caa', 'network_id': 'd6f0d06f-6842-4005-add2-87cae5933153', 'ip_version': 4, 'cidr': '214.223.85.128/26', 'allocation_pools': [{'start': '214.223.85.130', 'end': '214.223.85.190'}], 'gateway_ip': '214.223.85.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.223.85.130', 'tags': [], 'project_id': '61b8731cce954f19aac4358500834caa'}}
2024-09-09 19:00:58,428 - INFO - Created VN ctest-vn-44821271
2024-09-09 19:00:58,477 - DEBUG - VN ctest-vn-44821271 UUID is d6f0d06f-6842-4005-add2-87cae5933153
2024-09-09 19:00:58,644 - DEBUG - Services list from nova: [, , ]
2024-09-09 19:00:59,781 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1877-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1877-1)
2024-09-09 19:01:00,957 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1877-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1877-1)
2024-09-09 19:01:00,957 - INFO - Waiting for VM ctest-TestBasicVMVNx-43723500-89699093 to be up..
2024-09-09 19:01:01,046 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-09-09 19:01:06,134 - DEBUG - VM is in ACTIVE state now
2024-09-09 19:01:06,134 - INFO - VM name : ctest-TestBasicVMVNx-43723500-89699093
2024-09-09 19:01:06,234 - DEBUG - VM ctest-TestBasicVMVNx-43723500-89699093 ID is f132092b-a761-4f71-9242-c59b025480e4
2024-09-09 19:01:06,257 - DEBUG - VM ctest-TestBasicVMVNx-43723500-89699093 launched on Node cn-jenkins-deploy-platform-ansible-os-1877-1
2024-09-09 19:01:06,339 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f132092b-a761-4f71-9242-c59b025480e4
2024-09-09 19:01:06,638 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f132092b-a761-4f71-9242-c59b025480e4
2024-09-09 19:01:06,670 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/4941d726-562c-4e0e-a145-91621998d2ec
2024-09-09 19:01:09,939 - 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-09 19:01:09,939 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-43723500-89699093 failed!
2024-09-09 19:01:09,993 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-43723500:ctest-vn-44821271 is 214.223.85.129 and allocation pool is NOT set
2024-09-09 19:01:12,056 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.485 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.485/2.073/3.661/1.588 ms')
2024-09-09 19:01:12,056 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-43723500-89699093 passed
2024-09-09 19:01:12,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-09 19:01:12,206 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-43723500-89699093, IP 214.223.85.131, Port 22
2024-09-09 19:01:12,372 - DEBUG - VM ctest-TestBasicVMVNx-43723500-89699093 is ready for SSH connections
2024-09-09 19:01:12,373 - INFO - Waiting for VM ctest-TestBasicVMVNx-43723500-23482966 to be up..
2024-09-09 19:01:12,456 - DEBUG - VM is in ACTIVE state now
2024-09-09 19:01:12,456 - INFO - VM name : ctest-TestBasicVMVNx-43723500-23482966
2024-09-09 19:01:12,536 - DEBUG - VM ctest-TestBasicVMVNx-43723500-23482966 ID is be22d788-26e0-4339-96fb-bbe44b8b242b
2024-09-09 19:01:12,536 - DEBUG - VM ctest-TestBasicVMVNx-43723500-23482966 launched on Node cn-jenkins-deploy-platform-ansible-os-1877-1
2024-09-09 19:01:12,614 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/be22d788-26e0-4339-96fb-bbe44b8b242b
2024-09-09 19:01:12,623 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b9f516c9-554e-4750-8105-90919edad9e7
2024-09-09 19:01:13,865 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.406 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.406/2.389/4.372/1.983 ms')
2024-09-09 19:01:13,865 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-43723500-23482966 passed
2024-09-09 19:01:14,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-09 19:01:14,022 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-43723500-23482966, IP 214.223.85.132, Port 22
2024-09-09 19:01:14,177 - DEBUG - VM ctest-TestBasicVMVNx-43723500-23482966 is ready for SSH connections
2024-09-09 19:01:14,178 - DEBUG - FILE SIZE = 1303B
2024-09-09 19:01:14,178 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-43723500-89699093 to ctest-TestBasicVMVNx-43723500-23482966 using scp
2024-09-09 19:01:14,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-09 19:01:14,184 - 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.27, gateway password: c0ntrail123
2024-09-09 19:01:14,184 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-09-09 19:01:16,107 - DEBUG - 1+0 records in
1+0 records out
2024-09-09 19:01:16,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-09 19:01:17,214 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2024-09-09 19:01:17,214 - DEBUG - ls -l testfile
2024-09-09 19:01:18,792 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 9 13:01 [0;0mtestfile[0m
2024-09-09 19:01:18,792 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-43723500-23482966
2024-09-09 19:01:18,792 - INFO - Deleting VM ctest-TestBasicVMVNx-43723500-23482966
2024-09-09 19:01:18,861 - INFO - Deleting VM ctest-TestBasicVMVNx-43723500-89699093
2024-09-09 19:01:18,936 - INFO - Deleting VN ctest-vn-44821271
2024-09-09 19:01:18,981 - DEBUG - VN d6f0d06f-6842-4005-add2-87cae5933153 still in use: Unable to complete operation on network d6f0d06f-6842-4005-add2-87cae5933153. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7b7c5a0b-685c-4230-a42e-0c676a06369f']
2024-09-09 19:01:18,981 - WARNING - Deleting VN ctest-vn-44821271 failed..Will retry
2024-09-09 19:01:21,095 - DEBUG - Response for deleting network ()
2024-09-09 19:01:21,357 - DEBUG - No XMPP flaps were noticed during the test
2024-09-09 19:01:21,357 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-09-09 19:01:21,357 - INFO - --------------------------------------------------------------------------------
2024-09-09 19:01:22,047 - INFO - Deleted project: ctest-TestBasicVMVNx-43723500, ID : 61b8731c-ce95-4f19-aac4-358500834caa