2025-06-27 14:02:26,151 - INFO - Domain Default found not creating 2025-06-27 14:02:26,309 - INFO - Project ctest-TestBasicVMVNx-58759855 not found, creating it 2025-06-27 14:02:26,775 - INFO - Created Project:ctest-TestBasicVMVNx-58759855, ID : c0975cce-693c-491c-a4d2-004c6cbdcdb2 2025-06-27 14:02:28,216 - INFO - ================================================================================ 2025-06-27 14:02:28,216 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-27 14:02:28,216 - 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-27 14:02:28,474 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-27 14:02:28,474 - INFO - Initial checks done. Running the testcase now 2025-06-27 14:02:28,474 - INFO - 2025-06-27 14:02:29,024 - DEBUG - Response for create_network : {'network': {'id': 'df08feb1-cae4-4639-b8f2-3e66d6aa0842', 'name': 'ctest-vn-25165125', 'tenant_id': 'c0975cce693c491ca4d2004c6cbdcdb2', 'project_id': 'c0975cce693c491ca4d2004c6cbdcdb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-58759855', 'ctest-vn-25165125'], 'port_security_enabled': True, 'description': ''}} 2025-06-27 14:02:29,231 - DEBUG - Response for create_subnet : {'subnet': {'id': '25afc419-1340-4b05-a21c-0d7594556cca', 'name': '', 'tenant_id': 'c0975cce693c491ca4d2004c6cbdcdb2', 'network_id': 'df08feb1-cae4-4639-b8f2-3e66d6aa0842', 'ip_version': 4, 'cidr': '132.243.74.64/26', 'allocation_pools': [{'start': '132.243.74.66', 'end': '132.243.74.126'}], 'gateway_ip': '132.243.74.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.243.74.66', 'tags': [], 'project_id': 'c0975cce693c491ca4d2004c6cbdcdb2'}} 2025-06-27 14:02:29,249 - INFO - Created VN ctest-vn-25165125 2025-06-27 14:02:29,304 - DEBUG - VN ctest-vn-25165125 UUID is df08feb1-cae4-4639-b8f2-3e66d6aa0842 2025-06-27 14:02:29,467 - DEBUG - Services list from nova: [, , ] 2025-06-27 14:02:30,503 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3566-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3566-1) 2025-06-27 14:02:31,631 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3566-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3566-1) 2025-06-27 14:02:31,632 - INFO - Waiting for VM ctest-TestBasicVMVNx-58759855-93293253 to be up.. 2025-06-27 14:02:31,719 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-27 14:02:36,805 - DEBUG - VM is in ACTIVE state now 2025-06-27 14:02:36,805 - INFO - VM name : ctest-TestBasicVMVNx-58759855-93293253 2025-06-27 14:02:36,888 - DEBUG - VM ctest-TestBasicVMVNx-58759855-93293253 ID is 477cf149-83ff-41d6-84f4-1cc3a62bd21d 2025-06-27 14:02:36,908 - DEBUG - VM ctest-TestBasicVMVNx-58759855-93293253 launched on Node cn-jenkins-deploy-platform-ansible-os-3566-1 2025-06-27 14:02:36,989 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/477cf149-83ff-41d6-84f4-1cc3a62bd21d 2025-06-27 14:02:37,283 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/477cf149-83ff-41d6-84f4-1cc3a62bd21d 2025-06-27 14:02:37,314 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/28beb0b9-aee9-4084-ba6f-8f54e4efd53b 2025-06-27 14:02:40,561 - 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 1010ms') 2025-06-27 14:02:40,562 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-58759855-93293253 failed! 2025-06-27 14:02:40,616 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-58759855:ctest-vn-25165125 is 132.243.74.65 and allocation pool is NOT set 2025-06-27 14:02:42,673 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.356 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.356/1.480/2.604/1.124 ms') 2025-06-27 14:02:42,673 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-58759855-93293253 passed 2025-06-27 14:02:42,828 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-27 14:02:42,829 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-58759855-93293253, IP 132.243.74.67, Port 22 2025-06-27 14:02:42,988 - DEBUG - VM ctest-TestBasicVMVNx-58759855-93293253 is ready for SSH connections 2025-06-27 14:02:42,988 - INFO - Waiting for VM ctest-TestBasicVMVNx-58759855-49383730 to be up.. 2025-06-27 14:02:43,068 - DEBUG - VM is in ACTIVE state now 2025-06-27 14:02:43,068 - INFO - VM name : ctest-TestBasicVMVNx-58759855-49383730 2025-06-27 14:02:43,142 - DEBUG - VM ctest-TestBasicVMVNx-58759855-49383730 ID is ea04d16e-5ac9-4cc8-a4a4-94e48be43bd4 2025-06-27 14:02:43,142 - DEBUG - VM ctest-TestBasicVMVNx-58759855-49383730 launched on Node cn-jenkins-deploy-platform-ansible-os-3566-1 2025-06-27 14:02:43,214 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ea04d16e-5ac9-4cc8-a4a4-94e48be43bd4 2025-06-27 14:02:43,223 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1fa217b9-0d34-44f7-bd80-510f46d1903a 2025-06-27 14:02:44,462 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.34 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 = 1.339/3.128/4.918/1.789 ms') 2025-06-27 14:02:44,462 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-58759855-49383730 passed 2025-06-27 14:02:44,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-27 14:02:44,612 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-58759855-49383730, IP 132.243.74.68, Port 22 2025-06-27 14:02:44,768 - DEBUG - VM ctest-TestBasicVMVNx-58759855-49383730 is ready for SSH connections 2025-06-27 14:02:44,768 - DEBUG - FILE SIZE = 1303B 2025-06-27 14:02:44,768 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-58759855-93293253 to ctest-TestBasicVMVNx-58759855-49383730 using scp 2025-06-27 14:02:44,769 - 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-06-27 14:02:44,769 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-27 14:02:46,654 - DEBUG - 1+0 records in 1+0 records out 2025-06-27 14:02:47,274 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-27 14:02:47,591 - 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-06-27 14:02:47,591 - DEBUG - ls -l testfile 2025-06-27 14:02:49,167 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 27 08:02 testfile 2025-06-27 14:02:49,167 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-58759855-49383730 2025-06-27 14:02:49,168 - INFO - Deleting VM ctest-TestBasicVMVNx-58759855-49383730 2025-06-27 14:02:49,239 - INFO - Deleting VM ctest-TestBasicVMVNx-58759855-93293253 2025-06-27 14:02:49,308 - INFO - Deleting VN ctest-vn-25165125 2025-06-27 14:02:49,343 - DEBUG - VN df08feb1-cae4-4639-b8f2-3e66d6aa0842 still in use: Unable to complete operation on network df08feb1-cae4-4639-b8f2-3e66d6aa0842. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eb376a71-2c58-4a5a-bb96-43f8d4f8618b'] 2025-06-27 14:02:49,343 - WARNING - Deleting VN ctest-vn-25165125 failed..Will retry 2025-06-27 14:02:51,450 - DEBUG - Response for deleting network () 2025-06-27 14:02:51,706 - DEBUG - No XMPP flaps were noticed during the test 2025-06-27 14:02:51,706 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2025-06-27 14:02:51,706 - INFO - -------------------------------------------------------------------------------- 2025-06-27 14:02:52,394 - INFO - Deleted project: ctest-TestBasicVMVNx-58759855, ID : c0975cce-693c-491c-a4d2-004c6cbdcdb2