2024-10-28 02:21:25,709 - INFO - Domain Default found not creating
2024-10-28 02:21:25,909 - INFO - Project ctest-TestBasicVMVNx-41530060 not found, creating it
2024-10-28 02:21:26,444 - INFO - Created Project:ctest-TestBasicVMVNx-41530060, ID : c9649ab1-6763-4959-8c16-224527850e83
2024-10-28 02:21:27,960 - INFO - ================================================================================
2024-10-28 02:21:27,961 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-10-28 02:21:27,961 - 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-28 02:21:28,225 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.23': '0'}} with
2024-10-28 02:21:28,225 - INFO - Initial checks done. Running the testcase now
2024-10-28 02:21:28,225 - INFO -
2024-10-28 02:21:28,825 - DEBUG - Response for create_network : {'network': {'id': '4e1056e1-0811-470f-bda3-d786e503ef2f', 'name': 'ctest-vn-21298558', 'tenant_id': 'c9649ab1676349598c16224527850e83', 'project_id': 'c9649ab1676349598c16224527850e83', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-41530060', 'ctest-vn-21298558'], 'port_security_enabled': True, 'description': ''}}
2024-10-28 02:21:29,051 - DEBUG - Response for create_subnet : {'subnet': {'id': '159ea7db-31d8-41be-8c56-a7ac7783546a', 'name': '', 'tenant_id': 'c9649ab1676349598c16224527850e83', 'network_id': '4e1056e1-0811-470f-bda3-d786e503ef2f', 'ip_version': 4, 'cidr': '217.15.66.64/26', 'allocation_pools': [{'start': '217.15.66.66', 'end': '217.15.66.126'}], 'gateway_ip': '217.15.66.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.15.66.66', 'tags': [], 'project_id': 'c9649ab1676349598c16224527850e83'}}
2024-10-28 02:21:29,070 - INFO - Created VN ctest-vn-21298558
2024-10-28 02:21:29,128 - DEBUG - VN ctest-vn-21298558 UUID is 4e1056e1-0811-470f-bda3-d786e503ef2f
2024-10-28 02:21:29,301 - DEBUG - Services list from nova: [, , ]
2024-10-28 02:21:30,374 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2155-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2155-1)
2024-10-28 02:21:31,579 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2155-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2155-1)
2024-10-28 02:21:31,579 - INFO - Waiting for VM ctest-TestBasicVMVNx-41530060-14582504 to be up..
2024-10-28 02:21:31,670 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-28 02:21:36,757 - DEBUG - VM is in ACTIVE state now
2024-10-28 02:21:36,757 - INFO - VM name : ctest-TestBasicVMVNx-41530060-14582504
2024-10-28 02:21:36,841 - DEBUG - VM ctest-TestBasicVMVNx-41530060-14582504 ID is 3617d979-b1d4-44b2-a422-5cd56b3132a4
2024-10-28 02:21:36,862 - DEBUG - VM ctest-TestBasicVMVNx-41530060-14582504 launched on Node cn-jenkins-deploy-platform-ansible-os-2155-1
2024-10-28 02:21:36,942 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/3617d979-b1d4-44b2-a422-5cd56b3132a4
2024-10-28 02:21:37,248 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/3617d979-b1d4-44b2-a422-5cd56b3132a4
2024-10-28 02:21:37,284 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/64eed323-b65b-431e-a07d-3582cd77efdb
2024-10-28 02:21:40,557 - 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 1010ms')
2024-10-28 02:21:40,558 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-41530060-14582504 failed!
2024-10-28 02:21:40,620 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-41530060:ctest-vn-21298558 is 217.15.66.65 and allocation pool is NOT set
2024-10-28 02:21:42,684 - 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.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.424 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.424/1.739/3.055/1.315 ms')
2024-10-28 02:21:42,684 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-41530060-14582504 passed
2024-10-28 02:21:42,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 02:21:42,848 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-41530060-14582504, IP 217.15.66.67, Port 22
2024-10-28 02:21:43,003 - DEBUG - VM ctest-TestBasicVMVNx-41530060-14582504 is ready for SSH connections
2024-10-28 02:21:43,003 - INFO - Waiting for VM ctest-TestBasicVMVNx-41530060-86440606 to be up..
2024-10-28 02:21:43,080 - DEBUG - VM is in ACTIVE state now
2024-10-28 02:21:43,080 - INFO - VM name : ctest-TestBasicVMVNx-41530060-86440606
2024-10-28 02:21:43,162 - DEBUG - VM ctest-TestBasicVMVNx-41530060-86440606 ID is 03bb6846-d8eb-4abc-91a6-e20961a2e671
2024-10-28 02:21:43,162 - DEBUG - VM ctest-TestBasicVMVNx-41530060-86440606 launched on Node cn-jenkins-deploy-platform-ansible-os-2155-1
2024-10-28 02:21:43,243 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/03bb6846-d8eb-4abc-91a6-e20961a2e671
2024-10-28 02:21:43,254 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/c1185b89-c317-4693-a12d-16fc443b524a
2024-10-28 02:21:44,515 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.400 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.400/1.762/3.124/1.362 ms')
2024-10-28 02:21:44,515 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-41530060-86440606 passed
2024-10-28 02:21:44,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 02:21:44,672 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-41530060-86440606, IP 217.15.66.68, Port 22
2024-10-28 02:21:44,827 - DEBUG - VM ctest-TestBasicVMVNx-41530060-86440606 is ready for SSH connections
2024-10-28 02:21:44,827 - DEBUG - FILE SIZE = 1303B
2024-10-28 02:21:44,827 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-41530060-14582504 to ctest-TestBasicVMVNx-41530060-86440606 using scp
2024-10-28 02:21:44,828 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 02:21:44,834 - 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-10-28 02:21:44,834 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-10-28 02:21:46,771 - DEBUG - 1+0 records in
1+0 records out
2024-10-28 02:21:47,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 02:21:47,926 - 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-10-28 02:21:47,926 - DEBUG - ls -l testfile
2024-10-28 02:21:49,516 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 27 20:21 [0;0mtestfile[0m
2024-10-28 02:21:49,516 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-41530060-86440606
2024-10-28 02:21:49,516 - INFO - Deleting VM ctest-TestBasicVMVNx-41530060-86440606
2024-10-28 02:21:49,593 - INFO - Deleting VM ctest-TestBasicVMVNx-41530060-14582504
2024-10-28 02:21:49,669 - INFO - Deleting VN ctest-vn-21298558
2024-10-28 02:21:49,713 - DEBUG - VN 4e1056e1-0811-470f-bda3-d786e503ef2f still in use: Unable to complete operation on network 4e1056e1-0811-470f-bda3-d786e503ef2f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-8f01eb0f-e8a2-42a8-acf5-d013a0bb2cb2']
2024-10-28 02:21:49,713 - WARNING - Deleting VN ctest-vn-21298558 failed..Will retry
2024-10-28 02:21:51,829 - DEBUG - Response for deleting network ()
2024-10-28 02:21:52,104 - DEBUG - No XMPP flaps were noticed during the test
2024-10-28 02:21:52,104 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-10-28 02:21:52,104 - INFO - --------------------------------------------------------------------------------
2024-10-28 02:21:52,882 - INFO - Deleted project: ctest-TestBasicVMVNx-41530060, ID : c9649ab1-6763-4959-8c16-224527850e83