2024-11-11 01:54:05,555 - INFO - Domain Default found not creating 2024-11-11 01:54:05,744 - INFO - Project ctest-TestBasicVMVNx-30772166 not found, creating it 2024-11-11 01:54:06,306 - INFO - Created Project:ctest-TestBasicVMVNx-30772166, ID : bc82829f-0a9e-4930-aab3-d224c2371bbf 2024-11-11 01:54:07,815 - INFO - ================================================================================ 2024-11-11 01:54:07,815 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-11 01:54:07,815 - 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-11 01:54:08,069 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.29': '0'}} with 2024-11-11 01:54:08,070 - INFO - Initial checks done. Running the testcase now 2024-11-11 01:54:08,070 - INFO - 2024-11-11 01:54:08,643 - DEBUG - Response for create_network : {'network': {'id': '62c3a8d7-ead5-4fcd-81ba-08d01a83f203', 'name': 'ctest-vn-59183592', 'tenant_id': 'bc82829f0a9e4930aab3d224c2371bbf', 'project_id': 'bc82829f0a9e4930aab3d224c2371bbf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-30772166', 'ctest-vn-59183592'], 'port_security_enabled': True, 'description': ''}} 2024-11-11 01:54:08,811 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aac61437-c49b-4adb-b677-1ccf1a314ecc', 'name': '', 'tenant_id': 'bc82829f0a9e4930aab3d224c2371bbf', 'network_id': '62c3a8d7-ead5-4fcd-81ba-08d01a83f203', 'ip_version': 4, 'cidr': '182.216.123.192/26', 'allocation_pools': [{'start': '182.216.123.194', 'end': '182.216.123.254'}], 'gateway_ip': '182.216.123.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.216.123.194', 'tags': [], 'project_id': 'bc82829f0a9e4930aab3d224c2371bbf'}} 2024-11-11 01:54:08,831 - INFO - Created VN ctest-vn-59183592 2024-11-11 01:54:08,888 - DEBUG - VN ctest-vn-59183592 UUID is 62c3a8d7-ead5-4fcd-81ba-08d01a83f203 2024-11-11 01:54:09,065 - DEBUG - Services list from nova: [, , ] 2024-11-11 01:54:10,107 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2271-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2271-1) 2024-11-11 01:54:11,298 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2271-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2271-1) 2024-11-11 01:54:11,299 - INFO - Waiting for VM ctest-TestBasicVMVNx-30772166-76751873 to be up.. 2024-11-11 01:54:11,402 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-11 01:54:16,534 - DEBUG - VM is in ACTIVE state now 2024-11-11 01:54:16,534 - INFO - VM name : ctest-TestBasicVMVNx-30772166-76751873 2024-11-11 01:54:16,610 - DEBUG - VM ctest-TestBasicVMVNx-30772166-76751873 ID is d92f1b52-b174-4672-aa35-fe0ab1354eb8 2024-11-11 01:54:16,632 - DEBUG - VM ctest-TestBasicVMVNx-30772166-76751873 launched on Node cn-jenkins-deploy-platform-ansible-os-2271-1 2024-11-11 01:54:16,703 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/d92f1b52-b174-4672-aa35-fe0ab1354eb8 2024-11-11 01:54:17,025 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/d92f1b52-b174-4672-aa35-fe0ab1354eb8 2024-11-11 01:54:17,060 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/70138849-3a45-41c9-a3ce-0ca834987f87 2024-11-11 01:54:20,333 - 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-11-11 01:54:20,333 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-30772166-76751873 failed! 2024-11-11 01:54:20,392 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-30772166:ctest-vn-59183592 is 182.216.123.193 and allocation pool is NOT set 2024-11-11 01:54:22,455 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.804 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.804/2.047/3.291/1.243 ms') 2024-11-11 01:54:22,455 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-30772166-76751873 passed 2024-11-11 01:54:22,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-11 01:54:22,608 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-30772166-76751873, IP 182.216.123.195, Port 22 2024-11-11 01:54:22,759 - DEBUG - VM ctest-TestBasicVMVNx-30772166-76751873 is ready for SSH connections 2024-11-11 01:54:22,759 - INFO - Waiting for VM ctest-TestBasicVMVNx-30772166-81047159 to be up.. 2024-11-11 01:54:22,840 - DEBUG - VM is in ACTIVE state now 2024-11-11 01:54:22,840 - INFO - VM name : ctest-TestBasicVMVNx-30772166-81047159 2024-11-11 01:54:22,921 - DEBUG - VM ctest-TestBasicVMVNx-30772166-81047159 ID is e837335c-821c-4f9f-aa7e-9fdc65ae65d0 2024-11-11 01:54:22,921 - DEBUG - VM ctest-TestBasicVMVNx-30772166-81047159 launched on Node cn-jenkins-deploy-platform-ansible-os-2271-1 2024-11-11 01:54:22,993 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/e837335c-821c-4f9f-aa7e-9fdc65ae65d0 2024-11-11 01:54:23,003 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/4784c24d-e970-42cd-92a9-ec371cf46147 2024-11-11 01:54:24,249 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.432 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.432/1.707/2.982/1.275 ms') 2024-11-11 01:54:24,249 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-30772166-81047159 passed 2024-11-11 01:54:24,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-11 01:54:24,409 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-30772166-81047159, IP 182.216.123.196, Port 22 2024-11-11 01:54:24,567 - DEBUG - VM ctest-TestBasicVMVNx-30772166-81047159 is ready for SSH connections 2024-11-11 01:54:24,567 - DEBUG - FILE SIZE = 1303B 2024-11-11 01:54:24,567 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-30772166-76751873 to ctest-TestBasicVMVNx-30772166-81047159 using scp 2024-11-11 01:54:24,568 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-11 01:54:24,573 - 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.29, gateway password: c0ntrail123 2024-11-11 01:54:24,573 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-11 01:54:26,468 - DEBUG - 1+0 records in 1+0 records out 2024-11-11 01:54:27,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-11 01:54:27,402 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-11-11 01:54:27,403 - DEBUG - ls -l testfile 2024-11-11 01:54:28,971 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 10 18:54 testfile 2024-11-11 01:54:28,971 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-30772166-81047159 2024-11-11 01:54:28,971 - INFO - Deleting VM ctest-TestBasicVMVNx-30772166-81047159 2024-11-11 01:54:29,047 - INFO - Deleting VM ctest-TestBasicVMVNx-30772166-76751873 2024-11-11 01:54:29,113 - INFO - Deleting VN ctest-vn-59183592 2024-11-11 01:54:29,149 - DEBUG - VN 62c3a8d7-ead5-4fcd-81ba-08d01a83f203 still in use: Unable to complete operation on network 62c3a8d7-ead5-4fcd-81ba-08d01a83f203. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4de515cf-28c1-42b7-ad00-510e28744da0'] 2024-11-11 01:54:29,149 - WARNING - Deleting VN ctest-vn-59183592 failed..Will retry 2024-11-11 01:54:31,343 - DEBUG - Response for deleting network () 2024-11-11 01:54:31,606 - DEBUG - No XMPP flaps were noticed during the test 2024-11-11 01:54:31,606 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-11-11 01:54:31,606 - INFO - -------------------------------------------------------------------------------- 2024-11-11 01:54:32,304 - INFO - Deleted project: ctest-TestBasicVMVNx-30772166, ID : bc82829f-0a9e-4930-aab3-d224c2371bbf