2025-04-03 02:26:16,712 - INFO - Domain Default found not creating 2025-04-03 02:26:16,905 - INFO - Project ctest-TestBasicVMVNx-64880412 not found, creating it 2025-04-03 02:26:17,398 - INFO - Created Project:ctest-TestBasicVMVNx-64880412, ID : fbbf1bc4-7dbb-4893-a712-e173d9e7d05a 2025-04-03 02:26:18,937 - INFO - ================================================================================ 2025-04-03 02:26:18,937 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-03 02:26:18,938 - 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-03 02:26:19,198 - DEBUG - Nothing to compare xmpp stats {'10.0.0.54': {'10.20.0.8': '0'}} with 2025-04-03 02:26:19,198 - INFO - Initial checks done. Running the testcase now 2025-04-03 02:26:19,198 - INFO - 2025-04-03 02:26:19,800 - DEBUG - Response for create_network : {'network': {'id': 'd438b024-c0dd-4208-aa80-ad155fe6aeab', 'name': 'ctest-vn-01250962', 'tenant_id': 'fbbf1bc47dbb4893a712e173d9e7d05a', 'project_id': 'fbbf1bc47dbb4893a712e173d9e7d05a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-64880412', 'ctest-vn-01250962'], 'port_security_enabled': True, 'description': ''}} 2025-04-03 02:26:19,992 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4d1f6bf-7e78-4ebc-b6ac-e03ca553b48e', 'name': '', 'tenant_id': 'fbbf1bc47dbb4893a712e173d9e7d05a', 'network_id': 'd438b024-c0dd-4208-aa80-ad155fe6aeab', 'ip_version': 4, 'cidr': '2.87.209.128/26', 'allocation_pools': [{'start': '2.87.209.130', 'end': '2.87.209.190'}], 'gateway_ip': '2.87.209.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.87.209.130', 'tags': [], 'project_id': 'fbbf1bc47dbb4893a712e173d9e7d05a'}} 2025-04-03 02:26:20,017 - INFO - Created VN ctest-vn-01250962 2025-04-03 02:26:20,078 - DEBUG - VN ctest-vn-01250962 UUID is d438b024-c0dd-4208-aa80-ad155fe6aeab 2025-04-03 02:26:20,265 - DEBUG - Services list from nova: [, , ] 2025-04-03 02:26:21,335 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3025-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3025-1) 2025-04-03 02:26:22,593 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3025-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3025-1) 2025-04-03 02:26:22,593 - INFO - Waiting for VM ctest-TestBasicVMVNx-64880412-74038150 to be up.. 2025-04-03 02:26:22,691 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-03 02:26:27,813 - DEBUG - VM is in ACTIVE state now 2025-04-03 02:26:27,813 - INFO - VM name : ctest-TestBasicVMVNx-64880412-74038150 2025-04-03 02:26:27,918 - DEBUG - VM ctest-TestBasicVMVNx-64880412-74038150 ID is 6e2fe37e-858a-46da-99a3-362c87e2081d 2025-04-03 02:26:27,949 - DEBUG - VM ctest-TestBasicVMVNx-64880412-74038150 launched on Node cn-jenkins-deploy-platform-ansible-os-3025-1 2025-04-03 02:26:28,063 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/6e2fe37e-858a-46da-99a3-362c87e2081d 2025-04-03 02:26:28,401 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/6e2fe37e-858a-46da-99a3-362c87e2081d 2025-04-03 02:26:28,442 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine-interface/0142a274-73b8-4e3e-a424-d12ce8fb15b2 2025-04-03 02:26:31,712 - 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-04-03 02:26:31,712 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-64880412-74038150 failed! 2025-04-03 02:26:31,774 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-64880412:ctest-vn-01250962 is 2.87.209.129 and allocation pool is NOT set 2025-04-03 02:26:33,841 - 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=3.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.530 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.530/1.792/3.055/1.262 ms') 2025-04-03 02:26:33,841 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-64880412-74038150 passed 2025-04-03 02:26:34,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-03 02:26:34,004 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-64880412-74038150, IP 2.87.209.131, Port 22 2025-04-03 02:26:34,173 - DEBUG - VM ctest-TestBasicVMVNx-64880412-74038150 is ready for SSH connections 2025-04-03 02:26:34,173 - INFO - Waiting for VM ctest-TestBasicVMVNx-64880412-42283692 to be up.. 2025-04-03 02:26:34,268 - DEBUG - VM is in ACTIVE state now 2025-04-03 02:26:34,268 - INFO - VM name : ctest-TestBasicVMVNx-64880412-42283692 2025-04-03 02:26:34,368 - DEBUG - VM ctest-TestBasicVMVNx-64880412-42283692 ID is b11cf178-d5aa-45a9-be34-53e7205e2ee7 2025-04-03 02:26:34,369 - DEBUG - VM ctest-TestBasicVMVNx-64880412-42283692 launched on Node cn-jenkins-deploy-platform-ansible-os-3025-1 2025-04-03 02:26:34,468 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine/b11cf178-d5aa-45a9-be34-53e7205e2ee7 2025-04-03 02:26:34,481 - DEBUG - Requesting: http://10.0.0.54:8082/virtual-machine-interface/9fd96552-459b-47a5-8e64-528431384284 2025-04-03 02:26:35,740 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.571 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.571/1.782/2.994/1.211 ms') 2025-04-03 02:26:35,740 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-64880412-42283692 passed 2025-04-03 02:26:35,894 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-03 02:26:35,894 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-64880412-42283692, IP 2.87.209.132, Port 22 2025-04-03 02:26:36,058 - DEBUG - VM ctest-TestBasicVMVNx-64880412-42283692 is ready for SSH connections 2025-04-03 02:26:36,058 - DEBUG - FILE SIZE = 1303B 2025-04-03 02:26:36,059 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-64880412-74038150 to ctest-TestBasicVMVNx-64880412-42283692 using scp 2025-04-03 02:26:36,059 - 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.54, gateway password: c0ntrail123 2025-04-03 02:26:36,059 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-03 02:26:38,044 - DEBUG - 1+0 records in 1+0 records out 2025-04-03 02:26:38,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-03 02:26:39,184 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.54, gateway password: c0ntrail123 2025-04-03 02:26:39,184 - DEBUG - ls -l testfile 2025-04-03 02:26:40,833 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 2 20:26 testfile 2025-04-03 02:26:40,833 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-64880412-42283692 2025-04-03 02:26:40,834 - INFO - Deleting VM ctest-TestBasicVMVNx-64880412-42283692 2025-04-03 02:26:40,912 - INFO - Deleting VM ctest-TestBasicVMVNx-64880412-74038150 2025-04-03 02:26:41,008 - INFO - Deleting VN ctest-vn-01250962 2025-04-03 02:26:41,059 - DEBUG - VN d438b024-c0dd-4208-aa80-ad155fe6aeab still in use: Unable to complete operation on network d438b024-c0dd-4208-aa80-ad155fe6aeab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-305023f5-c849-4596-8ee2-e5db5e56e55a'] 2025-04-03 02:26:41,059 - WARNING - Deleting VN ctest-vn-01250962 failed..Will retry 2025-04-03 02:26:43,177 - DEBUG - Response for deleting network () 2025-04-03 02:26:43,437 - DEBUG - No XMPP flaps were noticed during the test 2025-04-03 02:26:43,438 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2025-04-03 02:26:43,438 - INFO - -------------------------------------------------------------------------------- 2025-04-03 02:26:44,155 - INFO - Deleted project: ctest-TestBasicVMVNx-64880412, ID : fbbf1bc4-7dbb-4893-a712-e173d9e7d05a