2025-07-22 09:46:02,595 - INFO - Domain Default found not creating 2025-07-22 09:46:02,781 - INFO - Project ctest-TestBasicVMVNx-81472296 not found, creating it 2025-07-22 09:46:03,279 - INFO - Created Project:ctest-TestBasicVMVNx-81472296, ID : 6dfb5524-c367-47ba-9d44-d850fe9607c1 2025-07-22 09:46:04,734 - INFO - ================================================================================ 2025-07-22 09:46:04,734 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-07-22 09:46:04,734 - 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-07-22 09:46:04,990 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-22 09:46:04,990 - INFO - Initial checks done. Running the testcase now 2025-07-22 09:46:04,990 - INFO - 2025-07-22 09:46:05,561 - DEBUG - Response for create_network : {'network': {'id': '97498d29-3517-48d3-baa7-26523e708611', 'name': 'ctest-vn-69980065', 'tenant_id': '6dfb5524c36747ba9d44d850fe9607c1', 'project_id': '6dfb5524c36747ba9d44d850fe9607c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-81472296', 'ctest-vn-69980065'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 09:46:05,765 - DEBUG - Response for create_subnet : {'subnet': {'id': '4cdf997b-0032-4391-8574-9f08ad8c9d3b', 'name': '', 'tenant_id': '6dfb5524c36747ba9d44d850fe9607c1', 'network_id': '97498d29-3517-48d3-baa7-26523e708611', 'ip_version': 4, 'cidr': '172.0.190.128/26', 'allocation_pools': [{'start': '172.0.190.130', 'end': '172.0.190.190'}], 'gateway_ip': '172.0.190.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.0.190.130', 'tags': [], 'project_id': '6dfb5524c36747ba9d44d850fe9607c1'}} 2025-07-22 09:46:05,784 - INFO - Created VN ctest-vn-69980065 2025-07-22 09:46:05,836 - DEBUG - VN ctest-vn-69980065 UUID is 97498d29-3517-48d3-baa7-26523e708611 2025-07-22 09:46:06,006 - DEBUG - Services list from nova: [, , ] 2025-07-22 09:46:07,040 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3686-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3686-1) 2025-07-22 09:46:08,191 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3686-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3686-1) 2025-07-22 09:46:08,191 - INFO - Waiting for VM ctest-TestBasicVMVNx-81472296-82163419 to be up.. 2025-07-22 09:46:08,275 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-22 09:46:13,365 - DEBUG - VM is in ACTIVE state now 2025-07-22 09:46:13,366 - INFO - VM name : ctest-TestBasicVMVNx-81472296-82163419 2025-07-22 09:46:13,449 - DEBUG - VM ctest-TestBasicVMVNx-81472296-82163419 ID is 02df6da7-8997-4c57-a06b-68ac4557c805 2025-07-22 09:46:13,565 - DEBUG - VM ctest-TestBasicVMVNx-81472296-82163419 launched on Node cn-jenkins-deploy-platform-ansible-os-3686-1 2025-07-22 09:46:13,674 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/02df6da7-8997-4c57-a06b-68ac4557c805 2025-07-22 09:46:13,976 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/02df6da7-8997-4c57-a06b-68ac4557c805 2025-07-22 09:46:14,009 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/60aff4b6-3f0b-4478-9562-cde312d83168 2025-07-22 09:46:17,265 - 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-07-22 09:46:17,265 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-81472296-82163419 failed! 2025-07-22 09:46:17,329 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-81472296:ctest-vn-69980065 is 172.0.190.129 and allocation pool is NOT set 2025-07-22 09:46:19,390 - 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=2.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.412 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.412/1.614/2.817/1.202 ms') 2025-07-22 09:46:19,390 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-81472296-82163419 passed 2025-07-22 09:46:19,568 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 09:46:19,568 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-81472296-82163419, IP 172.0.190.131, Port 22 2025-07-22 09:46:19,723 - DEBUG - VM ctest-TestBasicVMVNx-81472296-82163419 is ready for SSH connections 2025-07-22 09:46:19,723 - INFO - Waiting for VM ctest-TestBasicVMVNx-81472296-59883606 to be up.. 2025-07-22 09:46:19,795 - DEBUG - VM is in ACTIVE state now 2025-07-22 09:46:19,795 - INFO - VM name : ctest-TestBasicVMVNx-81472296-59883606 2025-07-22 09:46:19,868 - DEBUG - VM ctest-TestBasicVMVNx-81472296-59883606 ID is c43f557f-c852-4e1e-8474-3d7b9018ec2f 2025-07-22 09:46:19,868 - DEBUG - VM ctest-TestBasicVMVNx-81472296-59883606 launched on Node cn-jenkins-deploy-platform-ansible-os-3686-1 2025-07-22 09:46:19,950 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c43f557f-c852-4e1e-8474-3d7b9018ec2f 2025-07-22 09:46:19,959 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/485a99d3-6d50-4b12-b10e-9f2e3fac5e1e 2025-07-22 09:46:21,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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.445 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.445/1.561/2.678/1.116 ms') 2025-07-22 09:46:21,209 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-81472296-59883606 passed 2025-07-22 09:46:21,364 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 09:46:21,364 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-81472296-59883606, IP 172.0.190.132, Port 22 2025-07-22 09:46:21,519 - DEBUG - VM ctest-TestBasicVMVNx-81472296-59883606 is ready for SSH connections 2025-07-22 09:46:21,519 - DEBUG - FILE SIZE = 1303B 2025-07-22 09:46:21,519 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-81472296-82163419 to ctest-TestBasicVMVNx-81472296-59883606 using scp 2025-07-22 09:46:21,520 - 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.254, gateway password: c0ntrail123 2025-07-22 09:46:21,520 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-07-22 09:46:23,472 - DEBUG - 1+0 records in 1+0 records out 2025-07-22 09:46:24,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 09:46:24,454 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-22 09:46:24,454 - DEBUG - ls -l testfile 2025-07-22 09:46:26,026 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 22 03:46 testfile 2025-07-22 09:46:26,027 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-81472296-59883606 2025-07-22 09:46:26,027 - INFO - Deleting VM ctest-TestBasicVMVNx-81472296-59883606 2025-07-22 09:46:26,102 - INFO - Deleting VM ctest-TestBasicVMVNx-81472296-82163419 2025-07-22 09:46:26,179 - INFO - Deleting VN ctest-vn-69980065 2025-07-22 09:46:26,230 - DEBUG - VN 97498d29-3517-48d3-baa7-26523e708611 still in use: Unable to complete operation on network 97498d29-3517-48d3-baa7-26523e708611. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8fc0ac10-e57c-4503-99d8-47138c071e5b'] 2025-07-22 09:46:26,230 - WARNING - Deleting VN ctest-vn-69980065 failed..Will retry 2025-07-22 09:46:28,350 - DEBUG - Response for deleting network () 2025-07-22 09:46:28,608 - DEBUG - No XMPP flaps were noticed during the test
2025-07-22 09:46:28,608 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-07-22 09:46:28,608 - INFO - -------------------------------------------------------------------------------- 2025-07-22 09:46:29,354 - INFO - Deleted project: ctest-TestBasicVMVNx-81472296, ID : 6dfb5524-c367-47ba-9d44-d850fe9607c1