2025-03-22 09:30:42,469 - INFO - Domain Default found not creating 2025-03-22 09:30:42,649 - INFO - Project ctest-TestBasicVMVNx-41745408 not found, creating it 2025-03-22 09:30:43,183 - INFO - Created Project:ctest-TestBasicVMVNx-41745408, ID : 6a307d6e-338d-4d57-b996-478e0329ef71 2025-03-22 09:30:44,892 - INFO - ================================================================================ 2025-03-22 09:30:44,892 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-22 09:30:44,893 - 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-03-22 09:30:45,158 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.7': '0'}} with 2025-03-22 09:30:45,158 - INFO - Initial checks done. Running the testcase now 2025-03-22 09:30:45,158 - INFO - 2025-03-22 09:30:45,815 - DEBUG - Response for create_network : {'network': {'id': 'fe9dd553-0b7b-434b-93b7-77f4345a514e', 'name': 'ctest-vn-37268397', 'tenant_id': '6a307d6e338d4d57b996478e0329ef71', 'project_id': '6a307d6e338d4d57b996478e0329ef71', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-41745408', 'ctest-vn-37268397'], 'port_security_enabled': True, 'description': ''}} 2025-03-22 09:30:46,007 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a4d053f-8ffa-4fd8-a425-b8d7f106b9bd', 'name': '', 'tenant_id': '6a307d6e338d4d57b996478e0329ef71', 'network_id': 'fe9dd553-0b7b-434b-93b7-77f4345a514e', 'ip_version': 4, 'cidr': '107.88.233.64/26', 'allocation_pools': [{'start': '107.88.233.66', 'end': '107.88.233.126'}], 'gateway_ip': '107.88.233.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.88.233.66', 'tags': [], 'project_id': '6a307d6e338d4d57b996478e0329ef71'}} 2025-03-22 09:30:46,028 - INFO - Created VN ctest-vn-37268397 2025-03-22 09:30:46,081 - DEBUG - VN ctest-vn-37268397 UUID is fe9dd553-0b7b-434b-93b7-77f4345a514e 2025-03-22 09:30:46,262 - DEBUG - Services list from nova: [, , ] 2025-03-22 09:30:47,435 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2936-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2936-1) 2025-03-22 09:30:48,751 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2936-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2936-1) 2025-03-22 09:30:48,751 - INFO - Waiting for VM ctest-TestBasicVMVNx-41745408-68592620 to be up.. 2025-03-22 09:30:48,849 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-22 09:30:53,957 - DEBUG - VM is in ACTIVE state now 2025-03-22 09:30:53,957 - INFO - VM name : ctest-TestBasicVMVNx-41745408-68592620 2025-03-22 09:30:54,058 - DEBUG - VM ctest-TestBasicVMVNx-41745408-68592620 ID is 8f7d5fe8-f6d3-4765-8771-9b70525ff213 2025-03-22 09:30:54,085 - DEBUG - VM ctest-TestBasicVMVNx-41745408-68592620 launched on Node cn-jenkins-deploy-platform-ansible-os-2936-1 2025-03-22 09:30:54,183 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/8f7d5fe8-f6d3-4765-8771-9b70525ff213 2025-03-22 09:30:54,534 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/8f7d5fe8-f6d3-4765-8771-9b70525ff213 2025-03-22 09:30:54,570 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/36c78dbc-f0f5-44ce-85e1-56eb7ed28dc4 2025-03-22 09:30:57,827 - 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 1006ms') 2025-03-22 09:30:57,827 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-41745408-68592620 failed! 2025-03-22 09:30:57,886 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-41745408:ctest-vn-37268397 is 107.88.233.65 and allocation pool is NOT set 2025-03-22 09:30:59,955 - 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=4.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.530 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.530/2.385/4.240/1.855 ms') 2025-03-22 09:30:59,955 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-41745408-68592620 passed 2025-03-22 09:31:00,117 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-22 09:31:00,118 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-41745408-68592620, IP 107.88.233.67, Port 22 2025-03-22 09:31:00,273 - DEBUG - VM ctest-TestBasicVMVNx-41745408-68592620 is ready for SSH connections 2025-03-22 09:31:00,274 - INFO - Waiting for VM ctest-TestBasicVMVNx-41745408-11586406 to be up.. 2025-03-22 09:31:00,376 - DEBUG - VM is in ACTIVE state now 2025-03-22 09:31:00,377 - INFO - VM name : ctest-TestBasicVMVNx-41745408-11586406 2025-03-22 09:31:00,463 - DEBUG - VM ctest-TestBasicVMVNx-41745408-11586406 ID is 1b717253-35e5-46d4-9cdf-e4d1d7f51838 2025-03-22 09:31:00,463 - DEBUG - VM ctest-TestBasicVMVNx-41745408-11586406 launched on Node cn-jenkins-deploy-platform-ansible-os-2936-1 2025-03-22 09:31:00,553 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/1b717253-35e5-46d4-9cdf-e4d1d7f51838 2025-03-22 09:31:00,565 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/3914cb4c-4dee-4294-8f12-0bb035c8eccf 2025-03-22 09:31:01,828 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.742 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 = 0.742/2.867/4.993/2.125 ms') 2025-03-22 09:31:01,828 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-41745408-11586406 passed 2025-03-22 09:31:01,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-22 09:31:01,989 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-41745408-11586406, IP 107.88.233.68, Port 22 2025-03-22 09:31:02,160 - DEBUG - VM ctest-TestBasicVMVNx-41745408-11586406 is ready for SSH connections 2025-03-22 09:31:02,160 - DEBUG - FILE SIZE = 1303B 2025-03-22 09:31:02,160 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-41745408-68592620 to ctest-TestBasicVMVNx-41745408-11586406 using scp 2025-03-22 09:31:02,161 - 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.37, gateway password: c0ntrail123 2025-03-22 09:31:02,161 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-22 09:31:04,209 - DEBUG - 1+0 records in 1+0 records out 2025-03-22 09:31:04,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-22 09:31:05,271 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2025-03-22 09:31:05,271 - DEBUG - ls -l testfile 2025-03-22 09:31:06,909 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 22 03:31 testfile 2025-03-22 09:31:06,909 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-41745408-11586406 2025-03-22 09:31:06,909 - INFO - Deleting VM ctest-TestBasicVMVNx-41745408-11586406 2025-03-22 09:31:06,984 - INFO - Deleting VM ctest-TestBasicVMVNx-41745408-68592620 2025-03-22 09:31:07,058 - INFO - Deleting VN ctest-vn-37268397 2025-03-22 09:31:07,106 - DEBUG - VN fe9dd553-0b7b-434b-93b7-77f4345a514e still in use: Unable to complete operation on network fe9dd553-0b7b-434b-93b7-77f4345a514e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bf7dc46c-42ad-4fed-9183-bb033bf6c787'] 2025-03-22 09:31:07,106 - WARNING - Deleting VN ctest-vn-37268397 failed..Will retry 2025-03-22 09:31:09,276 - DEBUG - Response for deleting network () 2025-03-22 09:31:09,532 - DEBUG - No XMPP flaps were noticed during the test
2025-03-22 09:31:09,532 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-03-22 09:31:09,533 - INFO - -------------------------------------------------------------------------------- 2025-03-22 09:31:10,333 - INFO - Deleted project: ctest-TestBasicVMVNx-41745408, ID : 6a307d6e-338d-4d57-b996-478e0329ef71