2024-08-24 16:07:41,283 - INFO - Domain Default found not creating 2024-08-24 16:07:41,453 - INFO - Project ctest-TestBasicVMVNx-40967798 not found, creating it 2024-08-24 16:07:41,933 - INFO - Created Project:ctest-TestBasicVMVNx-40967798, ID : 4aff4604-a2e3-4425-9f70-8a105edf7c13 2024-08-24 16:07:43,387 - INFO - ================================================================================ 2024-08-24 16:07:43,387 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-24 16:07:43,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-08-24 16:07:43,649 - DEBUG - Nothing to compare xmpp stats {'10.0.0.36': {'10.20.0.5': '0'}} with 2024-08-24 16:07:43,649 - INFO - Initial checks done. Running the testcase now 2024-08-24 16:07:43,649 - INFO - 2024-08-24 16:07:44,227 - DEBUG - Response for create_network : {'network': {'id': '4978f0df-056d-4dbc-9014-7a10c5a8e6ba', 'name': 'ctest-vn-00343064', 'tenant_id': '4aff4604a2e344259f708a105edf7c13', 'project_id': '4aff4604a2e344259f708a105edf7c13', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-40967798', 'ctest-vn-00343064'], 'port_security_enabled': True, 'description': ''}} 2024-08-24 16:07:44,438 - DEBUG - Response for create_subnet : {'subnet': {'id': 'acd78f4c-8894-49f6-b94b-fec002791b04', 'name': '', 'tenant_id': '4aff4604a2e344259f708a105edf7c13', 'network_id': '4978f0df-056d-4dbc-9014-7a10c5a8e6ba', 'ip_version': 4, 'cidr': '113.225.134.128/26', 'allocation_pools': [{'start': '113.225.134.130', 'end': '113.225.134.190'}], 'gateway_ip': '113.225.134.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.225.134.130', 'tags': [], 'project_id': '4aff4604a2e344259f708a105edf7c13'}} 2024-08-24 16:07:44,459 - INFO - Created VN ctest-vn-00343064 2024-08-24 16:07:44,509 - DEBUG - VN ctest-vn-00343064 UUID is 4978f0df-056d-4dbc-9014-7a10c5a8e6ba 2024-08-24 16:07:44,705 - DEBUG - Services list from nova: [, , ] 2024-08-24 16:07:45,779 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1756-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1756-1) 2024-08-24 16:07:46,954 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1756-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1756-1) 2024-08-24 16:07:46,955 - INFO - Waiting for VM ctest-TestBasicVMVNx-40967798-64883357 to be up.. 2024-08-24 16:07:47,052 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-24 16:07:52,132 - DEBUG - VM is in ACTIVE state now 2024-08-24 16:07:52,133 - INFO - VM name : ctest-TestBasicVMVNx-40967798-64883357 2024-08-24 16:07:52,212 - DEBUG - VM ctest-TestBasicVMVNx-40967798-64883357 ID is 1f721a96-3618-47ea-9460-890a4fb22b7f 2024-08-24 16:07:52,230 - DEBUG - VM ctest-TestBasicVMVNx-40967798-64883357 launched on Node cn-jenkins-deploy-platform-ansible-os-1756-1 2024-08-24 16:07:52,311 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/1f721a96-3618-47ea-9460-890a4fb22b7f 2024-08-24 16:07:52,609 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/1f721a96-3618-47ea-9460-890a4fb22b7f 2024-08-24 16:07:52,644 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/f956fc44-273b-4f35-ba6b-f4de32a55316 2024-08-24 16:07:55,914 - 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-08-24 16:07:55,914 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-40967798-64883357 failed! 2024-08-24 16:07:55,965 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-40967798:ctest-vn-00343064 is 113.225.134.129 and allocation pool is NOT set 2024-08-24 16:07:58,031 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.399 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.399/1.626/2.853/1.227 ms') 2024-08-24 16:07:58,031 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-40967798-64883357 passed 2024-08-24 16:07:58,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 16:07:58,181 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-40967798-64883357, IP 113.225.134.131, Port 22 2024-08-24 16:07:58,337 - DEBUG - VM ctest-TestBasicVMVNx-40967798-64883357 is ready for SSH connections 2024-08-24 16:07:58,337 - INFO - Waiting for VM ctest-TestBasicVMVNx-40967798-72312945 to be up.. 2024-08-24 16:07:58,435 - DEBUG - VM is in ACTIVE state now 2024-08-24 16:07:58,435 - INFO - VM name : ctest-TestBasicVMVNx-40967798-72312945 2024-08-24 16:07:58,513 - DEBUG - VM ctest-TestBasicVMVNx-40967798-72312945 ID is bd20f2bb-32db-48a7-a64f-0cedcaa19aba 2024-08-24 16:07:58,513 - DEBUG - VM ctest-TestBasicVMVNx-40967798-72312945 launched on Node cn-jenkins-deploy-platform-ansible-os-1756-1 2024-08-24 16:07:58,589 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/bd20f2bb-32db-48a7-a64f-0cedcaa19aba 2024-08-24 16:07:58,598 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/35aac3ed-3d2e-4742-be1e-c03bb280504d 2024-08-24 16:07:59,837 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.569 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.569/1.600/2.631/1.031 ms') 2024-08-24 16:07:59,837 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-40967798-72312945 passed 2024-08-24 16:07:59,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 16:07:59,989 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-40967798-72312945, IP 113.225.134.132, Port 22 2024-08-24 16:08:00,144 - DEBUG - VM ctest-TestBasicVMVNx-40967798-72312945 is ready for SSH connections 2024-08-24 16:08:00,144 - DEBUG - FILE SIZE = 1303B 2024-08-24 16:08:00,144 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-40967798-64883357 to ctest-TestBasicVMVNx-40967798-72312945 using scp 2024-08-24 16:08:00,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 16:08:00,150 - 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.36, gateway password: c0ntrail123 2024-08-24 16:08:00,150 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-24 16:08:02,044 - DEBUG - 1+0 records in 1+0 records out 2024-08-24 16:08:02,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 16:08:03,126 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2024-08-24 16:08:03,127 - DEBUG - ls -l testfile 2024-08-24 16:08:04,689 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 24 10:08 testfile 2024-08-24 16:08:04,689 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-40967798-72312945 2024-08-24 16:08:04,689 - INFO - Deleting VM ctest-TestBasicVMVNx-40967798-72312945 2024-08-24 16:08:04,762 - INFO - Deleting VM ctest-TestBasicVMVNx-40967798-64883357 2024-08-24 16:08:04,846 - INFO - Deleting VN ctest-vn-00343064 2024-08-24 16:08:04,887 - DEBUG - VN 4978f0df-056d-4dbc-9014-7a10c5a8e6ba still in use: Unable to complete operation on network 4978f0df-056d-4dbc-9014-7a10c5a8e6ba. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a6f43db0-6406-481b-85b7-d801f46744f8'] 2024-08-24 16:08:04,888 - WARNING - Deleting VN ctest-vn-00343064 failed..Will retry 2024-08-24 16:08:07,009 - DEBUG - Response for deleting network () 2024-08-24 16:08:07,267 - DEBUG - No XMPP flaps were noticed during the test
2024-08-24 16:08:07,267 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-08-24 16:08:07,267 - INFO - -------------------------------------------------------------------------------- 2024-08-24 16:08:08,005 - INFO - Deleted project: ctest-TestBasicVMVNx-40967798, ID : 4aff4604-a2e3-4425-9f70-8a105edf7c13