2025-04-09 14:11:10,736 - INFO - Domain Default found not creating 2025-04-09 14:11:10,899 - INFO - Project ctest-TestBasicVMVNx-49322285 not found, creating it 2025-04-09 14:11:11,379 - INFO - Created Project:ctest-TestBasicVMVNx-49322285, ID : c7e70114-7344-41e4-97a2-dd1be15c7529 2025-04-09 14:11:12,848 - INFO - ================================================================================ 2025-04-09 14:11:12,848 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-09 14:11:12,848 - 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-09 14:11:13,108 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.20.0.17': '0'}} with 2025-04-09 14:11:13,108 - INFO - Initial checks done. Running the testcase now 2025-04-09 14:11:13,108 - INFO - 2025-04-09 14:11:13,750 - DEBUG - Response for create_network : {'network': {'id': 'e77d8637-b6a1-4f17-a58a-f38641ef59ea', 'name': 'ctest-vn-75493086', 'tenant_id': 'c7e70114734441e497a2dd1be15c7529', 'project_id': 'c7e70114734441e497a2dd1be15c7529', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-49322285', 'ctest-vn-75493086'], 'port_security_enabled': True, 'description': ''}} 2025-04-09 14:11:13,930 - DEBUG - Response for create_subnet : {'subnet': {'id': '25b19e68-6aca-4179-b4e0-72d4d699541e', 'name': '', 'tenant_id': 'c7e70114734441e497a2dd1be15c7529', 'network_id': 'e77d8637-b6a1-4f17-a58a-f38641ef59ea', 'ip_version': 4, 'cidr': '155.205.16.0/26', 'allocation_pools': [{'start': '155.205.16.2', 'end': '155.205.16.62'}], 'gateway_ip': '155.205.16.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.205.16.2', 'tags': [], 'project_id': 'c7e70114734441e497a2dd1be15c7529'}} 2025-04-09 14:11:13,951 - INFO - Created VN ctest-vn-75493086 2025-04-09 14:11:14,007 - DEBUG - VN ctest-vn-75493086 UUID is e77d8637-b6a1-4f17-a58a-f38641ef59ea 2025-04-09 14:11:14,181 - DEBUG - Services list from nova: [, , ] 2025-04-09 14:11:15,271 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3067-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3067-1) 2025-04-09 14:11:16,499 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3067-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3067-1) 2025-04-09 14:11:16,499 - INFO - Waiting for VM ctest-TestBasicVMVNx-49322285-38059821 to be up.. 2025-04-09 14:11:16,600 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-09 14:11:21,700 - DEBUG - VM is in ACTIVE state now 2025-04-09 14:11:21,701 - INFO - VM name : ctest-TestBasicVMVNx-49322285-38059821 2025-04-09 14:11:21,815 - DEBUG - VM ctest-TestBasicVMVNx-49322285-38059821 ID is 76fb74a6-1a0b-4730-8d43-f6c07bb2b771 2025-04-09 14:11:21,837 - DEBUG - VM ctest-TestBasicVMVNx-49322285-38059821 launched on Node cn-jenkins-deploy-platform-ansible-os-3067-1 2025-04-09 14:11:21,961 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/76fb74a6-1a0b-4730-8d43-f6c07bb2b771 2025-04-09 14:11:22,284 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/76fb74a6-1a0b-4730-8d43-f6c07bb2b771 2025-04-09 14:11:22,325 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/1fdb2ded-b75c-4daa-b301-292008ce867d 2025-04-09 14:11:25,606 - 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 1023ms') 2025-04-09 14:11:25,606 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-49322285-38059821 failed! 2025-04-09 14:11:25,667 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-49322285:ctest-vn-75493086 is 155.205.16.1 and allocation pool is NOT set 2025-04-09 14:11:27,733 - 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.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.50 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.495/3.366/5.237/1.871 ms') 2025-04-09 14:11:27,733 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-49322285-38059821 passed 2025-04-09 14:11:27,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 14:11:27,892 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-49322285-38059821, IP 155.205.16.3, Port 22 2025-04-09 14:11:27,957 - 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-09 14:11:28,040 - DEBUG - VM ctest-TestBasicVMVNx-49322285-38059821 is NOT ready for SSH connections, VM status: ACTIVE 2025-04-09 14:11:33,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 14:11:33,041 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-49322285-38059821, IP 155.205.16.3, Port 22 2025-04-09 14:11:33,207 - DEBUG - VM ctest-TestBasicVMVNx-49322285-38059821 is ready for SSH connections 2025-04-09 14:11:33,207 - INFO - Waiting for VM ctest-TestBasicVMVNx-49322285-74261726 to be up.. 2025-04-09 14:11:33,377 - DEBUG - VM is in ACTIVE state now 2025-04-09 14:11:33,377 - INFO - VM name : ctest-TestBasicVMVNx-49322285-74261726 2025-04-09 14:11:33,453 - DEBUG - VM ctest-TestBasicVMVNx-49322285-74261726 ID is e8239eda-c257-498b-93d6-229cb9b150c2 2025-04-09 14:11:33,454 - DEBUG - VM ctest-TestBasicVMVNx-49322285-74261726 launched on Node cn-jenkins-deploy-platform-ansible-os-3067-1 2025-04-09 14:11:33,543 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/e8239eda-c257-498b-93d6-229cb9b150c2 2025-04-09 14:11:33,555 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/a275ca26-3e0c-46e7-8de3-7ff911034c4f 2025-04-09 14:11:34,811 - 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=3.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.429 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.429/2.048/3.668/1.619 ms') 2025-04-09 14:11:34,811 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-49322285-74261726 passed 2025-04-09 14:11:34,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 14:11:34,963 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-49322285-74261726, IP 155.205.16.4, Port 22 2025-04-09 14:11:35,137 - DEBUG - VM ctest-TestBasicVMVNx-49322285-74261726 is ready for SSH connections 2025-04-09 14:11:35,137 - DEBUG - FILE SIZE = 1303B 2025-04-09 14:11:35,137 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-49322285-38059821 to ctest-TestBasicVMVNx-49322285-74261726 using scp 2025-04-09 14:11:35,138 - 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.45, gateway password: c0ntrail123 2025-04-09 14:11:35,138 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-09 14:11:37,073 - DEBUG - 1+0 records in 1+0 records out 2025-04-09 14:11:37,853 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 14:11:38,182 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123 2025-04-09 14:11:38,182 - DEBUG - ls -l testfile 2025-04-09 14:11:39,766 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 9 08:11 testfile 2025-04-09 14:11:39,766 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-49322285-74261726 2025-04-09 14:11:39,767 - INFO - Deleting VM ctest-TestBasicVMVNx-49322285-74261726 2025-04-09 14:11:39,834 - INFO - Deleting VM ctest-TestBasicVMVNx-49322285-38059821 2025-04-09 14:11:39,903 - INFO - Deleting VN ctest-vn-75493086 2025-04-09 14:11:39,942 - DEBUG - VN e77d8637-b6a1-4f17-a58a-f38641ef59ea still in use: Unable to complete operation on network e77d8637-b6a1-4f17-a58a-f38641ef59ea. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-53741ccb-117a-47a9-a667-47ef70449bb0'] 2025-04-09 14:11:39,942 - WARNING - Deleting VN ctest-vn-75493086 failed..Will retry 2025-04-09 14:11:42,050 - DEBUG - Response for deleting network () 2025-04-09 14:11:42,313 - DEBUG - No XMPP flaps were noticed during the test 2025-04-09 14:11:42,313 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2025-04-09 14:11:42,313 - INFO - -------------------------------------------------------------------------------- 2025-04-09 14:11:43,067 - INFO - Deleted project: ctest-TestBasicVMVNx-49322285, ID : c7e70114-7344-41e4-97a2-dd1be15c7529