2024-10-24 13:12:39,252 - INFO - Domain Default found not creating
2024-10-24 13:12:39,454 - INFO - Project ctest-TestBasicVMVNx-64047657 not found, creating it
2024-10-24 13:12:39,979 - INFO - Created Project:ctest-TestBasicVMVNx-64047657, ID : 7e4ebf5d-e64e-4fd5-810f-7c3e689f27f5
2024-10-24 13:12:42,549 - INFO - ================================================================================
2024-10-24 13:12:42,549 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-10-24 13:12:42,549 - 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 13:12:42,826 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.19': '0'}} with
2024-10-24 13:12:42,826 - INFO - Initial checks done. Running the testcase now
2024-10-24 13:12:42,826 - INFO -
2024-10-24 13:12:43,449 - DEBUG - Response for create_network : {'network': {'id': 'e901d2f7-75bf-44b8-a7ed-64d0b201e318', 'name': 'ctest-vn-79883756', 'tenant_id': '7e4ebf5de64e4fd5810f7c3e689f27f5', 'project_id': '7e4ebf5de64e4fd5810f7c3e689f27f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-64047657', 'ctest-vn-79883756'], 'port_security_enabled': True, 'description': ''}}
2024-10-24 13:12:43,689 - DEBUG - Response for create_subnet : {'subnet': {'id': '2482536c-7450-4f65-982d-da9b1d3d8c0d', 'name': '', 'tenant_id': '7e4ebf5de64e4fd5810f7c3e689f27f5', 'network_id': 'e901d2f7-75bf-44b8-a7ed-64d0b201e318', 'ip_version': 4, 'cidr': '57.170.111.0/26', 'allocation_pools': [{'start': '57.170.111.2', 'end': '57.170.111.62'}], 'gateway_ip': '57.170.111.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.170.111.2', 'tags': [], 'project_id': '7e4ebf5de64e4fd5810f7c3e689f27f5'}}
2024-10-24 13:12:43,713 - INFO - Created VN ctest-vn-79883756
2024-10-24 13:12:43,775 - DEBUG - VN ctest-vn-79883756 UUID is e901d2f7-75bf-44b8-a7ed-64d0b201e318
2024-10-24 13:12:43,976 - DEBUG - Services list from nova: [, , ]
2024-10-24 13:12:45,195 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2140-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2140-1)
2024-10-24 13:12:46,587 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2140-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2140-1)
2024-10-24 13:12:46,587 - INFO - Waiting for VM ctest-TestBasicVMVNx-64047657-13651626 to be up..
2024-10-24 13:12:46,732 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-24 13:12:51,844 - DEBUG - VM is in ACTIVE state now
2024-10-24 13:12:51,844 - INFO - VM name : ctest-TestBasicVMVNx-64047657-13651626
2024-10-24 13:12:51,949 - DEBUG - VM ctest-TestBasicVMVNx-64047657-13651626 ID is d162eec3-d442-4135-9772-a387f769d73b
2024-10-24 13:12:51,980 - DEBUG - VM ctest-TestBasicVMVNx-64047657-13651626 launched on Node cn-jenkins-deploy-platform-ansible-os-2140-1
2024-10-24 13:12:52,092 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/d162eec3-d442-4135-9772-a387f769d73b
2024-10-24 13:12:52,440 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/d162eec3-d442-4135-9772-a387f769d73b
2024-10-24 13:12:52,482 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/50c4de45-24d1-445d-aea9-a665f223a2e2
2024-10-24 13:12:55,790 - 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 1032ms')
2024-10-24 13:12:55,790 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-64047657-13651626 failed!
2024-10-24 13:12:55,855 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-64047657:ctest-vn-79883756 is 57.170.111.1 and allocation pool is NOT set
2024-10-24 13:12:57,923 - 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=6.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.37 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 = 2.373/4.194/6.015/1.821 ms')
2024-10-24 13:12:57,923 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-64047657-13651626 passed
2024-10-24 13:12:58,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-24 13:12:58,084 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-64047657-13651626, IP 57.170.111.3, Port 22
2024-10-24 13:12:58,244 - DEBUG - VM ctest-TestBasicVMVNx-64047657-13651626 is ready for SSH connections
2024-10-24 13:12:58,244 - INFO - Waiting for VM ctest-TestBasicVMVNx-64047657-41187092 to be up..
2024-10-24 13:12:58,383 - DEBUG - VM is in ACTIVE state now
2024-10-24 13:12:58,383 - INFO - VM name : ctest-TestBasicVMVNx-64047657-41187092
2024-10-24 13:12:58,482 - DEBUG - VM ctest-TestBasicVMVNx-64047657-41187092 ID is 93fcf257-1f08-4077-9ee4-825bd51c6df5
2024-10-24 13:12:58,482 - DEBUG - VM ctest-TestBasicVMVNx-64047657-41187092 launched on Node cn-jenkins-deploy-platform-ansible-os-2140-1
2024-10-24 13:12:58,587 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/93fcf257-1f08-4077-9ee4-825bd51c6df5
2024-10-24 13:12:58,603 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/51de8070-b021-49fe-8fb4-c54123bc2e4d
2024-10-24 13:12:59,886 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.871 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.871/2.864/4.857/1.993 ms')
2024-10-24 13:12:59,886 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-64047657-41187092 passed
2024-10-24 13:13:00,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-24 13:13:00,056 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-64047657-41187092, IP 57.170.111.4, Port 22
2024-10-24 13:13:00,211 - DEBUG - VM ctest-TestBasicVMVNx-64047657-41187092 is ready for SSH connections
2024-10-24 13:13:00,211 - DEBUG - FILE SIZE = 1303B
2024-10-24 13:13:00,211 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-64047657-13651626 to ctest-TestBasicVMVNx-64047657-41187092 using scp
2024-10-24 13:13:00,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-24 13:13:00,218 - 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-10-24 13:13:00,219 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-10-24 13:13:02,292 - DEBUG - 1+0 records in
1+0 records out
2024-10-24 13:13:03,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-24 13:13:03,406 - 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-10-24 13:13:03,406 - DEBUG - ls -l testfile
2024-10-24 13:13:05,115 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 24 07:13 [0;0mtestfile[0m
2024-10-24 13:13:05,115 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-64047657-41187092
2024-10-24 13:13:05,116 - INFO - Deleting VM ctest-TestBasicVMVNx-64047657-41187092
2024-10-24 13:13:05,198 - INFO - Deleting VM ctest-TestBasicVMVNx-64047657-13651626
2024-10-24 13:13:05,278 - INFO - Deleting VN ctest-vn-79883756
2024-10-24 13:13:05,341 - DEBUG - VN e901d2f7-75bf-44b8-a7ed-64d0b201e318 still in use: Unable to complete operation on network e901d2f7-75bf-44b8-a7ed-64d0b201e318. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e89b388e-8f2c-4185-acc3-cc2f12957245']
2024-10-24 13:13:05,341 - WARNING - Deleting VN ctest-vn-79883756 failed..Will retry
2024-10-24 13:13:07,483 - DEBUG - Response for deleting network ()
2024-10-24 13:13:07,742 - DEBUG - No XMPP flaps were noticed during the test
2024-10-24 13:13:07,742 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-10-24 13:13:07,742 - INFO - --------------------------------------------------------------------------------
2024-10-24 13:13:08,573 - INFO - Deleted project: ctest-TestBasicVMVNx-64047657, ID : 7e4ebf5d-e64e-4fd5-810f-7c3e689f27f5