2024-09-13 11:41:07,452 - INFO - Domain Default found not creating 2024-09-13 11:41:07,633 - INFO - Project ctest-TestBasicVMVNx-72371837 not found, creating it 2024-09-13 11:41:08,159 - INFO - Created Project:ctest-TestBasicVMVNx-72371837, ID : a42a5d11-fae5-4fbe-82dd-8b073499ecba 2024-09-13 11:41:09,710 - INFO - ================================================================================ 2024-09-13 11:41:09,710 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-13 11:41:09,710 - 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 11:41:09,965 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.10': '0'}} with 2024-09-13 11:41:09,965 - INFO - Initial checks done. Running the testcase now 2024-09-13 11:41:09,965 - INFO - 2024-09-13 11:41:11,344 - DEBUG - Response for create_network : {'network': {'id': '8c73f75d-3f84-4d73-862a-b818abb81f21', 'name': 'ctest-vn-05928938', 'tenant_id': 'a42a5d11fae54fbe82dd8b073499ecba', 'project_id': 'a42a5d11fae54fbe82dd8b073499ecba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-72371837', 'ctest-vn-05928938'], 'port_security_enabled': True, 'description': ''}} 2024-09-13 11:41:11,513 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ab8e25a-6298-4d78-aeee-20e265e45c45', 'name': '', 'tenant_id': 'a42a5d11fae54fbe82dd8b073499ecba', 'network_id': '8c73f75d-3f84-4d73-862a-b818abb81f21', 'ip_version': 4, 'cidr': '101.187.204.64/26', 'allocation_pools': [{'start': '101.187.204.66', 'end': '101.187.204.126'}], 'gateway_ip': '101.187.204.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.187.204.66', 'tags': [], 'project_id': 'a42a5d11fae54fbe82dd8b073499ecba'}} 2024-09-13 11:41:11,534 - INFO - Created VN ctest-vn-05928938 2024-09-13 11:41:11,591 - DEBUG - VN ctest-vn-05928938 UUID is 8c73f75d-3f84-4d73-862a-b818abb81f21 2024-09-13 11:41:11,771 - DEBUG - Services list from nova: [, , ] 2024-09-13 11:41:12,847 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1916-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1916-1) 2024-09-13 11:41:14,017 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1916-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1916-1) 2024-09-13 11:41:14,017 - INFO - Waiting for VM ctest-TestBasicVMVNx-72371837-06630503 to be up.. 2024-09-13 11:41:14,115 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-13 11:41:19,214 - DEBUG - VM is in ACTIVE state now 2024-09-13 11:41:19,214 - INFO - VM name : ctest-TestBasicVMVNx-72371837-06630503 2024-09-13 11:41:19,313 - DEBUG - VM ctest-TestBasicVMVNx-72371837-06630503 ID is 02eeaea0-9272-4997-aeea-d0d0322b676a 2024-09-13 11:41:19,342 - DEBUG - VM ctest-TestBasicVMVNx-72371837-06630503 launched on Node cn-jenkins-deploy-platform-ansible-os-1916-1 2024-09-13 11:41:19,441 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/02eeaea0-9272-4997-aeea-d0d0322b676a 2024-09-13 11:41:19,737 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/02eeaea0-9272-4997-aeea-d0d0322b676a 2024-09-13 11:41:19,778 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/8a616b23-5d6e-4d63-8bb1-f4807a13d8f4 2024-09-13 11:41:23,059 - 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-09-13 11:41:23,059 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-72371837-06630503 failed! 2024-09-13 11:41:23,119 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-72371837:ctest-vn-05928938 is 101.187.204.65 and allocation pool is NOT set 2024-09-13 11:41:25,185 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.925 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.925/3.436/5.947/2.511 ms') 2024-09-13 11:41:25,185 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-72371837-06630503 passed 2024-09-13 11:41:25,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 11:41:25,343 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-72371837-06630503, IP 101.187.204.67, Port 22 2024-09-13 11:41:25,516 - DEBUG - VM ctest-TestBasicVMVNx-72371837-06630503 is ready for SSH connections 2024-09-13 11:41:25,516 - INFO - Waiting for VM ctest-TestBasicVMVNx-72371837-96346284 to be up.. 2024-09-13 11:41:25,723 - DEBUG - VM is in ACTIVE state now 2024-09-13 11:41:25,724 - INFO - VM name : ctest-TestBasicVMVNx-72371837-96346284 2024-09-13 11:41:25,814 - DEBUG - VM ctest-TestBasicVMVNx-72371837-96346284 ID is e9f23eb0-0da5-4b60-80d4-73f64a877cbd 2024-09-13 11:41:25,814 - DEBUG - VM ctest-TestBasicVMVNx-72371837-96346284 launched on Node cn-jenkins-deploy-platform-ansible-os-1916-1 2024-09-13 11:41:25,901 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/e9f23eb0-0da5-4b60-80d4-73f64a877cbd 2024-09-13 11:41:25,913 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/b2748910-ea02-4e83-aa2e-24705fed3d85 2024-09-13 11:41:27,174 - 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=6.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.849 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.849/3.466/6.084/2.617 ms') 2024-09-13 11:41:27,174 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-72371837-96346284 passed 2024-09-13 11:41:27,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 11:41:27,343 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-72371837-96346284, IP 101.187.204.68, Port 22 2024-09-13 11:41:27,498 - DEBUG - VM ctest-TestBasicVMVNx-72371837-96346284 is ready for SSH connections 2024-09-13 11:41:27,498 - DEBUG - FILE SIZE = 1303B 2024-09-13 11:41:27,498 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-72371837-06630503 to ctest-TestBasicVMVNx-72371837-96346284 using scp 2024-09-13 11:41:27,499 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 11:41:27,505 - 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-09-13 11:41:27,505 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-13 11:41:29,437 - DEBUG - 1+0 records in 1+0 records out 2024-09-13 11:41:30,222 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 11:41:30,555 - 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-09-13 11:41:30,555 - DEBUG - ls -l testfile 2024-09-13 11:41:32,128 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 13 05:41 testfile 2024-09-13 11:41:32,128 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-72371837-96346284 2024-09-13 11:41:32,128 - INFO - Deleting VM ctest-TestBasicVMVNx-72371837-96346284 2024-09-13 11:41:32,206 - INFO - Deleting VM ctest-TestBasicVMVNx-72371837-06630503 2024-09-13 11:41:32,288 - INFO - Deleting VN ctest-vn-05928938 2024-09-13 11:41:32,333 - DEBUG - VN 8c73f75d-3f84-4d73-862a-b818abb81f21 still in use: Unable to complete operation on network 8c73f75d-3f84-4d73-862a-b818abb81f21. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8e33463f-a5a2-4ffa-9527-61b0193aacc8'] 2024-09-13 11:41:32,333 - WARNING - Deleting VN ctest-vn-05928938 failed..Will retry 2024-09-13 11:41:34,469 - DEBUG - Response for deleting network () 2024-09-13 11:41:34,727 - DEBUG - No XMPP flaps were noticed during the test
2024-09-13 11:41:34,728 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-09-13 11:41:34,728 - INFO - -------------------------------------------------------------------------------- 2024-09-13 11:41:35,448 - INFO - Deleted project: ctest-TestBasicVMVNx-72371837, ID : a42a5d11-fae5-4fbe-82dd-8b073499ecba