2025-04-26 13:22:32,583 - INFO - Domain Default found not creating 2025-04-26 13:22:32,712 - INFO - Project ctest-TestBasicVMVNx-31211950 not found, creating it 2025-04-26 13:22:33,144 - INFO - Created Project:ctest-TestBasicVMVNx-31211950, ID : f7aac0d5-31c5-49e2-ab3e-b9451cf4efcb 2025-04-26 13:22:34,466 - INFO - ================================================================================ 2025-04-26 13:22:34,467 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-26 13:22:34,467 - 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-26 13:22:34,726 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-04-26 13:22:34,726 - INFO - Initial checks done. Running the testcase now 2025-04-26 13:22:34,726 - INFO - 2025-04-26 13:22:35,251 - DEBUG - Response for create_network : {'network': {'id': '41c2f0ec-b290-4d2b-b34e-efa6b63fd19a', 'name': 'ctest-vn-09883730', 'tenant_id': 'f7aac0d531c549e2ab3eb9451cf4efcb', 'project_id': 'f7aac0d531c549e2ab3eb9451cf4efcb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-31211950', 'ctest-vn-09883730'], 'port_security_enabled': True, 'description': ''}} 2025-04-26 13:22:35,425 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f6f9bf9-d5d3-4e90-b2e1-505dc53d1620', 'name': '', 'tenant_id': 'f7aac0d531c549e2ab3eb9451cf4efcb', 'network_id': '41c2f0ec-b290-4d2b-b34e-efa6b63fd19a', 'ip_version': 4, 'cidr': '115.182.141.64/26', 'allocation_pools': [{'start': '115.182.141.66', 'end': '115.182.141.126'}], 'gateway_ip': '115.182.141.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.182.141.66', 'tags': [], 'project_id': 'f7aac0d531c549e2ab3eb9451cf4efcb'}} 2025-04-26 13:22:35,441 - INFO - Created VN ctest-vn-09883730 2025-04-26 13:22:35,493 - DEBUG - VN ctest-vn-09883730 UUID is 41c2f0ec-b290-4d2b-b34e-efa6b63fd19a 2025-04-26 13:22:35,682 - DEBUG - Services list from nova: [, , ] 2025-04-26 13:22:36,649 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3222-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3222-1) 2025-04-26 13:22:37,684 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3222-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3222-1) 2025-04-26 13:22:37,684 - INFO - Waiting for VM ctest-TestBasicVMVNx-31211950-93281623 to be up.. 2025-04-26 13:22:37,852 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-26 13:22:42,927 - DEBUG - VM is in ACTIVE state now 2025-04-26 13:22:42,927 - INFO - VM name : ctest-TestBasicVMVNx-31211950-93281623 2025-04-26 13:22:43,000 - DEBUG - VM ctest-TestBasicVMVNx-31211950-93281623 ID is ac27474b-da53-43f0-abfd-3a972ac69390 2025-04-26 13:22:43,016 - DEBUG - VM ctest-TestBasicVMVNx-31211950-93281623 launched on Node cn-jenkins-deploy-platform-ansible-os-3222-1 2025-04-26 13:22:43,088 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ac27474b-da53-43f0-abfd-3a972ac69390 2025-04-26 13:22:43,378 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ac27474b-da53-43f0-abfd-3a972ac69390 2025-04-26 13:22:43,407 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8dcd9366-b4d4-473d-bf97-361205b52e8d 2025-04-26 13:22:46,651 - 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 1007ms') 2025-04-26 13:22:46,651 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-31211950-93281623 failed! 2025-04-26 13:22:46,705 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-31211950:ctest-vn-09883730 is 115.182.141.65 and allocation pool is NOT set 2025-04-26 13:22:48,766 - 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.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.447 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.447/1.855/3.263/1.408 ms') 2025-04-26 13:22:48,766 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-31211950-93281623 passed 2025-04-26 13:22:48,917 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 13:22:48,917 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-31211950-93281623, IP 115.182.141.67, Port 22 2025-04-26 13:22:49,068 - DEBUG - VM ctest-TestBasicVMVNx-31211950-93281623 is ready for SSH connections 2025-04-26 13:22:49,068 - INFO - Waiting for VM ctest-TestBasicVMVNx-31211950-28002630 to be up.. 2025-04-26 13:22:49,134 - DEBUG - VM is in ACTIVE state now 2025-04-26 13:22:49,135 - INFO - VM name : ctest-TestBasicVMVNx-31211950-28002630 2025-04-26 13:22:49,197 - DEBUG - VM ctest-TestBasicVMVNx-31211950-28002630 ID is bb8d0ddb-2cc7-4248-a862-859d061b859f 2025-04-26 13:22:49,197 - DEBUG - VM ctest-TestBasicVMVNx-31211950-28002630 launched on Node cn-jenkins-deploy-platform-ansible-os-3222-1 2025-04-26 13:22:49,258 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bb8d0ddb-2cc7-4248-a862-859d061b859f 2025-04-26 13:22:49,266 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1a036861-d127-4ecc-bf77-89ad97a6e327 2025-04-26 13:22:50,495 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.339 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.339/1.652/2.966/1.313 ms') 2025-04-26 13:22:50,495 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-31211950-28002630 passed 2025-04-26 13:22:50,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 13:22:50,645 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-31211950-28002630, IP 115.182.141.68, Port 22 2025-04-26 13:22:50,800 - DEBUG - VM ctest-TestBasicVMVNx-31211950-28002630 is ready for SSH connections 2025-04-26 13:22:50,800 - DEBUG - FILE SIZE = 1303B 2025-04-26 13:22:50,800 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-31211950-93281623 to ctest-TestBasicVMVNx-31211950-28002630 using scp 2025-04-26 13:22:50,801 - 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.50, gateway password: c0ntrail123 2025-04-26 13:22:50,801 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-26 13:22:52,634 - DEBUG - 1+0 records in 1+0 records out 2025-04-26 13:22:53,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 13:22:53,530 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-04-26 13:22:53,530 - DEBUG - ls -l testfile 2025-04-26 13:22:55,088 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 26 07:22 testfile 2025-04-26 13:22:55,088 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-31211950-28002630 2025-04-26 13:22:55,089 - INFO - Deleting VM ctest-TestBasicVMVNx-31211950-28002630 2025-04-26 13:22:55,152 - INFO - Deleting VM ctest-TestBasicVMVNx-31211950-93281623 2025-04-26 13:22:55,215 - INFO - Deleting VN ctest-vn-09883730 2025-04-26 13:22:55,254 - DEBUG - VN 41c2f0ec-b290-4d2b-b34e-efa6b63fd19a still in use: Unable to complete operation on network 41c2f0ec-b290-4d2b-b34e-efa6b63fd19a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-18181a62-a7d2-40cb-bdc7-41b1ef6aee16'] 2025-04-26 13:22:55,254 - WARNING - Deleting VN ctest-vn-09883730 failed..Will retry 2025-04-26 13:22:57,376 - DEBUG - Response for deleting network () 2025-04-26 13:22:57,630 - DEBUG - No XMPP flaps were noticed during the test
2025-04-26 13:22:57,630 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-04-26 13:22:57,630 - INFO - -------------------------------------------------------------------------------- 2025-04-26 13:22:58,309 - INFO - Deleted project: ctest-TestBasicVMVNx-31211950, ID : f7aac0d5-31c5-49e2-ab3e-b9451cf4efcb