2024-10-26 12:35:43,903 - INFO - Domain Default found not creating 2024-10-26 12:35:44,288 - INFO - Project ctest-TestBasicVMVNx-63425458 not found, creating it 2024-10-26 12:35:44,987 - INFO - Created Project:ctest-TestBasicVMVNx-63425458, ID : a4529aec-d336-4ef3-9540-c4162e4d3773 2024-10-26 12:35:46,954 - INFO - ================================================================================ 2024-10-26 12:35:46,954 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-26 12:35:46,954 - 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-10-26 12:35:47,232 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.5': '0'}} with 2024-10-26 12:35:47,232 - INFO - Initial checks done. Running the testcase now 2024-10-26 12:35:47,232 - INFO - 2024-10-26 12:35:47,951 - DEBUG - Response for create_network : {'network': {'id': 'd6842ce0-a544-48ac-8249-c0875f29d0c2', 'name': 'ctest-vn-27729726', 'tenant_id': 'a4529aecd3364ef39540c4162e4d3773', 'project_id': 'a4529aecd3364ef39540c4162e4d3773', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-63425458', 'ctest-vn-27729726'], 'port_security_enabled': True, 'description': ''}} 2024-10-26 12:35:48,188 - DEBUG - Response for create_subnet : {'subnet': {'id': '71e55df9-9460-4339-a0f6-7c7869d25c3b', 'name': '', 'tenant_id': 'a4529aecd3364ef39540c4162e4d3773', 'network_id': 'd6842ce0-a544-48ac-8249-c0875f29d0c2', 'ip_version': 4, 'cidr': '77.125.11.192/26', 'allocation_pools': [{'start': '77.125.11.194', 'end': '77.125.11.254'}], 'gateway_ip': '77.125.11.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.125.11.194', 'tags': [], 'project_id': 'a4529aecd3364ef39540c4162e4d3773'}} 2024-10-26 12:35:48,213 - INFO - Created VN ctest-vn-27729726 2024-10-26 12:35:48,275 - DEBUG - VN ctest-vn-27729726 UUID is d6842ce0-a544-48ac-8249-c0875f29d0c2 2024-10-26 12:35:48,484 - DEBUG - Services list from nova: [, , ] 2024-10-26 12:35:49,879 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2150-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2150-1) 2024-10-26 12:35:51,427 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2150-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2150-1) 2024-10-26 12:35:51,428 - INFO - Waiting for VM ctest-TestBasicVMVNx-63425458-38807320 to be up.. 2024-10-26 12:35:51,549 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-26 12:35:56,653 - DEBUG - VM is in ACTIVE state now 2024-10-26 12:35:56,653 - INFO - VM name : ctest-TestBasicVMVNx-63425458-38807320 2024-10-26 12:35:56,762 - DEBUG - VM ctest-TestBasicVMVNx-63425458-38807320 ID is ba95b648-e490-4b63-bf4b-f0121207c256 2024-10-26 12:35:56,793 - DEBUG - VM ctest-TestBasicVMVNx-63425458-38807320 launched on Node cn-jenkins-deploy-platform-ansible-os-2150-1 2024-10-26 12:35:56,904 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ba95b648-e490-4b63-bf4b-f0121207c256 2024-10-26 12:35:57,292 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ba95b648-e490-4b63-bf4b-f0121207c256 2024-10-26 12:35:57,347 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a8ccdde4-ecca-453e-8703-ac1df12c26db 2024-10-26 12:36:00,626 - 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-10-26 12:36:00,626 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-63425458-38807320 failed! 2024-10-26 12:36:00,695 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-63425458:ctest-vn-27729726 is 77.125.11.193 and allocation pool is NOT set 2024-10-26 12:36:04,794 - 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 1029ms') 2024-10-26 12:36:04,794 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-63425458-38807320 failed! 2024-10-26 12:36:04,860 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-63425458:ctest-vn-27729726 is 77.125.11.193 and allocation pool is NOT set 2024-10-26 12:36:06,923 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.722 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.722/2.357/3.992/1.635 ms') 2024-10-26 12:36:06,923 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-63425458-38807320 passed 2024-10-26 12:36:07,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 12:36:07,091 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-63425458-38807320, IP 77.125.11.195, Port 22 2024-10-26 12:36:07,257 - DEBUG - VM ctest-TestBasicVMVNx-63425458-38807320 is ready for SSH connections 2024-10-26 12:36:07,258 - INFO - Waiting for VM ctest-TestBasicVMVNx-63425458-59080701 to be up.. 2024-10-26 12:36:07,387 - DEBUG - VM is in ACTIVE state now 2024-10-26 12:36:07,388 - INFO - VM name : ctest-TestBasicVMVNx-63425458-59080701 2024-10-26 12:36:07,520 - DEBUG - VM ctest-TestBasicVMVNx-63425458-59080701 ID is de89c460-4ded-4fc6-9b54-bee14a191fef 2024-10-26 12:36:07,520 - DEBUG - VM ctest-TestBasicVMVNx-63425458-59080701 launched on Node cn-jenkins-deploy-platform-ansible-os-2150-1 2024-10-26 12:36:07,654 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/de89c460-4ded-4fc6-9b54-bee14a191fef 2024-10-26 12:36:07,670 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ae447469-243f-4810-8e67-d9cd18399f72 2024-10-26 12:36:08,949 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.707 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.707/2.138/3.570/1.431 ms') 2024-10-26 12:36:08,950 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-63425458-59080701 passed 2024-10-26 12:36:09,115 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 12:36:09,116 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-63425458-59080701, IP 77.125.11.196, Port 22 2024-10-26 12:36:09,279 - DEBUG - VM ctest-TestBasicVMVNx-63425458-59080701 is ready for SSH connections 2024-10-26 12:36:09,279 - DEBUG - FILE SIZE = 1303B 2024-10-26 12:36:09,280 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-63425458-38807320 to ctest-TestBasicVMVNx-63425458-59080701 using scp 2024-10-26 12:36:09,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 12:36:09,288 - 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.33, gateway password: c0ntrail123 2024-10-26 12:36:09,288 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-26 12:36:11,386 - DEBUG - 1+0 records in 1+0 records out 2024-10-26 12:36:12,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 12:36:12,716 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2024-10-26 12:36:12,717 - DEBUG - ls -l testfile 2024-10-26 12:36:14,458 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 26 06:36 testfile 2024-10-26 12:36:14,458 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-63425458-59080701 2024-10-26 12:36:14,458 - INFO - Deleting VM ctest-TestBasicVMVNx-63425458-59080701 2024-10-26 12:36:14,698 - INFO - Deleting VM ctest-TestBasicVMVNx-63425458-38807320 2024-10-26 12:36:14,804 - INFO - Deleting VN ctest-vn-27729726 2024-10-26 12:36:14,870 - DEBUG - VN d6842ce0-a544-48ac-8249-c0875f29d0c2 still in use: Unable to complete operation on network d6842ce0-a544-48ac-8249-c0875f29d0c2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ae27a131-a818-454f-b30a-891677408941'] 2024-10-26 12:36:14,870 - WARNING - Deleting VN ctest-vn-27729726 failed..Will retry 2024-10-26 12:36:17,057 - DEBUG - Response for deleting network () 2024-10-26 12:36:17,322 - DEBUG - No XMPP flaps were noticed during the test
2024-10-26 12:36:17,322 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:31]
2024-10-26 12:36:17,323 - INFO - -------------------------------------------------------------------------------- 2024-10-26 12:36:18,159 - INFO - Deleted project: ctest-TestBasicVMVNx-63425458, ID : a4529aec-d336-4ef3-9540-c4162e4d3773