2024-08-24 01:56:58,231 - INFO - Domain Default found not creating 2024-08-24 01:56:58,383 - INFO - Project ctest-TestBasicVMVNx-38888179 not found, creating it 2024-08-24 01:56:58,824 - INFO - Created Project:ctest-TestBasicVMVNx-38888179, ID : abf3ac5a-1f48-46d7-b351-ae6fc8b501ab 2024-08-24 01:57:00,267 - INFO - ================================================================================ 2024-08-24 01:57:00,267 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-24 01:57:00,267 - 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-24 01:57:00,528 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.20': '0'}} with 2024-08-24 01:57:00,528 - INFO - Initial checks done. Running the testcase now 2024-08-24 01:57:00,528 - INFO - 2024-08-24 01:57:01,095 - DEBUG - Response for create_network : {'network': {'id': '17315c32-2bfc-4269-81e5-240a4ea1234d', 'name': 'ctest-vn-76064482', 'tenant_id': 'abf3ac5a1f4846d7b351ae6fc8b501ab', 'project_id': 'abf3ac5a1f4846d7b351ae6fc8b501ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-38888179', 'ctest-vn-76064482'], 'port_security_enabled': True, 'description': ''}} 2024-08-24 01:57:01,270 - DEBUG - Response for create_subnet : {'subnet': {'id': '47aa7e48-808c-43e8-b39b-a8121faee2f8', 'name': '', 'tenant_id': 'abf3ac5a1f4846d7b351ae6fc8b501ab', 'network_id': '17315c32-2bfc-4269-81e5-240a4ea1234d', 'ip_version': 4, 'cidr': '131.227.192.128/26', 'allocation_pools': [{'start': '131.227.192.130', 'end': '131.227.192.190'}], 'gateway_ip': '131.227.192.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.227.192.130', 'tags': [], 'project_id': 'abf3ac5a1f4846d7b351ae6fc8b501ab'}} 2024-08-24 01:57:01,294 - INFO - Created VN ctest-vn-76064482 2024-08-24 01:57:01,346 - DEBUG - VN ctest-vn-76064482 UUID is 17315c32-2bfc-4269-81e5-240a4ea1234d 2024-08-24 01:57:01,504 - DEBUG - Services list from nova: [, , ] 2024-08-24 01:57:02,599 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1736-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1736-1) 2024-08-24 01:57:03,742 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1736-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1736-1) 2024-08-24 01:57:03,742 - INFO - Waiting for VM ctest-TestBasicVMVNx-38888179-95051064 to be up.. 2024-08-24 01:57:03,823 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-24 01:57:08,900 - DEBUG - VM is in ACTIVE state now 2024-08-24 01:57:08,900 - INFO - VM name : ctest-TestBasicVMVNx-38888179-95051064 2024-08-24 01:57:08,976 - DEBUG - VM ctest-TestBasicVMVNx-38888179-95051064 ID is 199054ad-e178-4abb-aa13-8a0c4aa4d4e6 2024-08-24 01:57:08,993 - DEBUG - VM ctest-TestBasicVMVNx-38888179-95051064 launched on Node cn-jenkins-deploy-platform-ansible-os-1736-1 2024-08-24 01:57:09,081 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/199054ad-e178-4abb-aa13-8a0c4aa4d4e6 2024-08-24 01:57:09,375 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/199054ad-e178-4abb-aa13-8a0c4aa4d4e6 2024-08-24 01:57:09,411 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/05ec8228-1022-45e1-a85c-fba4aaa6038b 2024-08-24 01:57:12,684 - 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 1027ms') 2024-08-24 01:57:12,684 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-38888179-95051064 failed! 2024-08-24 01:57:12,738 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-38888179:ctest-vn-76064482 is 131.227.192.129 and allocation pool is NOT set 2024-08-24 01:57:14,804 - 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.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.446 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.446/1.709/2.973/1.263 ms') 2024-08-24 01:57:14,804 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-38888179-95051064 passed 2024-08-24 01:57:14,958 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 01:57:14,958 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-38888179-95051064, IP 131.227.192.131, Port 22 2024-08-24 01:57:15,113 - DEBUG - VM ctest-TestBasicVMVNx-38888179-95051064 is ready for SSH connections 2024-08-24 01:57:15,113 - INFO - Waiting for VM ctest-TestBasicVMVNx-38888179-28858761 to be up.. 2024-08-24 01:57:15,186 - DEBUG - VM is in ACTIVE state now 2024-08-24 01:57:15,186 - INFO - VM name : ctest-TestBasicVMVNx-38888179-28858761 2024-08-24 01:57:15,261 - DEBUG - VM ctest-TestBasicVMVNx-38888179-28858761 ID is ba55ebaf-5657-468d-9159-fcb3c68a4fec 2024-08-24 01:57:15,261 - DEBUG - VM ctest-TestBasicVMVNx-38888179-28858761 launched on Node cn-jenkins-deploy-platform-ansible-os-1736-1 2024-08-24 01:57:15,338 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/ba55ebaf-5657-468d-9159-fcb3c68a4fec 2024-08-24 01:57:15,346 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/3d726c2d-7e8d-4aaa-8301-d9f5aaedcf31 2024-08-24 01:57:16,585 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.384 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.384/1.561/2.738/1.177 ms') 2024-08-24 01:57:19,921 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-38888179-28858761 passed 2024-08-24 01:57:20,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 01:57:20,078 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-38888179-28858761, IP 131.227.192.132, Port 22 2024-08-24 01:57:20,229 - DEBUG - VM ctest-TestBasicVMVNx-38888179-28858761 is ready for SSH connections 2024-08-24 01:57:20,229 - DEBUG - FILE SIZE = 1303B 2024-08-24 01:57:20,229 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-38888179-95051064 to ctest-TestBasicVMVNx-38888179-28858761 using scp 2024-08-24 01:57:20,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 01:57:20,235 - 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.41, gateway password: c0ntrail123 2024-08-24 01:57:20,235 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-24 01:57:21,829 - DEBUG - 1+0 records in 1+0 records out 2024-08-24 01:57:22,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 01:57:22,741 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2024-08-24 01:57:22,741 - DEBUG - ls -l testfile 2024-08-24 01:57:24,300 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 23 19:57 testfile 2024-08-24 01:57:24,300 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-38888179-28858761 2024-08-24 01:57:24,300 - INFO - Deleting VM ctest-TestBasicVMVNx-38888179-28858761 2024-08-24 01:57:24,384 - INFO - Deleting VM ctest-TestBasicVMVNx-38888179-95051064 2024-08-24 01:57:24,445 - INFO - Deleting VN ctest-vn-76064482 2024-08-24 01:57:24,481 - DEBUG - VN 17315c32-2bfc-4269-81e5-240a4ea1234d still in use: Unable to complete operation on network 17315c32-2bfc-4269-81e5-240a4ea1234d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-389444d2-8115-489c-a371-9b2b53017fcb'] 2024-08-24 01:57:24,481 - WARNING - Deleting VN ctest-vn-76064482 failed..Will retry 2024-08-24 01:57:28,494 - DEBUG - Response for deleting network () 2024-08-24 01:57:28,755 - DEBUG - No XMPP flaps were noticed during the test
2024-08-24 01:57:28,755 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:28]
2024-08-24 01:57:28,755 - INFO - -------------------------------------------------------------------------------- 2024-08-24 01:57:29,430 - INFO - Deleted project: ctest-TestBasicVMVNx-38888179, ID : abf3ac5a-1f48-46d7-b351-ae6fc8b501ab