2025-01-13 06:55:51,995 - INFO - Domain Default found not creating
2025-01-13 06:55:52,164 - INFO - Project ctest-TestBasicVMVNx-17498395 not found, creating it
2025-01-13 06:55:52,627 - INFO - Created Project:ctest-TestBasicVMVNx-17498395, ID : 78e0b4d6-f787-42ab-97d6-46ec88c4fcf6
2025-01-13 06:55:54,065 - INFO - ================================================================================
2025-01-13 06:55:54,065 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-13 06:55:54,065 - 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
2025-01-13 06:55:54,321 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.8': '0'}} with
2025-01-13 06:55:54,321 - INFO - Initial checks done. Running the testcase now
2025-01-13 06:55:54,321 - INFO -
2025-01-13 06:55:54,856 - DEBUG - Response for create_network : {'network': {'id': '2d652206-78a0-4bb5-8320-65562f0b7d1a', 'name': 'ctest-vn-20486904', 'tenant_id': '78e0b4d6f78742ab97d646ec88c4fcf6', 'project_id': '78e0b4d6f78742ab97d646ec88c4fcf6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-17498395', 'ctest-vn-20486904'], 'port_security_enabled': True, 'description': ''}}
2025-01-13 06:55:55,048 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7ea1793-af77-476c-b7e6-ea781abfc1cd', 'name': '', 'tenant_id': '78e0b4d6f78742ab97d646ec88c4fcf6', 'network_id': '2d652206-78a0-4bb5-8320-65562f0b7d1a', 'ip_version': 4, 'cidr': '153.147.94.192/26', 'allocation_pools': [{'start': '153.147.94.194', 'end': '153.147.94.254'}], 'gateway_ip': '153.147.94.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.147.94.194', 'tags': [], 'project_id': '78e0b4d6f78742ab97d646ec88c4fcf6'}}
2025-01-13 06:55:55,067 - INFO - Created VN ctest-vn-20486904
2025-01-13 06:55:55,120 - DEBUG - VN ctest-vn-20486904 UUID is 2d652206-78a0-4bb5-8320-65562f0b7d1a
2025-01-13 06:55:55,299 - DEBUG - Services list from nova: [, , ]
2025-01-13 06:55:56,317 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2608-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2608-1)
2025-01-13 06:55:57,439 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2608-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2608-1)
2025-01-13 06:55:57,439 - INFO - Waiting for VM ctest-TestBasicVMVNx-17498395-23206578 to be up..
2025-01-13 06:55:57,525 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-13 06:56:02,715 - DEBUG - VM is in ACTIVE state now
2025-01-13 06:56:02,715 - INFO - VM name : ctest-TestBasicVMVNx-17498395-23206578
2025-01-13 06:56:02,792 - DEBUG - VM ctest-TestBasicVMVNx-17498395-23206578 ID is c98d6ab5-9d63-4a65-a4ad-6fa51a5364ef
2025-01-13 06:56:02,810 - DEBUG - VM ctest-TestBasicVMVNx-17498395-23206578 launched on Node cn-jenkins-deploy-platform-ansible-os-2608-1
2025-01-13 06:56:02,887 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/c98d6ab5-9d63-4a65-a4ad-6fa51a5364ef
2025-01-13 06:56:03,185 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/c98d6ab5-9d63-4a65-a4ad-6fa51a5364ef
2025-01-13 06:56:03,218 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/f7ea23f7-5788-404f-a0b9-d466306edd3a
2025-01-13 06:56:06,474 - 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 1011ms')
2025-01-13 06:56:06,475 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-17498395-23206578 failed!
2025-01-13 06:56:06,528 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-17498395:ctest-vn-20486904 is 153.147.94.193 and allocation pool is NOT set
2025-01-13 06:56:08,591 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.407 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.407/1.761/3.116/1.354 ms')
2025-01-13 06:56:08,591 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-17498395-23206578 passed
2025-01-13 06:56:08,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 06:56:08,740 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-17498395-23206578, IP 153.147.94.195, Port 22
2025-01-13 06:56:08,896 - DEBUG - VM ctest-TestBasicVMVNx-17498395-23206578 is ready for SSH connections
2025-01-13 06:56:08,896 - INFO - Waiting for VM ctest-TestBasicVMVNx-17498395-86702641 to be up..
2025-01-13 06:56:08,973 - DEBUG - VM is in ACTIVE state now
2025-01-13 06:56:08,973 - INFO - VM name : ctest-TestBasicVMVNx-17498395-86702641
2025-01-13 06:56:09,045 - DEBUG - VM ctest-TestBasicVMVNx-17498395-86702641 ID is 47f486ea-7cc6-4711-9260-99450d3b3c30
2025-01-13 06:56:09,045 - DEBUG - VM ctest-TestBasicVMVNx-17498395-86702641 launched on Node cn-jenkins-deploy-platform-ansible-os-2608-1
2025-01-13 06:56:09,119 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/47f486ea-7cc6-4711-9260-99450d3b3c30
2025-01-13 06:56:09,127 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/28ba12d2-4c1d-446c-8035-b68e2fcdf4c2
2025-01-13 06:56:10,366 - 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=3.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.392 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.392/1.822/3.253/1.430 ms')
2025-01-13 06:56:10,367 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-17498395-86702641 passed
2025-01-13 06:56:10,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 06:56:10,516 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-17498395-86702641, IP 153.147.94.196, Port 22
2025-01-13 06:56:10,688 - DEBUG - VM ctest-TestBasicVMVNx-17498395-86702641 is ready for SSH connections
2025-01-13 06:56:10,688 - DEBUG - FILE SIZE = 1303B
2025-01-13 06:56:10,688 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-17498395-23206578 to ctest-TestBasicVMVNx-17498395-86702641 using scp
2025-01-13 06:56:10,689 - 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.28, gateway password: c0ntrail123
2025-01-13 06:56:10,689 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-13 06:56:12,584 - DEBUG - 1+0 records in
1+0 records out
2025-01-13 06:56:13,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-13 06:56:13,755 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123
2025-01-13 06:56:13,756 - DEBUG - ls -l testfile
2025-01-13 06:56:15,345 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 12 23:56 [0;0mtestfile[0m
2025-01-13 06:56:15,345 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-17498395-86702641
2025-01-13 06:56:15,345 - INFO - Deleting VM ctest-TestBasicVMVNx-17498395-86702641
2025-01-13 06:56:15,413 - INFO - Deleting VM ctest-TestBasicVMVNx-17498395-23206578
2025-01-13 06:56:15,481 - INFO - Deleting VN ctest-vn-20486904
2025-01-13 06:56:15,520 - DEBUG - VN 2d652206-78a0-4bb5-8320-65562f0b7d1a still in use: Unable to complete operation on network 2d652206-78a0-4bb5-8320-65562f0b7d1a. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b56d0c34-4750-4154-8cd2-7ebf3b393a6a']
2025-01-13 06:56:15,520 - WARNING - Deleting VN ctest-vn-20486904 failed..Will retry
2025-01-13 06:56:17,618 - DEBUG - Response for deleting network ()
2025-01-13 06:56:17,875 - DEBUG - No XMPP flaps were noticed during the test
2025-01-13 06:56:17,875 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-01-13 06:56:17,875 - INFO - --------------------------------------------------------------------------------
2025-01-13 06:56:18,555 - INFO - Deleted project: ctest-TestBasicVMVNx-17498395, ID : 78e0b4d6-f787-42ab-97d6-46ec88c4fcf6