2025-01-02 02:19:04,715 - INFO - Domain Default found not creating
2025-01-02 02:19:04,861 - INFO - Project ctest-TestBasicVMVNx-92780112 not found, creating it
2025-01-02 02:19:05,308 - INFO - Created Project:ctest-TestBasicVMVNx-92780112, ID : fcdc4230-7766-43b7-b643-35b923ae1528
2025-01-02 02:19:06,745 - INFO - ================================================================================
2025-01-02 02:19:06,745 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-01-02 02:19:06,745 - 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-01-02 02:19:06,999 - DEBUG - Nothing to compare xmpp stats {'10.0.0.46': {'10.20.0.5': '0'}} with
2025-01-02 02:19:06,999 - INFO - Initial checks done. Running the testcase now
2025-01-02 02:19:06,999 - INFO -
2025-01-02 02:19:07,546 - DEBUG - Response for create_network : {'network': {'id': '2b3587ab-df5d-4a6b-bbd5-aa3076cd76fc', 'name': 'ctest-vn-44350275', 'tenant_id': 'fcdc4230776643b7b64335b923ae1528', 'project_id': 'fcdc4230776643b7b64335b923ae1528', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-92780112', 'ctest-vn-44350275'], 'port_security_enabled': True, 'description': ''}}
2025-01-02 02:19:07,713 - DEBUG - Response for create_subnet : {'subnet': {'id': '1376a1b1-3dfc-4186-b1f6-0e29e7e76a08', 'name': '', 'tenant_id': 'fcdc4230776643b7b64335b923ae1528', 'network_id': '2b3587ab-df5d-4a6b-bbd5-aa3076cd76fc', 'ip_version': 4, 'cidr': '60.81.238.0/26', 'allocation_pools': [{'start': '60.81.238.2', 'end': '60.81.238.62'}], 'gateway_ip': '60.81.238.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.81.238.2', 'tags': [], 'project_id': 'fcdc4230776643b7b64335b923ae1528'}}
2025-01-02 02:19:07,731 - INFO - Created VN ctest-vn-44350275
2025-01-02 02:19:07,781 - DEBUG - VN ctest-vn-44350275 UUID is 2b3587ab-df5d-4a6b-bbd5-aa3076cd76fc
2025-01-02 02:19:07,983 - DEBUG - Services list from nova: [, , ]
2025-01-02 02:19:08,978 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2506-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2506-1)
2025-01-02 02:19:10,092 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2506-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2506-1)
2025-01-02 02:19:10,092 - INFO - Waiting for VM ctest-TestBasicVMVNx-92780112-18566495 to be up..
2025-01-02 02:19:10,186 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-01-02 02:19:15,266 - DEBUG - VM is in ACTIVE state now
2025-01-02 02:19:15,266 - INFO - VM name : ctest-TestBasicVMVNx-92780112-18566495
2025-01-02 02:19:15,341 - DEBUG - VM ctest-TestBasicVMVNx-92780112-18566495 ID is 43299925-3927-443a-80ed-6f30927df192
2025-01-02 02:19:15,360 - DEBUG - VM ctest-TestBasicVMVNx-92780112-18566495 launched on Node cn-jenkins-deploy-platform-ansible-os-2506-1
2025-01-02 02:19:15,435 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/43299925-3927-443a-80ed-6f30927df192
2025-01-02 02:19:15,729 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/43299925-3927-443a-80ed-6f30927df192
2025-01-02 02:19:15,769 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/d93b4fb6-3fa2-475e-b2f1-c4d9707d1011
2025-01-02 02:19:19,037 - 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 1031ms')
2025-01-02 02:19:19,037 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-92780112-18566495 failed!
2025-01-02 02:19:19,093 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-92780112:ctest-vn-44350275 is 60.81.238.1 and allocation pool is NOT set
2025-01-02 02:19:21,148 - 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=8.10 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/4.329/8.103/3.773 ms')
2025-01-02 02:19:21,149 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-92780112-18566495 passed
2025-01-02 02:19:21,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-02 02:19:21,305 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-92780112-18566495, IP 60.81.238.3, Port 22
2025-01-02 02:19:21,464 - DEBUG - VM ctest-TestBasicVMVNx-92780112-18566495 is ready for SSH connections
2025-01-02 02:19:21,464 - INFO - Waiting for VM ctest-TestBasicVMVNx-92780112-42834852 to be up..
2025-01-02 02:19:21,544 - DEBUG - VM is in ACTIVE state now
2025-01-02 02:19:21,544 - INFO - VM name : ctest-TestBasicVMVNx-92780112-42834852
2025-01-02 02:19:21,619 - DEBUG - VM ctest-TestBasicVMVNx-92780112-42834852 ID is 9dde4874-d9c1-4857-b0f6-d2bd0b8b76b2
2025-01-02 02:19:21,619 - DEBUG - VM ctest-TestBasicVMVNx-92780112-42834852 launched on Node cn-jenkins-deploy-platform-ansible-os-2506-1
2025-01-02 02:19:21,696 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine/9dde4874-d9c1-4857-b0f6-d2bd0b8b76b2
2025-01-02 02:19:21,705 - DEBUG - Requesting: http://10.0.0.46:8082/virtual-machine-interface/3fa37584-798c-456a-bc32-fff624e298b5
2025-01-02 02:19:22,943 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.471 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.471/1.688/2.906/1.217 ms')
2025-01-02 02:19:22,943 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-92780112-42834852 passed
2025-01-02 02:19:23,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-02 02:19:23,093 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-92780112-42834852, IP 60.81.238.4, Port 22
2025-01-02 02:19:23,249 - DEBUG - VM ctest-TestBasicVMVNx-92780112-42834852 is ready for SSH connections
2025-01-02 02:19:23,249 - DEBUG - FILE SIZE = 1303B
2025-01-02 02:19:23,249 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-92780112-18566495 to ctest-TestBasicVMVNx-92780112-42834852 using scp
2025-01-02 02:19:23,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-02 02:19:23,255 - 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.46, gateway password: c0ntrail123
2025-01-02 02:19:23,256 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-01-02 02:19:25,184 - DEBUG - 1+0 records in
1+0 records out
2025-01-02 02:19:25,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-01-02 02:19:26,118 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.46, gateway password: c0ntrail123
2025-01-02 02:19:26,118 - DEBUG - ls -l testfile
2025-01-02 02:19:27,705 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 1 19:19 [0;0mtestfile[0m
2025-01-02 02:19:27,705 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-92780112-42834852
2025-01-02 02:19:27,706 - INFO - Deleting VM ctest-TestBasicVMVNx-92780112-42834852
2025-01-02 02:19:27,775 - INFO - Deleting VM ctest-TestBasicVMVNx-92780112-18566495
2025-01-02 02:19:27,845 - INFO - Deleting VN ctest-vn-44350275
2025-01-02 02:19:27,885 - DEBUG - VN 2b3587ab-df5d-4a6b-bbd5-aa3076cd76fc still in use: Unable to complete operation on network 2b3587ab-df5d-4a6b-bbd5-aa3076cd76fc. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-cfffe856-31a2-4939-a9b4-07c64092e700']
2025-01-02 02:19:27,885 - WARNING - Deleting VN ctest-vn-44350275 failed..Will retry
2025-01-02 02:19:29,978 - DEBUG - Response for deleting network ()
2025-01-02 02:19:30,234 - DEBUG - No XMPP flaps were noticed during the test
2025-01-02 02:19:30,235 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-01-02 02:19:30,235 - INFO - --------------------------------------------------------------------------------
2025-01-02 02:19:30,896 - INFO - Deleted project: ctest-TestBasicVMVNx-92780112, ID : fcdc4230-7766-43b7-b643-35b923ae1528