2025-03-25 17:30:57,365 - INFO - Domain Default found not creating 2025-03-25 17:30:57,533 - INFO - Project ctest-TestBasicVMVNx-83751480 not found, creating it 2025-03-25 17:30:58,050 - INFO - Created Project:ctest-TestBasicVMVNx-83751480, ID : 861f4301-bfc1-4eaf-85f9-c7dec7936200 2025-03-25 17:30:59,683 - INFO - ================================================================================ 2025-03-25 17:30:59,683 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-25 17:30:59,683 - 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-25 17:30:59,943 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.7': '0'}} with 2025-03-25 17:30:59,943 - INFO - Initial checks done. Running the testcase now 2025-03-25 17:30:59,943 - INFO - 2025-03-25 17:31:01,186 - DEBUG - Response for create_network : {'network': {'id': 'b4e65e6a-c69f-4d12-ae54-3539c757cd97', 'name': 'ctest-vn-35685281', 'tenant_id': '861f4301bfc14eaf85f9c7dec7936200', 'project_id': '861f4301bfc14eaf85f9c7dec7936200', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-83751480', 'ctest-vn-35685281'], 'port_security_enabled': True, 'description': ''}} 2025-03-25 17:31:01,380 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da2da91d-29d3-487c-a83f-b8fb4078d647', 'name': '', 'tenant_id': '861f4301bfc14eaf85f9c7dec7936200', 'network_id': 'b4e65e6a-c69f-4d12-ae54-3539c757cd97', 'ip_version': 4, 'cidr': '78.108.173.192/26', 'allocation_pools': [{'start': '78.108.173.194', 'end': '78.108.173.254'}], 'gateway_ip': '78.108.173.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.108.173.194', 'tags': [], 'project_id': '861f4301bfc14eaf85f9c7dec7936200'}} 2025-03-25 17:31:01,401 - INFO - Created VN ctest-vn-35685281 2025-03-25 17:31:01,456 - DEBUG - VN ctest-vn-35685281 UUID is b4e65e6a-c69f-4d12-ae54-3539c757cd97 2025-03-25 17:31:01,646 - DEBUG - Services list from nova: [, , ] 2025-03-25 17:31:02,855 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2952-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2952-1) 2025-03-25 17:31:04,217 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2952-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2952-1) 2025-03-25 17:31:04,218 - INFO - Waiting for VM ctest-TestBasicVMVNx-83751480-63679904 to be up.. 2025-03-25 17:31:04,356 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-25 17:31:09,447 - DEBUG - VM is in ACTIVE state now 2025-03-25 17:31:09,448 - INFO - VM name : ctest-TestBasicVMVNx-83751480-63679904 2025-03-25 17:31:09,533 - DEBUG - VM ctest-TestBasicVMVNx-83751480-63679904 ID is 2d6970e8-ed83-452d-8cc9-2769bdc6bb33 2025-03-25 17:31:09,555 - DEBUG - VM ctest-TestBasicVMVNx-83751480-63679904 launched on Node cn-jenkins-deploy-platform-ansible-os-2952-1 2025-03-25 17:31:09,648 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/2d6970e8-ed83-452d-8cc9-2769bdc6bb33 2025-03-25 17:31:09,985 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/2d6970e8-ed83-452d-8cc9-2769bdc6bb33 2025-03-25 17:31:10,024 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/3964fd66-60ba-4259-bb9d-e2f58eb2547c 2025-03-25 17:31:13,279 - 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 1009ms') 2025-03-25 17:31:13,279 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-83751480-63679904 failed! 2025-03-25 17:31:13,336 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-83751480:ctest-vn-35685281 is 78.108.173.193 and allocation pool is NOT set 2025-03-25 17:31:15,397 - 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=5.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.90 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.895/3.563/5.231/1.668 ms') 2025-03-25 17:31:15,398 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-83751480-63679904 passed 2025-03-25 17:31:15,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-25 17:31:15,556 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-83751480-63679904, IP 78.108.173.195, Port 22 2025-03-25 17:31:15,622 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-03-25 17:31:15,753 - DEBUG - VM ctest-TestBasicVMVNx-83751480-63679904 is NOT ready for SSH connections, VM status: ACTIVE 2025-03-25 17:31:20,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-25 17:31:20,754 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-83751480-63679904, IP 78.108.173.195, Port 22 2025-03-25 17:31:20,911 - DEBUG - VM ctest-TestBasicVMVNx-83751480-63679904 is ready for SSH connections 2025-03-25 17:31:20,911 - INFO - Waiting for VM ctest-TestBasicVMVNx-83751480-53306001 to be up.. 2025-03-25 17:31:21,014 - DEBUG - VM is in ACTIVE state now 2025-03-25 17:31:21,014 - INFO - VM name : ctest-TestBasicVMVNx-83751480-53306001 2025-03-25 17:31:21,106 - DEBUG - VM ctest-TestBasicVMVNx-83751480-53306001 ID is fc7b2d13-bf63-47e9-844c-59658ea9b9fe 2025-03-25 17:31:21,106 - DEBUG - VM ctest-TestBasicVMVNx-83751480-53306001 launched on Node cn-jenkins-deploy-platform-ansible-os-2952-1 2025-03-25 17:31:21,194 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/fc7b2d13-bf63-47e9-844c-59658ea9b9fe 2025-03-25 17:31:21,205 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/2bf3ca9c-c55e-4d21-b0f5-f664c8a98374 2025-03-25 17:31:22,453 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 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.414/1.818/3.222/1.404 ms') 2025-03-25 17:31:22,454 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-83751480-53306001 passed 2025-03-25 17:31:22,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-25 17:31:22,620 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-83751480-53306001, IP 78.108.173.196, Port 22 2025-03-25 17:31:22,779 - DEBUG - VM ctest-TestBasicVMVNx-83751480-53306001 is ready for SSH connections 2025-03-25 17:31:22,779 - DEBUG - FILE SIZE = 1303B 2025-03-25 17:31:22,779 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-83751480-63679904 to ctest-TestBasicVMVNx-83751480-53306001 using scp 2025-03-25 17:31:22,780 - 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.48, gateway password: c0ntrail123 2025-03-25 17:31:22,780 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-25 17:31:24,838 - DEBUG - 1+0 records in 1+0 records out 2025-03-25 17:31:25,621 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-25 17:31:25,966 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-03-25 17:31:25,967 - DEBUG - ls -l testfile 2025-03-25 17:31:27,626 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 25 11:31 testfile 2025-03-25 17:31:27,626 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-83751480-53306001 2025-03-25 17:31:27,626 - INFO - Deleting VM ctest-TestBasicVMVNx-83751480-53306001 2025-03-25 17:31:27,709 - INFO - Deleting VM ctest-TestBasicVMVNx-83751480-63679904 2025-03-25 17:31:27,777 - INFO - Deleting VN ctest-vn-35685281 2025-03-25 17:31:27,821 - DEBUG - VN b4e65e6a-c69f-4d12-ae54-3539c757cd97 still in use: Unable to complete operation on network b4e65e6a-c69f-4d12-ae54-3539c757cd97. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3c7f1926-0a3b-49a3-8099-663f7f2419e8'] 2025-03-25 17:31:27,821 - WARNING - Deleting VN ctest-vn-35685281 failed..Will retry 2025-03-25 17:31:29,993 - DEBUG - Response for deleting network () 2025-03-25 17:31:30,256 - DEBUG - No XMPP flaps were noticed during the test
2025-03-25 17:31:30,256 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:31]
2025-03-25 17:31:30,256 - INFO - -------------------------------------------------------------------------------- 2025-03-25 17:31:31,033 - INFO - Deleted project: ctest-TestBasicVMVNx-83751480, ID : 861f4301-bfc1-4eaf-85f9-c7dec7936200