2025-04-09 11:40:08,463 - INFO - Domain Default found not creating 2025-04-09 11:40:08,625 - INFO - Project ctest-TestBasicVMVNx-30774586 not found, creating it 2025-04-09 11:40:09,117 - INFO - Created Project:ctest-TestBasicVMVNx-30774586, ID : c0d65430-2ae4-4e60-9a64-b76bd1bb7715 2025-04-09 11:40:10,696 - INFO - ================================================================================ 2025-04-09 11:40:10,696 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-09 11:40:10,696 - 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 11:40:10,952 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-09 11:40:10,952 - INFO - Initial checks done. Running the testcase now 2025-04-09 11:40:10,952 - INFO - 2025-04-09 11:40:11,538 - DEBUG - Response for create_network : {'network': {'id': 'e314b16f-a3d9-4b59-a5af-e491529459a9', 'name': 'ctest-vn-50157867', 'tenant_id': 'c0d654302ae44e609a64b76bd1bb7715', 'project_id': 'c0d654302ae44e609a64b76bd1bb7715', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-30774586', 'ctest-vn-50157867'], 'port_security_enabled': True, 'description': ''}} 2025-04-09 11:40:11,772 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0359c8e-32ce-4224-9e80-b12bac079e74', 'name': '', 'tenant_id': 'c0d654302ae44e609a64b76bd1bb7715', 'network_id': 'e314b16f-a3d9-4b59-a5af-e491529459a9', 'ip_version': 4, 'cidr': '191.87.245.192/26', 'allocation_pools': [{'start': '191.87.245.194', 'end': '191.87.245.254'}], 'gateway_ip': '191.87.245.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.87.245.194', 'tags': [], 'project_id': 'c0d654302ae44e609a64b76bd1bb7715'}} 2025-04-09 11:40:11,795 - INFO - Created VN ctest-vn-50157867 2025-04-09 11:40:11,853 - DEBUG - VN ctest-vn-50157867 UUID is e314b16f-a3d9-4b59-a5af-e491529459a9 2025-04-09 11:40:12,056 - DEBUG - Services list from nova: [, , ] 2025-04-09 11:40:13,175 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3062-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3062-1) 2025-04-09 11:40:14,544 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3062-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3062-1) 2025-04-09 11:40:14,544 - INFO - Waiting for VM ctest-TestBasicVMVNx-30774586-74364211 to be up.. 2025-04-09 11:40:14,663 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-09 11:40:19,764 - DEBUG - VM is in ACTIVE state now 2025-04-09 11:40:19,764 - INFO - VM name : ctest-TestBasicVMVNx-30774586-74364211 2025-04-09 11:40:19,864 - DEBUG - VM ctest-TestBasicVMVNx-30774586-74364211 ID is f30ea900-8fe1-4982-aacb-4310ae5fc5a3 2025-04-09 11:40:19,895 - DEBUG - VM ctest-TestBasicVMVNx-30774586-74364211 launched on Node cn-jenkins-deploy-platform-ansible-os-3062-1 2025-04-09 11:40:20,147 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f30ea900-8fe1-4982-aacb-4310ae5fc5a3 2025-04-09 11:40:20,449 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f30ea900-8fe1-4982-aacb-4310ae5fc5a3 2025-04-09 11:40:20,486 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c6cdc90a-eae8-4497-93ad-1329c225270a 2025-04-09 11:40:23,735 - 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 1002ms') 2025-04-09 11:40:23,735 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-30774586-74364211 failed! 2025-04-09 11:40:23,792 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-30774586:ctest-vn-50157867 is 191.87.245.193 and allocation pool is NOT set 2025-04-09 11:40:25,857 - 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.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.36 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 3.277/3.316/3.356/0.039 ms') 2025-04-09 11:40:25,857 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-30774586-74364211 passed 2025-04-09 11:40:26,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 11:40:26,014 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-30774586-74364211, IP 191.87.245.195, Port 22 2025-04-09 11:40:26,168 - DEBUG - VM ctest-TestBasicVMVNx-30774586-74364211 is ready for SSH connections 2025-04-09 11:40:26,169 - INFO - Waiting for VM ctest-TestBasicVMVNx-30774586-67162260 to be up.. 2025-04-09 11:40:26,265 - DEBUG - VM is in ACTIVE state now 2025-04-09 11:40:26,265 - INFO - VM name : ctest-TestBasicVMVNx-30774586-67162260 2025-04-09 11:40:26,374 - DEBUG - VM ctest-TestBasicVMVNx-30774586-67162260 ID is 3defe88c-3d6c-4923-abc4-c9b679386032 2025-04-09 11:40:26,375 - DEBUG - VM ctest-TestBasicVMVNx-30774586-67162260 launched on Node cn-jenkins-deploy-platform-ansible-os-3062-1 2025-04-09 11:40:26,465 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3defe88c-3d6c-4923-abc4-c9b679386032 2025-04-09 11:40:26,475 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4e593a9b-c5d7-498c-8e70-3a74e69aa1ba 2025-04-09 11:40:27,728 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.82 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 = 2.820/3.881/4.943/1.061 ms') 2025-04-09 11:40:27,728 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-30774586-67162260 passed 2025-04-09 11:40:27,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 11:40:27,885 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-30774586-67162260, IP 191.87.245.196, Port 22 2025-04-09 11:40:28,041 - DEBUG - VM ctest-TestBasicVMVNx-30774586-67162260 is ready for SSH connections 2025-04-09 11:40:28,041 - DEBUG - FILE SIZE = 1303B 2025-04-09 11:40:28,041 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-30774586-74364211 to ctest-TestBasicVMVNx-30774586-67162260 using scp 2025-04-09 11:40:28,042 - 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-09 11:40:28,042 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-09 11:40:30,012 - DEBUG - 1+0 records in 1+0 records out 2025-04-09 11:40:30,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 11:40:30,950 - 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-09 11:40:30,951 - DEBUG - ls -l testfile 2025-04-09 11:40:32,592 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 9 05:40 testfile 2025-04-09 11:40:32,593 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-30774586-67162260 2025-04-09 11:40:32,593 - INFO - Deleting VM ctest-TestBasicVMVNx-30774586-67162260 2025-04-09 11:40:32,693 - INFO - Deleting VM ctest-TestBasicVMVNx-30774586-74364211 2025-04-09 11:40:32,773 - INFO - Deleting VN ctest-vn-50157867 2025-04-09 11:40:32,813 - DEBUG - VN e314b16f-a3d9-4b59-a5af-e491529459a9 still in use: Unable to complete operation on network e314b16f-a3d9-4b59-a5af-e491529459a9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f5fc2647-2f05-4ad5-8e4f-9ee864d8d4e5'] 2025-04-09 11:40:32,813 - WARNING - Deleting VN ctest-vn-50157867 failed..Will retry 2025-04-09 11:40:34,945 - DEBUG - Response for deleting network () 2025-04-09 11:40:35,222 - DEBUG - No XMPP flaps were noticed during the test 2025-04-09 11:40:35,222 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2025-04-09 11:40:35,222 - INFO - -------------------------------------------------------------------------------- 2025-04-09 11:40:35,948 - INFO - Deleted project: ctest-TestBasicVMVNx-30774586, ID : c0d65430-2ae4-4e60-9a64-b76bd1bb7715