2025-03-26 09:36:48,667 - INFO - Domain Default found not creating 2025-03-26 09:36:48,799 - INFO - Project ctest-TestBasicVMVNx-94667117 not found, creating it 2025-03-26 09:36:49,239 - INFO - Created Project:ctest-TestBasicVMVNx-94667117, ID : 80fe8f9c-ed10-4407-a25e-09b269e92bc9 2025-03-26 09:36:50,732 - INFO - ================================================================================ 2025-03-26 09:36:50,732 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-26 09:36:50,732 - 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-03-26 09:36:51,001 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-03-26 09:36:51,001 - INFO - Initial checks done. Running the testcase now 2025-03-26 09:36:51,001 - INFO - 2025-03-26 09:36:51,514 - DEBUG - Response for create_network : {'network': {'id': '0e28145a-359c-471b-8439-7b551b13b58b', 'name': 'ctest-vn-23075078', 'tenant_id': '80fe8f9ced104407a25e09b269e92bc9', 'project_id': '80fe8f9ced104407a25e09b269e92bc9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-94667117', 'ctest-vn-23075078'], 'port_security_enabled': True, 'description': ''}} 2025-03-26 09:36:51,668 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a134246b-e0b7-4022-a3a1-0ee8cd4705cf', 'name': '', 'tenant_id': '80fe8f9ced104407a25e09b269e92bc9', 'network_id': '0e28145a-359c-471b-8439-7b551b13b58b', 'ip_version': 4, 'cidr': '192.10.72.0/26', 'allocation_pools': [{'start': '192.10.72.2', 'end': '192.10.72.62'}], 'gateway_ip': '192.10.72.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.10.72.2', 'tags': [], 'project_id': '80fe8f9ced104407a25e09b269e92bc9'}} 2025-03-26 09:36:51,685 - INFO - Created VN ctest-vn-23075078 2025-03-26 09:36:51,738 - DEBUG - VN ctest-vn-23075078 UUID is 0e28145a-359c-471b-8439-7b551b13b58b 2025-03-26 09:36:51,904 - DEBUG - Services list from nova: [, , ] 2025-03-26 09:36:52,890 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2957-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2957-1) 2025-03-26 09:36:54,062 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2957-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2957-1) 2025-03-26 09:36:54,062 - INFO - Waiting for VM ctest-TestBasicVMVNx-94667117-48167394 to be up.. 2025-03-26 09:36:54,148 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-26 09:36:59,234 - DEBUG - VM is in ACTIVE state now 2025-03-26 09:36:59,234 - INFO - VM name : ctest-TestBasicVMVNx-94667117-48167394 2025-03-26 09:36:59,320 - DEBUG - VM ctest-TestBasicVMVNx-94667117-48167394 ID is 2e21a227-75ac-4942-a6d9-02d55f7ff38c 2025-03-26 09:36:59,338 - DEBUG - VM ctest-TestBasicVMVNx-94667117-48167394 launched on Node cn-jenkins-deploy-platform-ansible-os-2957-1 2025-03-26 09:36:59,414 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/2e21a227-75ac-4942-a6d9-02d55f7ff38c 2025-03-26 09:36:59,708 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/2e21a227-75ac-4942-a6d9-02d55f7ff38c 2025-03-26 09:36:59,739 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/5d22bdff-00df-400c-9b1d-7d881ad2ac67 2025-03-26 09:37:02,999 - 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 1018ms') 2025-03-26 09:37:02,999 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-94667117-48167394 failed! 2025-03-26 09:37:03,054 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-94667117:ctest-vn-23075078 is 192.10.72.1 and allocation pool is NOT set 2025-03-26 09:37:05,115 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.817 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.817/2.768/4.719/1.951 ms') 2025-03-26 09:37:05,115 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-94667117-48167394 passed 2025-03-26 09:37:05,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-26 09:37:05,270 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-94667117-48167394, IP 192.10.72.3, Port 22 2025-03-26 09:37:05,436 - DEBUG - VM ctest-TestBasicVMVNx-94667117-48167394 is ready for SSH connections 2025-03-26 09:37:05,436 - INFO - Waiting for VM ctest-TestBasicVMVNx-94667117-39069618 to be up.. 2025-03-26 09:37:05,516 - DEBUG - VM is in ACTIVE state now 2025-03-26 09:37:05,516 - INFO - VM name : ctest-TestBasicVMVNx-94667117-39069618 2025-03-26 09:37:05,592 - DEBUG - VM ctest-TestBasicVMVNx-94667117-39069618 ID is 925cbd28-2fe2-4453-9588-ee5d4f7e2b87 2025-03-26 09:37:05,592 - DEBUG - VM ctest-TestBasicVMVNx-94667117-39069618 launched on Node cn-jenkins-deploy-platform-ansible-os-2957-1 2025-03-26 09:37:05,675 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/925cbd28-2fe2-4453-9588-ee5d4f7e2b87 2025-03-26 09:37:05,691 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/9d51a9b7-5a35-4bc6-8630-78ee186e748a 2025-03-26 09:37:06,930 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.408 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.408/1.583/2.758/1.175 ms') 2025-03-26 09:37:06,930 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-94667117-39069618 passed 2025-03-26 09:37:07,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-26 09:37:07,090 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-94667117-39069618, IP 192.10.72.4, Port 22 2025-03-26 09:37:07,246 - DEBUG - VM ctest-TestBasicVMVNx-94667117-39069618 is ready for SSH connections 2025-03-26 09:37:07,246 - DEBUG - FILE SIZE = 1303B 2025-03-26 09:37:07,246 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-94667117-48167394 to ctest-TestBasicVMVNx-94667117-39069618 using scp 2025-03-26 09:37:07,247 - 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.27, gateway password: c0ntrail123 2025-03-26 09:37:07,247 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-26 09:37:09,133 - DEBUG - 1+0 records in 1+0 records out 2025-03-26 09:37:09,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-26 09:37:10,060 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-03-26 09:37:10,060 - DEBUG - ls -l testfile 2025-03-26 09:37:11,627 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 26 03:37 testfile 2025-03-26 09:37:11,628 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-94667117-39069618 2025-03-26 09:37:11,628 - INFO - Deleting VM ctest-TestBasicVMVNx-94667117-39069618 2025-03-26 09:37:11,694 - INFO - Deleting VM ctest-TestBasicVMVNx-94667117-48167394 2025-03-26 09:37:11,757 - INFO - Deleting VN ctest-vn-23075078 2025-03-26 09:37:11,795 - DEBUG - VN 0e28145a-359c-471b-8439-7b551b13b58b still in use: Unable to complete operation on network 0e28145a-359c-471b-8439-7b551b13b58b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4ee7885a-2e43-404d-ba0b-4b1cad022e79'] 2025-03-26 09:37:11,795 - WARNING - Deleting VN ctest-vn-23075078 failed..Will retry 2025-03-26 09:37:13,914 - DEBUG - Response for deleting network () 2025-03-26 09:37:14,173 - DEBUG - No XMPP flaps were noticed during the test
2025-03-26 09:37:14,173 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-03-26 09:37:14,173 - INFO - -------------------------------------------------------------------------------- 2025-03-26 09:37:14,883 - INFO - Deleted project: ctest-TestBasicVMVNx-94667117, ID : 80fe8f9c-ed10-4407-a25e-09b269e92bc9