2025-10-29 15:45:43,700 - INFO - Domain Default found not creating 2025-10-29 15:45:43,836 - INFO - Project ctest-TestBasicVMVNx-34014880 not found, creating it 2025-10-29 15:45:44,275 - INFO - Created Project:ctest-TestBasicVMVNx-34014880, ID : 37732683-6e2e-41b5-a554-c4eeccb7f5c7 2025-10-29 15:45:45,831 - INFO - ================================================================================ 2025-10-29 15:45:45,831 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-29 15:45:45,831 - 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-29 15:45:46,080 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.18': '0'}} with 2025-10-29 15:45:46,080 - INFO - Initial checks done. Running the testcase now 2025-10-29 15:45:46,080 - INFO - 2025-10-29 15:45:46,619 - DEBUG - Response for create_network : {'network': {'id': '7897e518-749a-4647-82e4-e875990d3beb', 'name': 'ctest-vn-26315169', 'tenant_id': '377326836e2e41b5a554c4eeccb7f5c7', 'project_id': '377326836e2e41b5a554c4eeccb7f5c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-34014880', 'ctest-vn-26315169'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 15:45:46,799 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a270d9a9-c7fc-477e-b97c-4be3a2324ae0', 'name': '', 'tenant_id': '377326836e2e41b5a554c4eeccb7f5c7', 'network_id': '7897e518-749a-4647-82e4-e875990d3beb', 'ip_version': 4, 'cidr': '122.74.52.192/26', 'allocation_pools': [{'start': '122.74.52.194', 'end': '122.74.52.254'}], 'gateway_ip': '122.74.52.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.74.52.194', 'tags': [], 'project_id': '377326836e2e41b5a554c4eeccb7f5c7'}} 2025-10-29 15:45:46,817 - INFO - Created VN ctest-vn-26315169 2025-10-29 15:45:46,871 - DEBUG - VN ctest-vn-26315169 UUID is 7897e518-749a-4647-82e4-e875990d3beb 2025-10-29 15:45:47,041 - DEBUG - Services list from nova: [, , ] 2025-10-29 15:45:48,042 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4523-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4523-1) 2025-10-29 15:45:49,196 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4523-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4523-1) 2025-10-29 15:45:49,196 - INFO - Waiting for VM ctest-TestBasicVMVNx-34014880-97059611 to be up.. 2025-10-29 15:45:49,284 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 15:45:54,357 - DEBUG - VM is in ACTIVE state now 2025-10-29 15:45:54,357 - INFO - VM name : ctest-TestBasicVMVNx-34014880-97059611 2025-10-29 15:45:54,423 - DEBUG - VM ctest-TestBasicVMVNx-34014880-97059611 ID is 1d503a9a-d39d-4fd4-b185-bcbbcd851262 2025-10-29 15:45:54,446 - DEBUG - VM ctest-TestBasicVMVNx-34014880-97059611 launched on Node cn-jenkins-deploy-platform-ansible-os-4523-1 2025-10-29 15:45:54,518 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/1d503a9a-d39d-4fd4-b185-bcbbcd851262 2025-10-29 15:45:54,818 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/1d503a9a-d39d-4fd4-b185-bcbbcd851262 2025-10-29 15:45:54,851 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/0b32c8ce-87ba-4381-adc1-269e939309ce 2025-10-29 15:45:58,100 - 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 1011ms') 2025-10-29 15:45:58,100 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-34014880-97059611 failed! 2025-10-29 15:45:58,155 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-34014880:ctest-vn-26315169 is 122.74.52.193 and allocation pool is NOT set 2025-10-29 15:46:00,220 - 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.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.08 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.084/2.700/4.317/1.616 ms') 2025-10-29 15:46:00,220 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-34014880-97059611 passed 2025-10-29 15:46:00,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 15:46:00,375 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34014880-97059611, IP 122.74.52.195, Port 22 2025-10-29 15:46:00,430 - 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-29 15:46:00,495 - DEBUG - VM ctest-TestBasicVMVNx-34014880-97059611 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 15:46:05,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 15:46:05,495 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34014880-97059611, IP 122.74.52.195, Port 22 2025-10-29 15:46:05,666 - DEBUG - VM ctest-TestBasicVMVNx-34014880-97059611 is ready for SSH connections 2025-10-29 15:46:05,666 - INFO - Waiting for VM ctest-TestBasicVMVNx-34014880-19067700 to be up.. 2025-10-29 15:46:05,736 - DEBUG - VM is in ACTIVE state now 2025-10-29 15:46:05,736 - INFO - VM name : ctest-TestBasicVMVNx-34014880-19067700 2025-10-29 15:46:05,810 - DEBUG - VM ctest-TestBasicVMVNx-34014880-19067700 ID is e3afd07e-3914-4dc4-b742-f3bb7b05b715 2025-10-29 15:46:05,810 - DEBUG - VM ctest-TestBasicVMVNx-34014880-19067700 launched on Node cn-jenkins-deploy-platform-ansible-os-4523-1 2025-10-29 15:46:05,877 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/e3afd07e-3914-4dc4-b742-f3bb7b05b715 2025-10-29 15:46:05,884 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/05682274-4cc0-4f55-95ac-0e14f17cd084 2025-10-29 15:46:07,112 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.392 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.392/1.530/2.669/1.138 ms') 2025-10-29 15:46:07,113 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-34014880-19067700 passed 2025-10-29 15:46:07,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 15:46:07,263 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-34014880-19067700, IP 122.74.52.196, Port 22 2025-10-29 15:46:07,415 - DEBUG - VM ctest-TestBasicVMVNx-34014880-19067700 is ready for SSH connections 2025-10-29 15:46:07,415 - DEBUG - FILE SIZE = 1303B 2025-10-29 15:46:07,415 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-34014880-97059611 to ctest-TestBasicVMVNx-34014880-19067700 using scp 2025-10-29 15:46:07,417 - 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.73, gateway password: c0ntrail123 2025-10-29 15:46:07,417 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-10-29 15:46:09,365 - DEBUG - 1+0 records in 1+0 records out 2025-10-29 15:46:09,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 15:46:10,337 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-10-29 15:46:10,337 - DEBUG - ls -l testfile 2025-10-29 15:46:11,951 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 29 09:46 testfile 2025-10-29 15:46:11,952 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-34014880-19067700 2025-10-29 15:46:11,952 - INFO - Deleting VM ctest-TestBasicVMVNx-34014880-19067700 2025-10-29 15:46:12,013 - INFO - Deleting VM ctest-TestBasicVMVNx-34014880-97059611 2025-10-29 15:46:12,081 - INFO - Deleting VN ctest-vn-26315169 2025-10-29 15:46:12,115 - DEBUG - VN 7897e518-749a-4647-82e4-e875990d3beb still in use: Unable to complete operation on network 7897e518-749a-4647-82e4-e875990d3beb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e5ec71c4-934a-4a33-82d5-66b9efb41c35'] 2025-10-29 15:46:12,115 - WARNING - Deleting VN ctest-vn-26315169 failed..Will retry 2025-10-29 15:46:14,213 - DEBUG - Response for deleting network () 2025-10-29 15:46:14,484 - DEBUG - No XMPP flaps were noticed during the test
2025-10-29 15:46:14,484 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-10-29 15:46:14,484 - INFO - -------------------------------------------------------------------------------- 2025-10-29 15:46:15,148 - INFO - Deleted project: ctest-TestBasicVMVNx-34014880, ID : 37732683-6e2e-41b5-a554-c4eeccb7f5c7