2025-01-13 14:49:24,845 - INFO - Domain Default found not creating 2025-01-13 14:49:25,032 - INFO - Project ctest-TestBasicVMVNx-79052061 not found, creating it 2025-01-13 14:49:25,550 - INFO - Created Project:ctest-TestBasicVMVNx-79052061, ID : a3b181c2-41cd-4a41-844e-1344a20228c2 2025-01-13 14:49:27,127 - INFO - ================================================================================ 2025-01-13 14:49:27,128 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-13 14:49:27,128 - 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-13 14:49:27,388 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.6': '0'}} with 2025-01-13 14:49:27,388 - INFO - Initial checks done. Running the testcase now 2025-01-13 14:49:27,388 - INFO - 2025-01-13 14:49:28,000 - DEBUG - Response for create_network : {'network': {'id': '4ed478bf-0c86-4ca3-aacf-cb6dcda0d221', 'name': 'ctest-vn-50950251', 'tenant_id': 'a3b181c241cd4a41844e1344a20228c2', 'project_id': 'a3b181c241cd4a41844e1344a20228c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-79052061', 'ctest-vn-50950251'], 'port_security_enabled': True, 'description': ''}} 2025-01-13 14:49:28,171 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eea0865d-5c03-497f-972c-9c6d979c7883', 'name': '', 'tenant_id': 'a3b181c241cd4a41844e1344a20228c2', 'network_id': '4ed478bf-0c86-4ca3-aacf-cb6dcda0d221', 'ip_version': 4, 'cidr': '182.69.124.64/26', 'allocation_pools': [{'start': '182.69.124.66', 'end': '182.69.124.126'}], 'gateway_ip': '182.69.124.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.69.124.66', 'tags': [], 'project_id': 'a3b181c241cd4a41844e1344a20228c2'}} 2025-01-13 14:49:28,193 - INFO - Created VN ctest-vn-50950251 2025-01-13 14:49:28,248 - DEBUG - VN ctest-vn-50950251 UUID is 4ed478bf-0c86-4ca3-aacf-cb6dcda0d221 2025-01-13 14:49:28,457 - DEBUG - Services list from nova: [, , ] 2025-01-13 14:49:29,546 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2612-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2612-1) 2025-01-13 14:49:30,830 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2612-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2612-1) 2025-01-13 14:49:30,830 - INFO - Waiting for VM ctest-TestBasicVMVNx-79052061-58763618 to be up.. 2025-01-13 14:49:30,948 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-13 14:49:36,048 - DEBUG - VM is in ACTIVE state now 2025-01-13 14:49:36,048 - INFO - VM name : ctest-TestBasicVMVNx-79052061-58763618 2025-01-13 14:49:36,137 - DEBUG - VM ctest-TestBasicVMVNx-79052061-58763618 ID is b97d2e91-eb4e-46de-8256-d03b8a94bbe8 2025-01-13 14:49:36,164 - DEBUG - VM ctest-TestBasicVMVNx-79052061-58763618 launched on Node cn-jenkins-deploy-platform-ansible-os-2612-1 2025-01-13 14:49:36,268 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/b97d2e91-eb4e-46de-8256-d03b8a94bbe8 2025-01-13 14:49:36,571 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/b97d2e91-eb4e-46de-8256-d03b8a94bbe8 2025-01-13 14:49:36,610 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/5584a8c8-8022-42c2-98e6-e53b8a72e3d6 2025-01-13 14:49:39,882 - 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 1018ms') 2025-01-13 14:49:39,882 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-79052061-58763618 failed! 2025-01-13 14:49:39,939 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-79052061:ctest-vn-50950251 is 182.69.124.65 and allocation pool is NOT set 2025-01-13 14:49:42,006 - 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=7.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.435 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.435/3.992/7.550/3.557 ms') 2025-01-13 14:49:42,006 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-79052061-58763618 passed 2025-01-13 14:49:42,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 14:49:42,161 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-79052061-58763618, IP 182.69.124.67, Port 22 2025-01-13 14:49:42,321 - DEBUG - VM ctest-TestBasicVMVNx-79052061-58763618 is ready for SSH connections 2025-01-13 14:49:42,321 - INFO - Waiting for VM ctest-TestBasicVMVNx-79052061-14523194 to be up.. 2025-01-13 14:49:42,415 - DEBUG - VM is in ACTIVE state now 2025-01-13 14:49:42,415 - INFO - VM name : ctest-TestBasicVMVNx-79052061-14523194 2025-01-13 14:49:42,507 - DEBUG - VM ctest-TestBasicVMVNx-79052061-14523194 ID is cbc84feb-6f8f-4c90-b2ae-75a2ed91dbc5 2025-01-13 14:49:42,507 - DEBUG - VM ctest-TestBasicVMVNx-79052061-14523194 launched on Node cn-jenkins-deploy-platform-ansible-os-2612-1 2025-01-13 14:49:42,596 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/cbc84feb-6f8f-4c90-b2ae-75a2ed91dbc5 2025-01-13 14:49:42,607 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/1c5aded6-6a45-4aee-8375-3f9315100d8e 2025-01-13 14:49:43,858 - 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=5.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.30 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.295/3.350/5.406/2.055 ms') 2025-01-13 14:49:43,858 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-79052061-14523194 passed 2025-01-13 14:49:44,016 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 14:49:44,016 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-79052061-14523194, IP 182.69.124.68, Port 22 2025-01-13 14:49:44,193 - DEBUG - VM ctest-TestBasicVMVNx-79052061-14523194 is ready for SSH connections 2025-01-13 14:49:44,193 - DEBUG - FILE SIZE = 1303B 2025-01-13 14:49:44,193 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-79052061-58763618 to ctest-TestBasicVMVNx-79052061-14523194 using scp 2025-01-13 14:49:44,194 - 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.27, gateway password: c0ntrail123 2025-01-13 14:49:44,194 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-13 14:49:46,181 - DEBUG - 1+0 records in 1+0 records out 2025-01-13 14:49:47,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 14:49:47,381 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-01-13 14:49:47,381 - DEBUG - ls -l testfile 2025-01-13 14:49:48,987 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 13 07:49 testfile 2025-01-13 14:49:48,987 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-79052061-14523194 2025-01-13 14:49:48,988 - INFO - Deleting VM ctest-TestBasicVMVNx-79052061-14523194 2025-01-13 14:49:49,064 - INFO - Deleting VM ctest-TestBasicVMVNx-79052061-58763618 2025-01-13 14:49:49,147 - INFO - Deleting VN ctest-vn-50950251 2025-01-13 14:49:49,193 - DEBUG - VN 4ed478bf-0c86-4ca3-aacf-cb6dcda0d221 still in use: Unable to complete operation on network 4ed478bf-0c86-4ca3-aacf-cb6dcda0d221. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8a3c6870-5c65-4554-8d18-f0aa1faa2ba3'] 2025-01-13 14:49:49,193 - WARNING - Deleting VN ctest-vn-50950251 failed..Will retry 2025-01-13 14:49:51,341 - DEBUG - Response for deleting network () 2025-01-13 14:49:51,603 - DEBUG - No XMPP flaps were noticed during the test
2025-01-13 14:49:51,603 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-13 14:49:51,603 - INFO - -------------------------------------------------------------------------------- 2025-01-13 14:49:52,354 - INFO - Deleted project: ctest-TestBasicVMVNx-79052061, ID : a3b181c2-41cd-4a41-844e-1344a20228c2