2024-10-28 15:44:51,125 - INFO - Domain Default found not creating
2024-10-28 15:44:51,330 - INFO - Project ctest-TestBasicVMVNx-10912726 not found, creating it
2024-10-28 15:44:51,841 - INFO - Created Project:ctest-TestBasicVMVNx-10912726, ID : 154872d2-87d8-4deb-8084-41190b1835df
2024-10-28 15:44:53,560 - INFO - ================================================================================
2024-10-28 15:44:53,560 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2024-10-28 15:44:53,560 - 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 15:44:53,821 - DEBUG - Nothing to compare xmpp stats {'10.0.0.52': {'10.20.0.21': '0'}} with
2024-10-28 15:44:53,821 - INFO - Initial checks done. Running the testcase now
2024-10-28 15:44:53,822 - INFO -
2024-10-28 15:44:54,542 - DEBUG - Response for create_network : {'network': {'id': '751ab9b4-b7a0-46e3-8ada-2cba412c68ec', 'name': 'ctest-vn-03118992', 'tenant_id': '154872d287d84deb808441190b1835df', 'project_id': '154872d287d84deb808441190b1835df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-10912726', 'ctest-vn-03118992'], 'port_security_enabled': True, 'description': ''}}
2024-10-28 15:44:54,790 - DEBUG - Response for create_subnet : {'subnet': {'id': '418e6ddb-f06d-41f9-806e-975fb40ccc0b', 'name': '', 'tenant_id': '154872d287d84deb808441190b1835df', 'network_id': '751ab9b4-b7a0-46e3-8ada-2cba412c68ec', 'ip_version': 4, 'cidr': '110.51.156.128/26', 'allocation_pools': [{'start': '110.51.156.130', 'end': '110.51.156.190'}], 'gateway_ip': '110.51.156.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.51.156.130', 'tags': [], 'project_id': '154872d287d84deb808441190b1835df'}}
2024-10-28 15:44:54,813 - INFO - Created VN ctest-vn-03118992
2024-10-28 15:44:54,874 - DEBUG - VN ctest-vn-03118992 UUID is 751ab9b4-b7a0-46e3-8ada-2cba412c68ec
2024-10-28 15:44:55,084 - DEBUG - Services list from nova: [, , ]
2024-10-28 15:44:56,268 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2165-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2165-1)
2024-10-28 15:44:57,658 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2165-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2165-1)
2024-10-28 15:44:57,658 - INFO - Waiting for VM ctest-TestBasicVMVNx-10912726-23707610 to be up..
2024-10-28 15:44:57,779 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-10-28 15:45:02,916 - DEBUG - VM is in ACTIVE state now
2024-10-28 15:45:02,916 - INFO - VM name : ctest-TestBasicVMVNx-10912726-23707610
2024-10-28 15:45:03,008 - DEBUG - VM ctest-TestBasicVMVNx-10912726-23707610 ID is a3853f16-ad4f-4640-8d73-84c511829b69
2024-10-28 15:45:03,031 - DEBUG - VM ctest-TestBasicVMVNx-10912726-23707610 launched on Node cn-jenkins-deploy-platform-ansible-os-2165-1
2024-10-28 15:45:03,126 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/a3853f16-ad4f-4640-8d73-84c511829b69
2024-10-28 15:45:03,464 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/a3853f16-ad4f-4640-8d73-84c511829b69
2024-10-28 15:45:03,516 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/52d9ae21-4d65-4de7-b3c9-7b06e83f96b3
2024-10-28 15:45:06,797 - 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 1002ms')
2024-10-28 15:45:06,797 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-10912726-23707610 failed!
2024-10-28 15:45:06,866 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-10912726:ctest-vn-03118992 is 110.51.156.129 and allocation pool is NOT set
2024-10-28 15:45:08,931 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.343 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.343/1.772/3.202/1.429 ms')
2024-10-28 15:45:08,931 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-10912726-23707610 passed
2024-10-28 15:45:09,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 15:45:09,094 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-10912726-23707610, IP 110.51.156.131, Port 22
2024-10-28 15:45:09,257 - DEBUG - VM ctest-TestBasicVMVNx-10912726-23707610 is ready for SSH connections
2024-10-28 15:45:09,257 - INFO - Waiting for VM ctest-TestBasicVMVNx-10912726-15952258 to be up..
2024-10-28 15:45:09,352 - DEBUG - VM is in ACTIVE state now
2024-10-28 15:45:09,352 - INFO - VM name : ctest-TestBasicVMVNx-10912726-15952258
2024-10-28 15:45:09,448 - DEBUG - VM ctest-TestBasicVMVNx-10912726-15952258 ID is 1776049d-dc9f-4e48-8905-74fc191328bd
2024-10-28 15:45:09,448 - DEBUG - VM ctest-TestBasicVMVNx-10912726-15952258 launched on Node cn-jenkins-deploy-platform-ansible-os-2165-1
2024-10-28 15:45:09,539 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/1776049d-dc9f-4e48-8905-74fc191328bd
2024-10-28 15:45:09,550 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/a5629e3f-646c-431e-9856-e0d0863f062a
2024-10-28 15:45:10,826 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.698 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.698/1.800/2.902/1.102 ms')
2024-10-28 15:45:10,826 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-10912726-15952258 passed
2024-10-28 15:45:10,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 15:45:10,986 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-10912726-15952258, IP 110.51.156.132, Port 22
2024-10-28 15:45:11,141 - DEBUG - VM ctest-TestBasicVMVNx-10912726-15952258 is ready for SSH connections
2024-10-28 15:45:11,141 - DEBUG - FILE SIZE = 1303B
2024-10-28 15:45:11,141 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-10912726-23707610 to ctest-TestBasicVMVNx-10912726-15952258 using scp
2024-10-28 15:45:11,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 15:45:11,148 - 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.52, gateway password: c0ntrail123
2024-10-28 15:45:11,149 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2024-10-28 15:45:13,283 - DEBUG - 1+0 records in
1+0 records out
2024-10-28 15:45:13,972 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-10-28 15:45:14,320 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.52, gateway password: c0ntrail123
2024-10-28 15:45:14,320 - DEBUG - ls -l testfile
2024-10-28 15:45:15,938 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 28 09:45 [0;0mtestfile[0m
2024-10-28 15:45:15,938 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-10912726-15952258
2024-10-28 15:45:15,939 - INFO - Deleting VM ctest-TestBasicVMVNx-10912726-15952258
2024-10-28 15:45:16,020 - INFO - Deleting VM ctest-TestBasicVMVNx-10912726-23707610
2024-10-28 15:45:16,122 - INFO - Deleting VN ctest-vn-03118992
2024-10-28 15:45:16,177 - DEBUG - VN 751ab9b4-b7a0-46e3-8ada-2cba412c68ec still in use: Unable to complete operation on network 751ab9b4-b7a0-46e3-8ada-2cba412c68ec. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-932c491c-9876-4a37-b9a5-b9a8a6684a1f']
2024-10-28 15:45:16,177 - WARNING - Deleting VN ctest-vn-03118992 failed..Will retry
2024-10-28 15:45:18,320 - DEBUG - Response for deleting network ()
2024-10-28 15:45:18,580 - DEBUG - No XMPP flaps were noticed during the test
2024-10-28 15:45:18,580 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-10-28 15:45:18,580 - INFO - --------------------------------------------------------------------------------
2024-10-28 15:45:19,392 - INFO - Deleted project: ctest-TestBasicVMVNx-10912726, ID : 154872d2-87d8-4deb-8084-41190b1835df