2024-09-12 06:44:18,968 - INFO - Domain Default found not creating 2024-09-12 06:44:19,153 - INFO - Project ctest-TestBasicVMVNx-21355856 not found, creating it 2024-09-12 06:44:19,675 - INFO - Created Project:ctest-TestBasicVMVNx-21355856, ID : c2106c56-ed95-4109-8856-2aa56e6be2e7 2024-09-12 06:44:21,378 - INFO - ================================================================================ 2024-09-12 06:44:21,378 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-12 06:44:21,378 - 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 06:44:21,646 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.19': '0'}} with 2024-09-12 06:44:21,646 - INFO - Initial checks done. Running the testcase now 2024-09-12 06:44:21,646 - INFO - 2024-09-12 06:44:22,307 - DEBUG - Response for create_network : {'network': {'id': 'f554838a-6860-4dab-a396-e9aa7991c349', 'name': 'ctest-vn-11088989', 'tenant_id': 'c2106c56ed95410988562aa56e6be2e7', 'project_id': 'c2106c56ed95410988562aa56e6be2e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-21355856', 'ctest-vn-11088989'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 06:44:22,489 - DEBUG - Response for create_subnet : {'subnet': {'id': '7024d909-9255-4158-a344-ee2b473b79be', 'name': '', 'tenant_id': 'c2106c56ed95410988562aa56e6be2e7', 'network_id': 'f554838a-6860-4dab-a396-e9aa7991c349', 'ip_version': 4, 'cidr': '108.118.150.0/26', 'allocation_pools': [{'start': '108.118.150.2', 'end': '108.118.150.62'}], 'gateway_ip': '108.118.150.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.118.150.2', 'tags': [], 'project_id': 'c2106c56ed95410988562aa56e6be2e7'}} 2024-09-12 06:44:22,511 - INFO - Created VN ctest-vn-11088989 2024-09-12 06:44:22,569 - DEBUG - VN ctest-vn-11088989 UUID is f554838a-6860-4dab-a396-e9aa7991c349 2024-09-12 06:44:22,755 - DEBUG - Services list from nova: [, , ] 2024-09-12 06:44:23,941 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1905-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1905-1) 2024-09-12 06:44:25,369 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1905-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1905-1) 2024-09-12 06:44:25,369 - INFO - Waiting for VM ctest-TestBasicVMVNx-21355856-00777809 to be up.. 2024-09-12 06:44:25,465 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-12 06:44:30,563 - DEBUG - VM is in ACTIVE state now 2024-09-12 06:44:30,564 - INFO - VM name : ctest-TestBasicVMVNx-21355856-00777809 2024-09-12 06:44:30,649 - DEBUG - VM ctest-TestBasicVMVNx-21355856-00777809 ID is fec4b5d6-9aa2-43d0-9ead-1860851af85e 2024-09-12 06:44:30,668 - DEBUG - VM ctest-TestBasicVMVNx-21355856-00777809 launched on Node cn-jenkins-deploy-platform-ansible-os-1905-1 2024-09-12 06:44:30,763 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/fec4b5d6-9aa2-43d0-9ead-1860851af85e 2024-09-12 06:44:31,103 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/fec4b5d6-9aa2-43d0-9ead-1860851af85e 2024-09-12 06:44:31,143 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/6032d62e-80c9-43ed-8ce6-9c9170e2a21c 2024-09-12 06:44:34,431 - 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 1022ms') 2024-09-12 06:44:34,431 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-21355856-00777809 failed! 2024-09-12 06:44:34,493 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-21355856:ctest-vn-11088989 is 108.118.150.1 and allocation pool is NOT set 2024-09-12 06:44:36,561 - 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=5.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.408 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.408/3.086/5.765/2.678 ms') 2024-09-12 06:44:36,561 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-21355856-00777809 passed 2024-09-12 06:44:36,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 06:44:36,725 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-21355856-00777809, IP 108.118.150.3, Port 22 2024-09-12 06:44:36,880 - DEBUG - VM ctest-TestBasicVMVNx-21355856-00777809 is ready for SSH connections 2024-09-12 06:44:36,880 - INFO - Waiting for VM ctest-TestBasicVMVNx-21355856-44501547 to be up.. 2024-09-12 06:44:36,973 - DEBUG - VM is in ACTIVE state now 2024-09-12 06:44:36,973 - INFO - VM name : ctest-TestBasicVMVNx-21355856-44501547 2024-09-12 06:44:37,059 - DEBUG - VM ctest-TestBasicVMVNx-21355856-44501547 ID is 73a51255-47e2-419f-8ae0-743cb83c24dc 2024-09-12 06:44:37,059 - DEBUG - VM ctest-TestBasicVMVNx-21355856-44501547 launched on Node cn-jenkins-deploy-platform-ansible-os-1905-1 2024-09-12 06:44:37,146 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/73a51255-47e2-419f-8ae0-743cb83c24dc 2024-09-12 06:44:37,156 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/d8d6d7b8-98dc-4124-871b-eadd4007c0f2 2024-09-12 06:44:38,420 - 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=4.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.28 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.277/3.002/4.728/1.725 ms') 2024-09-12 06:44:38,421 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-21355856-44501547 passed 2024-09-12 06:44:38,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 06:44:38,581 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-21355856-44501547, IP 108.118.150.4, Port 22 2024-09-12 06:44:38,747 - DEBUG - VM ctest-TestBasicVMVNx-21355856-44501547 is ready for SSH connections 2024-09-12 06:44:38,747 - DEBUG - FILE SIZE = 1303B 2024-09-12 06:44:38,747 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-21355856-00777809 to ctest-TestBasicVMVNx-21355856-44501547 using scp 2024-09-12 06:44:38,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 06:44:38,753 - 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.29, gateway password: c0ntrail123 2024-09-12 06:44:38,753 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-12 06:44:40,754 - DEBUG - 1+0 records in 1+0 records out 2024-09-12 06:44:41,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 06:44:42,042 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-09-12 06:44:42,042 - DEBUG - ls -l testfile 2024-09-12 06:44:43,662 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 12 00:44 testfile 2024-09-12 06:44:43,662 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-21355856-44501547 2024-09-12 06:44:43,663 - INFO - Deleting VM ctest-TestBasicVMVNx-21355856-44501547 2024-09-12 06:44:43,747 - INFO - Deleting VM ctest-TestBasicVMVNx-21355856-00777809 2024-09-12 06:44:43,847 - INFO - Deleting VN ctest-vn-11088989 2024-09-12 06:44:43,919 - DEBUG - VN f554838a-6860-4dab-a396-e9aa7991c349 still in use: Unable to complete operation on network f554838a-6860-4dab-a396-e9aa7991c349. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-435c9e7a-7645-4920-a6ba-c1f83b2184d3'] 2024-09-12 06:44:43,919 - WARNING - Deleting VN ctest-vn-11088989 failed..Will retry 2024-09-12 06:44:46,051 - DEBUG - Response for deleting network () 2024-09-12 06:44:46,307 - DEBUG - No XMPP flaps were noticed during the test 2024-09-12 06:44:46,307 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-09-12 06:44:46,307 - INFO - -------------------------------------------------------------------------------- 2024-09-12 06:44:47,083 - INFO - Deleted project: ctest-TestBasicVMVNx-21355856, ID : c2106c56-ed95-4109-8856-2aa56e6be2e7