2025-01-16 02:37:21,793 - INFO - Domain Default found not creating 2025-01-16 02:37:21,975 - INFO - Project ctest-TestBasicVMVNx-59006013 not found, creating it 2025-01-16 02:37:22,496 - INFO - Created Project:ctest-TestBasicVMVNx-59006013, ID : 0fe963ae-476f-428a-9d16-6bd3e6c8bd9e 2025-01-16 02:37:24,190 - INFO - ================================================================================ 2025-01-16 02:37:24,190 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-16 02:37:24,190 - 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-16 02:37:24,470 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.23': '0'}} with 2025-01-16 02:37:24,470 - INFO - Initial checks done. Running the testcase now 2025-01-16 02:37:24,470 - INFO - 2025-01-16 02:37:25,091 - DEBUG - Response for create_network : {'network': {'id': '35d8a58b-db91-458a-bce1-3d8c0fd0bfbf', 'name': 'ctest-vn-11031342', 'tenant_id': '0fe963ae476f428a9d166bd3e6c8bd9e', 'project_id': '0fe963ae476f428a9d166bd3e6c8bd9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-59006013', 'ctest-vn-11031342'], 'port_security_enabled': True, 'description': ''}} 2025-01-16 02:37:25,253 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b565cd5-5ef7-4253-bd69-fe472520b9d4', 'name': '', 'tenant_id': '0fe963ae476f428a9d166bd3e6c8bd9e', 'network_id': '35d8a58b-db91-458a-bce1-3d8c0fd0bfbf', 'ip_version': 4, 'cidr': '140.190.113.64/26', 'allocation_pools': [{'start': '140.190.113.66', 'end': '140.190.113.126'}], 'gateway_ip': '140.190.113.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.190.113.66', 'tags': [], 'project_id': '0fe963ae476f428a9d166bd3e6c8bd9e'}} 2025-01-16 02:37:25,274 - INFO - Created VN ctest-vn-11031342 2025-01-16 02:37:25,328 - DEBUG - VN ctest-vn-11031342 UUID is 35d8a58b-db91-458a-bce1-3d8c0fd0bfbf 2025-01-16 02:37:25,510 - DEBUG - Services list from nova: [, , ] 2025-01-16 02:37:26,664 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2649-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2649-1) 2025-01-16 02:37:27,972 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2649-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2649-1) 2025-01-16 02:37:27,972 - INFO - Waiting for VM ctest-TestBasicVMVNx-59006013-96145735 to be up.. 2025-01-16 02:37:28,084 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-16 02:37:33,173 - DEBUG - VM is in ACTIVE state now 2025-01-16 02:37:33,173 - INFO - VM name : ctest-TestBasicVMVNx-59006013-96145735 2025-01-16 02:37:33,267 - DEBUG - VM ctest-TestBasicVMVNx-59006013-96145735 ID is c33c9c6c-e1ff-49e9-9726-0fe129aae9fd 2025-01-16 02:37:33,291 - DEBUG - VM ctest-TestBasicVMVNx-59006013-96145735 launched on Node cn-jenkins-deploy-platform-ansible-os-2649-1 2025-01-16 02:37:33,390 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/c33c9c6c-e1ff-49e9-9726-0fe129aae9fd 2025-01-16 02:37:33,730 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/c33c9c6c-e1ff-49e9-9726-0fe129aae9fd 2025-01-16 02:37:33,764 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/dbd88a51-2f15-4365-b6dc-f2ab359d0dae 2025-01-16 02:37:37,037 - 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 1022ms') 2025-01-16 02:37:37,037 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-59006013-96145735 failed! 2025-01-16 02:37:37,092 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-59006013:ctest-vn-11031342 is 140.190.113.65 and allocation pool is NOT set 2025-01-16 02:37:39,150 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.14 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 = 1.141/2.841/4.541/1.700 ms') 2025-01-16 02:37:39,150 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-59006013-96145735 passed 2025-01-16 02:37:39,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-16 02:37:39,304 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59006013-96145735, IP 140.190.113.67, Port 22 2025-01-16 02:37:39,470 - DEBUG - VM ctest-TestBasicVMVNx-59006013-96145735 is ready for SSH connections 2025-01-16 02:37:39,470 - INFO - Waiting for VM ctest-TestBasicVMVNx-59006013-55890462 to be up.. 2025-01-16 02:37:39,557 - DEBUG - VM is in ACTIVE state now 2025-01-16 02:37:39,557 - INFO - VM name : ctest-TestBasicVMVNx-59006013-55890462 2025-01-16 02:37:39,640 - DEBUG - VM ctest-TestBasicVMVNx-59006013-55890462 ID is 9bba99ed-646b-40ef-81df-edee9362a282 2025-01-16 02:37:39,640 - DEBUG - VM ctest-TestBasicVMVNx-59006013-55890462 launched on Node cn-jenkins-deploy-platform-ansible-os-2649-1 2025-01-16 02:37:39,718 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/9bba99ed-646b-40ef-81df-edee9362a282 2025-01-16 02:37:39,726 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/9df83939-6a02-40e0-b9b1-5d9d8eabd0bd 2025-01-16 02:37:40,978 - 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=2.25 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 = 2.251/3.618/4.986/1.367 ms') 2025-01-16 02:37:40,978 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-59006013-55890462 passed 2025-01-16 02:37:41,136 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-16 02:37:41,136 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59006013-55890462, IP 140.190.113.68, Port 22 2025-01-16 02:37:41,291 - DEBUG - VM ctest-TestBasicVMVNx-59006013-55890462 is ready for SSH connections 2025-01-16 02:37:41,292 - DEBUG - FILE SIZE = 1303B 2025-01-16 02:37:41,292 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-59006013-96145735 to ctest-TestBasicVMVNx-59006013-55890462 using scp 2025-01-16 02:37:41,292 - 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.24, gateway password: c0ntrail123 2025-01-16 02:37:41,292 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-16 02:37:43,271 - DEBUG - 1+0 records in 1+0 records out 2025-01-16 02:37:43,941 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-16 02:37:44,332 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-01-16 02:37:44,333 - DEBUG - ls -l testfile 2025-01-16 02:37:46,000 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 15 19:37 testfile 2025-01-16 02:37:46,000 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-59006013-55890462 2025-01-16 02:37:46,000 - INFO - Deleting VM ctest-TestBasicVMVNx-59006013-55890462 2025-01-16 02:37:46,079 - INFO - Deleting VM ctest-TestBasicVMVNx-59006013-96145735 2025-01-16 02:37:46,150 - INFO - Deleting VN ctest-vn-11031342 2025-01-16 02:37:46,190 - DEBUG - VN 35d8a58b-db91-458a-bce1-3d8c0fd0bfbf still in use: Unable to complete operation on network 35d8a58b-db91-458a-bce1-3d8c0fd0bfbf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e915337e-3f79-47f7-89b2-1d0262089194'] 2025-01-16 02:37:46,190 - WARNING - Deleting VN ctest-vn-11031342 failed..Will retry 2025-01-16 02:37:48,335 - DEBUG - Response for deleting network () 2025-01-16 02:37:48,595 - DEBUG - No XMPP flaps were noticed during the test
2025-01-16 02:37:48,596 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-16 02:37:48,596 - INFO - -------------------------------------------------------------------------------- 2025-01-16 02:37:49,366 - INFO - Deleted project: ctest-TestBasicVMVNx-59006013, ID : 0fe963ae-476f-428a-9d16-6bd3e6c8bd9e