2025-10-23 23:42:35,218 - INFO - Domain Default found not creating 2025-10-23 23:42:35,412 - INFO - Project ctest-TestBasicVMVNx-30334813 not found, creating it 2025-10-23 23:42:35,919 - INFO - Created Project:ctest-TestBasicVMVNx-30334813, ID : 4966ae02-2b75-4169-9269-1d22b83f8edb 2025-10-23 23:42:37,742 - INFO - ================================================================================ 2025-10-23 23:42:37,742 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-23 23:42:37,742 - 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-23 23:42:38,013 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-10-23 23:42:38,013 - INFO - Initial checks done. Running the testcase now 2025-10-23 23:42:38,013 - INFO - 2025-10-23 23:42:38,673 - DEBUG - Response for create_network : {'network': {'id': 'e3c32edf-3316-4ef5-846c-20d8bb11c3c1', 'name': 'ctest-vn-33555776', 'tenant_id': '4966ae022b75416992691d22b83f8edb', 'project_id': '4966ae022b75416992691d22b83f8edb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-30334813', 'ctest-vn-33555776'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 23:42:38,910 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6ab852f-88be-47e3-afea-f2c721588c31', 'name': '', 'tenant_id': '4966ae022b75416992691d22b83f8edb', 'network_id': 'e3c32edf-3316-4ef5-846c-20d8bb11c3c1', 'ip_version': 4, 'cidr': '104.18.126.64/26', 'allocation_pools': [{'start': '104.18.126.66', 'end': '104.18.126.126'}], 'gateway_ip': '104.18.126.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.18.126.66', 'tags': [], 'project_id': '4966ae022b75416992691d22b83f8edb'}} 2025-10-23 23:42:38,935 - INFO - Created VN ctest-vn-33555776 2025-10-23 23:42:38,988 - DEBUG - VN ctest-vn-33555776 UUID is e3c32edf-3316-4ef5-846c-20d8bb11c3c1 2025-10-23 23:42:39,188 - DEBUG - Services list from nova: [, , ] 2025-10-23 23:42:40,434 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4471-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4471-1) 2025-10-23 23:42:41,774 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4471-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4471-1) 2025-10-23 23:42:41,774 - INFO - Waiting for VM ctest-TestBasicVMVNx-30334813-12587329 to be up.. 2025-10-23 23:42:41,858 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 23:42:46,976 - DEBUG - VM is in ACTIVE state now 2025-10-23 23:42:46,976 - INFO - VM name : ctest-TestBasicVMVNx-30334813-12587329 2025-10-23 23:42:47,073 - DEBUG - VM ctest-TestBasicVMVNx-30334813-12587329 ID is 077fde50-c875-4d65-b1f9-b75c4cf2710c 2025-10-23 23:42:47,096 - DEBUG - VM ctest-TestBasicVMVNx-30334813-12587329 launched on Node cn-jenkins-deploy-platform-ansible-os-4471-1 2025-10-23 23:42:47,193 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/077fde50-c875-4d65-b1f9-b75c4cf2710c 2025-10-23 23:42:47,532 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/077fde50-c875-4d65-b1f9-b75c4cf2710c 2025-10-23 23:42:47,570 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/9e370e12-75fe-4a3f-8012-d65c296721fc 2025-10-23 23:42:50,821 - 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 1001ms') 2025-10-23 23:42:50,821 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-30334813-12587329 failed! 2025-10-23 23:42:50,880 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-30334813:ctest-vn-33555776 is 104.18.126.65 and allocation pool is NOT set 2025-10-23 23:42:52,951 - 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.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.78 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 = 1.776/3.433/5.090/1.657 ms') 2025-10-23 23:42:52,951 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-30334813-12587329 passed 2025-10-23 23:42:53,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 23:42:53,108 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-30334813-12587329, IP 104.18.126.67, Port 22 2025-10-23 23:42:53,173 - 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-23 23:42:53,263 - DEBUG - VM ctest-TestBasicVMVNx-30334813-12587329 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-23 23:42:58,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 23:42:58,264 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-30334813-12587329, IP 104.18.126.67, Port 22 2025-10-23 23:42:58,419 - DEBUG - VM ctest-TestBasicVMVNx-30334813-12587329 is ready for SSH connections 2025-10-23 23:42:58,419 - INFO - Waiting for VM ctest-TestBasicVMVNx-30334813-64252814 to be up.. 2025-10-23 23:42:58,505 - DEBUG - VM is in ACTIVE state now 2025-10-23 23:42:58,505 - INFO - VM name : ctest-TestBasicVMVNx-30334813-64252814 2025-10-23 23:42:58,586 - DEBUG - VM ctest-TestBasicVMVNx-30334813-64252814 ID is 8b0232a5-4b05-4121-9118-494d611f4599 2025-10-23 23:42:58,586 - DEBUG - VM ctest-TestBasicVMVNx-30334813-64252814 launched on Node cn-jenkins-deploy-platform-ansible-os-4471-1 2025-10-23 23:42:58,670 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/8b0232a5-4b05-4121-9118-494d611f4599 2025-10-23 23:42:58,678 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/2c0c7067-3bb0-4975-83ad-ac3a6e4d1692 2025-10-23 23:42:59,922 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.510 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.510/2.295/4.081/1.785 ms') 2025-10-23 23:42:59,922 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-30334813-64252814 passed 2025-10-23 23:43:00,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 23:43:00,076 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-30334813-64252814, IP 104.18.126.68, Port 22 2025-10-23 23:43:00,242 - DEBUG - VM ctest-TestBasicVMVNx-30334813-64252814 is ready for SSH connections 2025-10-23 23:43:00,242 - DEBUG - FILE SIZE = 1303B 2025-10-23 23:43:00,242 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-30334813-12587329 to ctest-TestBasicVMVNx-30334813-64252814 using scp 2025-10-23 23:43:00,245 - 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.242, gateway password: c0ntrail123 2025-10-23 23:43:00,245 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-10-23 23:43:02,376 - DEBUG - 1+0 records in 1+0 records out 2025-10-23 23:43:03,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 23:43:03,484 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-23 23:43:03,484 - DEBUG - ls -l testfile 2025-10-23 23:43:05,177 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 23 17:43 testfile 2025-10-23 23:43:05,177 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-30334813-64252814 2025-10-23 23:43:05,177 - INFO - Deleting VM ctest-TestBasicVMVNx-30334813-64252814 2025-10-23 23:43:05,253 - INFO - Deleting VM ctest-TestBasicVMVNx-30334813-12587329 2025-10-23 23:43:05,336 - INFO - Deleting VN ctest-vn-33555776 2025-10-23 23:43:05,376 - DEBUG - VN e3c32edf-3316-4ef5-846c-20d8bb11c3c1 still in use: Unable to complete operation on network e3c32edf-3316-4ef5-846c-20d8bb11c3c1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7811abf6-b4bf-4e94-a687-3b02fbf3f5f0'] 2025-10-23 23:43:05,376 - WARNING - Deleting VN ctest-vn-33555776 failed..Will retry 2025-10-23 23:43:07,492 - DEBUG - Response for deleting network () 2025-10-23 23:43:07,750 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 23:43:07,751 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2025-10-23 23:43:07,751 - INFO - -------------------------------------------------------------------------------- 2025-10-23 23:43:08,477 - INFO - Deleted project: ctest-TestBasicVMVNx-30334813, ID : 4966ae02-2b75-4169-9269-1d22b83f8edb