2024-09-18 06:51:07,599 - INFO - Domain Default found not creating
2024-09-18 06:51:07,765 - INFO - Project ctest-TestBasicVMVNx-99588224 not found, creating it
2024-09-18 06:51:08,247 - INFO - Created Project:ctest-TestBasicVMVNx-99588224, ID : 999e97df-eeb5-4e03-9eac-55ed8560a465
2024-09-18 06:51:09,721 - INFO - ================================================================================
2024-09-18 06:51:09,721 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-09-18 06:51:09,721 - 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-18 06:51:09,975 - DEBUG - Nothing to compare xmpp stats {'10.0.0.54': {'10.20.0.27': '0'}} with
2024-09-18 06:51:09,976 - INFO - Initial checks done. Running the testcase now
2024-09-18 06:51:09,976 - INFO -
2024-09-18 06:51:10,565 - DEBUG - Response for create_network : {'network': {'id': 'dd5c6804-da83-4e7a-8de2-5b3cf99c545c', 'name': 'ctest-vn-06152329', 'tenant_id': '999e97dfeeb54e039eac55ed8560a465', 'project_id': '999e97dfeeb54e039eac55ed8560a465', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-99588224', 'ctest-vn-06152329'], 'port_security_enabled': True, 'description': ''}}
2024-09-18 06:51:10,743 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5d51e87-0a6e-4bfe-aaa6-ada4373b4e99', 'name': '', 'tenant_id': '999e97dfeeb54e039eac55ed8560a465', 'network_id': 'dd5c6804-da83-4e7a-8de2-5b3cf99c545c', 'ip_version': 4, 'cidr': '151.94.210.192/26', 'allocation_pools': [{'start': '151.94.210.194', 'end': '151.94.210.254'}], 'gateway_ip': '151.94.210.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.94.210.194', 'tags': [], 'project_id': '999e97dfeeb54e039eac55ed8560a465'}}
2024-09-18 06:51:10,765 - INFO - Created VN ctest-vn-06152329
2024-09-18 06:51:10,825 - DEBUG - VN ctest-vn-06152329 UUID is dd5c6804-da83-4e7a-8de2-5b3cf99c545c
2024-09-18 06:51:11,011 - DEBUG - Services list from nova: [, , ]
2024-09-18 06:51:12,126 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1985-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1985-1)
2024-09-18 06:51:13,364 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1985-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1985-1)
2024-09-18 06:51:13,364 - INFO - Waiting for VM ctest-TestBasicVMVNx-99588224-23215963 to be up..
2024-09-18 06:51:13,447 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-09-18 06:51:18,568 - DEBUG - VM is in ACTIVE state now
2024-09-18 06:51:18,568 - INFO - VM name : ctest-TestBasicVMVNx-99588224-23215963
2024-09-18 06:51:18,656 - DEBUG - VM ctest-TestBasicVMVNx-99588224-23215963 ID is ef0f6dc8-ac6f-4952-891d-4e96024dcd02
2024-09-18 06:51:18,680 - DEBUG - VM ctest-TestBasicVMVNx-99588224-23215963 launched on Node cn-jenkins-deploy-platform-ansible-os-1985-1
2024-09-18 06:51:18,774 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/ef0f6dc8-ac6f-4952-891d-4e96024dcd02
2024-09-18 06:51:19,072 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/ef0f6dc8-ac6f-4952-891d-4e96024dcd02
2024-09-18 06:51:19,402 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine-interface/f7412c39-ebde-4bcc-8da1-1158301581de
2024-09-18 06:51:22,666 - 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 1006ms')
2024-09-18 06:51:22,667 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-99588224-23215963 failed!
2024-09-18 06:51:22,729 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-99588224:ctest-vn-06152329 is 151.94.210.193 and allocation pool is NOT set
2024-09-18 06:51:24,799 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.789 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.789/2.354/3.919/1.565 ms')
2024-09-18 06:51:24,799 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-99588224-23215963 passed
2024-09-18 06:51:24,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-18 06:51:24,957 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-99588224-23215963, IP 151.94.210.195, Port 22
2024-09-18 06:51:25,123 - DEBUG - VM ctest-TestBasicVMVNx-99588224-23215963 is ready for SSH connections
2024-09-18 06:51:25,123 - INFO - Waiting for VM ctest-TestBasicVMVNx-99588224-84776980 to be up..
2024-09-18 06:51:25,212 - DEBUG - VM is in ACTIVE state now
2024-09-18 06:51:25,212 - INFO - VM name : ctest-TestBasicVMVNx-99588224-84776980
2024-09-18 06:51:25,296 - DEBUG - VM ctest-TestBasicVMVNx-99588224-84776980 ID is fd294f37-507b-4cc4-9df9-68a1ce52dd21
2024-09-18 06:51:25,296 - DEBUG - VM ctest-TestBasicVMVNx-99588224-84776980 launched on Node cn-jenkins-deploy-platform-ansible-os-1985-1
2024-09-18 06:51:25,384 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/fd294f37-507b-4cc4-9df9-68a1ce52dd21
2024-09-18 06:51:25,395 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine-interface/caf0c29a-90f6-4f67-ae70-55743fda1b4f
2024-09-18 06:51:26,655 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.79 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 = 2.788/3.501/4.214/0.713 ms')
2024-09-18 06:51:26,655 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-99588224-84776980 passed
2024-09-18 06:51:26,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-18 06:51:26,817 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-99588224-84776980, IP 151.94.210.196, Port 22
2024-09-18 06:51:26,985 - DEBUG - VM ctest-TestBasicVMVNx-99588224-84776980 is ready for SSH connections
2024-09-18 06:51:26,985 - DEBUG - FILE SIZE = 1303B
2024-09-18 06:51:26,985 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-99588224-23215963 to ctest-TestBasicVMVNx-99588224-84776980 using scp
2024-09-18 06:51:26,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-18 06:51:26,992 - 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.54, gateway password: c0ntrail123
2024-09-18 06:51:26,992 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-09-18 06:51:28,889 - DEBUG - 1+0 records in
1+0 records out
2024-09-18 06:51:29,685 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-09-18 06:51:30,019 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.54, gateway password: c0ntrail123
2024-09-18 06:51:30,020 - DEBUG - ls -l testfile
2024-09-18 06:51:31,596 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 18 00:51 [0;0mtestfile[0m
2024-09-18 06:51:31,596 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-99588224-84776980
2024-09-18 06:51:31,596 - INFO - Deleting VM ctest-TestBasicVMVNx-99588224-84776980
2024-09-18 06:51:31,671 - INFO - Deleting VM ctest-TestBasicVMVNx-99588224-23215963
2024-09-18 06:51:31,744 - INFO - Deleting VN ctest-vn-06152329
2024-09-18 06:51:31,793 - DEBUG - VN dd5c6804-da83-4e7a-8de2-5b3cf99c545c still in use: Unable to complete operation on network dd5c6804-da83-4e7a-8de2-5b3cf99c545c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d21d56ff-dc49-443c-a050-b7d3c6d3beba']
2024-09-18 06:51:31,793 - WARNING - Deleting VN ctest-vn-06152329 failed..Will retry
2024-09-18 06:51:33,910 - DEBUG - Response for deleting network ()
2024-09-18 06:51:34,164 - DEBUG - No XMPP flaps were noticed during the test
2024-09-18 06:51:34,164 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-09-18 06:51:34,164 - INFO - --------------------------------------------------------------------------------
2024-09-18 06:51:34,884 - INFO - Deleted project: ctest-TestBasicVMVNx-99588224, ID : 999e97df-eeb5-4e03-9eac-55ed8560a465