2025-06-24 14:55:49,230 - INFO - Domain Default found not creating 2025-06-24 14:55:49,391 - INFO - Project ctest-TestBasicVMVNx-54409055 not found, creating it 2025-06-24 14:55:49,862 - INFO - Created Project:ctest-TestBasicVMVNx-54409055, ID : 210db030-e0dc-46b6-8bf2-1a66d08ce0db 2025-06-24 14:55:51,342 - INFO - ================================================================================ 2025-06-24 14:55:51,342 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-24 14:55:51,342 - 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-24 14:55:51,608 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-06-24 14:55:51,608 - INFO - Initial checks done. Running the testcase now 2025-06-24 14:55:51,608 - INFO - 2025-06-24 14:55:52,155 - DEBUG - Response for create_network : {'network': {'id': '8d4d5b59-cfb4-47f3-a6b7-ab5e1bb4b0c1', 'name': 'ctest-vn-64660496', 'tenant_id': '210db030e0dc46b68bf21a66d08ce0db', 'project_id': '210db030e0dc46b68bf21a66d08ce0db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-54409055', 'ctest-vn-64660496'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 14:55:52,363 - DEBUG - Response for create_subnet : {'subnet': {'id': '18fae706-8e77-4c2b-a8e8-59719ec29a33', 'name': '', 'tenant_id': '210db030e0dc46b68bf21a66d08ce0db', 'network_id': '8d4d5b59-cfb4-47f3-a6b7-ab5e1bb4b0c1', 'ip_version': 4, 'cidr': '55.73.140.192/26', 'allocation_pools': [{'start': '55.73.140.194', 'end': '55.73.140.254'}], 'gateway_ip': '55.73.140.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.73.140.194', 'tags': [], 'project_id': '210db030e0dc46b68bf21a66d08ce0db'}} 2025-06-24 14:55:52,382 - INFO - Created VN ctest-vn-64660496 2025-06-24 14:55:52,432 - DEBUG - VN ctest-vn-64660496 UUID is 8d4d5b59-cfb4-47f3-a6b7-ab5e1bb4b0c1 2025-06-24 14:55:52,634 - DEBUG - Services list from nova: [, , ] 2025-06-24 14:55:53,642 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3538-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3538-1) 2025-06-24 14:55:54,799 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3538-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3538-1) 2025-06-24 14:55:54,799 - INFO - Waiting for VM ctest-TestBasicVMVNx-54409055-71676195 to be up.. 2025-06-24 14:55:54,879 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-24 14:55:59,971 - DEBUG - VM is in ACTIVE state now 2025-06-24 14:55:59,971 - INFO - VM name : ctest-TestBasicVMVNx-54409055-71676195 2025-06-24 14:56:00,050 - DEBUG - VM ctest-TestBasicVMVNx-54409055-71676195 ID is d7ea8686-4d47-4302-ba3a-0e4274a59df4 2025-06-24 14:56:00,070 - DEBUG - VM ctest-TestBasicVMVNx-54409055-71676195 launched on Node cn-jenkins-deploy-platform-ansible-os-3538-1 2025-06-24 14:56:00,153 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d7ea8686-4d47-4302-ba3a-0e4274a59df4 2025-06-24 14:56:00,448 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d7ea8686-4d47-4302-ba3a-0e4274a59df4 2025-06-24 14:56:00,478 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/50954047-6129-4191-a44e-b1e1d6ed3747 2025-06-24 14:56:03,728 - 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-06-24 14:56:03,729 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54409055-71676195 failed! 2025-06-24 14:56:03,784 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-54409055:ctest-vn-64660496 is 55.73.140.193 and allocation pool is NOT set 2025-06-24 14:56:05,850 - 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.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.591 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.591/1.782/2.973/1.191 ms') 2025-06-24 14:56:05,850 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54409055-71676195 passed 2025-06-24 14:56:06,000 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 14:56:06,000 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54409055-71676195, IP 55.73.140.195, Port 22 2025-06-24 14:56:06,155 - DEBUG - VM ctest-TestBasicVMVNx-54409055-71676195 is ready for SSH connections 2025-06-24 14:56:06,155 - INFO - Waiting for VM ctest-TestBasicVMVNx-54409055-64643048 to be up.. 2025-06-24 14:56:06,232 - DEBUG - VM is in ACTIVE state now 2025-06-24 14:56:06,232 - INFO - VM name : ctest-TestBasicVMVNx-54409055-64643048 2025-06-24 14:56:06,305 - DEBUG - VM ctest-TestBasicVMVNx-54409055-64643048 ID is 67546465-3c15-4bb9-8417-d350a4ac18ee 2025-06-24 14:56:06,305 - DEBUG - VM ctest-TestBasicVMVNx-54409055-64643048 launched on Node cn-jenkins-deploy-platform-ansible-os-3538-1 2025-06-24 14:56:06,381 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/67546465-3c15-4bb9-8417-d350a4ac18ee 2025-06-24 14:56:06,391 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c9b0b76a-b336-4d4e-839c-ef9b4575ae8c 2025-06-24 14:56:07,635 - 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=2.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.422 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.422/1.572/2.722/1.150 ms') 2025-06-24 14:56:07,635 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-54409055-64643048 passed 2025-06-24 14:56:07,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 14:56:07,788 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54409055-64643048, IP 55.73.140.196, Port 22 2025-06-24 14:56:07,948 - DEBUG - VM ctest-TestBasicVMVNx-54409055-64643048 is ready for SSH connections 2025-06-24 14:56:07,948 - DEBUG - FILE SIZE = 1303B 2025-06-24 14:56:07,948 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-54409055-71676195 to ctest-TestBasicVMVNx-54409055-64643048 using scp 2025-06-24 14:56:07,948 - 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.50, gateway password: c0ntrail123 2025-06-24 14:56:07,948 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-24 14:56:09,866 - DEBUG - 1+0 records in 1+0 records out 2025-06-24 14:56:10,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 14:56:10,981 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-06-24 14:56:10,981 - DEBUG - ls -l testfile 2025-06-24 14:56:12,546 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 24 08:56 testfile 2025-06-24 14:56:12,547 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-54409055-64643048 2025-06-24 14:56:12,547 - INFO - Deleting VM ctest-TestBasicVMVNx-54409055-64643048 2025-06-24 14:56:12,623 - INFO - Deleting VM ctest-TestBasicVMVNx-54409055-71676195 2025-06-24 14:56:12,690 - INFO - Deleting VN ctest-vn-64660496 2025-06-24 14:56:12,732 - DEBUG - VN 8d4d5b59-cfb4-47f3-a6b7-ab5e1bb4b0c1 still in use: Unable to complete operation on network 8d4d5b59-cfb4-47f3-a6b7-ab5e1bb4b0c1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cf5d1eb1-ded4-423a-9bd9-c8a5ab752ce4'] 2025-06-24 14:56:12,733 - WARNING - Deleting VN ctest-vn-64660496 failed..Will retry 2025-06-24 14:56:14,853 - DEBUG - Response for deleting network () 2025-06-24 14:56:15,108 - DEBUG - No XMPP flaps were noticed during the test 2025-06-24 14:56:15,108 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-06-24 14:56:15,108 - INFO - -------------------------------------------------------------------------------- 2025-06-24 14:56:15,784 - INFO - Deleted project: ctest-TestBasicVMVNx-54409055, ID : 210db030-e0dc-46b6-8bf2-1a66d08ce0db