2025-10-09 12:11:47,020 - INFO - Domain Default found not creating 2025-10-09 12:11:47,194 - INFO - Project ctest-TestBasicVMVNx-21587195 not found, creating it 2025-10-09 12:11:47,664 - INFO - Created Project:ctest-TestBasicVMVNx-21587195, ID : 1e134118-0c88-483c-bf58-deb8ebb74f85 2025-10-09 12:11:49,500 - INFO - ================================================================================ 2025-10-09 12:11:49,500 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-09 12:11:49,500 - 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-10-09 12:11:49,773 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-10-09 12:11:49,773 - INFO - Initial checks done. Running the testcase now 2025-10-09 12:11:49,773 - INFO - 2025-10-09 12:11:50,400 - DEBUG - Response for create_network : {'network': {'id': '6113ffc5-e02f-4740-8460-c752a6189863', 'name': 'ctest-vn-25971597', 'tenant_id': '1e1341180c88483cbf58deb8ebb74f85', 'project_id': '1e1341180c88483cbf58deb8ebb74f85', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-21587195', 'ctest-vn-25971597'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 12:11:50,616 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d23d7e1-760a-462a-9c22-116d094d2d37', 'name': '', 'tenant_id': '1e1341180c88483cbf58deb8ebb74f85', 'network_id': '6113ffc5-e02f-4740-8460-c752a6189863', 'ip_version': 4, 'cidr': '177.170.213.192/26', 'allocation_pools': [{'start': '177.170.213.194', 'end': '177.170.213.254'}], 'gateway_ip': '177.170.213.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.170.213.194', 'tags': [], 'project_id': '1e1341180c88483cbf58deb8ebb74f85'}} 2025-10-09 12:11:50,638 - INFO - Created VN ctest-vn-25971597 2025-10-09 12:11:50,691 - DEBUG - VN ctest-vn-25971597 UUID is 6113ffc5-e02f-4740-8460-c752a6189863 2025-10-09 12:11:50,886 - DEBUG - Services list from nova: [, , ] 2025-10-09 12:11:52,009 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4259-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4259-1) 2025-10-09 12:11:53,282 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4259-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4259-1) 2025-10-09 12:11:53,282 - INFO - Waiting for VM ctest-TestBasicVMVNx-21587195-45241722 to be up.. 2025-10-09 12:11:53,399 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 12:11:58,487 - DEBUG - VM is in ACTIVE state now 2025-10-09 12:11:58,488 - INFO - VM name : ctest-TestBasicVMVNx-21587195-45241722 2025-10-09 12:11:58,580 - DEBUG - VM ctest-TestBasicVMVNx-21587195-45241722 ID is 074fb098-0c90-49c9-85a1-8c4e18d6ce7c 2025-10-09 12:11:58,602 - DEBUG - VM ctest-TestBasicVMVNx-21587195-45241722 launched on Node cn-jenkins-deploy-platform-ansible-os-4259-1 2025-10-09 12:11:58,686 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/074fb098-0c90-49c9-85a1-8c4e18d6ce7c 2025-10-09 12:11:58,992 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/074fb098-0c90-49c9-85a1-8c4e18d6ce7c 2025-10-09 12:11:59,033 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9540c7b1-1a8e-4080-adb7-043a27fdbe66 2025-10-09 12:12:02,328 - 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 1027ms') 2025-10-09 12:12:02,329 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-21587195-45241722 failed! 2025-10-09 12:12:02,387 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-21587195:ctest-vn-25971597 is 177.170.213.193 and allocation pool is NOT set 2025-10-09 12:12:04,457 - 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=6.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.12 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 = 2.121/4.224/6.327/2.103 ms') 2025-10-09 12:12:04,457 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-21587195-45241722 passed 2025-10-09 12:12:04,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 12:12:04,607 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-21587195-45241722, IP 177.170.213.195, Port 22 2025-10-09 12:12:04,675 - 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-10-09 12:12:04,791 - DEBUG - VM ctest-TestBasicVMVNx-21587195-45241722 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-09 12:12:09,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 12:12:09,792 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-21587195-45241722, IP 177.170.213.195, Port 22 2025-10-09 12:12:09,951 - DEBUG - VM ctest-TestBasicVMVNx-21587195-45241722 is ready for SSH connections 2025-10-09 12:12:09,951 - INFO - Waiting for VM ctest-TestBasicVMVNx-21587195-90128418 to be up.. 2025-10-09 12:12:10,043 - DEBUG - VM is in ACTIVE state now 2025-10-09 12:12:10,043 - INFO - VM name : ctest-TestBasicVMVNx-21587195-90128418 2025-10-09 12:12:10,128 - DEBUG - VM ctest-TestBasicVMVNx-21587195-90128418 ID is 3c685cc4-e66c-40ed-9336-aeabb5cb3048 2025-10-09 12:12:10,129 - DEBUG - VM ctest-TestBasicVMVNx-21587195-90128418 launched on Node cn-jenkins-deploy-platform-ansible-os-4259-1 2025-10-09 12:12:10,220 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3c685cc4-e66c-40ed-9336-aeabb5cb3048 2025-10-09 12:12:10,232 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5bcbaea3-990b-4509-a729-4b2dfacd014c 2025-10-09 12:12:11,495 - 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=4.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.16 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 = 1.158/2.804/4.450/1.646 ms') 2025-10-09 12:12:11,495 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-21587195-90128418 passed 2025-10-09 12:12:11,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 12:12:11,652 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-21587195-90128418, IP 177.170.213.196, Port 22 2025-10-09 12:12:11,821 - DEBUG - VM ctest-TestBasicVMVNx-21587195-90128418 is ready for SSH connections 2025-10-09 12:12:11,821 - DEBUG - FILE SIZE = 1303B 2025-10-09 12:12:11,821 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-21587195-45241722 to ctest-TestBasicVMVNx-21587195-90128418 using scp 2025-10-09 12:12:11,823 - 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.50, gateway password: c0ntrail123 2025-10-09 12:12:11,823 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-10-09 12:12:14,016 - DEBUG - 1+0 records in 1+0 records out 2025-10-09 12:12:14,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 12:12:15,208 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-09 12:12:15,208 - DEBUG - ls -l testfile 2025-10-09 12:12:17,003 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 9 06:12 testfile 2025-10-09 12:12:17,003 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-21587195-90128418 2025-10-09 12:12:17,004 - INFO - Deleting VM ctest-TestBasicVMVNx-21587195-90128418 2025-10-09 12:12:17,116 - INFO - Deleting VM ctest-TestBasicVMVNx-21587195-45241722 2025-10-09 12:12:17,233 - INFO - Deleting VN ctest-vn-25971597 2025-10-09 12:12:17,283 - DEBUG - VN 6113ffc5-e02f-4740-8460-c752a6189863 still in use: Unable to complete operation on network 6113ffc5-e02f-4740-8460-c752a6189863. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-785c8c8f-c0c6-48b0-bc16-61bd7ccdf0fc'] 2025-10-09 12:12:17,283 - WARNING - Deleting VN ctest-vn-25971597 failed..Will retry 2025-10-09 12:12:19,436 - DEBUG - Response for deleting network () 2025-10-09 12:12:19,714 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 12:12:19,714 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2025-10-09 12:12:19,714 - INFO - -------------------------------------------------------------------------------- 2025-10-09 12:12:20,499 - INFO - Deleted project: ctest-TestBasicVMVNx-21587195, ID : 1e134118-0c88-483c-bf58-deb8ebb74f85