2024-09-18 07:02:11,302 - INFO - Domain Default found not creating 2024-09-18 07:02:11,492 - INFO - Project ctest-TestBasicVMVNx-53994286 not found, creating it 2024-09-18 07:02:12,019 - INFO - Created Project:ctest-TestBasicVMVNx-53994286, ID : b77494d5-b7c5-43d2-bcf1-4e4aacf26722 2024-09-18 07:02:13,719 - INFO - ================================================================================ 2024-09-18 07:02:13,719 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-18 07:02:13,719 - 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 07:02:13,980 - DEBUG - Nothing to compare xmpp stats {'10.0.0.47': {'10.20.0.13': '0'}} with 2024-09-18 07:02:13,980 - INFO - Initial checks done. Running the testcase now 2024-09-18 07:02:13,980 - INFO - 2024-09-18 07:02:14,620 - DEBUG - Response for create_network : {'network': {'id': 'd21044fe-1796-4de2-98e4-e2f9e74f370b', 'name': 'ctest-vn-69691426', 'tenant_id': 'b77494d5b7c543d2bcf14e4aacf26722', 'project_id': 'b77494d5b7c543d2bcf14e4aacf26722', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-53994286', 'ctest-vn-69691426'], 'port_security_enabled': True, 'description': ''}} 2024-09-18 07:02:14,782 - DEBUG - Response for create_subnet : {'subnet': {'id': '347d4bbb-85c1-4233-9936-e00378bb1789', 'name': '', 'tenant_id': 'b77494d5b7c543d2bcf14e4aacf26722', 'network_id': 'd21044fe-1796-4de2-98e4-e2f9e74f370b', 'ip_version': 4, 'cidr': '61.143.246.0/26', 'allocation_pools': [{'start': '61.143.246.2', 'end': '61.143.246.62'}], 'gateway_ip': '61.143.246.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.143.246.2', 'tags': [], 'project_id': 'b77494d5b7c543d2bcf14e4aacf26722'}} 2024-09-18 07:02:14,803 - INFO - Created VN ctest-vn-69691426 2024-09-18 07:02:14,861 - DEBUG - VN ctest-vn-69691426 UUID is d21044fe-1796-4de2-98e4-e2f9e74f370b 2024-09-18 07:02:15,052 - DEBUG - Services list from nova: [, , ] 2024-09-18 07:02:16,233 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1987-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1987-1) 2024-09-18 07:02:17,587 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1987-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1987-1) 2024-09-18 07:02:17,587 - INFO - Waiting for VM ctest-TestBasicVMVNx-53994286-06920022 to be up.. 2024-09-18 07:02:17,691 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-18 07:02:22,785 - DEBUG - VM is in ACTIVE state now 2024-09-18 07:02:22,785 - INFO - VM name : ctest-TestBasicVMVNx-53994286-06920022 2024-09-18 07:02:22,988 - DEBUG - VM ctest-TestBasicVMVNx-53994286-06920022 ID is 5d16a125-3698-4e2b-8f3c-533023260324 2024-09-18 07:02:23,008 - DEBUG - VM ctest-TestBasicVMVNx-53994286-06920022 launched on Node cn-jenkins-deploy-platform-ansible-os-1987-1 2024-09-18 07:02:23,093 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/5d16a125-3698-4e2b-8f3c-533023260324 2024-09-18 07:02:23,439 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/5d16a125-3698-4e2b-8f3c-533023260324 2024-09-18 07:02:23,477 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/c7099b40-3081-455d-85a3-0cb907c9cb27 2024-09-18 07:02:26,751 - 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 1009ms') 2024-09-18 07:02:26,751 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-53994286-06920022 failed! 2024-09-18 07:02:26,817 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-53994286:ctest-vn-69691426 is 61.143.246.1 and allocation pool is NOT set 2024-09-18 07:02:28,879 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.72 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 = 2.717/3.819/4.921/1.102 ms') 2024-09-18 07:02:28,879 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-53994286-06920022 passed 2024-09-18 07:02:29,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 07:02:29,041 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-53994286-06920022, IP 61.143.246.3, Port 22 2024-09-18 07:02:29,197 - DEBUG - VM ctest-TestBasicVMVNx-53994286-06920022 is ready for SSH connections 2024-09-18 07:02:29,197 - INFO - Waiting for VM ctest-TestBasicVMVNx-53994286-52589347 to be up.. 2024-09-18 07:02:29,287 - DEBUG - VM is in ACTIVE state now 2024-09-18 07:02:29,287 - INFO - VM name : ctest-TestBasicVMVNx-53994286-52589347 2024-09-18 07:02:29,376 - DEBUG - VM ctest-TestBasicVMVNx-53994286-52589347 ID is 0844081e-872a-46e9-a05e-7bb370c62d24 2024-09-18 07:02:29,376 - DEBUG - VM ctest-TestBasicVMVNx-53994286-52589347 launched on Node cn-jenkins-deploy-platform-ansible-os-1987-1 2024-09-18 07:02:29,459 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/0844081e-872a-46e9-a05e-7bb370c62d24 2024-09-18 07:02:29,470 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/b0050400-1907-4c19-974a-08d482fb3427 2024-09-18 07:02:30,734 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.67 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 = 1.674/2.470/3.267/0.796 ms') 2024-09-18 07:02:30,734 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-53994286-52589347 passed 2024-09-18 07:02:30,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 07:02:30,897 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-53994286-52589347, IP 61.143.246.4, Port 22 2024-09-18 07:02:31,063 - DEBUG - VM ctest-TestBasicVMVNx-53994286-52589347 is ready for SSH connections 2024-09-18 07:02:31,063 - DEBUG - FILE SIZE = 1303B 2024-09-18 07:02:31,063 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-53994286-06920022 to ctest-TestBasicVMVNx-53994286-52589347 using scp 2024-09-18 07:02:31,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 07:02:31,069 - 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.47, gateway password: c0ntrail123 2024-09-18 07:02:31,069 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-18 07:02:33,091 - DEBUG - 1+0 records in 1+0 records out 2024-09-18 07:02:33,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-18 07:02:34,313 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.47, gateway password: c0ntrail123 2024-09-18 07:02:34,317 - DEBUG - ls -l testfile 2024-09-18 07:02:35,966 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 18 01:02 testfile 2024-09-18 07:02:35,966 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-53994286-52589347 2024-09-18 07:02:35,967 - INFO - Deleting VM ctest-TestBasicVMVNx-53994286-52589347 2024-09-18 07:02:36,046 - INFO - Deleting VM ctest-TestBasicVMVNx-53994286-06920022 2024-09-18 07:02:36,132 - INFO - Deleting VN ctest-vn-69691426 2024-09-18 07:02:36,174 - DEBUG - VN d21044fe-1796-4de2-98e4-e2f9e74f370b still in use: Unable to complete operation on network d21044fe-1796-4de2-98e4-e2f9e74f370b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ae2c0709-3117-4f20-9015-1e0298c274a8'] 2024-09-18 07:02:36,174 - WARNING - Deleting VN ctest-vn-69691426 failed..Will retry 2024-09-18 07:02:38,322 - DEBUG - Response for deleting network () 2024-09-18 07:02:38,580 - DEBUG - No XMPP flaps were noticed during the test 2024-09-18 07:02:38,580 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-09-18 07:02:38,580 - INFO - -------------------------------------------------------------------------------- 2024-09-18 07:02:39,378 - INFO - Deleted project: ctest-TestBasicVMVNx-53994286, ID : b77494d5-b7c5-43d2-bcf1-4e4aacf26722