2024-08-30 14:54:13,777 - INFO - Domain Default found not creating 2024-08-30 14:54:13,958 - INFO - Project ctest-TestBasicVMVNx-90981348 not found, creating it 2024-08-30 14:54:14,434 - INFO - Created Project:ctest-TestBasicVMVNx-90981348, ID : af4dda66-2ad2-4874-969b-b9d6a4466151 2024-08-30 14:54:15,958 - INFO - ================================================================================ 2024-08-30 14:54:15,958 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-30 14:54:15,959 - 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-08-30 14:54:16,215 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.5': '0'}} with 2024-08-30 14:54:16,215 - INFO - Initial checks done. Running the testcase now 2024-08-30 14:54:16,215 - INFO - 2024-08-30 14:54:16,801 - DEBUG - Response for create_network : {'network': {'id': 'c2c48492-eea6-4214-8e97-943041a258f6', 'name': 'ctest-vn-07073651', 'tenant_id': 'af4dda662ad24874969bb9d6a4466151', 'project_id': 'af4dda662ad24874969bb9d6a4466151', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-90981348', 'ctest-vn-07073651'], 'port_security_enabled': True, 'description': ''}} 2024-08-30 14:54:17,010 - DEBUG - Response for create_subnet : {'subnet': {'id': '592b3eb4-305b-48e5-b0c4-5d06c72529fe', 'name': '', 'tenant_id': 'af4dda662ad24874969bb9d6a4466151', 'network_id': 'c2c48492-eea6-4214-8e97-943041a258f6', 'ip_version': 4, 'cidr': '129.239.210.128/26', 'allocation_pools': [{'start': '129.239.210.130', 'end': '129.239.210.190'}], 'gateway_ip': '129.239.210.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.239.210.130', 'tags': [], 'project_id': 'af4dda662ad24874969bb9d6a4466151'}} 2024-08-30 14:54:17,030 - INFO - Created VN ctest-vn-07073651 2024-08-30 14:54:17,081 - DEBUG - VN ctest-vn-07073651 UUID is c2c48492-eea6-4214-8e97-943041a258f6 2024-08-30 14:54:17,246 - DEBUG - Services list from nova: [, , ] 2024-08-30 14:54:18,279 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1824-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1824-1) 2024-08-30 14:54:19,454 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1824-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1824-1) 2024-08-30 14:54:19,455 - INFO - Waiting for VM ctest-TestBasicVMVNx-90981348-35549860 to be up.. 2024-08-30 14:54:19,548 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-30 14:54:24,638 - DEBUG - VM is in ACTIVE state now 2024-08-30 14:54:24,638 - INFO - VM name : ctest-TestBasicVMVNx-90981348-35549860 2024-08-30 14:54:24,726 - DEBUG - VM ctest-TestBasicVMVNx-90981348-35549860 ID is 2645b926-2e17-415b-a999-f12f98c77516 2024-08-30 14:54:24,754 - DEBUG - VM ctest-TestBasicVMVNx-90981348-35549860 launched on Node cn-jenkins-deploy-platform-ansible-os-1824-1 2024-08-30 14:54:24,849 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/2645b926-2e17-415b-a999-f12f98c77516 2024-08-30 14:54:25,151 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/2645b926-2e17-415b-a999-f12f98c77516 2024-08-30 14:54:25,191 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/18735189-f7be-4d94-93b2-d72b5d279305 2024-08-30 14:54:28,437 - 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 1003ms') 2024-08-30 14:54:28,437 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-90981348-35549860 failed! 2024-08-30 14:54:28,493 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-90981348:ctest-vn-07073651 is 129.239.210.129 and allocation pool is NOT set 2024-08-30 14:54:30,548 - 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=5.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.403 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.403/2.763/5.123/2.360 ms') 2024-08-30 14:54:30,548 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-90981348-35549860 passed 2024-08-30 14:54:30,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-30 14:54:30,701 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-90981348-35549860, IP 129.239.210.131, Port 22 2024-08-30 14:54:30,858 - DEBUG - VM ctest-TestBasicVMVNx-90981348-35549860 is ready for SSH connections 2024-08-30 14:54:30,858 - INFO - Waiting for VM ctest-TestBasicVMVNx-90981348-86251379 to be up.. 2024-08-30 14:54:30,950 - DEBUG - VM is in ACTIVE state now 2024-08-30 14:54:30,950 - INFO - VM name : ctest-TestBasicVMVNx-90981348-86251379 2024-08-30 14:54:31,042 - DEBUG - VM ctest-TestBasicVMVNx-90981348-86251379 ID is 58a4ac90-d425-4668-954d-1c6906bf698b 2024-08-30 14:54:31,042 - DEBUG - VM ctest-TestBasicVMVNx-90981348-86251379 launched on Node cn-jenkins-deploy-platform-ansible-os-1824-1 2024-08-30 14:54:31,121 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/58a4ac90-d425-4668-954d-1c6906bf698b 2024-08-30 14:54:31,131 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/fd2881cc-1060-471f-a266-b43dc7591962 2024-08-30 14:54:32,369 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.397 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 = 0.397/1.700/3.003/1.303 ms') 2024-08-30 14:54:32,370 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-90981348-86251379 passed 2024-08-30 14:54:32,521 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-30 14:54:32,521 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-90981348-86251379, IP 129.239.210.132, Port 22 2024-08-30 14:54:32,676 - DEBUG - VM ctest-TestBasicVMVNx-90981348-86251379 is ready for SSH connections 2024-08-30 14:54:32,677 - DEBUG - FILE SIZE = 1303B 2024-08-30 14:54:32,677 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-90981348-35549860 to ctest-TestBasicVMVNx-90981348-86251379 using scp 2024-08-30 14:54:32,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-30 14:54:32,683 - 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.17, gateway password: c0ntrail123 2024-08-30 14:54:32,683 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-30 14:54:34,661 - DEBUG - 1+0 records in 1+0 records out 2024-08-30 14:54:35,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-30 14:54:35,795 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-08-30 14:54:35,796 - DEBUG - ls -l testfile 2024-08-30 14:54:37,384 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 30 08:54 testfile 2024-08-30 14:54:37,384 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-90981348-86251379 2024-08-30 14:54:37,384 - INFO - Deleting VM ctest-TestBasicVMVNx-90981348-86251379 2024-08-30 14:54:37,458 - INFO - Deleting VM ctest-TestBasicVMVNx-90981348-35549860 2024-08-30 14:54:37,537 - INFO - Deleting VN ctest-vn-07073651 2024-08-30 14:54:37,581 - DEBUG - VN c2c48492-eea6-4214-8e97-943041a258f6 still in use: Unable to complete operation on network c2c48492-eea6-4214-8e97-943041a258f6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2fe5a8d9-f520-4ed5-abed-01ef78208cd8'] 2024-08-30 14:54:37,581 - WARNING - Deleting VN ctest-vn-07073651 failed..Will retry 2024-08-30 14:54:39,691 - DEBUG - Response for deleting network () 2024-08-30 14:54:39,957 - DEBUG - No XMPP flaps were noticed during the test 2024-08-30 14:54:39,957 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-08-30 14:54:39,957 - INFO - -------------------------------------------------------------------------------- 2024-08-30 14:54:40,673 - INFO - Deleted project: ctest-TestBasicVMVNx-90981348, ID : af4dda66-2ad2-4874-969b-b9d6a4466151