2025-06-18 16:27:38,325 - INFO - Domain Default found not creating 2025-06-18 16:27:38,500 - INFO - Project ctest-TestBasicVMVNx-58598887 not found, creating it 2025-06-18 16:27:39,040 - INFO - Created Project:ctest-TestBasicVMVNx-58598887, ID : 21e97b16-1eda-4217-86d3-ea506e7f79e6 2025-06-18 16:27:40,608 - INFO - ================================================================================ 2025-06-18 16:27:40,608 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-18 16:27:40,608 - 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-18 16:27:40,865 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-18 16:27:40,865 - INFO - Initial checks done. Running the testcase now 2025-06-18 16:27:40,865 - INFO - 2025-06-18 16:27:41,455 - DEBUG - Response for create_network : {'network': {'id': '4d60f667-5f25-416a-8ee5-8d6cbc041d6c', 'name': 'ctest-vn-10171552', 'tenant_id': '21e97b161eda421786d3ea506e7f79e6', 'project_id': '21e97b161eda421786d3ea506e7f79e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-58598887', 'ctest-vn-10171552'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 16:27:41,660 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f2cab60-b3d4-4618-acda-649375f24a77', 'name': '', 'tenant_id': '21e97b161eda421786d3ea506e7f79e6', 'network_id': '4d60f667-5f25-416a-8ee5-8d6cbc041d6c', 'ip_version': 4, 'cidr': '163.157.38.128/26', 'allocation_pools': [{'start': '163.157.38.130', 'end': '163.157.38.190'}], 'gateway_ip': '163.157.38.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.157.38.130', 'tags': [], 'project_id': '21e97b161eda421786d3ea506e7f79e6'}} 2025-06-18 16:27:41,681 - INFO - Created VN ctest-vn-10171552 2025-06-18 16:27:41,734 - DEBUG - VN ctest-vn-10171552 UUID is 4d60f667-5f25-416a-8ee5-8d6cbc041d6c 2025-06-18 16:27:41,908 - DEBUG - Services list from nova: [, , ] 2025-06-18 16:27:43,054 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3476-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3476-1) 2025-06-18 16:27:44,296 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3476-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3476-1) 2025-06-18 16:27:44,296 - INFO - Waiting for VM ctest-TestBasicVMVNx-58598887-32123738 to be up.. 2025-06-18 16:27:44,389 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-18 16:27:49,473 - DEBUG - VM is in ACTIVE state now 2025-06-18 16:27:49,473 - INFO - VM name : ctest-TestBasicVMVNx-58598887-32123738 2025-06-18 16:27:49,551 - DEBUG - VM ctest-TestBasicVMVNx-58598887-32123738 ID is 3a05645e-81de-49d0-9934-6a3c70b953b7 2025-06-18 16:27:49,574 - DEBUG - VM ctest-TestBasicVMVNx-58598887-32123738 launched on Node cn-jenkins-deploy-platform-ansible-os-3476-1 2025-06-18 16:27:49,676 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3a05645e-81de-49d0-9934-6a3c70b953b7 2025-06-18 16:27:50,011 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3a05645e-81de-49d0-9934-6a3c70b953b7 2025-06-18 16:27:50,046 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fbb25a0d-447a-48f7-ab90-a5e7dbf30bba 2025-06-18 16:27:53,295 - 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 1013ms') 2025-06-18 16:27:53,295 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-58598887-32123738 failed! 2025-06-18 16:27:53,350 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-58598887:ctest-vn-10171552 is 163.157.38.129 and allocation pool is NOT set 2025-06-18 16:27:55,416 - 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=10.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.41 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 = 1.412/5.730/10.049/4.318 ms') 2025-06-18 16:27:55,416 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-58598887-32123738 passed 2025-06-18 16:27:55,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 16:27:55,574 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-58598887-32123738, IP 163.157.38.131, Port 22 2025-06-18 16:27:55,730 - DEBUG - VM ctest-TestBasicVMVNx-58598887-32123738 is ready for SSH connections 2025-06-18 16:27:55,730 - INFO - Waiting for VM ctest-TestBasicVMVNx-58598887-70060467 to be up.. 2025-06-18 16:27:55,809 - DEBUG - VM is in ACTIVE state now 2025-06-18 16:27:55,809 - INFO - VM name : ctest-TestBasicVMVNx-58598887-70060467 2025-06-18 16:27:55,887 - DEBUG - VM ctest-TestBasicVMVNx-58598887-70060467 ID is 87d5356f-a0b1-4d66-8aa1-5d2f61224f28 2025-06-18 16:27:55,887 - DEBUG - VM ctest-TestBasicVMVNx-58598887-70060467 launched on Node cn-jenkins-deploy-platform-ansible-os-3476-1 2025-06-18 16:27:55,972 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/87d5356f-a0b1-4d66-8aa1-5d2f61224f28 2025-06-18 16:27:55,982 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2bfe6028-b2e6-4acb-b9f7-aa3abd714c0f 2025-06-18 16:27:57,236 - 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=3.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.427 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.427/1.852/3.277/1.425 ms') 2025-06-18 16:27:57,236 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-58598887-70060467 passed 2025-06-18 16:27:57,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 16:27:57,390 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-58598887-70060467, IP 163.157.38.132, Port 22 2025-06-18 16:27:57,546 - DEBUG - VM ctest-TestBasicVMVNx-58598887-70060467 is ready for SSH connections 2025-06-18 16:27:57,546 - DEBUG - FILE SIZE = 1303B 2025-06-18 16:27:57,546 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-58598887-32123738 to ctest-TestBasicVMVNx-58598887-70060467 using scp 2025-06-18 16:27:57,547 - 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.38, gateway password: c0ntrail123 2025-06-18 16:27:57,547 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-18 16:27:59,499 - DEBUG - 1+0 records in 1+0 records out 2025-06-18 16:28:00,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 16:28:00,555 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-18 16:28:00,555 - DEBUG - ls -l testfile 2025-06-18 16:28:02,168 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 18 10:28 testfile 2025-06-18 16:28:02,168 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-58598887-70060467 2025-06-18 16:28:02,168 - INFO - Deleting VM ctest-TestBasicVMVNx-58598887-70060467 2025-06-18 16:28:02,239 - INFO - Deleting VM ctest-TestBasicVMVNx-58598887-32123738 2025-06-18 16:28:02,308 - INFO - Deleting VN ctest-vn-10171552 2025-06-18 16:28:02,350 - DEBUG - VN 4d60f667-5f25-416a-8ee5-8d6cbc041d6c still in use: Unable to complete operation on network 4d60f667-5f25-416a-8ee5-8d6cbc041d6c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0dbd4ab8-5e22-44f5-bb7e-c356f1032fd8'] 2025-06-18 16:28:02,350 - WARNING - Deleting VN ctest-vn-10171552 failed..Will retry 2025-06-18 16:28:04,510 - DEBUG - Response for deleting network () 2025-06-18 16:28:04,765 - DEBUG - No XMPP flaps were noticed during the test 2025-06-18 16:28:04,765 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-06-18 16:28:04,765 - INFO - -------------------------------------------------------------------------------- 2025-06-18 16:28:05,527 - INFO - Deleted project: ctest-TestBasicVMVNx-58598887, ID : 21e97b16-1eda-4217-86d3-ea506e7f79e6