2025-10-09 14:39:48,858 - INFO - Domain Default found not creating 2025-10-09 14:39:49,000 - INFO - Project ctest-TestBasicVMVNx-59832046 not found, creating it 2025-10-09 14:39:49,421 - INFO - Created Project:ctest-TestBasicVMVNx-59832046, ID : a4ee6836-223b-4795-82e6-21ab3c0b0d32 2025-10-09 14:39:50,914 - INFO - ================================================================================ 2025-10-09 14:39:50,914 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-09 14:39:50,914 - 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-10-09 14:39:51,173 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-10-09 14:39:51,173 - INFO - Initial checks done. Running the testcase now 2025-10-09 14:39:51,173 - INFO - 2025-10-09 14:39:51,682 - DEBUG - Response for create_network : {'network': {'id': 'e14bb9f8-50f1-4b02-a877-d5bb1136017a', 'name': 'ctest-vn-93366266', 'tenant_id': 'a4ee6836223b479582e621ab3c0b0d32', 'project_id': 'a4ee6836223b479582e621ab3c0b0d32', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-59832046', 'ctest-vn-93366266'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:39:51,835 - DEBUG - Response for create_subnet : {'subnet': {'id': '625e6473-9374-483d-8e0d-b38b51a72757', 'name': '', 'tenant_id': 'a4ee6836223b479582e621ab3c0b0d32', 'network_id': 'e14bb9f8-50f1-4b02-a877-d5bb1136017a', 'ip_version': 4, 'cidr': '203.52.213.64/26', 'allocation_pools': [{'start': '203.52.213.66', 'end': '203.52.213.126'}], 'gateway_ip': '203.52.213.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.52.213.66', 'tags': [], 'project_id': 'a4ee6836223b479582e621ab3c0b0d32'}} 2025-10-09 14:39:51,851 - INFO - Created VN ctest-vn-93366266 2025-10-09 14:39:51,908 - DEBUG - VN ctest-vn-93366266 UUID is e14bb9f8-50f1-4b02-a877-d5bb1136017a 2025-10-09 14:39:52,109 - DEBUG - Services list from nova: [, , ] 2025-10-09 14:39:53,083 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4263-1) 2025-10-09 14:39:54,193 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4263-1) 2025-10-09 14:39:54,194 - INFO - Waiting for VM ctest-TestBasicVMVNx-59832046-64390107 to be up.. 2025-10-09 14:39:54,271 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 14:39:59,338 - DEBUG - VM is in ACTIVE state now 2025-10-09 14:39:59,339 - INFO - VM name : ctest-TestBasicVMVNx-59832046-64390107 2025-10-09 14:39:59,407 - DEBUG - VM ctest-TestBasicVMVNx-59832046-64390107 ID is b66d32f0-3da7-4caf-95da-64c3dffa9f08 2025-10-09 14:39:59,425 - DEBUG - VM ctest-TestBasicVMVNx-59832046-64390107 launched on Node cn-jenkins-deploy-platform-ansible-os-4263-1 2025-10-09 14:39:59,488 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/b66d32f0-3da7-4caf-95da-64c3dffa9f08 2025-10-09 14:39:59,775 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/b66d32f0-3da7-4caf-95da-64c3dffa9f08 2025-10-09 14:39:59,805 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/503a292f-31fd-450d-a3f8-1b0b88c74c16 2025-10-09 14:40:03,056 - 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 1014ms') 2025-10-09 14:40:03,057 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-59832046-64390107 failed! 2025-10-09 14:40:03,116 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-59832046:ctest-vn-93366266 is 203.52.213.65 and allocation pool is NOT set 2025-10-09 14:40:05,172 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.390 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.390/1.844/3.299/1.454 ms') 2025-10-09 14:40:05,173 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-59832046-64390107 passed 2025-10-09 14:40:05,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:40:05,328 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59832046-64390107, IP 203.52.213.67, Port 22 2025-10-09 14:40:05,502 - DEBUG - VM ctest-TestBasicVMVNx-59832046-64390107 is ready for SSH connections 2025-10-09 14:40:05,503 - INFO - Waiting for VM ctest-TestBasicVMVNx-59832046-05212694 to be up.. 2025-10-09 14:40:05,568 - DEBUG - VM is in ACTIVE state now 2025-10-09 14:40:05,569 - INFO - VM name : ctest-TestBasicVMVNx-59832046-05212694 2025-10-09 14:40:05,640 - DEBUG - VM ctest-TestBasicVMVNx-59832046-05212694 ID is 878c1d2e-6e12-429d-8bd2-5e4b46cd0345 2025-10-09 14:40:05,640 - DEBUG - VM ctest-TestBasicVMVNx-59832046-05212694 launched on Node cn-jenkins-deploy-platform-ansible-os-4263-1 2025-10-09 14:40:05,705 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/878c1d2e-6e12-429d-8bd2-5e4b46cd0345 2025-10-09 14:40:05,712 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/6802db1c-0636-415c-882a-ab098b3c9cb7 2025-10-09 14:40:06,946 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 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.436/1.684/2.933/1.248 ms') 2025-10-09 14:40:06,946 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-59832046-05212694 passed 2025-10-09 14:40:07,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:40:07,100 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59832046-05212694, IP 203.52.213.68, Port 22 2025-10-09 14:40:07,251 - DEBUG - VM ctest-TestBasicVMVNx-59832046-05212694 is ready for SSH connections 2025-10-09 14:40:07,251 - DEBUG - FILE SIZE = 1303B 2025-10-09 14:40:07,251 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-59832046-64390107 to ctest-TestBasicVMVNx-59832046-05212694 using scp 2025-10-09 14:40:07,252 - 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.65, gateway password: c0ntrail123 2025-10-09 14:40:07,252 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-10-09 14:40:09,161 - DEBUG - 1+0 records in 1+0 records out 2025-10-09 14:40:09,956 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:40:10,292 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-09 14:40:10,292 - DEBUG - ls -l testfile 2025-10-09 14:40:11,874 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 9 08:40 testfile 2025-10-09 14:40:11,874 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-59832046-05212694 2025-10-09 14:40:11,875 - INFO - Deleting VM ctest-TestBasicVMVNx-59832046-05212694 2025-10-09 14:40:11,944 - INFO - Deleting VM ctest-TestBasicVMVNx-59832046-64390107 2025-10-09 14:40:12,024 - INFO - Deleting VN ctest-vn-93366266 2025-10-09 14:40:12,062 - DEBUG - VN e14bb9f8-50f1-4b02-a877-d5bb1136017a still in use: Unable to complete operation on network e14bb9f8-50f1-4b02-a877-d5bb1136017a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-35593f14-2ace-44bf-abea-f2e49dd7851f'] 2025-10-09 14:40:12,062 - WARNING - Deleting VN ctest-vn-93366266 failed..Will retry 2025-10-09 14:40:14,156 - DEBUG - Response for deleting network () 2025-10-09 14:40:14,409 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 14:40:14,409 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-10-09 14:40:14,409 - INFO - -------------------------------------------------------------------------------- 2025-10-09 14:40:15,054 - INFO - Deleted project: ctest-TestBasicVMVNx-59832046, ID : a4ee6836-223b-4795-82e6-21ab3c0b0d32