2025-03-10 02:27:09,040 - INFO - Domain Default found not creating 2025-03-10 02:27:09,198 - INFO - Project ctest-TestBasicVMVNx-03738457 not found, creating it 2025-03-10 02:27:09,651 - INFO - Created Project:ctest-TestBasicVMVNx-03738457, ID : 765097de-4afc-4225-bd9b-e8ecbeba3663 2025-03-10 02:27:11,057 - INFO - ================================================================================ 2025-03-10 02:27:11,057 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-10 02:27:11,057 - 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-10 02:27:11,310 - DEBUG - Nothing to compare xmpp stats {'10.0.0.61': {'10.20.0.10': '0'}} with 2025-03-10 02:27:11,311 - INFO - Initial checks done. Running the testcase now 2025-03-10 02:27:11,311 - INFO - 2025-03-10 02:27:11,869 - DEBUG - Response for create_network : {'network': {'id': 'e6417cf6-c86e-4c1f-b757-ce9dce77fed6', 'name': 'ctest-vn-17454471', 'tenant_id': '765097de4afc4225bd9be8ecbeba3663', 'project_id': '765097de4afc4225bd9be8ecbeba3663', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-03738457', 'ctest-vn-17454471'], 'port_security_enabled': True, 'description': ''}} 2025-03-10 02:27:12,079 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e780d181-e47e-4d66-b8e3-8e0d99f87b3b', 'name': '', 'tenant_id': '765097de4afc4225bd9be8ecbeba3663', 'network_id': 'e6417cf6-c86e-4c1f-b757-ce9dce77fed6', 'ip_version': 4, 'cidr': '144.59.71.0/26', 'allocation_pools': [{'start': '144.59.71.2', 'end': '144.59.71.62'}], 'gateway_ip': '144.59.71.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.59.71.2', 'tags': [], 'project_id': '765097de4afc4225bd9be8ecbeba3663'}} 2025-03-10 02:27:12,095 - INFO - Created VN ctest-vn-17454471 2025-03-10 02:27:12,149 - DEBUG - VN ctest-vn-17454471 UUID is e6417cf6-c86e-4c1f-b757-ce9dce77fed6 2025-03-10 02:27:12,355 - DEBUG - Services list from nova: [, , ] 2025-03-10 02:27:13,353 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2829-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2829-1) 2025-03-10 02:27:14,464 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2829-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2829-1) 2025-03-10 02:27:14,464 - INFO - Waiting for VM ctest-TestBasicVMVNx-03738457-93792927 to be up.. 2025-03-10 02:27:14,548 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-10 02:27:19,632 - DEBUG - VM is in ACTIVE state now 2025-03-10 02:27:19,632 - INFO - VM name : ctest-TestBasicVMVNx-03738457-93792927 2025-03-10 02:27:19,704 - DEBUG - VM ctest-TestBasicVMVNx-03738457-93792927 ID is d5761f3e-afa1-48ff-9370-b324d0d21d3d 2025-03-10 02:27:19,721 - DEBUG - VM ctest-TestBasicVMVNx-03738457-93792927 launched on Node cn-jenkins-deploy-platform-ansible-os-2829-1 2025-03-10 02:27:19,796 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/d5761f3e-afa1-48ff-9370-b324d0d21d3d 2025-03-10 02:27:20,094 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/d5761f3e-afa1-48ff-9370-b324d0d21d3d 2025-03-10 02:27:20,127 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/177e6e89-365b-45b2-8c0d-d1c5c64f6c51 2025-03-10 02:27:23,388 - 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 1027ms') 2025-03-10 02:27:23,388 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-03738457-93792927 failed! 2025-03-10 02:27:23,445 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-03738457:ctest-vn-17454471 is 144.59.71.1 and allocation pool is NOT set 2025-03-10 02:27:25,513 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.352 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.352/2.137/3.922/1.785 ms') 2025-03-10 02:27:25,514 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-03738457-93792927 passed 2025-03-10 02:27:25,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-10 02:27:25,661 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03738457-93792927, IP 144.59.71.3, Port 22 2025-03-10 02:27:25,824 - DEBUG - VM ctest-TestBasicVMVNx-03738457-93792927 is ready for SSH connections 2025-03-10 02:27:25,824 - INFO - Waiting for VM ctest-TestBasicVMVNx-03738457-89858465 to be up.. 2025-03-10 02:27:25,916 - DEBUG - VM is in ACTIVE state now 2025-03-10 02:27:25,916 - INFO - VM name : ctest-TestBasicVMVNx-03738457-89858465 2025-03-10 02:27:26,002 - DEBUG - VM ctest-TestBasicVMVNx-03738457-89858465 ID is 014c7e87-a9a3-443f-bb79-f393c7108c6e 2025-03-10 02:27:26,003 - DEBUG - VM ctest-TestBasicVMVNx-03738457-89858465 launched on Node cn-jenkins-deploy-platform-ansible-os-2829-1 2025-03-10 02:27:26,081 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/014c7e87-a9a3-443f-bb79-f393c7108c6e 2025-03-10 02:27:26,090 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/877e3c68-8322-4da7-a567-71a2bd444709 2025-03-10 02:27:27,335 - 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=2.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.352 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 = 0.352/1.522/2.692/1.170 ms') 2025-03-10 02:27:27,335 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-03738457-89858465 passed 2025-03-10 02:27:27,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-10 02:27:27,485 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03738457-89858465, IP 144.59.71.4, Port 22 2025-03-10 02:27:27,644 - DEBUG - VM ctest-TestBasicVMVNx-03738457-89858465 is ready for SSH connections 2025-03-10 02:27:27,644 - DEBUG - FILE SIZE = 1303B 2025-03-10 02:27:27,644 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-03738457-93792927 to ctest-TestBasicVMVNx-03738457-89858465 using scp 2025-03-10 02:27:27,645 - 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.61, gateway password: c0ntrail123 2025-03-10 02:27:27,645 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-10 02:27:29,232 - DEBUG - 1+0 records in 1+0 records out 2025-03-10 02:27:29,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-10 02:27:30,302 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-03-10 02:27:30,303 - DEBUG - ls -l testfile 2025-03-10 02:27:31,872 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 9 20:27 testfile 2025-03-10 02:27:31,872 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-03738457-89858465 2025-03-10 02:27:31,872 - INFO - Deleting VM ctest-TestBasicVMVNx-03738457-89858465 2025-03-10 02:27:31,942 - INFO - Deleting VM ctest-TestBasicVMVNx-03738457-93792927 2025-03-10 02:27:32,009 - INFO - Deleting VN ctest-vn-17454471 2025-03-10 02:27:32,053 - DEBUG - VN e6417cf6-c86e-4c1f-b757-ce9dce77fed6 still in use: Unable to complete operation on network e6417cf6-c86e-4c1f-b757-ce9dce77fed6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f676a98f-ee5b-479d-9877-d51063383ceb'] 2025-03-10 02:27:32,053 - WARNING - Deleting VN ctest-vn-17454471 failed..Will retry 2025-03-10 02:27:34,173 - DEBUG - Response for deleting network () 2025-03-10 02:27:34,427 - DEBUG - No XMPP flaps were noticed during the test
2025-03-10 02:27:34,427 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-03-10 02:27:34,427 - INFO - -------------------------------------------------------------------------------- 2025-03-10 02:27:35,121 - INFO - Deleted project: ctest-TestBasicVMVNx-03738457, ID : 765097de-4afc-4225-bd9b-e8ecbeba3663