2024-08-21 11:56:06,238 - INFO - Domain Default found not creating 2024-08-21 11:56:06,450 - INFO - Project ctest-TestBasicVMVNx-24201540 not found, creating it 2024-08-21 11:56:06,965 - INFO - Created Project:ctest-TestBasicVMVNx-24201540, ID : 27cd8e3f-506c-4933-bc2d-06a91ab9bce7 2024-08-21 11:56:08,531 - INFO - ================================================================================ 2024-08-21 11:56:08,531 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-21 11:56:08,531 - 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-21 11:56:08,795 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.22': '0'}} with 2024-08-21 11:56:08,795 - INFO - Initial checks done. Running the testcase now 2024-08-21 11:56:08,795 - INFO - 2024-08-21 11:56:09,394 - DEBUG - Response for create_network : {'network': {'id': '5a9b9f22-0996-4507-9510-8b8ee9e5aa2a', 'name': 'ctest-vn-76810068', 'tenant_id': '27cd8e3f506c4933bc2d06a91ab9bce7', 'project_id': '27cd8e3f506c4933bc2d06a91ab9bce7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-24201540', 'ctest-vn-76810068'], 'port_security_enabled': True, 'description': ''}} 2024-08-21 11:56:09,603 - DEBUG - Response for create_subnet : {'subnet': {'id': '794086cd-8e65-4e8a-b42e-5d716975e902', 'name': '', 'tenant_id': '27cd8e3f506c4933bc2d06a91ab9bce7', 'network_id': '5a9b9f22-0996-4507-9510-8b8ee9e5aa2a', 'ip_version': 4, 'cidr': '30.180.8.0/26', 'allocation_pools': [{'start': '30.180.8.2', 'end': '30.180.8.62'}], 'gateway_ip': '30.180.8.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.180.8.2', 'tags': [], 'project_id': '27cd8e3f506c4933bc2d06a91ab9bce7'}} 2024-08-21 11:56:09,624 - INFO - Created VN ctest-vn-76810068 2024-08-21 11:56:09,677 - DEBUG - VN ctest-vn-76810068 UUID is 5a9b9f22-0996-4507-9510-8b8ee9e5aa2a 2024-08-21 11:56:09,851 - DEBUG - Services list from nova: [, , ] 2024-08-21 11:56:10,921 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1683-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1683-1) 2024-08-21 11:56:12,714 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1683-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1683-1) 2024-08-21 11:56:12,715 - INFO - Waiting for VM ctest-TestBasicVMVNx-24201540-18220706 to be up.. 2024-08-21 11:56:12,815 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-21 11:56:17,906 - DEBUG - VM is in ACTIVE state now 2024-08-21 11:56:17,907 - INFO - VM name : ctest-TestBasicVMVNx-24201540-18220706 2024-08-21 11:56:17,995 - DEBUG - VM ctest-TestBasicVMVNx-24201540-18220706 ID is e72a36bc-9c1d-4289-94f1-13deaaa451f9 2024-08-21 11:56:18,016 - DEBUG - VM ctest-TestBasicVMVNx-24201540-18220706 launched on Node cn-jenkins-deploy-platform-ansible-os-1683-1 2024-08-21 11:56:18,109 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/e72a36bc-9c1d-4289-94f1-13deaaa451f9 2024-08-21 11:56:18,406 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/e72a36bc-9c1d-4289-94f1-13deaaa451f9 2024-08-21 11:56:18,441 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/81ce6053-9357-4405-bea8-d92005b2d62a 2024-08-21 11:56:21,700 - 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 1019ms') 2024-08-21 11:56:21,700 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-24201540-18220706 failed! 2024-08-21 11:56:21,757 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-24201540:ctest-vn-76810068 is 30.180.8.1 and allocation pool is NOT set 2024-08-21 11:56:23,817 - 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=8.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.980 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.980/4.724/8.469/3.744 ms') 2024-08-21 11:56:23,817 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-24201540-18220706 passed 2024-08-21 11:56:23,969 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 11:56:23,969 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-24201540-18220706, IP 30.180.8.3, Port 22 2024-08-21 11:56:24,715 - DEBUG - VM ctest-TestBasicVMVNx-24201540-18220706 is ready for SSH connections 2024-08-21 11:56:24,716 - INFO - Waiting for VM ctest-TestBasicVMVNx-24201540-39236460 to be up.. 2024-08-21 11:56:24,806 - DEBUG - VM is in ACTIVE state now 2024-08-21 11:56:24,806 - INFO - VM name : ctest-TestBasicVMVNx-24201540-39236460 2024-08-21 11:56:24,897 - DEBUG - VM ctest-TestBasicVMVNx-24201540-39236460 ID is 810b8eed-fc6f-4361-8d95-5db85aaeb719 2024-08-21 11:56:24,897 - DEBUG - VM ctest-TestBasicVMVNx-24201540-39236460 launched on Node cn-jenkins-deploy-platform-ansible-os-1683-1 2024-08-21 11:56:24,979 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/810b8eed-fc6f-4361-8d95-5db85aaeb719 2024-08-21 11:56:24,989 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/2b1b41c2-e91e-4104-a17b-3bc206c13057 2024-08-21 11:56:26,232 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.673 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.673/1.885/3.098/1.212 ms') 2024-08-21 11:56:26,233 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-24201540-39236460 passed 2024-08-21 11:56:26,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 11:56:26,385 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-24201540-39236460, IP 30.180.8.4, Port 22 2024-08-21 11:56:26,545 - DEBUG - VM ctest-TestBasicVMVNx-24201540-39236460 is ready for SSH connections 2024-08-21 11:56:26,545 - DEBUG - FILE SIZE = 1303B 2024-08-21 11:56:26,545 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-24201540-18220706 to ctest-TestBasicVMVNx-24201540-39236460 using scp 2024-08-21 11:56:26,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 11:56:26,552 - 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.41, gateway password: c0ntrail123 2024-08-21 11:56:26,552 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-21 11:56:28,473 - DEBUG - 1+0 records in 1+0 records out 2024-08-21 11:56:29,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 11:56:29,445 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2024-08-21 11:56:29,446 - DEBUG - ls -l testfile 2024-08-21 11:56:31,046 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 21 05:56 testfile 2024-08-21 11:56:31,046 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-24201540-39236460 2024-08-21 11:56:31,046 - INFO - Deleting VM ctest-TestBasicVMVNx-24201540-39236460 2024-08-21 11:56:31,259 - INFO - Deleting VM ctest-TestBasicVMVNx-24201540-18220706 2024-08-21 11:56:31,345 - INFO - Deleting VN ctest-vn-76810068 2024-08-21 11:56:31,388 - DEBUG - VN 5a9b9f22-0996-4507-9510-8b8ee9e5aa2a still in use: Unable to complete operation on network 5a9b9f22-0996-4507-9510-8b8ee9e5aa2a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a2c8f23f-697c-4f8c-93f6-7fbe4114f85e'] 2024-08-21 11:56:31,388 - WARNING - Deleting VN ctest-vn-76810068 failed..Will retry 2024-08-21 11:56:33,540 - DEBUG - Response for deleting network () 2024-08-21 11:56:33,796 - DEBUG - No XMPP flaps were noticed during the test 2024-08-21 11:56:33,796 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-08-21 11:56:33,796 - INFO - -------------------------------------------------------------------------------- 2024-08-21 11:56:34,509 - INFO - Deleted project: ctest-TestBasicVMVNx-24201540, ID : 27cd8e3f-506c-4933-bc2d-06a91ab9bce7