2025-01-04 18:54:15,496 - INFO - Domain Default found not creating 2025-01-04 18:54:15,662 - INFO - Project ctest-TestBasicVMVNx-47768164 not found, creating it 2025-01-04 18:54:16,112 - INFO - Created Project:ctest-TestBasicVMVNx-47768164, ID : 4e20a50b-c00a-4e59-92b1-febe424b7a07 2025-01-04 18:54:17,533 - INFO - ================================================================================ 2025-01-04 18:54:17,533 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-04 18:54:17,533 - 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-01-04 18:54:17,789 - DEBUG - Nothing to compare xmpp stats {'10.0.0.44': {'10.20.0.14': '0'}} with 2025-01-04 18:54:17,789 - INFO - Initial checks done. Running the testcase now 2025-01-04 18:54:17,789 - INFO - 2025-01-04 18:54:18,368 - DEBUG - Response for create_network : {'network': {'id': '713fb7f6-4c31-4526-b7c0-fa9075a4e2f8', 'name': 'ctest-vn-95081795', 'tenant_id': '4e20a50bc00a4e5992b1febe424b7a07', 'project_id': '4e20a50bc00a4e5992b1febe424b7a07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-47768164', 'ctest-vn-95081795'], 'port_security_enabled': True, 'description': ''}} 2025-01-04 18:54:18,507 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c736858d-d6fd-4aa7-b3b6-aeaf63bf5c46', 'name': '', 'tenant_id': '4e20a50bc00a4e5992b1febe424b7a07', 'network_id': '713fb7f6-4c31-4526-b7c0-fa9075a4e2f8', 'ip_version': 4, 'cidr': '18.69.14.192/26', 'allocation_pools': [{'start': '18.69.14.194', 'end': '18.69.14.254'}], 'gateway_ip': '18.69.14.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.69.14.194', 'tags': [], 'project_id': '4e20a50bc00a4e5992b1febe424b7a07'}} 2025-01-04 18:54:18,524 - INFO - Created VN ctest-vn-95081795 2025-01-04 18:54:18,578 - DEBUG - VN ctest-vn-95081795 UUID is 713fb7f6-4c31-4526-b7c0-fa9075a4e2f8 2025-01-04 18:54:18,741 - DEBUG - Services list from nova: [, , ] 2025-01-04 18:54:19,749 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2526-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2526-1) 2025-01-04 18:54:20,905 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2526-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2526-1) 2025-01-04 18:54:20,905 - INFO - Waiting for VM ctest-TestBasicVMVNx-47768164-81823142 to be up.. 2025-01-04 18:54:21,004 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-04 18:54:26,109 - DEBUG - VM is in ACTIVE state now 2025-01-04 18:54:26,109 - INFO - VM name : ctest-TestBasicVMVNx-47768164-81823142 2025-01-04 18:54:26,190 - DEBUG - VM ctest-TestBasicVMVNx-47768164-81823142 ID is 68bdea90-7c66-4d85-8d58-53f93ee98980 2025-01-04 18:54:26,215 - DEBUG - VM ctest-TestBasicVMVNx-47768164-81823142 launched on Node cn-jenkins-deploy-platform-ansible-os-2526-1 2025-01-04 18:54:26,302 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/68bdea90-7c66-4d85-8d58-53f93ee98980 2025-01-04 18:54:26,596 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/68bdea90-7c66-4d85-8d58-53f93ee98980 2025-01-04 18:54:26,630 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/2348b92a-a5d2-419a-bec1-e9ac139c4fbe 2025-01-04 18:54:29,914 - 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 1030ms') 2025-01-04 18:54:29,915 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-47768164-81823142 failed! 2025-01-04 18:54:29,974 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-47768164:ctest-vn-95081795 is 18.69.14.193 and allocation pool is NOT set 2025-01-04 18:54:32,037 - 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.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.536 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.536/1.855/3.175/1.319 ms') 2025-01-04 18:54:32,037 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-47768164-81823142 passed 2025-01-04 18:54:32,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 18:54:32,190 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-47768164-81823142, IP 18.69.14.195, Port 22 2025-01-04 18:54:32,360 - DEBUG - VM ctest-TestBasicVMVNx-47768164-81823142 is ready for SSH connections 2025-01-04 18:54:32,360 - INFO - Waiting for VM ctest-TestBasicVMVNx-47768164-00677044 to be up.. 2025-01-04 18:54:32,441 - DEBUG - VM is in ACTIVE state now 2025-01-04 18:54:32,441 - INFO - VM name : ctest-TestBasicVMVNx-47768164-00677044 2025-01-04 18:54:32,527 - DEBUG - VM ctest-TestBasicVMVNx-47768164-00677044 ID is 093e80c0-25bd-49d5-9c95-19105ca2f04f 2025-01-04 18:54:32,527 - DEBUG - VM ctest-TestBasicVMVNx-47768164-00677044 launched on Node cn-jenkins-deploy-platform-ansible-os-2526-1 2025-01-04 18:54:32,606 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/093e80c0-25bd-49d5-9c95-19105ca2f04f 2025-01-04 18:54:32,616 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/bda14698-89cd-4035-9514-abe21702b2c4 2025-01-04 18:54:33,860 - 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=3.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.921 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.921/2.378/3.836/1.457 ms') 2025-01-04 18:54:33,860 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-47768164-00677044 passed 2025-01-04 18:54:34,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 18:54:34,014 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-47768164-00677044, IP 18.69.14.196, Port 22 2025-01-04 18:54:34,169 - DEBUG - VM ctest-TestBasicVMVNx-47768164-00677044 is ready for SSH connections 2025-01-04 18:54:34,169 - DEBUG - FILE SIZE = 1303B 2025-01-04 18:54:34,169 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-47768164-81823142 to ctest-TestBasicVMVNx-47768164-00677044 using scp 2025-01-04 18:54:34,170 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 18:54:34,190 - 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.44, gateway password: c0ntrail123 2025-01-04 18:54:34,190 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-04 18:54:36,105 - DEBUG - 1+0 records in 1+0 records out 2025-01-04 18:54:36,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-04 18:54:37,226 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2025-01-04 18:54:37,226 - DEBUG - ls -l testfile 2025-01-04 18:54:38,796 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 4 11:54 testfile 2025-01-04 18:54:38,796 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-47768164-00677044 2025-01-04 18:54:38,796 - INFO - Deleting VM ctest-TestBasicVMVNx-47768164-00677044 2025-01-04 18:54:38,872 - INFO - Deleting VM ctest-TestBasicVMVNx-47768164-81823142 2025-01-04 18:54:38,943 - INFO - Deleting VN ctest-vn-95081795 2025-01-04 18:54:38,982 - DEBUG - VN 713fb7f6-4c31-4526-b7c0-fa9075a4e2f8 still in use: Unable to complete operation on network 713fb7f6-4c31-4526-b7c0-fa9075a4e2f8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2253ef8d-dd96-43dc-8033-1eb7e9ebbf21'] 2025-01-04 18:54:38,982 - WARNING - Deleting VN ctest-vn-95081795 failed..Will retry 2025-01-04 18:54:41,096 - DEBUG - Response for deleting network () 2025-01-04 18:54:41,353 - DEBUG - No XMPP flaps were noticed during the test 2025-01-04 18:54:41,353 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-01-04 18:54:41,353 - INFO - -------------------------------------------------------------------------------- 2025-01-04 18:54:42,051 - INFO - Deleted project: ctest-TestBasicVMVNx-47768164, ID : 4e20a50b-c00a-4e59-92b1-febe424b7a07