2024-09-13 21:47:28,805 - INFO - Domain Default found not creating 2024-09-13 21:47:28,980 - INFO - Project ctest-TestBasicVMVNx-07016910 not found, creating it 2024-09-13 21:47:29,477 - INFO - Created Project:ctest-TestBasicVMVNx-07016910, ID : f3a03b9c-09d5-425d-bae6-a686c1658914 2024-09-13 21:47:31,126 - INFO - ================================================================================ 2024-09-13 21:47:31,126 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-13 21:47:31,126 - 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-13 21:47:31,391 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.7': '0'}} with 2024-09-13 21:47:31,391 - INFO - Initial checks done. Running the testcase now 2024-09-13 21:47:31,391 - INFO - 2024-09-13 21:47:32,012 - DEBUG - Response for create_network : {'network': {'id': '005d195e-f5a7-4d84-86bc-f815f1961e38', 'name': 'ctest-vn-39038686', 'tenant_id': 'f3a03b9c09d5425dbae6a686c1658914', 'project_id': 'f3a03b9c09d5425dbae6a686c1658914', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-07016910', 'ctest-vn-39038686'], 'port_security_enabled': True, 'description': ''}} 2024-09-13 21:47:32,159 - DEBUG - Response for create_subnet : {'subnet': {'id': '00a77f14-0b47-460e-8347-8119d157e63c', 'name': '', 'tenant_id': 'f3a03b9c09d5425dbae6a686c1658914', 'network_id': '005d195e-f5a7-4d84-86bc-f815f1961e38', 'ip_version': 4, 'cidr': '180.43.234.192/26', 'allocation_pools': [{'start': '180.43.234.194', 'end': '180.43.234.254'}], 'gateway_ip': '180.43.234.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.43.234.194', 'tags': [], 'project_id': 'f3a03b9c09d5425dbae6a686c1658914'}} 2024-09-13 21:47:32,180 - INFO - Created VN ctest-vn-39038686 2024-09-13 21:47:32,237 - DEBUG - VN ctest-vn-39038686 UUID is 005d195e-f5a7-4d84-86bc-f815f1961e38 2024-09-13 21:47:32,422 - DEBUG - Services list from nova: [, , ] 2024-09-13 21:47:33,505 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1932-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1932-1) 2024-09-13 21:47:34,702 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1932-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1932-1) 2024-09-13 21:47:34,702 - INFO - Waiting for VM ctest-TestBasicVMVNx-07016910-84308514 to be up.. 2024-09-13 21:47:34,798 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-13 21:47:39,902 - DEBUG - VM is in ACTIVE state now 2024-09-13 21:47:39,902 - INFO - VM name : ctest-TestBasicVMVNx-07016910-84308514 2024-09-13 21:47:40,000 - DEBUG - VM ctest-TestBasicVMVNx-07016910-84308514 ID is 36eba719-f536-4f55-a14b-7603e9cf7370 2024-09-13 21:47:40,022 - DEBUG - VM ctest-TestBasicVMVNx-07016910-84308514 launched on Node cn-jenkins-deploy-platform-ansible-os-1932-1 2024-09-13 21:47:40,115 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/36eba719-f536-4f55-a14b-7603e9cf7370 2024-09-13 21:47:40,416 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/36eba719-f536-4f55-a14b-7603e9cf7370 2024-09-13 21:47:40,454 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/a351dabe-d06b-4c36-a790-73c83e6a82b4 2024-09-13 21:47:43,718 - 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-09-13 21:47:43,718 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07016910-84308514 failed! 2024-09-13 21:47:43,785 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-07016910:ctest-vn-39038686 is 180.43.234.193 and allocation pool is NOT set 2024-09-13 21:47:45,844 - 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.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.378 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.378/2.814/5.251/2.436 ms') 2024-09-13 21:47:45,844 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07016910-84308514 passed 2024-09-13 21:47:46,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 21:47:46,014 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07016910-84308514, IP 180.43.234.195, Port 22 2024-09-13 21:47:46,184 - DEBUG - VM ctest-TestBasicVMVNx-07016910-84308514 is ready for SSH connections 2024-09-13 21:47:46,184 - INFO - Waiting for VM ctest-TestBasicVMVNx-07016910-12293206 to be up.. 2024-09-13 21:47:46,379 - DEBUG - VM is in ACTIVE state now 2024-09-13 21:47:46,379 - INFO - VM name : ctest-TestBasicVMVNx-07016910-12293206 2024-09-13 21:47:46,460 - DEBUG - VM ctest-TestBasicVMVNx-07016910-12293206 ID is 39864eed-a886-433e-b4e3-b6c25617474c 2024-09-13 21:47:46,460 - DEBUG - VM ctest-TestBasicVMVNx-07016910-12293206 launched on Node cn-jenkins-deploy-platform-ansible-os-1932-1 2024-09-13 21:47:46,555 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/39864eed-a886-433e-b4e3-b6c25617474c 2024-09-13 21:47:46,568 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/c56ff76b-519e-4e7b-bda6-70a8f1020b6c 2024-09-13 21:47:47,833 - 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=5.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.23 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 = 1.233/3.494/5.756/2.261 ms') 2024-09-13 21:47:47,833 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-07016910-12293206 passed 2024-09-13 21:47:47,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 21:47:47,993 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07016910-12293206, IP 180.43.234.196, Port 22 2024-09-13 21:47:48,160 - DEBUG - VM ctest-TestBasicVMVNx-07016910-12293206 is ready for SSH connections 2024-09-13 21:47:48,160 - DEBUG - FILE SIZE = 1303B 2024-09-13 21:47:48,160 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-07016910-84308514 to ctest-TestBasicVMVNx-07016910-12293206 using scp 2024-09-13 21:47:48,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 21:47:48,166 - 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.32, gateway password: c0ntrail123 2024-09-13 21:47:48,166 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-13 21:47:50,068 - DEBUG - 1+0 records in 1+0 records out 2024-09-13 21:47:50,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 21:47:51,171 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-09-13 21:47:51,171 - DEBUG - ls -l testfile 2024-09-13 21:47:52,759 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 13 15:47 testfile 2024-09-13 21:47:52,760 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-07016910-12293206 2024-09-13 21:47:52,760 - INFO - Deleting VM ctest-TestBasicVMVNx-07016910-12293206 2024-09-13 21:47:52,842 - INFO - Deleting VM ctest-TestBasicVMVNx-07016910-84308514 2024-09-13 21:47:52,922 - INFO - Deleting VN ctest-vn-39038686 2024-09-13 21:47:52,982 - DEBUG - VN 005d195e-f5a7-4d84-86bc-f815f1961e38 still in use: Unable to complete operation on network 005d195e-f5a7-4d84-86bc-f815f1961e38. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-06306526-bc50-4921-8d67-48138226d57c'] 2024-09-13 21:47:52,982 - WARNING - Deleting VN ctest-vn-39038686 failed..Will retry 2024-09-13 21:47:55,112 - DEBUG - Response for deleting network () 2024-09-13 21:47:55,369 - DEBUG - No XMPP flaps were noticed during the test 2024-09-13 21:47:55,369 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-09-13 21:47:55,369 - INFO - -------------------------------------------------------------------------------- 2024-09-13 21:47:56,066 - INFO - Deleted project: ctest-TestBasicVMVNx-07016910, ID : f3a03b9c-09d5-425d-bae6-a686c1658914