2024-08-27 20:10:31,277 - INFO - Domain Default found not creating 2024-08-27 20:10:31,421 - INFO - Project ctest-TestBasicVMVNx-45685636 not found, creating it 2024-08-27 20:10:31,874 - INFO - Created Project:ctest-TestBasicVMVNx-45685636, ID : 4e19578b-4299-46b0-9f9d-c6f9e0c61b84 2024-08-27 20:10:33,303 - INFO - ================================================================================ 2024-08-27 20:10:33,303 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-27 20:10:33,303 - 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-27 20:10:33,558 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.6': '0'}} with 2024-08-27 20:10:33,558 - INFO - Initial checks done. Running the testcase now 2024-08-27 20:10:33,558 - INFO - 2024-08-27 20:10:34,095 - DEBUG - Response for create_network : {'network': {'id': 'ab52ee47-5870-4f0f-858d-8751fe154b44', 'name': 'ctest-vn-17811510', 'tenant_id': '4e19578b429946b09f9dc6f9e0c61b84', 'project_id': '4e19578b429946b09f9dc6f9e0c61b84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-45685636', 'ctest-vn-17811510'], 'port_security_enabled': True, 'description': ''}} 2024-08-27 20:10:34,295 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0822afe-cbf7-44d3-a534-f20f2b83e21a', 'name': '', 'tenant_id': '4e19578b429946b09f9dc6f9e0c61b84', 'network_id': 'ab52ee47-5870-4f0f-858d-8751fe154b44', 'ip_version': 4, 'cidr': '212.182.137.192/26', 'allocation_pools': [{'start': '212.182.137.194', 'end': '212.182.137.254'}], 'gateway_ip': '212.182.137.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.182.137.194', 'tags': [], 'project_id': '4e19578b429946b09f9dc6f9e0c61b84'}} 2024-08-27 20:10:34,313 - INFO - Created VN ctest-vn-17811510 2024-08-27 20:10:34,362 - DEBUG - VN ctest-vn-17811510 UUID is ab52ee47-5870-4f0f-858d-8751fe154b44 2024-08-27 20:10:34,525 - DEBUG - Services list from nova: [, , ] 2024-08-27 20:10:35,639 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1804-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1804-1) 2024-08-27 20:10:36,751 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1804-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1804-1) 2024-08-27 20:10:36,751 - INFO - Waiting for VM ctest-TestBasicVMVNx-45685636-42124378 to be up.. 2024-08-27 20:10:36,827 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-27 20:10:41,917 - DEBUG - VM is in ACTIVE state now 2024-08-27 20:10:41,917 - INFO - VM name : ctest-TestBasicVMVNx-45685636-42124378 2024-08-27 20:10:41,991 - DEBUG - VM ctest-TestBasicVMVNx-45685636-42124378 ID is 061a54d3-9c60-4c24-b2c3-2ee48aaadfc2 2024-08-27 20:10:42,008 - DEBUG - VM ctest-TestBasicVMVNx-45685636-42124378 launched on Node cn-jenkins-deploy-platform-ansible-os-1804-1 2024-08-27 20:10:42,076 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/061a54d3-9c60-4c24-b2c3-2ee48aaadfc2 2024-08-27 20:10:42,366 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/061a54d3-9c60-4c24-b2c3-2ee48aaadfc2 2024-08-27 20:10:42,398 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/fb264e46-884f-4ce3-99ac-24bdd35fd16e 2024-08-27 20:10:45,652 - 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 1012ms') 2024-08-27 20:10:45,652 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-45685636-42124378 failed! 2024-08-27 20:10:45,711 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-45685636:ctest-vn-17811510 is 212.182.137.193 and allocation pool is NOT set 2024-08-27 20:10:47,772 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.391 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.391/1.633/2.876/1.242 ms') 2024-08-27 20:10:47,772 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-45685636-42124378 passed 2024-08-27 20:10:47,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 20:10:47,923 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-45685636-42124378, IP 212.182.137.195, Port 22 2024-08-27 20:10:48,075 - DEBUG - VM ctest-TestBasicVMVNx-45685636-42124378 is ready for SSH connections 2024-08-27 20:10:48,075 - INFO - Waiting for VM ctest-TestBasicVMVNx-45685636-42584285 to be up.. 2024-08-27 20:10:48,155 - DEBUG - VM is in ACTIVE state now 2024-08-27 20:10:48,155 - INFO - VM name : ctest-TestBasicVMVNx-45685636-42584285 2024-08-27 20:10:48,232 - DEBUG - VM ctest-TestBasicVMVNx-45685636-42584285 ID is c664855e-ddac-49d4-aeaf-676b366d7e21 2024-08-27 20:10:48,232 - DEBUG - VM ctest-TestBasicVMVNx-45685636-42584285 launched on Node cn-jenkins-deploy-platform-ansible-os-1804-1 2024-08-27 20:10:48,307 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/c664855e-ddac-49d4-aeaf-676b366d7e21 2024-08-27 20:10:48,315 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/542ead55-8b8e-449d-91c0-98627f4c4148 2024-08-27 20:10:49,546 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.356 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.356/1.683/3.010/1.327 ms') 2024-08-27 20:10:49,546 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-45685636-42584285 passed 2024-08-27 20:10:49,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 20:10:49,695 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-45685636-42584285, IP 212.182.137.196, Port 22 2024-08-27 20:10:49,846 - DEBUG - VM ctest-TestBasicVMVNx-45685636-42584285 is ready for SSH connections 2024-08-27 20:10:49,846 - DEBUG - FILE SIZE = 1303B 2024-08-27 20:10:49,846 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-45685636-42124378 to ctest-TestBasicVMVNx-45685636-42584285 using scp 2024-08-27 20:10:49,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 20:10:49,851 - 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.40, gateway password: c0ntrail123 2024-08-27 20:10:49,851 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-27 20:10:51,708 - DEBUG - 1+0 records in 1+0 records out 2024-08-27 20:10:52,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 20:10:52,608 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123 2024-08-27 20:10:52,608 - DEBUG - ls -l testfile 2024-08-27 20:10:54,153 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 27 14:10 testfile 2024-08-27 20:10:54,153 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-45685636-42584285 2024-08-27 20:10:54,154 - INFO - Deleting VM ctest-TestBasicVMVNx-45685636-42584285 2024-08-27 20:10:54,230 - INFO - Deleting VM ctest-TestBasicVMVNx-45685636-42124378 2024-08-27 20:10:54,298 - INFO - Deleting VN ctest-vn-17811510 2024-08-27 20:10:54,336 - DEBUG - VN ab52ee47-5870-4f0f-858d-8751fe154b44 still in use: Unable to complete operation on network ab52ee47-5870-4f0f-858d-8751fe154b44. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bb7f6224-1f82-471f-ab48-174fec7bd159'] 2024-08-27 20:10:54,336 - WARNING - Deleting VN ctest-vn-17811510 failed..Will retry 2024-08-27 20:10:56,462 - DEBUG - Response for deleting network () 2024-08-27 20:10:56,716 - DEBUG - No XMPP flaps were noticed during the test
2024-08-27 20:10:56,716 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2024-08-27 20:10:56,716 - INFO - -------------------------------------------------------------------------------- 2024-08-27 20:10:57,365 - INFO - Deleted project: ctest-TestBasicVMVNx-45685636, ID : 4e19578b-4299-46b0-9f9d-c6f9e0c61b84