2025-04-16 16:50:32,416 - INFO - Domain Default found not creating 2025-04-16 16:50:32,568 - INFO - Project ctest-TestBasicVMVNx-98111029 not found, creating it 2025-04-16 16:50:33,040 - INFO - Created Project:ctest-TestBasicVMVNx-98111029, ID : 2db06a22-37da-4800-9ee6-4e3f7f9d7009 2025-04-16 16:50:34,621 - INFO - ================================================================================ 2025-04-16 16:50:34,621 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-16 16:50:34,621 - 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-16 16:50:34,878 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2025-04-16 16:50:34,878 - INFO - Initial checks done. Running the testcase now 2025-04-16 16:50:34,879 - INFO - 2025-04-16 16:50:35,484 - DEBUG - Response for create_network : {'network': {'id': '9553a207-e94c-48cf-add8-355fcf526810', 'name': 'ctest-vn-38768082', 'tenant_id': '2db06a2237da48009ee64e3f7f9d7009', 'project_id': '2db06a2237da48009ee64e3f7f9d7009', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-98111029', 'ctest-vn-38768082'], 'port_security_enabled': True, 'description': ''}} 2025-04-16 16:50:35,715 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e499cb7-b12b-48d3-92b5-b3ab7dc8341c', 'name': '', 'tenant_id': '2db06a2237da48009ee64e3f7f9d7009', 'network_id': '9553a207-e94c-48cf-add8-355fcf526810', 'ip_version': 4, 'cidr': '111.36.30.64/26', 'allocation_pools': [{'start': '111.36.30.66', 'end': '111.36.30.126'}], 'gateway_ip': '111.36.30.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.36.30.66', 'tags': [], 'project_id': '2db06a2237da48009ee64e3f7f9d7009'}} 2025-04-16 16:50:35,738 - INFO - Created VN ctest-vn-38768082 2025-04-16 16:50:35,792 - DEBUG - VN ctest-vn-38768082 UUID is 9553a207-e94c-48cf-add8-355fcf526810 2025-04-16 16:50:35,975 - DEBUG - Services list from nova: [, , ] 2025-04-16 16:50:37,112 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3122-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3122-1) 2025-04-16 16:50:38,546 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3122-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3122-1) 2025-04-16 16:50:38,546 - INFO - Waiting for VM ctest-TestBasicVMVNx-98111029-48047653 to be up.. 2025-04-16 16:50:38,631 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-16 16:50:43,739 - DEBUG - VM is in ACTIVE state now 2025-04-16 16:50:43,739 - INFO - VM name : ctest-TestBasicVMVNx-98111029-48047653 2025-04-16 16:50:43,834 - DEBUG - VM ctest-TestBasicVMVNx-98111029-48047653 ID is 852371f6-5ab1-4833-ac08-bef8ffe31a8c 2025-04-16 16:50:43,856 - DEBUG - VM ctest-TestBasicVMVNx-98111029-48047653 launched on Node cn-jenkins-deploy-platform-ansible-os-3122-1 2025-04-16 16:50:43,942 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/852371f6-5ab1-4833-ac08-bef8ffe31a8c 2025-04-16 16:50:44,292 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/852371f6-5ab1-4833-ac08-bef8ffe31a8c 2025-04-16 16:50:44,325 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/20be89cb-201a-447c-a4c5-07cfc8459a69 2025-04-16 16:50:47,613 - 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 1034ms') 2025-04-16 16:50:47,613 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-98111029-48047653 failed! 2025-04-16 16:50:47,672 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-98111029:ctest-vn-38768082 is 111.36.30.65 and allocation pool is NOT set 2025-04-16 16:50:49,744 - 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.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.19 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 = 2.189/3.687/5.186/1.498 ms') 2025-04-16 16:50:49,744 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-98111029-48047653 passed 2025-04-16 16:50:49,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 16:50:49,901 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-98111029-48047653, IP 111.36.30.67, Port 22 2025-04-16 16:50:50,056 - DEBUG - VM ctest-TestBasicVMVNx-98111029-48047653 is ready for SSH connections 2025-04-16 16:50:50,056 - INFO - Waiting for VM ctest-TestBasicVMVNx-98111029-89505265 to be up.. 2025-04-16 16:50:50,144 - DEBUG - VM is in ACTIVE state now 2025-04-16 16:50:50,144 - INFO - VM name : ctest-TestBasicVMVNx-98111029-89505265 2025-04-16 16:50:50,224 - DEBUG - VM ctest-TestBasicVMVNx-98111029-89505265 ID is 3eb44d15-a391-4254-af18-9d7330df1147 2025-04-16 16:50:50,224 - DEBUG - VM ctest-TestBasicVMVNx-98111029-89505265 launched on Node cn-jenkins-deploy-platform-ansible-os-3122-1 2025-04-16 16:50:50,309 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/3eb44d15-a391-4254-af18-9d7330df1147 2025-04-16 16:50:50,321 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/d9c398b0-984b-4a9f-b7aa-939fb4932956 2025-04-16 16:50:51,562 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.603 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.603/2.325/4.048/1.722 ms') 2025-04-16 16:50:51,562 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-98111029-89505265 passed 2025-04-16 16:50:51,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 16:50:51,724 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-98111029-89505265, IP 111.36.30.68, Port 22 2025-04-16 16:50:51,892 - DEBUG - VM ctest-TestBasicVMVNx-98111029-89505265 is ready for SSH connections 2025-04-16 16:50:51,892 - DEBUG - FILE SIZE = 1303B 2025-04-16 16:50:51,892 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-98111029-48047653 to ctest-TestBasicVMVNx-98111029-89505265 using scp 2025-04-16 16:50:51,893 - 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.41, gateway password: c0ntrail123 2025-04-16 16:50:51,894 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-16 16:50:53,894 - DEBUG - 1+0 records in 1+0 records out 2025-04-16 16:50:54,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 16:50:54,940 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-04-16 16:50:54,940 - DEBUG - ls -l testfile 2025-04-16 16:50:56,583 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 16 10:50 testfile 2025-04-16 16:50:56,583 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-98111029-89505265 2025-04-16 16:50:56,583 - INFO - Deleting VM ctest-TestBasicVMVNx-98111029-89505265 2025-04-16 16:50:56,659 - INFO - Deleting VM ctest-TestBasicVMVNx-98111029-48047653 2025-04-16 16:50:56,745 - INFO - Deleting VN ctest-vn-38768082 2025-04-16 16:50:56,792 - DEBUG - VN 9553a207-e94c-48cf-add8-355fcf526810 still in use: Unable to complete operation on network 9553a207-e94c-48cf-add8-355fcf526810. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4b93c445-17e4-4944-8db9-b9d74c4bb5aa'] 2025-04-16 16:50:56,792 - WARNING - Deleting VN ctest-vn-38768082 failed..Will retry 2025-04-16 16:50:58,946 - DEBUG - Response for deleting network () 2025-04-16 16:50:59,203 - DEBUG - No XMPP flaps were noticed during the test 2025-04-16 16:50:59,203 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2025-04-16 16:50:59,203 - INFO - -------------------------------------------------------------------------------- 2025-04-16 16:50:59,943 - INFO - Deleted project: ctest-TestBasicVMVNx-98111029, ID : 2db06a22-37da-4800-9ee6-4e3f7f9d7009