2024-11-13 11:55:03,900 - INFO - Domain Default found not creating 2024-11-13 11:55:04,069 - INFO - Project ctest-TestBasicVMVNx-35571068 not found, creating it 2024-11-13 11:55:04,573 - INFO - Created Project:ctest-TestBasicVMVNx-35571068, ID : 5b446a68-638a-4ae9-b0bf-da53ede16e24 2024-11-13 11:55:06,134 - INFO - ================================================================================ 2024-11-13 11:55:06,134 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-13 11:55:06,134 - 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-13 11:55:06,393 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.17': '0'}} with 2024-11-13 11:55:06,394 - INFO - Initial checks done. Running the testcase now 2024-11-13 11:55:06,394 - INFO - 2024-11-13 11:55:07,013 - DEBUG - Response for create_network : {'network': {'id': '38ff2f3b-4b1e-4d58-a9a5-cc10e72e2ad2', 'name': 'ctest-vn-29525665', 'tenant_id': '5b446a68638a4ae9b0bfda53ede16e24', 'project_id': '5b446a68638a4ae9b0bfda53ede16e24', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-35571068', 'ctest-vn-29525665'], 'port_security_enabled': True, 'description': ''}} 2024-11-13 11:55:07,249 - DEBUG - Response for create_subnet : {'subnet': {'id': '8fd8b96a-167e-43ca-ae0b-125e81289adf', 'name': '', 'tenant_id': '5b446a68638a4ae9b0bfda53ede16e24', 'network_id': '38ff2f3b-4b1e-4d58-a9a5-cc10e72e2ad2', 'ip_version': 4, 'cidr': '211.69.237.0/26', 'allocation_pools': [{'start': '211.69.237.2', 'end': '211.69.237.62'}], 'gateway_ip': '211.69.237.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.69.237.2', 'tags': [], 'project_id': '5b446a68638a4ae9b0bfda53ede16e24'}} 2024-11-13 11:55:07,269 - INFO - Created VN ctest-vn-29525665 2024-11-13 11:55:07,328 - DEBUG - VN ctest-vn-29525665 UUID is 38ff2f3b-4b1e-4d58-a9a5-cc10e72e2ad2 2024-11-13 11:55:07,517 - DEBUG - Services list from nova: [, , ] 2024-11-13 11:55:08,621 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2283-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2283-1) 2024-11-13 11:55:09,956 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2283-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2283-1) 2024-11-13 11:55:09,956 - INFO - Waiting for VM ctest-TestBasicVMVNx-35571068-16597531 to be up.. 2024-11-13 11:55:10,090 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-13 11:55:15,178 - DEBUG - VM is in ACTIVE state now 2024-11-13 11:55:15,178 - INFO - VM name : ctest-TestBasicVMVNx-35571068-16597531 2024-11-13 11:55:15,272 - DEBUG - VM ctest-TestBasicVMVNx-35571068-16597531 ID is 705279c3-c59f-4112-ba64-aa2ca4ff14a4 2024-11-13 11:55:15,291 - DEBUG - VM ctest-TestBasicVMVNx-35571068-16597531 launched on Node cn-jenkins-deploy-platform-ansible-os-2283-1 2024-11-13 11:55:15,386 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/705279c3-c59f-4112-ba64-aa2ca4ff14a4 2024-11-13 11:55:15,684 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/705279c3-c59f-4112-ba64-aa2ca4ff14a4 2024-11-13 11:55:15,725 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/d896dfd7-3c32-406a-a634-5de8d91f4baf 2024-11-13 11:55:18,994 - 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 1002ms') 2024-11-13 11:55:18,994 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-35571068-16597531 failed! 2024-11-13 11:55:19,064 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-35571068:ctest-vn-29525665 is 211.69.237.1 and allocation pool is NOT set 2024-11-13 11:55:21,124 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.893 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.893/1.944/2.996/1.051 ms') 2024-11-13 11:55:21,124 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-35571068-16597531 passed 2024-11-13 11:55:21,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 11:55:21,280 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-35571068-16597531, IP 211.69.237.3, Port 22 2024-11-13 11:55:21,450 - DEBUG - VM ctest-TestBasicVMVNx-35571068-16597531 is ready for SSH connections 2024-11-13 11:55:21,450 - INFO - Waiting for VM ctest-TestBasicVMVNx-35571068-83429901 to be up.. 2024-11-13 11:55:21,649 - DEBUG - VM is in ACTIVE state now 2024-11-13 11:55:21,649 - INFO - VM name : ctest-TestBasicVMVNx-35571068-83429901 2024-11-13 11:55:21,750 - DEBUG - VM ctest-TestBasicVMVNx-35571068-83429901 ID is 185edf64-9fa1-4dbd-9c59-73be5226bae4 2024-11-13 11:55:21,750 - DEBUG - VM ctest-TestBasicVMVNx-35571068-83429901 launched on Node cn-jenkins-deploy-platform-ansible-os-2283-1 2024-11-13 11:55:21,837 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/185edf64-9fa1-4dbd-9c59-73be5226bae4 2024-11-13 11:55:21,848 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/dfa93a4d-ca83-4e0d-bd3a-13024be697f5 2024-11-13 11:55:23,109 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.27 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.268/2.069/2.871/0.801 ms') 2024-11-13 11:55:23,109 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-35571068-83429901 passed 2024-11-13 11:55:23,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 11:55:23,268 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-35571068-83429901, IP 211.69.237.4, Port 22 2024-11-13 11:55:23,424 - DEBUG - VM ctest-TestBasicVMVNx-35571068-83429901 is ready for SSH connections 2024-11-13 11:55:23,424 - DEBUG - FILE SIZE = 1303B 2024-11-13 11:55:23,424 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-35571068-16597531 to ctest-TestBasicVMVNx-35571068-83429901 using scp 2024-11-13 11:55:23,425 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 11:55:23,431 - 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.31, gateway password: c0ntrail123 2024-11-13 11:55:23,431 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-13 11:55:25,351 - DEBUG - 1+0 records in 1+0 records out 2024-11-13 11:55:25,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-13 11:55:26,260 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-11-13 11:55:26,261 - DEBUG - ls -l testfile 2024-11-13 11:55:27,873 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 13 04:55 testfile 2024-11-13 11:55:27,874 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-35571068-83429901 2024-11-13 11:55:27,874 - INFO - Deleting VM ctest-TestBasicVMVNx-35571068-83429901 2024-11-13 11:55:27,950 - INFO - Deleting VM ctest-TestBasicVMVNx-35571068-16597531 2024-11-13 11:55:28,030 - INFO - Deleting VN ctest-vn-29525665 2024-11-13 11:55:28,097 - DEBUG - VN 38ff2f3b-4b1e-4d58-a9a5-cc10e72e2ad2 still in use: Unable to complete operation on network 38ff2f3b-4b1e-4d58-a9a5-cc10e72e2ad2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4e3fc17e-ee0d-4b70-979b-8ba72407b7b5'] 2024-11-13 11:55:28,097 - WARNING - Deleting VN ctest-vn-29525665 failed..Will retry 2024-11-13 11:55:30,249 - DEBUG - Response for deleting network () 2024-11-13 11:55:30,507 - DEBUG - No XMPP flaps were noticed during the test 2024-11-13 11:55:30,508 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-11-13 11:55:30,508 - INFO - -------------------------------------------------------------------------------- 2024-11-13 11:55:31,215 - INFO - Deleted project: ctest-TestBasicVMVNx-35571068, ID : 5b446a68-638a-4ae9-b0bf-da53ede16e24