2025-01-02 21:13:13,534 - INFO - Domain Default found not creating 2025-01-02 21:13:13,678 - INFO - Project ctest-TestBasicVMVNx-24899742 not found, creating it 2025-01-02 21:13:14,137 - INFO - Created Project:ctest-TestBasicVMVNx-24899742, ID : 9855f2c6-56c0-4b0c-9bc8-8164cc97f4b9 2025-01-02 21:13:15,590 - INFO - ================================================================================ 2025-01-02 21:13:15,590 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-02 21:13:15,590 - 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-02 21:13:15,844 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.5': '0'}} with 2025-01-02 21:13:15,844 - INFO - Initial checks done. Running the testcase now 2025-01-02 21:13:15,844 - INFO - 2025-01-02 21:13:16,412 - DEBUG - Response for create_network : {'network': {'id': '5d20aa6c-5139-4dda-a646-5ea5802038d0', 'name': 'ctest-vn-24856961', 'tenant_id': '9855f2c656c04b0c9bc88164cc97f4b9', 'project_id': '9855f2c656c04b0c9bc88164cc97f4b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-24899742', 'ctest-vn-24856961'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 21:13:16,609 - DEBUG - Response for create_subnet : {'subnet': {'id': '3853be55-879b-4836-8166-d956e3d806d2', 'name': '', 'tenant_id': '9855f2c656c04b0c9bc88164cc97f4b9', 'network_id': '5d20aa6c-5139-4dda-a646-5ea5802038d0', 'ip_version': 4, 'cidr': '108.182.59.0/26', 'allocation_pools': [{'start': '108.182.59.2', 'end': '108.182.59.62'}], 'gateway_ip': '108.182.59.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.182.59.2', 'tags': [], 'project_id': '9855f2c656c04b0c9bc88164cc97f4b9'}} 2025-01-02 21:13:16,628 - INFO - Created VN ctest-vn-24856961 2025-01-02 21:13:16,682 - DEBUG - VN ctest-vn-24856961 UUID is 5d20aa6c-5139-4dda-a646-5ea5802038d0 2025-01-02 21:13:16,851 - DEBUG - Services list from nova: [, , ] 2025-01-02 21:13:17,880 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2512-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2512-1) 2025-01-02 21:13:19,087 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2512-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2512-1) 2025-01-02 21:13:19,087 - INFO - Waiting for VM ctest-TestBasicVMVNx-24899742-75103257 to be up.. 2025-01-02 21:13:19,179 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-02 21:13:24,262 - DEBUG - VM is in ACTIVE state now 2025-01-02 21:13:24,262 - INFO - VM name : ctest-TestBasicVMVNx-24899742-75103257 2025-01-02 21:13:24,340 - DEBUG - VM ctest-TestBasicVMVNx-24899742-75103257 ID is 659ba0eb-85a8-48aa-b903-06c910404f8f 2025-01-02 21:13:24,362 - DEBUG - VM ctest-TestBasicVMVNx-24899742-75103257 launched on Node cn-jenkins-deploy-platform-ansible-os-2512-1 2025-01-02 21:13:24,449 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/659ba0eb-85a8-48aa-b903-06c910404f8f 2025-01-02 21:13:24,752 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/659ba0eb-85a8-48aa-b903-06c910404f8f 2025-01-02 21:13:24,790 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/6173ff2e-5ea0-414e-94ba-348b82c5384d 2025-01-02 21:13:28,049 - 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 1002ms') 2025-01-02 21:13:28,049 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-24899742-75103257 failed! 2025-01-02 21:13:28,106 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-24899742:ctest-vn-24856961 is 108.182.59.1 and allocation pool is NOT set 2025-01-02 21:13:30,165 - 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=2.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.500 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.500/1.609/2.719/1.109 ms') 2025-01-02 21:13:30,165 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-24899742-75103257 passed 2025-01-02 21:13:30,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 21:13:30,318 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-24899742-75103257, IP 108.182.59.3, Port 22 2025-01-02 21:13:30,482 - DEBUG - VM ctest-TestBasicVMVNx-24899742-75103257 is ready for SSH connections 2025-01-02 21:13:30,482 - INFO - Waiting for VM ctest-TestBasicVMVNx-24899742-78672447 to be up.. 2025-01-02 21:13:30,560 - DEBUG - VM is in ACTIVE state now 2025-01-02 21:13:30,560 - INFO - VM name : ctest-TestBasicVMVNx-24899742-78672447 2025-01-02 21:13:30,647 - DEBUG - VM ctest-TestBasicVMVNx-24899742-78672447 ID is df5f7487-8551-4f49-96cd-428baa1774cf 2025-01-02 21:13:30,647 - DEBUG - VM ctest-TestBasicVMVNx-24899742-78672447 launched on Node cn-jenkins-deploy-platform-ansible-os-2512-1 2025-01-02 21:13:30,877 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/df5f7487-8551-4f49-96cd-428baa1774cf 2025-01-02 21:13:30,890 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/8fc6c063-28a4-46b0-bb48-c8d79d3bb0b5 2025-01-02 21:13:32,139 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.515 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.515/1.987/3.459/1.472 ms') 2025-01-02 21:13:32,139 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-24899742-78672447 passed 2025-01-02 21:13:32,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 21:13:32,294 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-24899742-78672447, IP 108.182.59.4, Port 22 2025-01-02 21:13:32,458 - DEBUG - VM ctest-TestBasicVMVNx-24899742-78672447 is ready for SSH connections 2025-01-02 21:13:32,458 - DEBUG - FILE SIZE = 1303B 2025-01-02 21:13:32,458 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-24899742-75103257 to ctest-TestBasicVMVNx-24899742-78672447 using scp 2025-01-02 21:13:32,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 21:13:32,464 - 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-02 21:13:32,464 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-02 21:13:34,359 - DEBUG - 1+0 records in 1+0 records out 2025-01-02 21:13:35,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 21:13:35,461 - 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-02 21:13:35,461 - DEBUG - ls -l testfile 2025-01-02 21:13:37,057 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 2 14:13 testfile 2025-01-02 21:13:37,057 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-24899742-78672447 2025-01-02 21:13:37,057 - INFO - Deleting VM ctest-TestBasicVMVNx-24899742-78672447 2025-01-02 21:13:37,124 - INFO - Deleting VM ctest-TestBasicVMVNx-24899742-75103257 2025-01-02 21:13:37,196 - INFO - Deleting VN ctest-vn-24856961 2025-01-02 21:13:37,237 - DEBUG - VN 5d20aa6c-5139-4dda-a646-5ea5802038d0 still in use: Unable to complete operation on network 5d20aa6c-5139-4dda-a646-5ea5802038d0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1f286c83-e687-4bbc-86fb-edc86317e828'] 2025-01-02 21:13:37,237 - WARNING - Deleting VN ctest-vn-24856961 failed..Will retry 2025-01-02 21:13:39,337 - DEBUG - Response for deleting network () 2025-01-02 21:13:39,592 - DEBUG - No XMPP flaps were noticed during the test 2025-01-02 21:13:39,592 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-01-02 21:13:39,592 - INFO - -------------------------------------------------------------------------------- 2025-01-02 21:13:40,276 - INFO - Deleted project: ctest-TestBasicVMVNx-24899742, ID : 9855f2c6-56c0-4b0c-9bc8-8164cc97f4b9