2025-04-27 16:54:12,466 - INFO - Domain Default found not creating 2025-04-27 16:54:12,571 - INFO - Project ctest-TestBasicVMVNx-40856715 not found, creating it 2025-04-27 16:54:13,056 - INFO - Created Project:ctest-TestBasicVMVNx-40856715, ID : 86e830b6-4d87-4064-be77-aa5a43897f04 2025-04-27 16:54:14,233 - INFO - ================================================================================ 2025-04-27 16:54:14,233 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-27 16:54:14,233 - 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-04-27 16:54:14,488 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-27 16:54:14,488 - INFO - Initial checks done. Running the testcase now 2025-04-27 16:54:14,488 - INFO - 2025-04-27 16:54:14,960 - DEBUG - Response for create_network : {'network': {'id': '7b7bec43-4999-4a9e-860e-9e9607f5b192', 'name': 'ctest-vn-42463424', 'tenant_id': '86e830b64d874064be77aa5a43897f04', 'project_id': '86e830b64d874064be77aa5a43897f04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-40856715', 'ctest-vn-42463424'], 'port_security_enabled': True, 'description': ''}} 2025-04-27 16:54:15,147 - DEBUG - Response for create_subnet : {'subnet': {'id': '3210e634-eb3e-43fe-8668-758218e200cb', 'name': '', 'tenant_id': '86e830b64d874064be77aa5a43897f04', 'network_id': '7b7bec43-4999-4a9e-860e-9e9607f5b192', 'ip_version': 4, 'cidr': '132.72.143.192/26', 'allocation_pools': [{'start': '132.72.143.194', 'end': '132.72.143.254'}], 'gateway_ip': '132.72.143.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.72.143.194', 'tags': [], 'project_id': '86e830b64d874064be77aa5a43897f04'}} 2025-04-27 16:54:15,162 - INFO - Created VN ctest-vn-42463424 2025-04-27 16:54:15,211 - DEBUG - VN ctest-vn-42463424 UUID is 7b7bec43-4999-4a9e-860e-9e9607f5b192 2025-04-27 16:54:15,390 - DEBUG - Services list from nova: [, , ] 2025-04-27 16:54:16,246 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3228-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3228-1) 2025-04-27 16:54:17,221 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3228-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3228-1) 2025-04-27 16:54:17,221 - INFO - Waiting for VM ctest-TestBasicVMVNx-40856715-43698730 to be up.. 2025-04-27 16:54:17,299 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-27 16:54:22,389 - DEBUG - VM is in ACTIVE state now 2025-04-27 16:54:22,389 - INFO - VM name : ctest-TestBasicVMVNx-40856715-43698730 2025-04-27 16:54:22,458 - DEBUG - VM ctest-TestBasicVMVNx-40856715-43698730 ID is 4cd83157-0eac-41b5-90e5-f15dcfb84ffb 2025-04-27 16:54:22,473 - DEBUG - VM ctest-TestBasicVMVNx-40856715-43698730 launched on Node cn-jenkins-deploy-platform-ansible-os-3228-1 2025-04-27 16:54:22,534 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4cd83157-0eac-41b5-90e5-f15dcfb84ffb 2025-04-27 16:54:22,928 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4cd83157-0eac-41b5-90e5-f15dcfb84ffb 2025-04-27 16:54:22,965 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3a7f6a44-2b0f-435f-95e2-4f0e6cb97058 2025-04-27 16:54:26,216 - 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=2 ttl=63 time=7.46 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1017ms\r\nrtt min/avg/max/mdev = 7.462/7.462/7.462/0.000 ms') 2025-04-27 16:54:26,216 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-40856715-43698730 passed 2025-04-27 16:54:26,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-27 16:54:26,363 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-40856715-43698730, IP 132.72.143.195, Port 22 2025-04-27 16:54:26,423 - 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-04-27 16:54:26,489 - DEBUG - VM ctest-TestBasicVMVNx-40856715-43698730 is NOT ready for SSH connections, VM status: ACTIVE 2025-04-27 16:54:31,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-27 16:54:31,490 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-40856715-43698730, IP 132.72.143.195, Port 22 2025-04-27 16:54:31,646 - DEBUG - VM ctest-TestBasicVMVNx-40856715-43698730 is ready for SSH connections 2025-04-27 16:54:31,646 - INFO - Waiting for VM ctest-TestBasicVMVNx-40856715-60368295 to be up.. 2025-04-27 16:54:31,708 - DEBUG - VM is in ACTIVE state now 2025-04-27 16:54:31,708 - INFO - VM name : ctest-TestBasicVMVNx-40856715-60368295 2025-04-27 16:54:31,763 - DEBUG - VM ctest-TestBasicVMVNx-40856715-60368295 ID is 25cfca51-7598-4074-9845-4e79252aad50 2025-04-27 16:54:31,763 - DEBUG - VM ctest-TestBasicVMVNx-40856715-60368295 launched on Node cn-jenkins-deploy-platform-ansible-os-3228-1 2025-04-27 16:54:31,814 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/25cfca51-7598-4074-9845-4e79252aad50 2025-04-27 16:54:31,820 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cd1f56b6-5a91-42f2-8221-e4f6d2e5ae2d 2025-04-27 16:54:33,051 - 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=1.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.312 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.312/1.081/1.850/0.769 ms') 2025-04-27 16:54:33,051 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-40856715-60368295 passed 2025-04-27 16:54:33,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-27 16:54:33,195 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-40856715-60368295, IP 132.72.143.196, Port 22 2025-04-27 16:54:33,346 - DEBUG - VM ctest-TestBasicVMVNx-40856715-60368295 is ready for SSH connections 2025-04-27 16:54:33,347 - DEBUG - FILE SIZE = 1303B 2025-04-27 16:54:33,347 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-40856715-43698730 to ctest-TestBasicVMVNx-40856715-60368295 using scp 2025-04-27 16:54:33,347 - 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.38, gateway password: c0ntrail123 2025-04-27 16:54:33,347 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-27 16:54:35,109 - DEBUG - 1+0 records in 1+0 records out 2025-04-27 16:54:35,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-27 16:54:35,915 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-27 16:54:35,915 - DEBUG - ls -l testfile 2025-04-27 16:54:37,427 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 27 10:54 testfile 2025-04-27 16:54:37,427 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-40856715-60368295 2025-04-27 16:54:37,427 - INFO - Deleting VM ctest-TestBasicVMVNx-40856715-60368295 2025-04-27 16:54:37,482 - INFO - Deleting VM ctest-TestBasicVMVNx-40856715-43698730 2025-04-27 16:54:37,532 - INFO - Deleting VN ctest-vn-42463424 2025-04-27 16:54:37,564 - DEBUG - VN 7b7bec43-4999-4a9e-860e-9e9607f5b192 still in use: Unable to complete operation on network 7b7bec43-4999-4a9e-860e-9e9607f5b192. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0683915a-7851-48f9-98e2-fc89f00408be'] 2025-04-27 16:54:37,564 - WARNING - Deleting VN ctest-vn-42463424 failed..Will retry 2025-04-27 16:54:39,643 - DEBUG - Response for deleting network () 2025-04-27 16:54:39,892 - DEBUG - No XMPP flaps were noticed during the test 2025-04-27 16:54:39,892 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2025-04-27 16:54:39,892 - INFO - -------------------------------------------------------------------------------- 2025-04-27 16:54:40,478 - INFO - Deleted project: ctest-TestBasicVMVNx-40856715, ID : 86e830b6-4d87-4064-be77-aa5a43897f04