2024-09-12 19:15:34,404 - INFO - Domain Default found not creating 2024-09-12 19:15:34,708 - INFO - Project ctest-TestBasicVMVNx-27661526 not found, creating it 2024-09-12 19:15:35,524 - INFO - Created Project:ctest-TestBasicVMVNx-27661526, ID : 1a589986-0bef-4af1-8478-d401541c7373 2024-09-12 19:15:38,112 - INFO - ================================================================================ 2024-09-12 19:15:38,112 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-12 19:15:38,112 - 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-12 19:15:38,464 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.12': '0'}} with 2024-09-12 19:15:38,465 - INFO - Initial checks done. Running the testcase now 2024-09-12 19:15:38,465 - INFO - 2024-09-12 19:15:39,485 - DEBUG - Response for create_network : {'network': {'id': '24ce382f-0da4-4fb1-90bf-27841fe5fdda', 'name': 'ctest-vn-82146643', 'tenant_id': '1a5899860bef4af18478d401541c7373', 'project_id': '1a5899860bef4af18478d401541c7373', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-27661526', 'ctest-vn-82146643'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 19:15:39,665 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6e1e1b6-3342-4b23-b0bf-9bc415591c85', 'name': '', 'tenant_id': '1a5899860bef4af18478d401541c7373', 'network_id': '24ce382f-0da4-4fb1-90bf-27841fe5fdda', 'ip_version': 4, 'cidr': '114.158.162.64/26', 'allocation_pools': [{'start': '114.158.162.66', 'end': '114.158.162.126'}], 'gateway_ip': '114.158.162.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.158.162.66', 'tags': [], 'project_id': '1a5899860bef4af18478d401541c7373'}} 2024-09-12 19:15:39,692 - INFO - Created VN ctest-vn-82146643 2024-09-12 19:15:39,755 - DEBUG - VN ctest-vn-82146643 UUID is 24ce382f-0da4-4fb1-90bf-27841fe5fdda 2024-09-12 19:15:40,122 - DEBUG - Services list from nova: [, , ] 2024-09-12 19:15:42,155 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1912-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1912-1) 2024-09-12 19:15:43,844 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1912-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1912-1) 2024-09-12 19:15:43,844 - INFO - Waiting for VM ctest-TestBasicVMVNx-27661526-54926782 to be up.. 2024-09-12 19:15:43,940 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-12 19:15:49,164 - DEBUG - VM is in ACTIVE state now 2024-09-12 19:15:49,164 - INFO - VM name : ctest-TestBasicVMVNx-27661526-54926782 2024-09-12 19:15:49,356 - DEBUG - VM ctest-TestBasicVMVNx-27661526-54926782 ID is 4b97d527-0d51-43b2-b13e-a6b6f225f784 2024-09-12 19:15:49,396 - DEBUG - VM ctest-TestBasicVMVNx-27661526-54926782 launched on Node cn-jenkins-deploy-platform-ansible-os-1912-1 2024-09-12 19:15:49,521 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/4b97d527-0d51-43b2-b13e-a6b6f225f784 2024-09-12 19:15:49,843 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/4b97d527-0d51-43b2-b13e-a6b6f225f784 2024-09-12 19:15:49,919 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/55a6e280-8f0a-4a2a-86cb-13bac849184c 2024-09-12 19:15:53,278 - 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 1018ms') 2024-09-12 19:15:53,278 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-27661526-54926782 failed! 2024-09-12 19:15:53,363 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-27661526:ctest-vn-82146643 is 114.158.162.65 and allocation pool is NOT set 2024-09-12 19:15:57,471 - 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=2 ttl=63 time=3.60 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1036ms\r\nrtt min/avg/max/mdev = 3.595/3.595/3.595/0.000 ms') 2024-09-12 19:15:57,471 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-27661526-54926782 passed 2024-09-12 19:15:57,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 19:15:57,654 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-27661526-54926782, IP 114.158.162.67, Port 22 2024-09-12 19:15:57,826 - DEBUG - VM ctest-TestBasicVMVNx-27661526-54926782 is ready for SSH connections 2024-09-12 19:15:57,827 - INFO - Waiting for VM ctest-TestBasicVMVNx-27661526-60282583 to be up.. 2024-09-12 19:15:57,982 - DEBUG - VM is in ACTIVE state now 2024-09-12 19:15:57,982 - INFO - VM name : ctest-TestBasicVMVNx-27661526-60282583 2024-09-12 19:15:58,115 - DEBUG - VM ctest-TestBasicVMVNx-27661526-60282583 ID is 174e0a22-22ef-4e27-beb3-d0fce09c1513 2024-09-12 19:15:58,115 - DEBUG - VM ctest-TestBasicVMVNx-27661526-60282583 launched on Node cn-jenkins-deploy-platform-ansible-os-1912-1 2024-09-12 19:15:58,287 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/174e0a22-22ef-4e27-beb3-d0fce09c1513 2024-09-12 19:15:58,313 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/f3081aab-aea6-465b-915f-aadca0fd8b6d 2024-09-12 19:15:59,713 - 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=5.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.651 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.651/3.238/5.825/2.587 ms') 2024-09-12 19:15:59,713 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-27661526-60282583 passed 2024-09-12 19:15:59,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 19:15:59,931 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-27661526-60282583, IP 114.158.162.68, Port 22 2024-09-12 19:16:00,123 - DEBUG - VM ctest-TestBasicVMVNx-27661526-60282583 is ready for SSH connections 2024-09-12 19:16:00,123 - DEBUG - FILE SIZE = 1303B 2024-09-12 19:16:00,124 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-27661526-54926782 to ctest-TestBasicVMVNx-27661526-60282583 using scp 2024-09-12 19:16:00,124 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 19:16:00,131 - 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.28, gateway password: c0ntrail123 2024-09-12 19:16:00,131 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-12 19:16:02,453 - DEBUG - 1+0 records in 1+0 records out 2024-09-12 19:16:03,192 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 19:16:03,676 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-09-12 19:16:03,677 - DEBUG - ls -l testfile 2024-09-12 19:16:05,738 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 12 13:16 testfile 2024-09-12 19:16:05,738 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-27661526-60282583 2024-09-12 19:16:05,739 - INFO - Deleting VM ctest-TestBasicVMVNx-27661526-60282583 2024-09-12 19:16:05,897 - INFO - Deleting VM ctest-TestBasicVMVNx-27661526-54926782 2024-09-12 19:16:06,166 - INFO - Deleting VN ctest-vn-82146643 2024-09-12 19:16:06,224 - DEBUG - VN 24ce382f-0da4-4fb1-90bf-27841fe5fdda still in use: Unable to complete operation on network 24ce382f-0da4-4fb1-90bf-27841fe5fdda. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-433dd153-cc66-484e-a97d-807d5a85c841'] 2024-09-12 19:16:06,224 - WARNING - Deleting VN ctest-vn-82146643 failed..Will retry 2024-09-12 19:16:08,501 - DEBUG - Response for deleting network () 2024-09-12 19:16:08,781 - DEBUG - No XMPP flaps were noticed during the test
2024-09-12 19:16:08,781 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2024-09-12 19:16:08,781 - INFO - -------------------------------------------------------------------------------- 2024-09-12 19:16:09,691 - INFO - Deleted project: ctest-TestBasicVMVNx-27661526, ID : 1a589986-0bef-4af1-8478-d401541c7373