2024-08-29 20:54:05,451 - INFO - Domain Default found not creating 2024-08-29 20:54:05,594 - INFO - Project ctest-TestBasicVMVNx-30692617 not found, creating it 2024-08-29 20:54:06,045 - INFO - Created Project:ctest-TestBasicVMVNx-30692617, ID : a3dcb880-b61a-4348-bbd5-63ec8afa140b 2024-08-29 20:54:09,480 - INFO - ================================================================================ 2024-08-29 20:54:09,481 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-29 20:54:09,481 - 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-08-29 20:54:09,734 - DEBUG - Nothing to compare xmpp stats {'10.0.0.44': {'10.20.0.19': '0'}} with 2024-08-29 20:54:09,734 - INFO - Initial checks done. Running the testcase now 2024-08-29 20:54:09,734 - INFO - 2024-08-29 20:54:10,266 - DEBUG - Response for create_network : {'network': {'id': '3a34b0a7-2682-423b-b94d-b48b56948e32', 'name': 'ctest-vn-33136763', 'tenant_id': 'a3dcb880b61a4348bbd563ec8afa140b', 'project_id': 'a3dcb880b61a4348bbd563ec8afa140b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-30692617', 'ctest-vn-33136763'], 'port_security_enabled': True, 'description': ''}} 2024-08-29 20:54:10,452 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f719103d-ada7-4f64-a6dc-2b3559db0d59', 'name': '', 'tenant_id': 'a3dcb880b61a4348bbd563ec8afa140b', 'network_id': '3a34b0a7-2682-423b-b94d-b48b56948e32', 'ip_version': 4, 'cidr': '70.70.99.0/26', 'allocation_pools': [{'start': '70.70.99.2', 'end': '70.70.99.62'}], 'gateway_ip': '70.70.99.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.70.99.2', 'tags': [], 'project_id': 'a3dcb880b61a4348bbd563ec8afa140b'}} 2024-08-29 20:54:10,470 - INFO - Created VN ctest-vn-33136763 2024-08-29 20:54:10,521 - DEBUG - VN ctest-vn-33136763 UUID is 3a34b0a7-2682-423b-b94d-b48b56948e32 2024-08-29 20:54:10,715 - DEBUG - Services list from nova: [, , ] 2024-08-29 20:54:12,882 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1817-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1817-1) 2024-08-29 20:54:17,166 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1817-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1817-1) 2024-08-29 20:54:17,167 - INFO - Waiting for VM ctest-TestBasicVMVNx-30692617-39359631 to be up.. 2024-08-29 20:54:17,243 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-29 20:54:22,319 - DEBUG - VM is in ACTIVE state now 2024-08-29 20:54:22,319 - INFO - VM name : ctest-TestBasicVMVNx-30692617-39359631 2024-08-29 20:54:22,400 - DEBUG - VM ctest-TestBasicVMVNx-30692617-39359631 ID is 438dbd12-67e9-4fb4-bafe-a34be541a1be 2024-08-29 20:54:22,423 - DEBUG - VM ctest-TestBasicVMVNx-30692617-39359631 launched on Node cn-jenkins-deploy-platform-ansible-os-1817-1 2024-08-29 20:54:22,507 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/438dbd12-67e9-4fb4-bafe-a34be541a1be 2024-08-29 20:54:22,807 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/438dbd12-67e9-4fb4-bafe-a34be541a1be 2024-08-29 20:54:22,844 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/c62b0124-5c4e-4442-8f02-b4c051674393 2024-08-29 20:54:26,092 - 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 1011ms') 2024-08-29 20:54:26,092 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-30692617-39359631 failed! 2024-08-29 20:54:26,149 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-30692617:ctest-vn-33136763 is 70.70.99.1 and allocation pool is NOT set 2024-08-29 20:54:28,208 - 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=4.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.747 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.747/2.525/4.304/1.778 ms') 2024-08-29 20:54:28,208 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-30692617-39359631 passed 2024-08-29 20:54:28,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 20:54:28,365 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-30692617-39359631, IP 70.70.99.3, Port 22 2024-08-29 20:54:28,520 - DEBUG - VM ctest-TestBasicVMVNx-30692617-39359631 is ready for SSH connections 2024-08-29 20:54:28,520 - INFO - Waiting for VM ctest-TestBasicVMVNx-30692617-02456064 to be up.. 2024-08-29 20:54:28,594 - DEBUG - VM is in ACTIVE state now 2024-08-29 20:54:28,595 - INFO - VM name : ctest-TestBasicVMVNx-30692617-02456064 2024-08-29 20:54:28,743 - DEBUG - VM ctest-TestBasicVMVNx-30692617-02456064 ID is 2fe6028f-78b8-479f-82d0-2da22b863479 2024-08-29 20:54:28,743 - DEBUG - VM ctest-TestBasicVMVNx-30692617-02456064 launched on Node cn-jenkins-deploy-platform-ansible-os-1817-1 2024-08-29 20:54:28,808 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/2fe6028f-78b8-479f-82d0-2da22b863479 2024-08-29 20:54:28,816 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/891e140d-9fbe-432c-b952-cceae8f89a11 2024-08-29 20:54:30,055 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.426 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.426/2.842/5.259/2.416 ms') 2024-08-29 20:54:30,055 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-30692617-02456064 passed 2024-08-29 20:54:30,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 20:54:30,205 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-30692617-02456064, IP 70.70.99.4, Port 22 2024-08-29 20:54:30,356 - DEBUG - VM ctest-TestBasicVMVNx-30692617-02456064 is ready for SSH connections 2024-08-29 20:54:30,356 - DEBUG - FILE SIZE = 1303B 2024-08-29 20:54:30,357 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-30692617-39359631 to ctest-TestBasicVMVNx-30692617-02456064 using scp 2024-08-29 20:54:30,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 20:54:30,362 - 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-08-29 20:54:30,362 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-29 20:54:34,158 - DEBUG - 1+0 records in 1+0 records out 2024-08-29 20:54:34,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 20:54:35,042 - 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-08-29 20:54:35,043 - DEBUG - ls -l testfile 2024-08-29 20:54:36,614 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 29 14:54 testfile 2024-08-29 20:54:36,614 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-30692617-02456064 2024-08-29 20:54:36,615 - INFO - Deleting VM ctest-TestBasicVMVNx-30692617-02456064 2024-08-29 20:54:36,677 - INFO - Deleting VM ctest-TestBasicVMVNx-30692617-39359631 2024-08-29 20:54:36,739 - INFO - Deleting VN ctest-vn-33136763 2024-08-29 20:54:36,778 - DEBUG - VN 3a34b0a7-2682-423b-b94d-b48b56948e32 still in use: Unable to complete operation on network 3a34b0a7-2682-423b-b94d-b48b56948e32. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-90b9c07d-2333-4a59-b86a-f0d531a3b7d1'] 2024-08-29 20:54:36,778 - WARNING - Deleting VN ctest-vn-33136763 failed..Will retry 2024-08-29 20:54:41,902 - DEBUG - Response for deleting network () 2024-08-29 20:54:42,160 - DEBUG - No XMPP flaps were noticed during the test
2024-08-29 20:54:42,160 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:33]
2024-08-29 20:54:42,160 - INFO - -------------------------------------------------------------------------------- 2024-08-29 20:54:42,818 - INFO - Deleted project: ctest-TestBasicVMVNx-30692617, ID : a3dcb880-b61a-4348-bbd5-63ec8afa140b