2025-04-28 15:59:38,873 - INFO - Domain Default found not creating 2025-04-28 15:59:39,000 - INFO - Project ctest-TestBasicVMVNx-56682853 not found, creating it 2025-04-28 15:59:39,424 - INFO - Created Project:ctest-TestBasicVMVNx-56682853, ID : e3ae00f5-f2b1-4d5c-bb09-6b0c81fff2bc 2025-04-28 15:59:40,815 - INFO - ================================================================================ 2025-04-28 15:59:40,816 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-28 15:59:40,816 - 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-28 15:59:41,071 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.193': '0'}} with 2025-04-28 15:59:41,071 - INFO - Initial checks done. Running the testcase now 2025-04-28 15:59:41,071 - INFO - 2025-04-28 15:59:41,606 - DEBUG - Response for create_network : {'network': {'id': 'b12ab7b5-cd9a-411f-9538-876bcf5175be', 'name': 'ctest-vn-05046020', 'tenant_id': 'e3ae00f5f2b14d5cbb096b0c81fff2bc', 'project_id': 'e3ae00f5f2b14d5cbb096b0c81fff2bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-56682853', 'ctest-vn-05046020'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 15:59:41,776 - DEBUG - Response for create_subnet : {'subnet': {'id': '15fdb054-d742-446c-b869-979b9d8d50ba', 'name': '', 'tenant_id': 'e3ae00f5f2b14d5cbb096b0c81fff2bc', 'network_id': 'b12ab7b5-cd9a-411f-9538-876bcf5175be', 'ip_version': 4, 'cidr': '73.221.166.0/26', 'allocation_pools': [{'start': '73.221.166.2', 'end': '73.221.166.62'}], 'gateway_ip': '73.221.166.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.221.166.2', 'tags': [], 'project_id': 'e3ae00f5f2b14d5cbb096b0c81fff2bc'}} 2025-04-28 15:59:41,794 - INFO - Created VN ctest-vn-05046020 2025-04-28 15:59:41,848 - DEBUG - VN ctest-vn-05046020 UUID is b12ab7b5-cd9a-411f-9538-876bcf5175be 2025-04-28 15:59:42,050 - DEBUG - Services list from nova: [, , ] 2025-04-28 15:59:43,137 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3242-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3242-1) 2025-04-28 15:59:44,273 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3242-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3242-1) 2025-04-28 15:59:44,274 - INFO - Waiting for VM ctest-TestBasicVMVNx-56682853-68681342 to be up.. 2025-04-28 15:59:44,352 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-28 15:59:49,443 - DEBUG - VM is in ACTIVE state now 2025-04-28 15:59:49,444 - INFO - VM name : ctest-TestBasicVMVNx-56682853-68681342 2025-04-28 15:59:49,530 - DEBUG - VM ctest-TestBasicVMVNx-56682853-68681342 ID is 197acf97-da9f-4047-8610-ebf113acd079 2025-04-28 15:59:49,553 - DEBUG - VM ctest-TestBasicVMVNx-56682853-68681342 launched on Node cn-jenkins-deploy-platform-ansible-os-3242-1 2025-04-28 15:59:49,655 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/197acf97-da9f-4047-8610-ebf113acd079 2025-04-28 15:59:49,947 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/197acf97-da9f-4047-8610-ebf113acd079 2025-04-28 15:59:50,256 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f4b8b62d-2d4b-403a-8d9a-d3370a363e77 2025-04-28 15:59:53,518 - 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-28 15:59:53,518 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56682853-68681342 failed! 2025-04-28 15:59:53,572 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-56682853:ctest-vn-05046020 is 73.221.166.1 and allocation pool is NOT set 2025-04-28 15:59:55,628 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.405 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.405/1.557/2.709/1.152 ms') 2025-04-28 15:59:55,628 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56682853-68681342 passed 2025-04-28 15:59:55,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 15:59:55,781 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56682853-68681342, IP 73.221.166.3, Port 22 2025-04-28 15:59:55,951 - DEBUG - VM ctest-TestBasicVMVNx-56682853-68681342 is ready for SSH connections 2025-04-28 15:59:55,951 - INFO - Waiting for VM ctest-TestBasicVMVNx-56682853-39395498 to be up.. 2025-04-28 15:59:56,022 - DEBUG - VM is in ACTIVE state now 2025-04-28 15:59:56,022 - INFO - VM name : ctest-TestBasicVMVNx-56682853-39395498 2025-04-28 15:59:56,092 - DEBUG - VM ctest-TestBasicVMVNx-56682853-39395498 ID is 726e17b2-2082-45ba-bf88-13fb29d82171 2025-04-28 15:59:56,092 - DEBUG - VM ctest-TestBasicVMVNx-56682853-39395498 launched on Node cn-jenkins-deploy-platform-ansible-os-3242-1 2025-04-28 15:59:56,168 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/726e17b2-2082-45ba-bf88-13fb29d82171 2025-04-28 15:59:56,177 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a1489939-c6d5-48f8-a136-2874262cfac5 2025-04-28 15:59:57,419 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/1.760/3.111/1.350 ms') 2025-04-28 15:59:57,419 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-56682853-39395498 passed 2025-04-28 15:59:57,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 15:59:57,569 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56682853-39395498, IP 73.221.166.4, Port 22 2025-04-28 15:59:57,730 - DEBUG - VM ctest-TestBasicVMVNx-56682853-39395498 is ready for SSH connections 2025-04-28 15:59:57,730 - DEBUG - FILE SIZE = 1303B 2025-04-28 15:59:57,730 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-56682853-68681342 to ctest-TestBasicVMVNx-56682853-39395498 using scp 2025-04-28 15:59:57,731 - 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-04-28 15:59:57,731 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-28 15:59:59,628 - DEBUG - 1+0 records in 1+0 records out 2025-04-28 16:00:00,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 16:00:00,557 - 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-04-28 16:00:00,558 - DEBUG - ls -l testfile 2025-04-28 16:00:02,158 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 28 10:00 testfile 2025-04-28 16:00:02,158 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-56682853-39395498 2025-04-28 16:00:02,159 - INFO - Deleting VM ctest-TestBasicVMVNx-56682853-39395498 2025-04-28 16:00:02,223 - INFO - Deleting VM ctest-TestBasicVMVNx-56682853-68681342 2025-04-28 16:00:02,288 - INFO - Deleting VN ctest-vn-05046020 2025-04-28 16:00:02,324 - DEBUG - VN b12ab7b5-cd9a-411f-9538-876bcf5175be still in use: Unable to complete operation on network b12ab7b5-cd9a-411f-9538-876bcf5175be. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-72c46db8-7bce-4d4b-a5b3-cffa43757b75'] 2025-04-28 16:00:02,324 - WARNING - Deleting VN ctest-vn-05046020 failed..Will retry 2025-04-28 16:00:04,435 - DEBUG - Response for deleting network () 2025-04-28 16:00:04,690 - DEBUG - No XMPP flaps were noticed during the test
2025-04-28 16:00:04,690 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-04-28 16:00:04,691 - INFO - -------------------------------------------------------------------------------- 2025-04-28 16:00:05,371 - INFO - Deleted project: ctest-TestBasicVMVNx-56682853, ID : e3ae00f5-f2b1-4d5c-bb09-6b0c81fff2bc