2025-05-07 07:50:49,828 - INFO - Domain Default found not creating 2025-05-07 07:50:49,963 - INFO - Project ctest-TestBasicVMVNx-92198836 not found, creating it 2025-05-07 07:50:50,406 - INFO - Created Project:ctest-TestBasicVMVNx-92198836, ID : 8918f1ff-f7fd-4720-bf76-9f2bbfe19f00 2025-05-07 07:50:51,793 - INFO - ================================================================================ 2025-05-07 07:50:51,793 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-05-07 07:50:51,793 - 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-05-07 07:50:52,055 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-05-07 07:50:52,055 - INFO - Initial checks done. Running the testcase now 2025-05-07 07:50:52,055 - INFO - 2025-05-07 07:50:52,631 - DEBUG - Response for create_network : {'network': {'id': 'cae8ceb7-3fdb-436a-9e5d-99d1031905fc', 'name': 'ctest-vn-62173743', 'tenant_id': '8918f1fff7fd4720bf769f2bbfe19f00', 'project_id': '8918f1fff7fd4720bf769f2bbfe19f00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-92198836', 'ctest-vn-62173743'], 'port_security_enabled': True, 'description': ''}} 2025-05-07 07:50:52,853 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f098a809-4fe0-4e86-a0d2-0afd207bfc5d', 'name': '', 'tenant_id': '8918f1fff7fd4720bf769f2bbfe19f00', 'network_id': 'cae8ceb7-3fdb-436a-9e5d-99d1031905fc', 'ip_version': 4, 'cidr': '196.49.2.192/26', 'allocation_pools': [{'start': '196.49.2.194', 'end': '196.49.2.254'}], 'gateway_ip': '196.49.2.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.49.2.194', 'tags': [], 'project_id': '8918f1fff7fd4720bf769f2bbfe19f00'}} 2025-05-07 07:50:52,870 - INFO - Created VN ctest-vn-62173743 2025-05-07 07:50:52,922 - DEBUG - VN ctest-vn-62173743 UUID is cae8ceb7-3fdb-436a-9e5d-99d1031905fc 2025-05-07 07:50:53,083 - DEBUG - Services list from nova: [, , ] 2025-05-07 07:50:54,044 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3280-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3280-1) 2025-05-07 07:50:55,162 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3280-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3280-1) 2025-05-07 07:50:55,162 - INFO - Waiting for VM ctest-TestBasicVMVNx-92198836-29945134 to be up.. 2025-05-07 07:50:55,246 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-07 07:51:00,322 - DEBUG - VM is in ACTIVE state now 2025-05-07 07:51:00,322 - INFO - VM name : ctest-TestBasicVMVNx-92198836-29945134 2025-05-07 07:51:00,393 - DEBUG - VM ctest-TestBasicVMVNx-92198836-29945134 ID is ca81858d-6a87-48f4-a8ad-0c8eedb62642 2025-05-07 07:51:00,410 - DEBUG - VM ctest-TestBasicVMVNx-92198836-29945134 launched on Node cn-jenkins-deploy-platform-ansible-os-3280-1 2025-05-07 07:51:00,478 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ca81858d-6a87-48f4-a8ad-0c8eedb62642 2025-05-07 07:51:00,770 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ca81858d-6a87-48f4-a8ad-0c8eedb62642 2025-05-07 07:51:00,800 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/81f978ca-7592-49ad-bcb8-7833a9a25710 2025-05-07 07:51:04,058 - 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 1015ms') 2025-05-07 07:51:04,058 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-92198836-29945134 failed! 2025-05-07 07:51:04,113 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-92198836:ctest-vn-62173743 is 196.49.2.193 and allocation pool is NOT set 2025-05-07 07:51:06,168 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.556 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.556/1.677/2.798/1.121 ms') 2025-05-07 07:51:06,168 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-92198836-29945134 passed 2025-05-07 07:51:06,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-07 07:51:06,322 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-92198836-29945134, IP 196.49.2.195, Port 22 2025-05-07 07:51:06,473 - DEBUG - VM ctest-TestBasicVMVNx-92198836-29945134 is ready for SSH connections 2025-05-07 07:51:06,473 - INFO - Waiting for VM ctest-TestBasicVMVNx-92198836-96490747 to be up.. 2025-05-07 07:51:06,547 - DEBUG - VM is in ACTIVE state now 2025-05-07 07:51:06,547 - INFO - VM name : ctest-TestBasicVMVNx-92198836-96490747 2025-05-07 07:51:06,617 - DEBUG - VM ctest-TestBasicVMVNx-92198836-96490747 ID is 22860973-9fcd-479a-be90-5b8fb05cd952 2025-05-07 07:51:06,617 - DEBUG - VM ctest-TestBasicVMVNx-92198836-96490747 launched on Node cn-jenkins-deploy-platform-ansible-os-3280-1 2025-05-07 07:51:06,685 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/22860973-9fcd-479a-be90-5b8fb05cd952 2025-05-07 07:51:06,693 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f6709870-d7f1-4201-8001-b413d235ec24 2025-05-07 07:51:07,941 - 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=2.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.445 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.445/1.558/2.672/1.113 ms') 2025-05-07 07:51:07,941 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-92198836-96490747 passed 2025-05-07 07:51:08,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-07 07:51:08,093 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-92198836-96490747, IP 196.49.2.196, Port 22 2025-05-07 07:51:08,249 - DEBUG - VM ctest-TestBasicVMVNx-92198836-96490747 is ready for SSH connections 2025-05-07 07:51:08,249 - DEBUG - FILE SIZE = 1303B 2025-05-07 07:51:08,249 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-92198836-29945134 to ctest-TestBasicVMVNx-92198836-96490747 using scp 2025-05-07 07:51:08,250 - 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-05-07 07:51:08,250 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-05-07 07:51:10,117 - DEBUG - 1+0 records in 1+0 records out 2025-05-07 07:51:10,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-07 07:51:11,008 - 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-05-07 07:51:11,009 - DEBUG - ls -l testfile 2025-05-07 07:51:12,588 - DEBUG - -rw------- 1 cirros cirros 1303 May 7 01:51 testfile 2025-05-07 07:51:12,588 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-92198836-96490747 2025-05-07 07:51:12,588 - INFO - Deleting VM ctest-TestBasicVMVNx-92198836-96490747 2025-05-07 07:51:12,654 - INFO - Deleting VM ctest-TestBasicVMVNx-92198836-29945134 2025-05-07 07:51:12,716 - INFO - Deleting VN ctest-vn-62173743 2025-05-07 07:51:12,751 - DEBUG - VN cae8ceb7-3fdb-436a-9e5d-99d1031905fc still in use: Unable to complete operation on network cae8ceb7-3fdb-436a-9e5d-99d1031905fc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c3454ce3-98de-49d0-b84c-5aa7f2f881c9'] 2025-05-07 07:51:12,752 - WARNING - Deleting VN ctest-vn-62173743 failed..Will retry 2025-05-07 07:51:14,855 - DEBUG - Response for deleting network () 2025-05-07 07:51:15,115 - DEBUG - No XMPP flaps were noticed during the test
2025-05-07 07:51:15,115 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-05-07 07:51:15,115 - INFO - -------------------------------------------------------------------------------- 2025-05-07 07:51:15,770 - INFO - Deleted project: ctest-TestBasicVMVNx-92198836, ID : 8918f1ff-f7fd-4720-bf76-9f2bbfe19f00