2024-09-04 16:25:54,942 - INFO - Domain Default found not creating 2024-09-04 16:25:55,104 - INFO - Project ctest-TestBasicVMVNx-25638874 not found, creating it 2024-09-04 16:25:55,571 - INFO - Created Project:ctest-TestBasicVMVNx-25638874, ID : 7f6beed9-0411-4680-a4a2-6bf97bdb98b2 2024-09-04 16:25:57,070 - INFO - ================================================================================ 2024-09-04 16:25:57,070 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-04 16:25:57,070 - 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 2024-09-04 16:25:57,328 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.32': '0'}} with 2024-09-04 16:25:57,329 - INFO - Initial checks done. Running the testcase now 2024-09-04 16:25:57,329 - INFO - 2024-09-04 16:25:57,916 - DEBUG - Response for create_network : {'network': {'id': 'c5e8e951-d4f2-4bdd-88bc-aa6b5b643187', 'name': 'ctest-vn-19273406', 'tenant_id': '7f6beed904114680a4a26bf97bdb98b2', 'project_id': '7f6beed904114680a4a26bf97bdb98b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-25638874', 'ctest-vn-19273406'], 'port_security_enabled': True, 'description': ''}} 2024-09-04 16:25:58,100 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c23e4c4-81fa-4a75-9202-672a975bf054', 'name': '', 'tenant_id': '7f6beed904114680a4a26bf97bdb98b2', 'network_id': 'c5e8e951-d4f2-4bdd-88bc-aa6b5b643187', 'ip_version': 4, 'cidr': '86.159.37.192/26', 'allocation_pools': [{'start': '86.159.37.194', 'end': '86.159.37.254'}], 'gateway_ip': '86.159.37.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.159.37.194', 'tags': [], 'project_id': '7f6beed904114680a4a26bf97bdb98b2'}} 2024-09-04 16:25:58,120 - INFO - Created VN ctest-vn-19273406 2024-09-04 16:25:58,169 - DEBUG - VN ctest-vn-19273406 UUID is c5e8e951-d4f2-4bdd-88bc-aa6b5b643187 2024-09-04 16:25:58,347 - DEBUG - Services list from nova: [, , ] 2024-09-04 16:25:59,349 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1845-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1845-1) 2024-09-04 16:26:00,540 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1845-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1845-1) 2024-09-04 16:26:00,540 - INFO - Waiting for VM ctest-TestBasicVMVNx-25638874-62298049 to be up.. 2024-09-04 16:26:00,631 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-04 16:26:05,713 - DEBUG - VM is in ACTIVE state now 2024-09-04 16:26:05,714 - INFO - VM name : ctest-TestBasicVMVNx-25638874-62298049 2024-09-04 16:26:05,801 - DEBUG - VM ctest-TestBasicVMVNx-25638874-62298049 ID is 68b29e52-58d3-4370-b02b-a9afde234d33 2024-09-04 16:26:05,821 - DEBUG - VM ctest-TestBasicVMVNx-25638874-62298049 launched on Node cn-jenkins-deploy-platform-ansible-os-1845-1 2024-09-04 16:26:05,899 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/68b29e52-58d3-4370-b02b-a9afde234d33 2024-09-04 16:26:06,191 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/68b29e52-58d3-4370-b02b-a9afde234d33 2024-09-04 16:26:06,224 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/7ab3635c-92af-46d1-aefc-71483e8c8953 2024-09-04 16:26:09,481 - 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 1023ms') 2024-09-04 16:26:09,481 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-25638874-62298049 failed! 2024-09-04 16:26:09,537 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-25638874:ctest-vn-19273406 is 86.159.37.193 and allocation pool is NOT set 2024-09-04 16:26:11,596 - 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=6.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.387 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.387/3.293/6.200/2.906 ms') 2024-09-04 16:26:11,597 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-25638874-62298049 passed 2024-09-04 16:26:11,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 16:26:11,745 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-25638874-62298049, IP 86.159.37.195, Port 22 2024-09-04 16:26:11,900 - DEBUG - VM ctest-TestBasicVMVNx-25638874-62298049 is ready for SSH connections 2024-09-04 16:26:11,900 - INFO - Waiting for VM ctest-TestBasicVMVNx-25638874-52105884 to be up.. 2024-09-04 16:26:11,983 - DEBUG - VM is in ACTIVE state now 2024-09-04 16:26:11,983 - INFO - VM name : ctest-TestBasicVMVNx-25638874-52105884 2024-09-04 16:26:12,061 - DEBUG - VM ctest-TestBasicVMVNx-25638874-52105884 ID is 686b6447-2a40-40ad-a614-84c9492af582 2024-09-04 16:26:12,061 - DEBUG - VM ctest-TestBasicVMVNx-25638874-52105884 launched on Node cn-jenkins-deploy-platform-ansible-os-1845-1 2024-09-04 16:26:12,138 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/686b6447-2a40-40ad-a614-84c9492af582 2024-09-04 16:26:12,146 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/360918e7-df9f-4932-90bb-43c2c5f3060b 2024-09-04 16:26:13,373 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.485 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.485/1.583/2.682/1.098 ms') 2024-09-04 16:26:13,373 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-25638874-52105884 passed 2024-09-04 16:26:13,525 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 16:26:13,525 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-25638874-52105884, IP 86.159.37.196, Port 22 2024-09-04 16:26:13,680 - DEBUG - VM ctest-TestBasicVMVNx-25638874-52105884 is ready for SSH connections 2024-09-04 16:26:13,680 - DEBUG - FILE SIZE = 1303B 2024-09-04 16:26:13,680 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-25638874-62298049 to ctest-TestBasicVMVNx-25638874-52105884 using scp 2024-09-04 16:26:13,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 16:26:13,689 - 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 2024-09-04 16:26:13,690 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-04 16:26:15,566 - DEBUG - 1+0 records in 1+0 records out 2024-09-04 16:26:16,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 16:26:16,471 - 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 2024-09-04 16:26:16,472 - DEBUG - ls -l testfile 2024-09-04 16:26:18,055 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 4 10:26 testfile 2024-09-04 16:26:18,055 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-25638874-52105884 2024-09-04 16:26:18,055 - INFO - Deleting VM ctest-TestBasicVMVNx-25638874-52105884 2024-09-04 16:26:18,122 - INFO - Deleting VM ctest-TestBasicVMVNx-25638874-62298049 2024-09-04 16:26:18,269 - INFO - Deleting VN ctest-vn-19273406 2024-09-04 16:26:18,306 - DEBUG - VN c5e8e951-d4f2-4bdd-88bc-aa6b5b643187 still in use: Unable to complete operation on network c5e8e951-d4f2-4bdd-88bc-aa6b5b643187. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7b30d4cd-732f-4593-81ce-2c20863cf481'] 2024-09-04 16:26:18,306 - WARNING - Deleting VN ctest-vn-19273406 failed..Will retry 2024-09-04 16:26:20,412 - DEBUG - Response for deleting network () 2024-09-04 16:26:20,667 - DEBUG - No XMPP flaps were noticed during the test 2024-09-04 16:26:20,667 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2024-09-04 16:26:20,667 - INFO - -------------------------------------------------------------------------------- 2024-09-04 16:26:21,343 - INFO - Deleted project: ctest-TestBasicVMVNx-25638874, ID : 7f6beed9-0411-4680-a4a2-6bf97bdb98b2