2025-06-09 10:43:09,382 - INFO - Domain Default found not creating 2025-06-09 10:43:09,539 - INFO - Project ctest-TestBasicVMVNx-14045749 not found, creating it 2025-06-09 10:43:10,043 - INFO - Created Project:ctest-TestBasicVMVNx-14045749, ID : eca32df9-f9d6-4101-81ee-87c601bd9f06 2025-06-09 10:43:11,544 - INFO - ================================================================================ 2025-06-09 10:43:11,544 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-09 10:43:11,544 - 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-06-09 10:43:11,801 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.254': '0'}} with 2025-06-09 10:43:11,801 - INFO - Initial checks done. Running the testcase now 2025-06-09 10:43:11,801 - INFO - 2025-06-09 10:43:12,433 - DEBUG - Response for create_network : {'network': {'id': 'ad96da80-193d-42bb-b1e8-ba5621f102e5', 'name': 'ctest-vn-10458573', 'tenant_id': 'eca32df9f9d6410181ee87c601bd9f06', 'project_id': 'eca32df9f9d6410181ee87c601bd9f06', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-14045749', 'ctest-vn-10458573'], 'port_security_enabled': True, 'description': ''}} 2025-06-09 10:43:12,644 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd97888d7-661a-45b4-82e1-635bd6fdd8d5', 'name': '', 'tenant_id': 'eca32df9f9d6410181ee87c601bd9f06', 'network_id': 'ad96da80-193d-42bb-b1e8-ba5621f102e5', 'ip_version': 4, 'cidr': '9.194.123.0/26', 'allocation_pools': [{'start': '9.194.123.2', 'end': '9.194.123.62'}], 'gateway_ip': '9.194.123.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.194.123.2', 'tags': [], 'project_id': 'eca32df9f9d6410181ee87c601bd9f06'}} 2025-06-09 10:43:12,667 - INFO - Created VN ctest-vn-10458573 2025-06-09 10:43:12,728 - DEBUG - VN ctest-vn-10458573 UUID is ad96da80-193d-42bb-b1e8-ba5621f102e5 2025-06-09 10:43:12,921 - DEBUG - Services list from nova: [, , ] 2025-06-09 10:43:14,042 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3423-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3423-1) 2025-06-09 10:43:15,276 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3423-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3423-1) 2025-06-09 10:43:15,276 - INFO - Waiting for VM ctest-TestBasicVMVNx-14045749-99568078 to be up.. 2025-06-09 10:43:15,378 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-09 10:43:20,466 - DEBUG - VM is in ACTIVE state now 2025-06-09 10:43:20,466 - INFO - VM name : ctest-TestBasicVMVNx-14045749-99568078 2025-06-09 10:43:20,549 - DEBUG - VM ctest-TestBasicVMVNx-14045749-99568078 ID is 792a317d-6be6-45bb-9aa4-6e56e3915fef 2025-06-09 10:43:20,575 - DEBUG - VM ctest-TestBasicVMVNx-14045749-99568078 launched on Node cn-jenkins-deploy-platform-ansible-os-3423-1 2025-06-09 10:43:20,660 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/792a317d-6be6-45bb-9aa4-6e56e3915fef 2025-06-09 10:43:20,955 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/792a317d-6be6-45bb-9aa4-6e56e3915fef 2025-06-09 10:43:20,989 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/cc1a3262-9ec7-4fb4-863a-1a5d67fc62fd 2025-06-09 10:43:24,256 - 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') 2025-06-09 10:43:24,257 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-14045749-99568078 failed! 2025-06-09 10:43:24,311 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-14045749:ctest-vn-10458573 is 9.194.123.1 and allocation pool is NOT set 2025-06-09 10:43:26,373 - 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=3.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.612 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.612/2.145/3.679/1.533 ms') 2025-06-09 10:43:26,373 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-14045749-99568078 passed 2025-06-09 10:43:26,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 10:43:26,531 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-14045749-99568078, IP 9.194.123.3, Port 22 2025-06-09 10:43:26,706 - DEBUG - VM ctest-TestBasicVMVNx-14045749-99568078 is ready for SSH connections 2025-06-09 10:43:26,706 - INFO - Waiting for VM ctest-TestBasicVMVNx-14045749-36066272 to be up.. 2025-06-09 10:43:26,787 - DEBUG - VM is in ACTIVE state now 2025-06-09 10:43:26,787 - INFO - VM name : ctest-TestBasicVMVNx-14045749-36066272 2025-06-09 10:43:26,870 - DEBUG - VM ctest-TestBasicVMVNx-14045749-36066272 ID is f15bd2b7-e158-466d-b25b-365084d87d95 2025-06-09 10:43:26,870 - DEBUG - VM ctest-TestBasicVMVNx-14045749-36066272 launched on Node cn-jenkins-deploy-platform-ansible-os-3423-1 2025-06-09 10:43:26,953 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/f15bd2b7-e158-466d-b25b-365084d87d95 2025-06-09 10:43:26,963 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/1b722950-bada-4fd1-b19e-eb1cd1114742 2025-06-09 10:43:28,209 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.516 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.516/1.626/2.737/1.110 ms') 2025-06-09 10:43:28,209 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-14045749-36066272 passed 2025-06-09 10:43:28,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 10:43:28,363 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-14045749-36066272, IP 9.194.123.4, Port 22 2025-06-09 10:43:28,518 - DEBUG - VM ctest-TestBasicVMVNx-14045749-36066272 is ready for SSH connections 2025-06-09 10:43:28,519 - DEBUG - FILE SIZE = 1303B 2025-06-09 10:43:28,519 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-14045749-99568078 to ctest-TestBasicVMVNx-14045749-36066272 using scp 2025-06-09 10:43:28,519 - 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.49, gateway password: c0ntrail123 2025-06-09 10:43:28,520 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-09 10:43:30,415 - DEBUG - 1+0 records in 1+0 records out 2025-06-09 10:43:31,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 10:43:31,508 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-06-09 10:43:31,508 - DEBUG - ls -l testfile 2025-06-09 10:43:33,081 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 9 04:43 testfile 2025-06-09 10:43:33,081 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-14045749-36066272 2025-06-09 10:43:33,081 - INFO - Deleting VM ctest-TestBasicVMVNx-14045749-36066272 2025-06-09 10:43:33,165 - INFO - Deleting VM ctest-TestBasicVMVNx-14045749-99568078 2025-06-09 10:43:33,248 - INFO - Deleting VN ctest-vn-10458573 2025-06-09 10:43:33,290 - DEBUG - VN ad96da80-193d-42bb-b1e8-ba5621f102e5 still in use: Unable to complete operation on network ad96da80-193d-42bb-b1e8-ba5621f102e5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9e7d7511-398f-4499-ac23-3dac56f9e160'] 2025-06-09 10:43:33,290 - WARNING - Deleting VN ctest-vn-10458573 failed..Will retry 2025-06-09 10:43:35,400 - DEBUG - Response for deleting network () 2025-06-09 10:43:35,665 - DEBUG - No XMPP flaps were noticed during the test
2025-06-09 10:43:35,666 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-06-09 10:43:35,666 - INFO - -------------------------------------------------------------------------------- 2025-06-09 10:43:36,355 - INFO - Deleted project: ctest-TestBasicVMVNx-14045749, ID : eca32df9-f9d6-4101-81ee-87c601bd9f06