2024-11-10 22:02:24,766 - INFO - Domain Default found not creating 2024-11-10 22:02:24,922 - INFO - Project ctest-TestBasicVMVNx-94892166 not found, creating it 2024-11-10 22:02:25,426 - INFO - Created Project:ctest-TestBasicVMVNx-94892166, ID : fe38eaf2-738e-461d-9ca6-d532c53d030f 2024-11-10 22:02:26,872 - INFO - ================================================================================ 2024-11-10 22:02:26,872 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-10 22:02:26,872 - 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-11-10 22:02:27,126 - DEBUG - Nothing to compare xmpp stats {'10.0.0.44': {'10.20.0.6': '0'}} with 2024-11-10 22:02:27,126 - INFO - Initial checks done. Running the testcase now 2024-11-10 22:02:27,126 - INFO - 2024-11-10 22:02:27,689 - DEBUG - Response for create_network : {'network': {'id': '3da0f288-f06c-4b4c-b33a-ad85cd208fef', 'name': 'ctest-vn-32515085', 'tenant_id': 'fe38eaf2738e461d9ca6d532c53d030f', 'project_id': 'fe38eaf2738e461d9ca6d532c53d030f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-94892166', 'ctest-vn-32515085'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 22:02:27,848 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de448c0c-5fba-4c0f-b5e1-570457270cee', 'name': '', 'tenant_id': 'fe38eaf2738e461d9ca6d532c53d030f', 'network_id': '3da0f288-f06c-4b4c-b33a-ad85cd208fef', 'ip_version': 4, 'cidr': '153.202.191.0/26', 'allocation_pools': [{'start': '153.202.191.2', 'end': '153.202.191.62'}], 'gateway_ip': '153.202.191.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.202.191.2', 'tags': [], 'project_id': 'fe38eaf2738e461d9ca6d532c53d030f'}} 2024-11-10 22:02:27,865 - INFO - Created VN ctest-vn-32515085 2024-11-10 22:02:27,920 - DEBUG - VN ctest-vn-32515085 UUID is 3da0f288-f06c-4b4c-b33a-ad85cd208fef 2024-11-10 22:02:28,218 - DEBUG - Services list from nova: [, , ] 2024-11-10 22:02:29,268 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2267-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2267-1) 2024-11-10 22:02:30,456 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2267-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2267-1) 2024-11-10 22:02:30,456 - INFO - Waiting for VM ctest-TestBasicVMVNx-94892166-37568200 to be up.. 2024-11-10 22:02:30,558 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 22:02:35,650 - DEBUG - VM is in ACTIVE state now 2024-11-10 22:02:35,650 - INFO - VM name : ctest-TestBasicVMVNx-94892166-37568200 2024-11-10 22:02:35,739 - DEBUG - VM ctest-TestBasicVMVNx-94892166-37568200 ID is a7f3cc3e-2279-4210-9c85-8e43d2ca1012 2024-11-10 22:02:35,757 - DEBUG - VM ctest-TestBasicVMVNx-94892166-37568200 launched on Node cn-jenkins-deploy-platform-ansible-os-2267-1 2024-11-10 22:02:35,860 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/a7f3cc3e-2279-4210-9c85-8e43d2ca1012 2024-11-10 22:02:36,173 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/a7f3cc3e-2279-4210-9c85-8e43d2ca1012 2024-11-10 22:02:36,213 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/db88e9c0-b72a-47d0-86cf-2b27d01a0e53 2024-11-10 22:02:39,519 - 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 1013ms') 2024-11-10 22:02:39,520 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-94892166-37568200 failed! 2024-11-10 22:02:39,588 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-94892166:ctest-vn-32515085 is 153.202.191.1 and allocation pool is NOT set 2024-11-10 22:02:41,657 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.490 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.490/1.622/2.755/1.132 ms') 2024-11-10 22:02:41,657 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-94892166-37568200 passed 2024-11-10 22:02:41,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 22:02:41,812 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-94892166-37568200, IP 153.202.191.3, Port 22 2024-11-10 22:02:41,967 - DEBUG - VM ctest-TestBasicVMVNx-94892166-37568200 is ready for SSH connections 2024-11-10 22:02:41,967 - INFO - Waiting for VM ctest-TestBasicVMVNx-94892166-63169488 to be up.. 2024-11-10 22:02:42,055 - DEBUG - VM is in ACTIVE state now 2024-11-10 22:02:42,055 - INFO - VM name : ctest-TestBasicVMVNx-94892166-63169488 2024-11-10 22:02:42,143 - DEBUG - VM ctest-TestBasicVMVNx-94892166-63169488 ID is d057dbe0-ff7c-4d55-a5e9-b7e742abd3be 2024-11-10 22:02:42,143 - DEBUG - VM ctest-TestBasicVMVNx-94892166-63169488 launched on Node cn-jenkins-deploy-platform-ansible-os-2267-1 2024-11-10 22:02:42,243 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/d057dbe0-ff7c-4d55-a5e9-b7e742abd3be 2024-11-10 22:02:42,253 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/0cdd4e6d-8bcc-4de5-8a1c-a1126c895821 2024-11-10 22:02:43,508 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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.444/1.611/2.778/1.167 ms') 2024-11-10 22:02:43,508 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-94892166-63169488 passed 2024-11-10 22:02:43,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 22:02:43,668 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-94892166-63169488, IP 153.202.191.4, Port 22 2024-11-10 22:02:43,827 - DEBUG - VM ctest-TestBasicVMVNx-94892166-63169488 is ready for SSH connections 2024-11-10 22:02:43,827 - DEBUG - FILE SIZE = 1303B 2024-11-10 22:02:43,827 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-94892166-37568200 to ctest-TestBasicVMVNx-94892166-63169488 using scp 2024-11-10 22:02:43,828 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 22:02:43,836 - 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.44, gateway password: c0ntrail123 2024-11-10 22:02:43,836 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-10 22:02:45,736 - DEBUG - 1+0 records in 1+0 records out 2024-11-10 22:02:46,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 22:02:46,808 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2024-11-10 22:02:46,809 - DEBUG - ls -l testfile 2024-11-10 22:02:48,385 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 10 15:02 testfile 2024-11-10 22:02:48,386 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-94892166-63169488 2024-11-10 22:02:48,386 - INFO - Deleting VM ctest-TestBasicVMVNx-94892166-63169488 2024-11-10 22:02:48,454 - INFO - Deleting VM ctest-TestBasicVMVNx-94892166-37568200 2024-11-10 22:02:48,530 - INFO - Deleting VN ctest-vn-32515085 2024-11-10 22:02:48,566 - DEBUG - VN 3da0f288-f06c-4b4c-b33a-ad85cd208fef still in use: Unable to complete operation on network 3da0f288-f06c-4b4c-b33a-ad85cd208fef. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e2ededd9-0312-4221-a0fe-bf950da6bd82'] 2024-11-10 22:02:48,566 - WARNING - Deleting VN ctest-vn-32515085 failed..Will retry 2024-11-10 22:02:50,682 - DEBUG - Response for deleting network () 2024-11-10 22:02:50,937 - DEBUG - No XMPP flaps were noticed during the test
2024-11-10 22:02:50,938 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-11-10 22:02:50,938 - INFO - -------------------------------------------------------------------------------- 2024-11-10 22:02:51,667 - INFO - Deleted project: ctest-TestBasicVMVNx-94892166, ID : fe38eaf2-738e-461d-9ca6-d532c53d030f