2025-10-30 02:27:14,313 - INFO - Domain Default found not creating 2025-10-30 02:27:14,465 - INFO - Project ctest-TestBasicVMVNx-55749105 not found, creating it 2025-10-30 02:27:14,915 - INFO - Created Project:ctest-TestBasicVMVNx-55749105, ID : 636f9ea1-2719-44d0-83d2-2cfa0faade1c 2025-10-30 02:27:16,489 - INFO - ================================================================================ 2025-10-30 02:27:16,489 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-30 02:27:16,489 - 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-30 02:27:16,742 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-10-30 02:27:16,742 - INFO - Initial checks done. Running the testcase now 2025-10-30 02:27:16,742 - INFO - 2025-10-30 02:27:17,306 - DEBUG - Response for create_network : {'network': {'id': '623d8469-4d55-45ff-a543-edad8a59e016', 'name': 'ctest-vn-54624031', 'tenant_id': '636f9ea1271944d083d22cfa0faade1c', 'project_id': '636f9ea1271944d083d22cfa0faade1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-55749105', 'ctest-vn-54624031'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 02:27:17,505 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4f25b33-3775-46b0-bf9d-c0738351928b', 'name': '', 'tenant_id': '636f9ea1271944d083d22cfa0faade1c', 'network_id': '623d8469-4d55-45ff-a543-edad8a59e016', 'ip_version': 4, 'cidr': '22.173.80.64/26', 'allocation_pools': [{'start': '22.173.80.66', 'end': '22.173.80.126'}], 'gateway_ip': '22.173.80.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.173.80.66', 'tags': [], 'project_id': '636f9ea1271944d083d22cfa0faade1c'}} 2025-10-30 02:27:17,522 - INFO - Created VN ctest-vn-54624031 2025-10-30 02:27:17,573 - DEBUG - VN ctest-vn-54624031 UUID is 623d8469-4d55-45ff-a543-edad8a59e016 2025-10-30 02:27:17,784 - DEBUG - Services list from nova: [, , ] 2025-10-30 02:27:18,814 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4532-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4532-1) 2025-10-30 02:27:19,984 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4532-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4532-1) 2025-10-30 02:27:19,984 - INFO - Waiting for VM ctest-TestBasicVMVNx-55749105-91282166 to be up.. 2025-10-30 02:27:20,066 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 02:27:25,145 - DEBUG - VM is in ACTIVE state now 2025-10-30 02:27:25,146 - INFO - VM name : ctest-TestBasicVMVNx-55749105-91282166 2025-10-30 02:27:25,222 - DEBUG - VM ctest-TestBasicVMVNx-55749105-91282166 ID is ae94391a-9924-456c-b36e-cb721662977f 2025-10-30 02:27:25,246 - DEBUG - VM ctest-TestBasicVMVNx-55749105-91282166 launched on Node cn-jenkins-deploy-platform-ansible-os-4532-1 2025-10-30 02:27:25,321 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ae94391a-9924-456c-b36e-cb721662977f 2025-10-30 02:27:25,619 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ae94391a-9924-456c-b36e-cb721662977f 2025-10-30 02:27:25,655 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a6873cc2-3a2f-4435-b3e0-cfd23d275762 2025-10-30 02:27:28,905 - 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-30 02:27:28,905 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-55749105-91282166 failed! 2025-10-30 02:27:28,957 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-55749105:ctest-vn-54624031 is 22.173.80.65 and allocation pool is NOT set 2025-10-30 02:27:31,014 - 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=2.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.535 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.535/1.535/2.536/1.000 ms') 2025-10-30 02:27:31,014 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-55749105-91282166 passed 2025-10-30 02:27:31,165 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:27:31,165 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55749105-91282166, IP 22.173.80.67, Port 22 2025-10-30 02:27:31,331 - DEBUG - VM ctest-TestBasicVMVNx-55749105-91282166 is ready for SSH connections 2025-10-30 02:27:31,331 - INFO - Waiting for VM ctest-TestBasicVMVNx-55749105-08025477 to be up.. 2025-10-30 02:27:31,402 - DEBUG - VM is in ACTIVE state now 2025-10-30 02:27:31,402 - INFO - VM name : ctest-TestBasicVMVNx-55749105-08025477 2025-10-30 02:27:31,474 - DEBUG - VM ctest-TestBasicVMVNx-55749105-08025477 ID is bccff8f8-ceec-4492-9081-964ea0a9b73f 2025-10-30 02:27:31,474 - DEBUG - VM ctest-TestBasicVMVNx-55749105-08025477 launched on Node cn-jenkins-deploy-platform-ansible-os-4532-1 2025-10-30 02:27:31,545 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bccff8f8-ceec-4492-9081-964ea0a9b73f 2025-10-30 02:27:31,552 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7c5ea71c-f20d-4588-9ffb-ba3777fe5eb3 2025-10-30 02:27:32,798 - 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=5.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.05 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 = 2.051/3.649/5.248/1.598 ms') 2025-10-30 02:27:32,798 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-55749105-08025477 passed 2025-10-30 02:27:32,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:27:32,949 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55749105-08025477, IP 22.173.80.68, Port 22 2025-10-30 02:27:33,015 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-30 02:27:33,095 - DEBUG - VM ctest-TestBasicVMVNx-55749105-08025477 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 02:27:38,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:27:38,096 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55749105-08025477, IP 22.173.80.68, Port 22 2025-10-30 02:27:38,253 - DEBUG - VM ctest-TestBasicVMVNx-55749105-08025477 is ready for SSH connections 2025-10-30 02:27:38,253 - DEBUG - FILE SIZE = 1303B 2025-10-30 02:27:38,253 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-55749105-91282166 to ctest-TestBasicVMVNx-55749105-08025477 using scp 2025-10-30 02:27:38,254 - 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-10-30 02:27:38,255 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-10-30 02:27:40,196 - DEBUG - 1+0 records in 1+0 records out 2025-10-30 02:27:40,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:27:41,306 - 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-10-30 02:27:41,306 - DEBUG - ls -l testfile 2025-10-30 02:27:42,902 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 29 20:27 testfile 2025-10-30 02:27:42,902 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-55749105-08025477 2025-10-30 02:27:42,902 - INFO - Deleting VM ctest-TestBasicVMVNx-55749105-08025477 2025-10-30 02:27:42,970 - INFO - Deleting VM ctest-TestBasicVMVNx-55749105-91282166 2025-10-30 02:27:43,036 - INFO - Deleting VN ctest-vn-54624031 2025-10-30 02:27:43,077 - DEBUG - VN 623d8469-4d55-45ff-a543-edad8a59e016 still in use: Unable to complete operation on network 623d8469-4d55-45ff-a543-edad8a59e016. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8e79d90f-4827-47cc-ade5-bdc0c0673fec'] 2025-10-30 02:27:43,077 - WARNING - Deleting VN ctest-vn-54624031 failed..Will retry 2025-10-30 02:27:45,176 - DEBUG - Response for deleting network () 2025-10-30 02:27:45,434 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 02:27:45,434 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-10-30 02:27:45,435 - INFO - -------------------------------------------------------------------------------- 2025-10-30 02:27:46,115 - INFO - Deleted project: ctest-TestBasicVMVNx-55749105, ID : 636f9ea1-2719-44d0-83d2-2cfa0faade1c