2025-04-24 02:09:48,088 - INFO - Domain Default found not creating 2025-04-24 02:09:48,211 - INFO - Project ctest-TestBasicVMVNx-83150416 not found, creating it 2025-04-24 02:09:48,635 - INFO - Created Project:ctest-TestBasicVMVNx-83150416, ID : 131336c6-0145-4fef-9f39-cffe5a293924 2025-04-24 02:09:49,963 - INFO - ================================================================================ 2025-04-24 02:09:49,963 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-24 02:09:49,963 - 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-24 02:09:50,227 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-04-24 02:09:50,227 - INFO - Initial checks done. Running the testcase now 2025-04-24 02:09:50,228 - INFO - 2025-04-24 02:09:50,745 - DEBUG - Response for create_network : {'network': {'id': '56158262-c01e-40e0-9c9e-57c90cfa298b', 'name': 'ctest-vn-23155108', 'tenant_id': '131336c601454fef9f39cffe5a293924', 'project_id': '131336c601454fef9f39cffe5a293924', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-83150416', 'ctest-vn-23155108'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 02:09:50,969 - DEBUG - Response for create_subnet : {'subnet': {'id': '5318b2ba-c8be-4b68-9ec2-283097d80036', 'name': '', 'tenant_id': '131336c601454fef9f39cffe5a293924', 'network_id': '56158262-c01e-40e0-9c9e-57c90cfa298b', 'ip_version': 4, 'cidr': '35.254.218.0/26', 'allocation_pools': [{'start': '35.254.218.2', 'end': '35.254.218.62'}], 'gateway_ip': '35.254.218.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.254.218.2', 'tags': [], 'project_id': '131336c601454fef9f39cffe5a293924'}} 2025-04-24 02:09:50,985 - INFO - Created VN ctest-vn-23155108 2025-04-24 02:09:51,034 - DEBUG - VN ctest-vn-23155108 UUID is 56158262-c01e-40e0-9c9e-57c90cfa298b 2025-04-24 02:09:51,228 - DEBUG - Services list from nova: [, , ] 2025-04-24 02:09:52,166 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3198-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3198-1) 2025-04-24 02:09:53,258 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3198-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3198-1) 2025-04-24 02:09:53,258 - INFO - Waiting for VM ctest-TestBasicVMVNx-83150416-77117982 to be up.. 2025-04-24 02:09:53,338 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-24 02:09:58,414 - DEBUG - VM is in ACTIVE state now 2025-04-24 02:09:58,414 - INFO - VM name : ctest-TestBasicVMVNx-83150416-77117982 2025-04-24 02:09:58,494 - DEBUG - VM ctest-TestBasicVMVNx-83150416-77117982 ID is e2147037-65bb-4616-9413-167455019163 2025-04-24 02:09:58,511 - DEBUG - VM ctest-TestBasicVMVNx-83150416-77117982 launched on Node cn-jenkins-deploy-platform-ansible-os-3198-1 2025-04-24 02:09:58,587 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e2147037-65bb-4616-9413-167455019163 2025-04-24 02:09:58,875 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e2147037-65bb-4616-9413-167455019163 2025-04-24 02:09:58,904 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d6c135c9-b5b4-4078-9bf2-cd0d81527e4b 2025-04-24 02:10:02,160 - 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 1019ms') 2025-04-24 02:10:02,160 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-83150416-77117982 failed! 2025-04-24 02:10:02,214 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-83150416:ctest-vn-23155108 is 35.254.218.1 and allocation pool is NOT set 2025-04-24 02:10:04,278 - 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=3.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.382 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 = 0.382/1.765/3.148/1.383 ms') 2025-04-24 02:10:04,278 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-83150416-77117982 passed 2025-04-24 02:10:04,434 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 02:10:04,434 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-83150416-77117982, IP 35.254.218.3, Port 22 2025-04-24 02:10:04,598 - DEBUG - VM ctest-TestBasicVMVNx-83150416-77117982 is ready for SSH connections 2025-04-24 02:10:04,598 - INFO - Waiting for VM ctest-TestBasicVMVNx-83150416-07176067 to be up.. 2025-04-24 02:10:04,679 - DEBUG - VM is in ACTIVE state now 2025-04-24 02:10:04,679 - INFO - VM name : ctest-TestBasicVMVNx-83150416-07176067 2025-04-24 02:10:04,750 - DEBUG - VM ctest-TestBasicVMVNx-83150416-07176067 ID is 16d7b60f-bef7-40a8-ac7c-0d02528b56ab 2025-04-24 02:10:04,751 - DEBUG - VM ctest-TestBasicVMVNx-83150416-07176067 launched on Node cn-jenkins-deploy-platform-ansible-os-3198-1 2025-04-24 02:10:04,819 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/16d7b60f-bef7-40a8-ac7c-0d02528b56ab 2025-04-24 02:10:04,828 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cce0368e-c4fd-4386-a3b4-edd2359d64ba 2025-04-24 02:10:06,062 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.537 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.537/2.327/4.117/1.790 ms') 2025-04-24 02:10:06,063 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-83150416-07176067 passed 2025-04-24 02:10:06,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 02:10:06,210 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-83150416-07176067, IP 35.254.218.4, Port 22 2025-04-24 02:10:06,265 - 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-04-24 02:10:06,332 - DEBUG - VM ctest-TestBasicVMVNx-83150416-07176067 is NOT ready for SSH connections, VM status: ACTIVE 2025-04-24 02:10:11,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 02:10:11,332 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-83150416-07176067, IP 35.254.218.4, Port 22 2025-04-24 02:10:11,493 - DEBUG - VM ctest-TestBasicVMVNx-83150416-07176067 is ready for SSH connections 2025-04-24 02:10:11,493 - DEBUG - FILE SIZE = 1303B 2025-04-24 02:10:11,493 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-83150416-77117982 to ctest-TestBasicVMVNx-83150416-07176067 using scp 2025-04-24 02:10:11,494 - 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-04-24 02:10:11,495 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-24 02:10:13,370 - DEBUG - 1+0 records in 1+0 records out 2025-04-24 02:10:13,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 02:10:14,272 - 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-04-24 02:10:14,273 - DEBUG - ls -l testfile 2025-04-24 02:10:15,826 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 23 20:10 testfile 2025-04-24 02:10:15,826 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-83150416-07176067 2025-04-24 02:10:15,826 - INFO - Deleting VM ctest-TestBasicVMVNx-83150416-07176067 2025-04-24 02:10:15,891 - INFO - Deleting VM ctest-TestBasicVMVNx-83150416-77117982 2025-04-24 02:10:15,960 - INFO - Deleting VN ctest-vn-23155108 2025-04-24 02:10:16,000 - DEBUG - VN 56158262-c01e-40e0-9c9e-57c90cfa298b still in use: Unable to complete operation on network 56158262-c01e-40e0-9c9e-57c90cfa298b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ab5ec455-404f-4124-87e6-e9edd4e52ced'] 2025-04-24 02:10:16,000 - WARNING - Deleting VN ctest-vn-23155108 failed..Will retry 2025-04-24 02:10:18,106 - DEBUG - Response for deleting network () 2025-04-24 02:10:18,363 - DEBUG - No XMPP flaps were noticed during the test 2025-04-24 02:10:18,364 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29] 2025-04-24 02:10:18,364 - INFO - -------------------------------------------------------------------------------- 2025-04-24 02:10:19,009 - INFO - Deleted project: ctest-TestBasicVMVNx-83150416, ID : 131336c6-0145-4fef-9f39-cffe5a293924