2025-06-26 08:42:56,908 - INFO - Domain Default found not creating 2025-06-26 08:42:57,150 - INFO - Project ctest-TestBasicVMVNx-53642909 not found, creating it 2025-06-26 08:42:57,728 - INFO - Created Project:ctest-TestBasicVMVNx-53642909, ID : feb7a28d-e6b8-418c-96a1-460fc6000a37 2025-06-26 08:42:59,440 - INFO - ================================================================================ 2025-06-26 08:42:59,440 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-26 08:42:59,440 - 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-06-26 08:42:59,706 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with 2025-06-26 08:42:59,706 - INFO - Initial checks done. Running the testcase now 2025-06-26 08:42:59,706 - INFO - 2025-06-26 08:43:00,370 - DEBUG - Response for create_network : {'network': {'id': '366ba3e4-beda-4925-ac42-964722106e7f', 'name': 'ctest-vn-21420228', 'tenant_id': 'feb7a28de6b8418c96a1460fc6000a37', 'project_id': 'feb7a28de6b8418c96a1460fc6000a37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-53642909', 'ctest-vn-21420228'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 08:43:00,588 - DEBUG - Response for create_subnet : {'subnet': {'id': '1aef00ca-7701-4151-a8f6-67801b0e5d66', 'name': '', 'tenant_id': 'feb7a28de6b8418c96a1460fc6000a37', 'network_id': '366ba3e4-beda-4925-ac42-964722106e7f', 'ip_version': 4, 'cidr': '111.32.43.192/26', 'allocation_pools': [{'start': '111.32.43.194', 'end': '111.32.43.254'}], 'gateway_ip': '111.32.43.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.32.43.194', 'tags': [], 'project_id': 'feb7a28de6b8418c96a1460fc6000a37'}} 2025-06-26 08:43:00,615 - INFO - Created VN ctest-vn-21420228 2025-06-26 08:43:00,671 - DEBUG - VN ctest-vn-21420228 UUID is 366ba3e4-beda-4925-ac42-964722106e7f 2025-06-26 08:43:00,867 - DEBUG - Services list from nova: [, , ] 2025-06-26 08:43:02,134 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3557-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3557-1) 2025-06-26 08:43:03,669 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3557-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3557-1) 2025-06-26 08:43:03,669 - INFO - Waiting for VM ctest-TestBasicVMVNx-53642909-30926568 to be up.. 2025-06-26 08:43:03,773 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-26 08:43:08,917 - DEBUG - VM is in ACTIVE state now 2025-06-26 08:43:08,918 - INFO - VM name : ctest-TestBasicVMVNx-53642909-30926568 2025-06-26 08:43:09,033 - DEBUG - VM ctest-TestBasicVMVNx-53642909-30926568 ID is 9aa6f7d4-5972-4e80-9c7b-c11a839d8ac5 2025-06-26 08:43:09,058 - DEBUG - VM ctest-TestBasicVMVNx-53642909-30926568 launched on Node cn-jenkins-deploy-platform-ansible-os-3557-1 2025-06-26 08:43:09,152 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/9aa6f7d4-5972-4e80-9c7b-c11a839d8ac5 2025-06-26 08:43:09,505 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/9aa6f7d4-5972-4e80-9c7b-c11a839d8ac5 2025-06-26 08:43:09,554 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/db227f28-274c-4b36-8141-aa4df1caf234 2025-06-26 08:43:12,837 - 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 1015ms') 2025-06-26 08:43:12,837 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-53642909-30926568 failed! 2025-06-26 08:43:12,894 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-53642909:ctest-vn-21420228 is 111.32.43.193 and allocation pool is NOT set 2025-06-26 08:43:14,968 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.901 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.901/2.928/4.956/2.027 ms') 2025-06-26 08:43:14,968 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-53642909-30926568 passed 2025-06-26 08:43:15,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 08:43:15,135 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-53642909-30926568, IP 111.32.43.195, Port 22 2025-06-26 08:43:15,209 - 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-06-26 08:43:15,311 - DEBUG - VM ctest-TestBasicVMVNx-53642909-30926568 is NOT ready for SSH connections, VM status: ACTIVE 2025-06-26 08:43:20,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 08:43:20,312 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-53642909-30926568, IP 111.32.43.195, Port 22 2025-06-26 08:43:20,496 - DEBUG - VM ctest-TestBasicVMVNx-53642909-30926568 is ready for SSH connections 2025-06-26 08:43:20,496 - INFO - Waiting for VM ctest-TestBasicVMVNx-53642909-56407596 to be up.. 2025-06-26 08:43:20,604 - DEBUG - VM is in ACTIVE state now 2025-06-26 08:43:20,605 - INFO - VM name : ctest-TestBasicVMVNx-53642909-56407596 2025-06-26 08:43:20,703 - DEBUG - VM ctest-TestBasicVMVNx-53642909-56407596 ID is 16c506ef-43d9-468e-8a6a-90189aac0b2c 2025-06-26 08:43:20,703 - DEBUG - VM ctest-TestBasicVMVNx-53642909-56407596 launched on Node cn-jenkins-deploy-platform-ansible-os-3557-1 2025-06-26 08:43:20,817 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/16c506ef-43d9-468e-8a6a-90189aac0b2c 2025-06-26 08:43:20,829 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/9866406e-f663-424a-a713-bdfa2d2e256e 2025-06-26 08:43:22,102 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.667 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.667/2.411/4.155/1.744 ms') 2025-06-26 08:43:22,103 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-53642909-56407596 passed 2025-06-26 08:43:22,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 08:43:22,263 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-53642909-56407596, IP 111.32.43.196, Port 22 2025-06-26 08:43:22,433 - DEBUG - VM ctest-TestBasicVMVNx-53642909-56407596 is ready for SSH connections 2025-06-26 08:43:22,433 - DEBUG - FILE SIZE = 1303B 2025-06-26 08:43:22,433 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-53642909-30926568 to ctest-TestBasicVMVNx-53642909-56407596 using scp 2025-06-26 08:43:22,434 - 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.48, gateway password: c0ntrail123 2025-06-26 08:43:22,434 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-26 08:43:24,510 - DEBUG - 1+0 records in 1+0 records out 2025-06-26 08:43:25,475 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 08:43:25,831 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-06-26 08:43:25,832 - DEBUG - ls -l testfile 2025-06-26 08:43:27,469 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 26 02:43 testfile 2025-06-26 08:43:27,470 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-53642909-56407596 2025-06-26 08:43:27,470 - INFO - Deleting VM ctest-TestBasicVMVNx-53642909-56407596 2025-06-26 08:43:27,564 - INFO - Deleting VM ctest-TestBasicVMVNx-53642909-30926568 2025-06-26 08:43:27,660 - INFO - Deleting VN ctest-vn-21420228 2025-06-26 08:43:27,718 - DEBUG - VN 366ba3e4-beda-4925-ac42-964722106e7f still in use: Unable to complete operation on network 366ba3e4-beda-4925-ac42-964722106e7f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e2c2822b-8d45-48e9-ae01-53b5909761c1'] 2025-06-26 08:43:27,718 - WARNING - Deleting VN ctest-vn-21420228 failed..Will retry 2025-06-26 08:43:29,866 - DEBUG - Response for deleting network () 2025-06-26 08:43:30,138 - DEBUG - No XMPP flaps were noticed during the test 2025-06-26 08:43:30,138 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:31] 2025-06-26 08:43:30,138 - INFO - -------------------------------------------------------------------------------- 2025-06-26 08:43:30,937 - INFO - Deleted project: ctest-TestBasicVMVNx-53642909, ID : feb7a28d-e6b8-418c-96a1-460fc6000a37