2024-09-18 02:08:32,159 - INFO - Domain Default found not creating 2024-09-18 02:08:32,324 - INFO - Project ctest-TestBasicVMVNx-43085426 not found, creating it 2024-09-18 02:08:32,813 - INFO - Created Project:ctest-TestBasicVMVNx-43085426, ID : 2f4d5f29-d089-4fe5-bb66-5bd92005a645 2024-09-18 02:08:34,341 - INFO - ================================================================================ 2024-09-18 02:08:34,341 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-18 02:08:34,342 - 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-18 02:08:34,596 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.11': '0'}} with 2024-09-18 02:08:34,596 - INFO - Initial checks done. Running the testcase now 2024-09-18 02:08:34,596 - INFO - 2024-09-18 02:08:35,139 - DEBUG - Response for create_network : {'network': {'id': '915e9557-2e20-462b-b478-3276aac46b99', 'name': 'ctest-vn-12553907', 'tenant_id': '2f4d5f29d0894fe5bb665bd92005a645', 'project_id': '2f4d5f29d0894fe5bb665bd92005a645', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-43085426', 'ctest-vn-12553907'], 'port_security_enabled': True, 'description': ''}} 2024-09-18 02:08:35,397 - DEBUG - Response for create_subnet : {'subnet': {'id': '00fd63f2-8f20-4457-b1b2-67f654b21326', 'name': '', 'tenant_id': '2f4d5f29d0894fe5bb665bd92005a645', 'network_id': '915e9557-2e20-462b-b478-3276aac46b99', 'ip_version': 4, 'cidr': '221.247.179.128/26', 'allocation_pools': [{'start': '221.247.179.130', 'end': '221.247.179.190'}], 'gateway_ip': '221.247.179.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.247.179.130', 'tags': [], 'project_id': '2f4d5f29d0894fe5bb665bd92005a645'}} 2024-09-18 02:08:35,421 - INFO - Created VN ctest-vn-12553907 2024-09-18 02:08:35,482 - DEBUG - VN ctest-vn-12553907 UUID is 915e9557-2e20-462b-b478-3276aac46b99 2024-09-18 02:08:35,654 - DEBUG - Services list from nova: [, , ] 2024-09-18 02:08:36,699 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1980-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1980-1) 2024-09-18 02:08:37,869 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1980-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1980-1) 2024-09-18 02:08:37,870 - INFO - Waiting for VM ctest-TestBasicVMVNx-43085426-06308026 to be up.. 2024-09-18 02:08:37,978 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-18 02:08:43,067 - DEBUG - VM is in ACTIVE state now 2024-09-18 02:08:43,068 - INFO - VM name : ctest-TestBasicVMVNx-43085426-06308026 2024-09-18 02:08:43,159 - DEBUG - VM ctest-TestBasicVMVNx-43085426-06308026 ID is 13b5b572-4842-450f-8f42-b928986a28ba 2024-09-18 02:08:43,179 - DEBUG - VM ctest-TestBasicVMVNx-43085426-06308026 launched on Node cn-jenkins-deploy-platform-ansible-os-1980-1 2024-09-18 02:08:43,258 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/13b5b572-4842-450f-8f42-b928986a28ba 2024-09-18 02:08:43,555 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/13b5b572-4842-450f-8f42-b928986a28ba 2024-09-18 02:08:43,594 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/6b2ef178-b762-4141-9c5e-9d807e7caa54 2024-09-18 02:08:46,865 - 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 1020ms') 2024-09-18 02:08:46,865 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-43085426-06308026 failed! 2024-09-18 02:08:46,926 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-43085426:ctest-vn-12553907 is 221.247.179.129 and allocation pool is NOT set 2024-09-18 02:08:48,988 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.380 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.380/1.679/2.979/1.299 ms') 2024-09-18 02:08:48,988 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-43085426-06308026 passed 2024-09-18 02:08:49,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 02:08:49,150 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-43085426-06308026, IP 221.247.179.131, Port 22 2024-09-18 02:08:49,305 - DEBUG - VM ctest-TestBasicVMVNx-43085426-06308026 is ready for SSH connections 2024-09-18 02:08:49,305 - INFO - Waiting for VM ctest-TestBasicVMVNx-43085426-77782495 to be up.. 2024-09-18 02:08:49,388 - DEBUG - VM is in ACTIVE state now 2024-09-18 02:08:49,389 - INFO - VM name : ctest-TestBasicVMVNx-43085426-77782495 2024-09-18 02:08:49,562 - DEBUG - VM ctest-TestBasicVMVNx-43085426-77782495 ID is c4a41397-14b7-4d46-b180-07b2cd22d088 2024-09-18 02:08:49,562 - DEBUG - VM ctest-TestBasicVMVNx-43085426-77782495 launched on Node cn-jenkins-deploy-platform-ansible-os-1980-1 2024-09-18 02:08:49,641 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/c4a41397-14b7-4d46-b180-07b2cd22d088 2024-09-18 02:08:49,650 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/031f9b95-32f3-4476-8ef4-9879e5b37001 2024-09-18 02:08:50,905 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.587 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.587/1.577/2.567/0.990 ms') 2024-09-18 02:08:50,905 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-43085426-77782495 passed 2024-09-18 02:08:51,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 02:08:51,078 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-43085426-77782495, IP 221.247.179.132, Port 22 2024-09-18 02:08:51,233 - DEBUG - VM ctest-TestBasicVMVNx-43085426-77782495 is ready for SSH connections 2024-09-18 02:08:51,234 - DEBUG - FILE SIZE = 1303B 2024-09-18 02:08:51,234 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-43085426-06308026 to ctest-TestBasicVMVNx-43085426-77782495 using scp 2024-09-18 02:08:51,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 02:08:51,239 - 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.35, gateway password: c0ntrail123 2024-09-18 02:08:51,240 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-18 02:08:53,143 - DEBUG - 1+0 records in 1+0 records out 2024-09-18 02:08:53,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 02:08:54,264 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2024-09-18 02:08:54,268 - DEBUG - ls -l testfile 2024-09-18 02:08:55,851 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 17 20:08 testfile 2024-09-18 02:08:55,851 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-43085426-77782495 2024-09-18 02:08:55,851 - INFO - Deleting VM ctest-TestBasicVMVNx-43085426-77782495 2024-09-18 02:08:55,924 - INFO - Deleting VM ctest-TestBasicVMVNx-43085426-06308026 2024-09-18 02:08:55,993 - INFO - Deleting VN ctest-vn-12553907 2024-09-18 02:08:56,038 - DEBUG - VN 915e9557-2e20-462b-b478-3276aac46b99 still in use: Unable to complete operation on network 915e9557-2e20-462b-b478-3276aac46b99. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9803d150-c0e5-4a50-91e4-f86e2bd7fa1e'] 2024-09-18 02:08:56,038 - WARNING - Deleting VN ctest-vn-12553907 failed..Will retry 2024-09-18 02:08:58,187 - DEBUG - Response for deleting network () 2024-09-18 02:08:58,450 - DEBUG - No XMPP flaps were noticed during the test
2024-09-18 02:08:58,450 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-09-18 02:08:58,451 - INFO - -------------------------------------------------------------------------------- 2024-09-18 02:08:59,200 - INFO - Deleted project: ctest-TestBasicVMVNx-43085426, ID : 2f4d5f29-d089-4fe5-bb66-5bd92005a645