2024-09-15 21:56:33,398 - INFO - Domain Default found not creating 2024-09-15 21:56:33,552 - INFO - Project ctest-TestBasicVMVNx-48496046 not found, creating it 2024-09-15 21:56:34,026 - INFO - Created Project:ctest-TestBasicVMVNx-48496046, ID : d1b75789-7c11-4056-9717-ff17984f7c5c 2024-09-15 21:56:35,551 - INFO - ================================================================================ 2024-09-15 21:56:35,551 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-15 21:56:35,551 - 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-15 21:56:35,808 - DEBUG - Nothing to compare xmpp stats {'10.0.0.44': {'10.20.0.10': '0'}} with 2024-09-15 21:56:35,808 - INFO - Initial checks done. Running the testcase now 2024-09-15 21:56:35,808 - INFO - 2024-09-15 21:56:36,403 - DEBUG - Response for create_network : {'network': {'id': '35e25c06-258c-4eb3-b97a-3f688f4db8a9', 'name': 'ctest-vn-64883052', 'tenant_id': 'd1b757897c1140569717ff17984f7c5c', 'project_id': 'd1b757897c1140569717ff17984f7c5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-48496046', 'ctest-vn-64883052'], 'port_security_enabled': True, 'description': ''}} 2024-09-15 21:56:36,613 - DEBUG - Response for create_subnet : {'subnet': {'id': '2000a5e3-2288-4118-b37e-f9cbaf8a6ef2', 'name': '', 'tenant_id': 'd1b757897c1140569717ff17984f7c5c', 'network_id': '35e25c06-258c-4eb3-b97a-3f688f4db8a9', 'ip_version': 4, 'cidr': '198.176.160.192/26', 'allocation_pools': [{'start': '198.176.160.194', 'end': '198.176.160.254'}], 'gateway_ip': '198.176.160.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.176.160.194', 'tags': [], 'project_id': 'd1b757897c1140569717ff17984f7c5c'}} 2024-09-15 21:56:36,633 - INFO - Created VN ctest-vn-64883052 2024-09-15 21:56:36,689 - DEBUG - VN ctest-vn-64883052 UUID is 35e25c06-258c-4eb3-b97a-3f688f4db8a9 2024-09-15 21:56:36,872 - DEBUG - Services list from nova: [, , ] 2024-09-15 21:56:37,885 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1942-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1942-1) 2024-09-15 21:56:39,045 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1942-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1942-1) 2024-09-15 21:56:39,046 - INFO - Waiting for VM ctest-TestBasicVMVNx-48496046-61932576 to be up.. 2024-09-15 21:56:39,137 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-15 21:56:44,219 - DEBUG - VM is in ACTIVE state now 2024-09-15 21:56:44,219 - INFO - VM name : ctest-TestBasicVMVNx-48496046-61932576 2024-09-15 21:56:44,292 - DEBUG - VM ctest-TestBasicVMVNx-48496046-61932576 ID is 4012ebcf-51af-459f-94eb-b4e2c43a6fc4 2024-09-15 21:56:44,312 - DEBUG - VM ctest-TestBasicVMVNx-48496046-61932576 launched on Node cn-jenkins-deploy-platform-ansible-os-1942-1 2024-09-15 21:56:44,386 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/4012ebcf-51af-459f-94eb-b4e2c43a6fc4 2024-09-15 21:56:44,685 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/4012ebcf-51af-459f-94eb-b4e2c43a6fc4 2024-09-15 21:56:44,722 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/77f6d1f4-aff3-42a0-9a55-6465577b4024 2024-09-15 21:56:47,993 - 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 1015ms') 2024-09-15 21:56:47,993 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-48496046-61932576 failed! 2024-09-15 21:56:48,052 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-48496046:ctest-vn-64883052 is 198.176.160.193 and allocation pool is NOT set 2024-09-15 21:56:50,108 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.448 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.448/1.588/2.728/1.140 ms') 2024-09-15 21:56:50,108 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-48496046-61932576 passed 2024-09-15 21:56:50,265 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-15 21:56:50,265 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-48496046-61932576, IP 198.176.160.195, Port 22 2024-09-15 21:56:50,428 - DEBUG - VM ctest-TestBasicVMVNx-48496046-61932576 is ready for SSH connections 2024-09-15 21:56:50,428 - INFO - Waiting for VM ctest-TestBasicVMVNx-48496046-09558713 to be up.. 2024-09-15 21:56:50,511 - DEBUG - VM is in ACTIVE state now 2024-09-15 21:56:50,511 - INFO - VM name : ctest-TestBasicVMVNx-48496046-09558713 2024-09-15 21:56:50,587 - DEBUG - VM ctest-TestBasicVMVNx-48496046-09558713 ID is 5b1e770d-7208-40e8-9374-920a3f34bfd7 2024-09-15 21:56:50,587 - DEBUG - VM ctest-TestBasicVMVNx-48496046-09558713 launched on Node cn-jenkins-deploy-platform-ansible-os-1942-1 2024-09-15 21:56:50,674 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/5b1e770d-7208-40e8-9374-920a3f34bfd7 2024-09-15 21:56:50,684 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/6ffd118c-5c3e-46cb-b4fa-5f7846fb814a 2024-09-15 21:56:51,935 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 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.423/1.787/3.152/1.364 ms') 2024-09-15 21:56:51,935 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-48496046-09558713 passed 2024-09-15 21:56:52,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-15 21:56:52,092 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-48496046-09558713, IP 198.176.160.196, Port 22 2024-09-15 21:56:52,247 - DEBUG - VM ctest-TestBasicVMVNx-48496046-09558713 is ready for SSH connections 2024-09-15 21:56:52,248 - DEBUG - FILE SIZE = 1303B 2024-09-15 21:56:52,248 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-48496046-61932576 to ctest-TestBasicVMVNx-48496046-09558713 using scp 2024-09-15 21:56:52,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-15 21:56:52,253 - 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-09-15 21:56:52,253 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-15 21:56:54,126 - DEBUG - 1+0 records in 1+0 records out 2024-09-15 21:56:54,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-15 21:56:55,192 - 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-09-15 21:56:55,193 - DEBUG - ls -l testfile 2024-09-15 21:56:56,748 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 15 15:56 testfile 2024-09-15 21:56:56,748 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-48496046-09558713 2024-09-15 21:56:56,749 - INFO - Deleting VM ctest-TestBasicVMVNx-48496046-09558713 2024-09-15 21:56:56,813 - INFO - Deleting VM ctest-TestBasicVMVNx-48496046-61932576 2024-09-15 21:56:56,876 - INFO - Deleting VN ctest-vn-64883052 2024-09-15 21:56:56,916 - DEBUG - VN 35e25c06-258c-4eb3-b97a-3f688f4db8a9 still in use: Unable to complete operation on network 35e25c06-258c-4eb3-b97a-3f688f4db8a9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f556571b-4bdf-4932-847e-ed7def07358b'] 2024-09-15 21:56:56,916 - WARNING - Deleting VN ctest-vn-64883052 failed..Will retry 2024-09-15 21:56:59,025 - DEBUG - Response for deleting network () 2024-09-15 21:56:59,282 - DEBUG - No XMPP flaps were noticed during the test
2024-09-15 21:56:59,282 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-09-15 21:56:59,282 - INFO - -------------------------------------------------------------------------------- 2024-09-15 21:56:59,993 - INFO - Deleted project: ctest-TestBasicVMVNx-48496046, ID : d1b75789-7c11-4056-9717-ff17984f7c5c