2025-02-04 21:37:49,072 - INFO - Domain Default found not creating 2025-02-04 21:37:49,261 - INFO - Project ctest-TestBasicVMVNx-17256857 not found, creating it 2025-02-04 21:37:49,798 - INFO - Created Project:ctest-TestBasicVMVNx-17256857, ID : c1ecf7a5-2c3c-43e2-86e8-16808c8ad80a 2025-02-04 21:37:51,392 - INFO - ================================================================================ 2025-02-04 21:37:51,393 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-04 21:37:51,393 - 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-02-04 21:37:51,655 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.5': '0'}} with 2025-02-04 21:37:51,655 - INFO - Initial checks done. Running the testcase now 2025-02-04 21:37:51,656 - INFO - 2025-02-04 21:37:52,249 - DEBUG - Response for create_network : {'network': {'id': '116c4e65-a822-4971-ac75-e65e37d31207', 'name': 'ctest-vn-44814890', 'tenant_id': 'c1ecf7a52c3c43e286e816808c8ad80a', 'project_id': 'c1ecf7a52c3c43e286e816808c8ad80a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-17256857', 'ctest-vn-44814890'], 'port_security_enabled': True, 'description': ''}} 2025-02-04 21:37:52,471 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ec0142e-ee1c-4d12-ad2f-296badc96e85', 'name': '', 'tenant_id': 'c1ecf7a52c3c43e286e816808c8ad80a', 'network_id': '116c4e65-a822-4971-ac75-e65e37d31207', 'ip_version': 4, 'cidr': '135.133.60.128/26', 'allocation_pools': [{'start': '135.133.60.130', 'end': '135.133.60.190'}], 'gateway_ip': '135.133.60.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.133.60.130', 'tags': [], 'project_id': 'c1ecf7a52c3c43e286e816808c8ad80a'}} 2025-02-04 21:37:52,495 - INFO - Created VN ctest-vn-44814890 2025-02-04 21:37:52,548 - DEBUG - VN ctest-vn-44814890 UUID is 116c4e65-a822-4971-ac75-e65e37d31207 2025-02-04 21:37:52,750 - DEBUG - Services list from nova: [, , ] 2025-02-04 21:37:53,879 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2687-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2687-1) 2025-02-04 21:37:55,192 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2687-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2687-1) 2025-02-04 21:37:55,192 - INFO - Waiting for VM ctest-TestBasicVMVNx-17256857-56003022 to be up.. 2025-02-04 21:37:55,294 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-04 21:38:00,402 - DEBUG - VM is in ACTIVE state now 2025-02-04 21:38:00,402 - INFO - VM name : ctest-TestBasicVMVNx-17256857-56003022 2025-02-04 21:38:00,497 - DEBUG - VM ctest-TestBasicVMVNx-17256857-56003022 ID is 21f59d44-b84e-4f52-817b-abf6b721ceff 2025-02-04 21:38:00,522 - DEBUG - VM ctest-TestBasicVMVNx-17256857-56003022 launched on Node cn-jenkins-deploy-platform-ansible-os-2687-1 2025-02-04 21:38:00,622 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/21f59d44-b84e-4f52-817b-abf6b721ceff 2025-02-04 21:38:00,940 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/21f59d44-b84e-4f52-817b-abf6b721ceff 2025-02-04 21:38:00,982 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/1ca87375-ff38-440a-a958-fe072f435734 2025-02-04 21:38:04,235 - 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 1005ms') 2025-02-04 21:38:04,235 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-17256857-56003022 failed! 2025-02-04 21:38:04,292 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-17256857:ctest-vn-44814890 is 135.133.60.129 and allocation pool is NOT set 2025-02-04 21:38:06,360 - 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=4.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.821 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.821/2.595/4.370/1.774 ms') 2025-02-04 21:38:06,360 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-17256857-56003022 passed 2025-02-04 21:38:06,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-04 21:38:06,512 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-17256857-56003022, IP 135.133.60.131, Port 22 2025-02-04 21:38:06,678 - DEBUG - VM ctest-TestBasicVMVNx-17256857-56003022 is ready for SSH connections 2025-02-04 21:38:06,678 - INFO - Waiting for VM ctest-TestBasicVMVNx-17256857-64729808 to be up.. 2025-02-04 21:38:06,778 - DEBUG - VM is in ACTIVE state now 2025-02-04 21:38:06,778 - INFO - VM name : ctest-TestBasicVMVNx-17256857-64729808 2025-02-04 21:38:06,885 - DEBUG - VM ctest-TestBasicVMVNx-17256857-64729808 ID is 9eb0838b-c483-4de3-8aa7-74814346fa73 2025-02-04 21:38:06,886 - DEBUG - VM ctest-TestBasicVMVNx-17256857-64729808 launched on Node cn-jenkins-deploy-platform-ansible-os-2687-1 2025-02-04 21:38:06,993 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/9eb0838b-c483-4de3-8aa7-74814346fa73 2025-02-04 21:38:07,010 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/f8dcbf81-8869-4e67-b087-089d700fc0d3 2025-02-04 21:38:08,270 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.399 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 = 0.399/2.337/4.275/1.938 ms') 2025-02-04 21:38:08,270 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-17256857-64729808 passed 2025-02-04 21:38:08,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-04 21:38:08,428 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-17256857-64729808, IP 135.133.60.132, Port 22 2025-02-04 21:38:08,584 - DEBUG - VM ctest-TestBasicVMVNx-17256857-64729808 is ready for SSH connections 2025-02-04 21:38:08,584 - DEBUG - FILE SIZE = 1303B 2025-02-04 21:38:08,584 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-17256857-56003022 to ctest-TestBasicVMVNx-17256857-64729808 using scp 2025-02-04 21:38:08,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-04 21:38:08,592 - 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.17, gateway password: c0ntrail123 2025-02-04 21:38:08,593 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-04 21:38:10,619 - DEBUG - 1+0 records in 1+0 records out 2025-02-04 21:38:11,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-04 21:38:11,813 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-02-04 21:38:11,813 - DEBUG - ls -l testfile 2025-02-04 21:38:13,426 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 4 14:38 testfile 2025-02-04 21:38:13,426 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-17256857-64729808 2025-02-04 21:38:13,426 - INFO - Deleting VM ctest-TestBasicVMVNx-17256857-64729808 2025-02-04 21:38:13,509 - INFO - Deleting VM ctest-TestBasicVMVNx-17256857-56003022 2025-02-04 21:38:13,586 - INFO - Deleting VN ctest-vn-44814890 2025-02-04 21:38:13,638 - DEBUG - VN 116c4e65-a822-4971-ac75-e65e37d31207 still in use: Unable to complete operation on network 116c4e65-a822-4971-ac75-e65e37d31207. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-27e74c34-7cfa-4e90-8b54-78aec6f4031b'] 2025-02-04 21:38:13,638 - WARNING - Deleting VN ctest-vn-44814890 failed..Will retry 2025-02-04 21:38:15,793 - DEBUG - Response for deleting network () 2025-02-04 21:38:16,055 - DEBUG - No XMPP flaps were noticed during the test 2025-02-04 21:38:16,055 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2025-02-04 21:38:16,055 - INFO - -------------------------------------------------------------------------------- 2025-02-04 21:38:16,788 - INFO - Deleted project: ctest-TestBasicVMVNx-17256857, ID : c1ecf7a5-2c3c-43e2-86e8-16808c8ad80a