2024-09-05 15:09:54,858 - INFO - Domain Default found not creating
2024-09-05 15:09:55,024 - INFO - Project ctest-TestBasicVMVNx-72377365 not found, creating it
2024-09-05 15:09:55,525 - INFO - Created Project:ctest-TestBasicVMVNx-72377365, ID : 73f560fb-8f39-4f80-ac95-c1efb3da6555
2024-09-05 15:09:57,041 - INFO - ================================================================================
2024-09-05 15:09:57,042 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-09-05 15:09:57,042 - 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-05 15:09:57,296 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.18': '0'}} with
2024-09-05 15:09:57,296 - INFO - Initial checks done. Running the testcase now
2024-09-05 15:09:57,296 - INFO -
2024-09-05 15:09:57,838 - DEBUG - Response for create_network : {'network': {'id': '1675a329-b498-4fbd-8f08-d1ca8ace9e67', 'name': 'ctest-vn-92753937', 'tenant_id': '73f560fb8f394f80ac95c1efb3da6555', 'project_id': '73f560fb8f394f80ac95c1efb3da6555', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-72377365', 'ctest-vn-92753937'], 'port_security_enabled': True, 'description': ''}}
2024-09-05 15:09:58,025 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3c2d334-00fd-489b-8216-7cf5757d8945', 'name': '', 'tenant_id': '73f560fb8f394f80ac95c1efb3da6555', 'network_id': '1675a329-b498-4fbd-8f08-d1ca8ace9e67', 'ip_version': 4, 'cidr': '7.163.190.128/26', 'allocation_pools': [{'start': '7.163.190.130', 'end': '7.163.190.190'}], 'gateway_ip': '7.163.190.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.163.190.130', 'tags': [], 'project_id': '73f560fb8f394f80ac95c1efb3da6555'}}
2024-09-05 15:09:58,045 - INFO - Created VN ctest-vn-92753937
2024-09-05 15:09:58,098 - DEBUG - VN ctest-vn-92753937 UUID is 1675a329-b498-4fbd-8f08-d1ca8ace9e67
2024-09-05 15:09:58,266 - DEBUG - Services list from nova: [, , ]
2024-09-05 15:09:59,296 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1856-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1856-1)
2024-09-05 15:10:00,495 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1856-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1856-1)
2024-09-05 15:10:00,495 - INFO - Waiting for VM ctest-TestBasicVMVNx-72377365-57774831 to be up..
2024-09-05 15:10:00,596 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-09-05 15:10:05,697 - DEBUG - VM is in ACTIVE state now
2024-09-05 15:10:05,697 - INFO - VM name : ctest-TestBasicVMVNx-72377365-57774831
2024-09-05 15:10:05,787 - DEBUG - VM ctest-TestBasicVMVNx-72377365-57774831 ID is 8e99739d-606c-449e-9f80-683ee5c802a5
2024-09-05 15:10:05,805 - DEBUG - VM ctest-TestBasicVMVNx-72377365-57774831 launched on Node cn-jenkins-deploy-platform-ansible-os-1856-1
2024-09-05 15:10:05,884 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/8e99739d-606c-449e-9f80-683ee5c802a5
2024-09-05 15:10:06,181 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/8e99739d-606c-449e-9f80-683ee5c802a5
2024-09-05 15:10:06,216 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/3c169896-52cc-471e-9878-d46cff692799
2024-09-05 15:10:09,482 - 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 1026ms')
2024-09-05 15:10:09,482 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-72377365-57774831 failed!
2024-09-05 15:10:09,542 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-72377365:ctest-vn-92753937 is 7.163.190.129 and allocation pool is NOT set
2024-09-05 15:10:11,601 - 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=4.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.89 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 = 1.885/3.341/4.797/1.456 ms')
2024-09-05 15:10:11,601 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-72377365-57774831 passed
2024-09-05 15:10:11,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-05 15:10:11,750 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-72377365-57774831, IP 7.163.190.131, Port 22
2024-09-05 15:10:11,906 - DEBUG - VM ctest-TestBasicVMVNx-72377365-57774831 is ready for SSH connections
2024-09-05 15:10:11,906 - INFO - Waiting for VM ctest-TestBasicVMVNx-72377365-39239592 to be up..
2024-09-05 15:10:11,997 - DEBUG - VM is in ACTIVE state now
2024-09-05 15:10:11,997 - INFO - VM name : ctest-TestBasicVMVNx-72377365-39239592
2024-09-05 15:10:12,086 - DEBUG - VM ctest-TestBasicVMVNx-72377365-39239592 ID is 424b2fcf-70e0-4b89-8928-31b71d9100f5
2024-09-05 15:10:12,086 - DEBUG - VM ctest-TestBasicVMVNx-72377365-39239592 launched on Node cn-jenkins-deploy-platform-ansible-os-1856-1
2024-09-05 15:10:12,170 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/424b2fcf-70e0-4b89-8928-31b71d9100f5
2024-09-05 15:10:12,179 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/74875c55-b85a-40cb-abdd-4e023f6b4e91
2024-09-05 15:10:13,414 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.433 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.433/1.653/2.874/1.220 ms')
2024-09-05 15:10:13,415 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-72377365-39239592 passed
2024-09-05 15:10:13,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-05 15:10:13,562 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-72377365-39239592, IP 7.163.190.132, Port 22
2024-09-05 15:10:13,713 - DEBUG - VM ctest-TestBasicVMVNx-72377365-39239592 is ready for SSH connections
2024-09-05 15:10:13,713 - DEBUG - FILE SIZE = 1303B
2024-09-05 15:10:13,713 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-72377365-57774831 to ctest-TestBasicVMVNx-72377365-39239592 using scp
2024-09-05 15:10:13,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-05 15:10:13,719 - 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.17, gateway password: c0ntrail123
2024-09-05 15:10:13,720 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-09-05 15:10:15,593 - DEBUG - 1+0 records in
1+0 records out
2024-09-05 15:10:16,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-05 15:10:16,511 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123
2024-09-05 15:10:16,511 - DEBUG - ls -l testfile
2024-09-05 15:10:18,074 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 5 09:10 [0;0mtestfile[0m
2024-09-05 15:10:18,074 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-72377365-39239592
2024-09-05 15:10:18,074 - INFO - Deleting VM ctest-TestBasicVMVNx-72377365-39239592
2024-09-05 15:10:18,141 - INFO - Deleting VM ctest-TestBasicVMVNx-72377365-57774831
2024-09-05 15:10:18,205 - INFO - Deleting VN ctest-vn-92753937
2024-09-05 15:10:18,248 - DEBUG - VN 1675a329-b498-4fbd-8f08-d1ca8ace9e67 still in use: Unable to complete operation on network 1675a329-b498-4fbd-8f08-d1ca8ace9e67. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-1df7204e-9974-43ed-b1eb-a6e555bd35dd']
2024-09-05 15:10:18,248 - WARNING - Deleting VN ctest-vn-92753937 failed..Will retry
2024-09-05 15:10:20,369 - DEBUG - Response for deleting network ()
2024-09-05 15:10:20,624 - DEBUG - No XMPP flaps were noticed during the test
2024-09-05 15:10:20,624 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2024-09-05 15:10:20,624 - INFO - --------------------------------------------------------------------------------
2024-09-05 15:10:21,292 - INFO - Deleted project: ctest-TestBasicVMVNx-72377365, ID : 73f560fb-8f39-4f80-ac95-c1efb3da6555