2024-09-18 00:44:31,627 - INFO - Domain Default found not creating 2024-09-18 00:44:31,816 - INFO - Project ctest-TestBasicVMVNx-32184967 not found, creating it 2024-09-18 00:44:32,300 - INFO - Created Project:ctest-TestBasicVMVNx-32184967, ID : 68c624c9-0d4c-44de-be54-c8b26afe4ae6 2024-09-18 00:44:33,818 - INFO - ================================================================================ 2024-09-18 00:44:33,818 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-18 00:44:33,818 - 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-18 00:44:34,072 - DEBUG - Nothing to compare xmpp stats {'10.0.0.71': {'10.20.0.5': '0'}} with 2024-09-18 00:44:34,072 - INFO - Initial checks done. Running the testcase now 2024-09-18 00:44:34,072 - INFO - 2024-09-18 00:44:34,658 - DEBUG - Response for create_network : {'network': {'id': '689b5bd0-0955-461c-84b4-f275b16a21ab', 'name': 'ctest-vn-79733762', 'tenant_id': '68c624c90d4c44debe54c8b26afe4ae6', 'project_id': '68c624c90d4c44debe54c8b26afe4ae6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-32184967', 'ctest-vn-79733762'], 'port_security_enabled': True, 'description': ''}} 2024-09-18 00:44:34,848 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be270acd-c615-4ec9-8ebd-0dd735d448f2', 'name': '', 'tenant_id': '68c624c90d4c44debe54c8b26afe4ae6', 'network_id': '689b5bd0-0955-461c-84b4-f275b16a21ab', 'ip_version': 4, 'cidr': '65.36.188.128/26', 'allocation_pools': [{'start': '65.36.188.130', 'end': '65.36.188.190'}], 'gateway_ip': '65.36.188.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.36.188.130', 'tags': [], 'project_id': '68c624c90d4c44debe54c8b26afe4ae6'}} 2024-09-18 00:44:34,866 - INFO - Created VN ctest-vn-79733762 2024-09-18 00:44:34,921 - DEBUG - VN ctest-vn-79733762 UUID is 689b5bd0-0955-461c-84b4-f275b16a21ab 2024-09-18 00:44:35,100 - DEBUG - Services list from nova: [, , ] 2024-09-18 00:44:36,134 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1978-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1978-1) 2024-09-18 00:44:37,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1978-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1978-1) 2024-09-18 00:44:37,327 - INFO - Waiting for VM ctest-TestBasicVMVNx-32184967-96322560 to be up.. 2024-09-18 00:44:37,413 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-18 00:44:42,497 - DEBUG - VM is in ACTIVE state now 2024-09-18 00:44:42,497 - INFO - VM name : ctest-TestBasicVMVNx-32184967-96322560 2024-09-18 00:44:42,585 - DEBUG - VM ctest-TestBasicVMVNx-32184967-96322560 ID is bb67431c-960e-4b06-bf07-0dbe2a4ff629 2024-09-18 00:44:42,605 - DEBUG - VM ctest-TestBasicVMVNx-32184967-96322560 launched on Node cn-jenkins-deploy-platform-ansible-os-1978-1 2024-09-18 00:44:42,682 - DEBUG - Requesting: http://10.0.0.71:8082/virtual-machine/bb67431c-960e-4b06-bf07-0dbe2a4ff629 2024-09-18 00:44:42,983 - DEBUG - Requesting: http://10.0.0.71:8082/virtual-machine/bb67431c-960e-4b06-bf07-0dbe2a4ff629 2024-09-18 00:44:43,019 - DEBUG - Requesting: http://10.0.0.71:8082/virtual-machine-interface/792471c2-3130-4513-9e9a-d34e285b9fd1 2024-09-18 00:44:46,303 - 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 1031ms') 2024-09-18 00:44:46,303 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-32184967-96322560 failed! 2024-09-18 00:44:46,361 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-32184967:ctest-vn-79733762 is 65.36.188.129 and allocation pool is NOT set 2024-09-18 00:44:48,417 - 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.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.362 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.362/1.783/3.205/1.421 ms') 2024-09-18 00:44:48,417 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-32184967-96322560 passed 2024-09-18 00:44:48,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 00:44:48,578 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-32184967-96322560, IP 65.36.188.131, Port 22 2024-09-18 00:44:48,733 - DEBUG - VM ctest-TestBasicVMVNx-32184967-96322560 is ready for SSH connections 2024-09-18 00:44:48,734 - INFO - Waiting for VM ctest-TestBasicVMVNx-32184967-22724794 to be up.. 2024-09-18 00:44:48,821 - DEBUG - VM is in ACTIVE state now 2024-09-18 00:44:48,821 - INFO - VM name : ctest-TestBasicVMVNx-32184967-22724794 2024-09-18 00:44:48,900 - DEBUG - VM ctest-TestBasicVMVNx-32184967-22724794 ID is 749affd9-a372-4ed9-b305-4dfbdc866b81 2024-09-18 00:44:48,901 - DEBUG - VM ctest-TestBasicVMVNx-32184967-22724794 launched on Node cn-jenkins-deploy-platform-ansible-os-1978-1 2024-09-18 00:44:49,070 - DEBUG - Requesting: http://10.0.0.71:8082/virtual-machine/749affd9-a372-4ed9-b305-4dfbdc866b81 2024-09-18 00:44:49,080 - DEBUG - Requesting: http://10.0.0.71:8082/virtual-machine-interface/b0f0f108-9d26-4cf6-be08-5acef0679017 2024-09-18 00:44:50,333 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.389 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.389/1.731/3.074/1.342 ms') 2024-09-18 00:44:50,333 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-32184967-22724794 passed 2024-09-18 00:44:50,490 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 00:44:50,490 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-32184967-22724794, IP 65.36.188.132, Port 22 2024-09-18 00:44:50,653 - DEBUG - VM ctest-TestBasicVMVNx-32184967-22724794 is ready for SSH connections 2024-09-18 00:44:50,653 - DEBUG - FILE SIZE = 1303B 2024-09-18 00:44:50,653 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-32184967-96322560 to ctest-TestBasicVMVNx-32184967-22724794 using scp 2024-09-18 00:44:50,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 00:44:50,658 - 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.71, gateway password: c0ntrail123 2024-09-18 00:44:50,659 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-18 00:44:52,536 - DEBUG - 1+0 records in 1+0 records out 2024-09-18 00:44:53,319 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 00:44:53,647 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.71, gateway password: c0ntrail123 2024-09-18 00:44:53,647 - DEBUG - ls -l testfile 2024-09-18 00:44:55,227 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 17 18:44 testfile 2024-09-18 00:44:55,227 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-32184967-22724794 2024-09-18 00:44:55,228 - INFO - Deleting VM ctest-TestBasicVMVNx-32184967-22724794 2024-09-18 00:44:55,311 - INFO - Deleting VM ctest-TestBasicVMVNx-32184967-96322560 2024-09-18 00:44:55,384 - INFO - Deleting VN ctest-vn-79733762 2024-09-18 00:44:55,422 - DEBUG - VN 689b5bd0-0955-461c-84b4-f275b16a21ab still in use: Unable to complete operation on network 689b5bd0-0955-461c-84b4-f275b16a21ab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8e318844-f2e2-4961-a3b3-dde934edf348'] 2024-09-18 00:44:55,423 - WARNING - Deleting VN ctest-vn-79733762 failed..Will retry 2024-09-18 00:44:57,527 - DEBUG - Response for deleting network () 2024-09-18 00:44:57,787 - DEBUG - No XMPP flaps were noticed during the test 2024-09-18 00:44:57,787 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-09-18 00:44:57,787 - INFO - -------------------------------------------------------------------------------- 2024-09-18 00:44:58,749 - INFO - Deleted project: ctest-TestBasicVMVNx-32184967, ID : 68c624c9-0d4c-44de-be54-c8b26afe4ae6