2025-08-14 14:31:45,811 - INFO - Domain Default found not creating 2025-08-14 14:31:45,951 - INFO - Project ctest-TestBasicVMVNx-43617436 not found, creating it 2025-08-14 14:31:46,431 - INFO - Created Project:ctest-TestBasicVMVNx-43617436, ID : f585e640-103e-4036-bea2-b7455751dd92 2025-08-14 14:31:47,989 - INFO - ================================================================================ 2025-08-14 14:31:47,989 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-08-14 14:31:47,989 - 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-08-14 14:31:48,243 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.0.0.249': '0'}} with 2025-08-14 14:31:48,243 - INFO - Initial checks done. Running the testcase now 2025-08-14 14:31:48,243 - INFO - 2025-08-14 14:31:48,822 - DEBUG - Response for create_network : {'network': {'id': 'b525e8a6-8e54-44da-bac9-dada622d5371', 'name': 'ctest-vn-61732726', 'tenant_id': 'f585e640103e4036bea2b7455751dd92', 'project_id': 'f585e640103e4036bea2b7455751dd92', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-43617436', 'ctest-vn-61732726'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:31:49,026 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d86e82f-67b2-4541-adf5-2d29ae70e197', 'name': '', 'tenant_id': 'f585e640103e4036bea2b7455751dd92', 'network_id': 'b525e8a6-8e54-44da-bac9-dada622d5371', 'ip_version': 4, 'cidr': '97.162.90.192/26', 'allocation_pools': [{'start': '97.162.90.194', 'end': '97.162.90.254'}], 'gateway_ip': '97.162.90.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.162.90.194', 'tags': [], 'project_id': 'f585e640103e4036bea2b7455751dd92'}} 2025-08-14 14:31:49,046 - INFO - Created VN ctest-vn-61732726 2025-08-14 14:31:49,097 - DEBUG - VN ctest-vn-61732726 UUID is b525e8a6-8e54-44da-bac9-dada622d5371 2025-08-14 14:31:49,299 - DEBUG - Services list from nova: [, , ] 2025-08-14 14:31:50,552 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3856-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3856-1) 2025-08-14 14:31:51,807 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3856-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3856-1) 2025-08-14 14:31:51,808 - INFO - Waiting for VM ctest-TestBasicVMVNx-43617436-04174001 to be up.. 2025-08-14 14:31:51,895 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 14:31:56,983 - DEBUG - VM is in ACTIVE state now 2025-08-14 14:31:56,983 - INFO - VM name : ctest-TestBasicVMVNx-43617436-04174001 2025-08-14 14:31:57,061 - DEBUG - VM ctest-TestBasicVMVNx-43617436-04174001 ID is 98e24558-e938-4aa2-a2af-d0874717b0a4 2025-08-14 14:31:57,080 - DEBUG - VM ctest-TestBasicVMVNx-43617436-04174001 launched on Node cn-jenkins-deploy-platform-ansible-os-3856-1. 2025-08-14 14:31:57,159 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/98e24558-e938-4aa2-a2af-d0874717b0a4 2025-08-14 14:31:57,489 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/98e24558-e938-4aa2-a2af-d0874717b0a4 2025-08-14 14:31:57,522 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/ada1ee68-9974-48b8-ac7e-52919fa97a28 2025-08-14 14:32:00,769 - 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 1002ms') 2025-08-14 14:32:00,769 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-43617436-04174001 failed! 2025-08-14 14:32:00,825 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-43617436:ctest-vn-61732726 is 97.162.90.193 and allocation pool is NOT set 2025-08-14 14:32:02,896 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.516 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.516/1.770/3.025/1.254 ms') 2025-08-14 14:32:02,897 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-43617436-04174001 passed 2025-08-14 14:32:03,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:32:03,054 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-43617436-04174001, IP 97.162.90.195, Port 22 2025-08-14 14:32:03,220 - DEBUG - VM ctest-TestBasicVMVNx-43617436-04174001 is ready for SSH connections 2025-08-14 14:32:03,220 - INFO - Waiting for VM ctest-TestBasicVMVNx-43617436-10274267 to be up.. 2025-08-14 14:32:03,314 - DEBUG - VM is in ACTIVE state now 2025-08-14 14:32:03,314 - INFO - VM name : ctest-TestBasicVMVNx-43617436-10274267 2025-08-14 14:32:03,393 - DEBUG - VM ctest-TestBasicVMVNx-43617436-10274267 ID is 2b09554a-1a54-452e-ac0a-a4053c43fdd5 2025-08-14 14:32:03,393 - DEBUG - VM ctest-TestBasicVMVNx-43617436-10274267 launched on Node cn-jenkins-deploy-platform-ansible-os-3856-1. 2025-08-14 14:32:03,471 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/2b09554a-1a54-452e-ac0a-a4053c43fdd5 2025-08-14 14:32:03,480 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/3e417402-911b-458e-a75a-7f458b517f43 2025-08-14 14:32:04,723 - 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=4.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.44 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 = 1.443/3.186/4.930/1.743 ms') 2025-08-14 14:32:04,723 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-43617436-10274267 passed 2025-08-14 14:32:04,889 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:32:04,889 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-43617436-10274267, IP 97.162.90.196, Port 22 2025-08-14 14:32:05,049 - DEBUG - VM ctest-TestBasicVMVNx-43617436-10274267 is ready for SSH connections 2025-08-14 14:32:05,049 - DEBUG - FILE SIZE = 1303B 2025-08-14 14:32:05,049 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-43617436-04174001 to ctest-TestBasicVMVNx-43617436-10274267 using scp 2025-08-14 14:32:05,051 - 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.249, gateway password: c0ntrail123 2025-08-14 14:32:05,051 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-08-14 14:32:07,151 - DEBUG - 1+0 records in 1+0 records out 2025-08-14 14:32:07,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:32:08,203 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-14 14:32:08,203 - DEBUG - ls -l testfile 2025-08-14 14:32:09,816 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 14 08:32 testfile 2025-08-14 14:32:09,816 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-43617436-10274267 2025-08-14 14:32:09,816 - INFO - Deleting VM ctest-TestBasicVMVNx-43617436-10274267 2025-08-14 14:32:09,888 - INFO - Deleting VM ctest-TestBasicVMVNx-43617436-04174001 2025-08-14 14:32:09,960 - INFO - Deleting VN ctest-vn-61732726 2025-08-14 14:32:10,009 - DEBUG - VN b525e8a6-8e54-44da-bac9-dada622d5371 still in use: Unable to complete operation on network b525e8a6-8e54-44da-bac9-dada622d5371. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cba9cd6f-4517-4ade-ac9f-ae57526e1c28'] 2025-08-14 14:32:10,009 - WARNING - Deleting VN ctest-vn-61732726 failed..Will retry 2025-08-14 14:32:12,121 - DEBUG - Response for deleting network () 2025-08-14 14:32:12,388 - DEBUG - No XMPP flaps were noticed during the test
2025-08-14 14:32:12,389 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-08-14 14:32:12,389 - INFO - -------------------------------------------------------------------------------- 2025-08-14 14:32:13,124 - INFO - Deleted project: ctest-TestBasicVMVNx-43617436, ID : f585e640-103e-4036-bea2-b7455751dd92