2025-04-04 15:07:55,350 - INFO - Domain Default found not creating 2025-04-04 15:07:55,520 - INFO - Project ctest-TestBasicVMVNx-94730639 not found, creating it 2025-04-04 15:07:56,015 - INFO - Created Project:ctest-TestBasicVMVNx-94730639, ID : ee48378d-ad96-48ae-a888-d2b7e7379f05 2025-04-04 15:07:57,547 - INFO - ================================================================================ 2025-04-04 15:07:57,547 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-04 15:07:57,547 - 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 2025-04-04 15:07:57,805 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.7': '0'}} with 2025-04-04 15:07:57,805 - INFO - Initial checks done. Running the testcase now 2025-04-04 15:07:57,806 - INFO - 2025-04-04 15:07:58,400 - DEBUG - Response for create_network : {'network': {'id': '657b8fc2-4dbf-4a7d-a97c-32586eb0386b', 'name': 'ctest-vn-14234789', 'tenant_id': 'ee48378dad9648aea888d2b7e7379f05', 'project_id': 'ee48378dad9648aea888d2b7e7379f05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-94730639', 'ctest-vn-14234789'], 'port_security_enabled': True, 'description': ''}} 2025-04-04 15:07:58,624 - DEBUG - Response for create_subnet : {'subnet': {'id': '5beee0f6-c0cb-49be-a643-e6c648a463f5', 'name': '', 'tenant_id': 'ee48378dad9648aea888d2b7e7379f05', 'network_id': '657b8fc2-4dbf-4a7d-a97c-32586eb0386b', 'ip_version': 4, 'cidr': '165.230.211.192/26', 'allocation_pools': [{'start': '165.230.211.194', 'end': '165.230.211.254'}], 'gateway_ip': '165.230.211.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.230.211.194', 'tags': [], 'project_id': 'ee48378dad9648aea888d2b7e7379f05'}} 2025-04-04 15:07:58,644 - INFO - Created VN ctest-vn-14234789 2025-04-04 15:07:58,700 - DEBUG - VN ctest-vn-14234789 UUID is 657b8fc2-4dbf-4a7d-a97c-32586eb0386b 2025-04-04 15:07:58,883 - DEBUG - Services list from nova: [, , ] 2025-04-04 15:08:00,068 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3033-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3033-1) 2025-04-04 15:08:01,342 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3033-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3033-1) 2025-04-04 15:08:01,342 - INFO - Waiting for VM ctest-TestBasicVMVNx-94730639-20056227 to be up.. 2025-04-04 15:08:01,436 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-04 15:08:06,554 - DEBUG - VM is in ACTIVE state now 2025-04-04 15:08:06,554 - INFO - VM name : ctest-TestBasicVMVNx-94730639-20056227 2025-04-04 15:08:06,693 - DEBUG - VM ctest-TestBasicVMVNx-94730639-20056227 ID is 3107e8e4-ed4c-417a-a3f2-2cf88ec74842 2025-04-04 15:08:06,728 - DEBUG - VM ctest-TestBasicVMVNx-94730639-20056227 launched on Node cn-jenkins-deploy-platform-ansible-os-3033-1 2025-04-04 15:08:06,843 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/3107e8e4-ed4c-417a-a3f2-2cf88ec74842 2025-04-04 15:08:07,159 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/3107e8e4-ed4c-417a-a3f2-2cf88ec74842 2025-04-04 15:08:07,220 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/e7a8df91-f795-4629-8c81-c991df2e3cdf 2025-04-04 15:08:10,490 - 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 1012ms') 2025-04-04 15:08:10,490 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-94730639-20056227 failed! 2025-04-04 15:08:10,547 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-94730639:ctest-vn-14234789 is 165.230.211.193 and allocation pool is NOT set 2025-04-04 15:08:14,617 - 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=8.84 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 8.836/8.836/8.836/0.000 ms') 2025-04-04 15:08:14,618 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-94730639-20056227 passed 2025-04-04 15:08:14,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-04 15:08:14,776 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-94730639-20056227, IP 165.230.211.195, Port 22 2025-04-04 15:08:14,932 - DEBUG - VM ctest-TestBasicVMVNx-94730639-20056227 is ready for SSH connections 2025-04-04 15:08:14,932 - INFO - Waiting for VM ctest-TestBasicVMVNx-94730639-38134495 to be up.. 2025-04-04 15:08:15,043 - DEBUG - VM is in ACTIVE state now 2025-04-04 15:08:15,043 - INFO - VM name : ctest-TestBasicVMVNx-94730639-38134495 2025-04-04 15:08:15,151 - DEBUG - VM ctest-TestBasicVMVNx-94730639-38134495 ID is 3adfaf57-1e38-45ca-8d61-18b8ae088202 2025-04-04 15:08:15,152 - DEBUG - VM ctest-TestBasicVMVNx-94730639-38134495 launched on Node cn-jenkins-deploy-platform-ansible-os-3033-1 2025-04-04 15:08:15,233 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/3adfaf57-1e38-45ca-8d61-18b8ae088202 2025-04-04 15:08:15,244 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/46a8393d-a25d-49a6-aa39-e827b70ec19f 2025-04-04 15:08:16,493 - 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=2.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.509 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.509/1.733/2.957/1.224 ms') 2025-04-04 15:08:16,493 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-94730639-38134495 passed 2025-04-04 15:08:16,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-04 15:08:16,648 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-94730639-38134495, IP 165.230.211.196, Port 22 2025-04-04 15:08:16,803 - DEBUG - VM ctest-TestBasicVMVNx-94730639-38134495 is ready for SSH connections 2025-04-04 15:08:16,803 - DEBUG - FILE SIZE = 1303B 2025-04-04 15:08:16,803 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-94730639-20056227 to ctest-TestBasicVMVNx-94730639-38134495 using scp 2025-04-04 15:08:16,804 - 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.12, gateway password: c0ntrail123 2025-04-04 15:08:16,804 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-04 15:08:18,862 - DEBUG - 1+0 records in 1+0 records out 2025-04-04 15:08:19,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-04 15:08:19,827 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-04-04 15:08:19,827 - DEBUG - ls -l testfile 2025-04-04 15:08:21,472 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 4 09:08 testfile 2025-04-04 15:08:21,472 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-94730639-38134495 2025-04-04 15:08:21,472 - INFO - Deleting VM ctest-TestBasicVMVNx-94730639-38134495 2025-04-04 15:08:21,545 - INFO - Deleting VM ctest-TestBasicVMVNx-94730639-20056227 2025-04-04 15:08:21,645 - INFO - Deleting VN ctest-vn-14234789 2025-04-04 15:08:21,689 - DEBUG - VN 657b8fc2-4dbf-4a7d-a97c-32586eb0386b still in use: Unable to complete operation on network 657b8fc2-4dbf-4a7d-a97c-32586eb0386b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0662bbda-b6ef-4559-9055-408f34bbaa85'] 2025-04-04 15:08:21,689 - WARNING - Deleting VN ctest-vn-14234789 failed..Will retry 2025-04-04 15:08:23,816 - DEBUG - Response for deleting network () 2025-04-04 15:08:24,070 - DEBUG - No XMPP flaps were noticed during the test
2025-04-04 15:08:24,070 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:27]
2025-04-04 15:08:24,070 - INFO - -------------------------------------------------------------------------------- 2025-04-04 15:08:24,821 - INFO - Deleted project: ctest-TestBasicVMVNx-94730639, ID : ee48378d-ad96-48ae-a888-d2b7e7379f05