2025-05-03 13:40:57,044 - INFO - Domain Default found not creating 2025-05-03 13:40:57,173 - INFO - Project ctest-TestBasicVMVNx-73606866 not found, creating it 2025-05-03 13:40:57,596 - INFO - Created Project:ctest-TestBasicVMVNx-73606866, ID : 9e8f90e8-c802-4dd3-859e-f0ba6d39db2f 2025-05-03 13:40:58,924 - INFO - ================================================================================ 2025-05-03 13:40:58,925 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-05-03 13:40:58,925 - 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-03 13:40:59,179 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-05-03 13:40:59,179 - INFO - Initial checks done. Running the testcase now 2025-05-03 13:40:59,179 - INFO - 2025-05-03 13:40:59,700 - DEBUG - Response for create_network : {'network': {'id': '9c9bfe62-6603-412c-b8e7-87e5c8b13bec', 'name': 'ctest-vn-45188920', 'tenant_id': '9e8f90e8c8024dd3859ef0ba6d39db2f', 'project_id': '9e8f90e8c8024dd3859ef0ba6d39db2f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-73606866', 'ctest-vn-45188920'], 'port_security_enabled': True, 'description': ''}} 2025-05-03 13:40:59,918 - DEBUG - Response for create_subnet : {'subnet': {'id': '85921ae2-53a5-44fe-8c4a-f1d08d7bde29', 'name': '', 'tenant_id': '9e8f90e8c8024dd3859ef0ba6d39db2f', 'network_id': '9c9bfe62-6603-412c-b8e7-87e5c8b13bec', 'ip_version': 4, 'cidr': '9.216.37.192/26', 'allocation_pools': [{'start': '9.216.37.194', 'end': '9.216.37.254'}], 'gateway_ip': '9.216.37.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.216.37.194', 'tags': [], 'project_id': '9e8f90e8c8024dd3859ef0ba6d39db2f'}} 2025-05-03 13:40:59,934 - INFO - Created VN ctest-vn-45188920 2025-05-03 13:40:59,986 - DEBUG - VN ctest-vn-45188920 UUID is 9c9bfe62-6603-412c-b8e7-87e5c8b13bec 2025-05-03 13:41:00,181 - DEBUG - Services list from nova: [, , ] 2025-05-03 13:41:01,120 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3260-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3260-1) 2025-05-03 13:41:02,166 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3260-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3260-1) 2025-05-03 13:41:02,167 - INFO - Waiting for VM ctest-TestBasicVMVNx-73606866-08905200 to be up.. 2025-05-03 13:41:02,248 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-03 13:41:07,322 - DEBUG - VM is in ACTIVE state now 2025-05-03 13:41:07,322 - INFO - VM name : ctest-TestBasicVMVNx-73606866-08905200 2025-05-03 13:41:07,392 - DEBUG - VM ctest-TestBasicVMVNx-73606866-08905200 ID is 123a53c2-040d-46cd-9e3f-6a5cb88e23bd 2025-05-03 13:41:07,411 - DEBUG - VM ctest-TestBasicVMVNx-73606866-08905200 launched on Node cn-jenkins-deploy-platform-ansible-os-3260-1 2025-05-03 13:41:07,477 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/123a53c2-040d-46cd-9e3f-6a5cb88e23bd 2025-05-03 13:41:07,768 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/123a53c2-040d-46cd-9e3f-6a5cb88e23bd 2025-05-03 13:41:07,797 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/38ae9f06-0a5d-4c4d-83e4-c8a640bdbc81 2025-05-03 13:41:11,036 - 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 1003ms') 2025-05-03 13:41:11,036 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-73606866-08905200 failed! 2025-05-03 13:41:11,090 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-73606866:ctest-vn-45188920 is 9.216.37.193 and allocation pool is NOT set 2025-05-03 13:41:13,150 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.375 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.375/1.597/2.820/1.222 ms') 2025-05-03 13:41:13,151 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-73606866-08905200 passed 2025-05-03 13:41:13,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-03 13:41:13,298 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-73606866-08905200, IP 9.216.37.195, Port 22 2025-05-03 13:41:13,453 - DEBUG - VM ctest-TestBasicVMVNx-73606866-08905200 is ready for SSH connections 2025-05-03 13:41:13,453 - INFO - Waiting for VM ctest-TestBasicVMVNx-73606866-15352720 to be up.. 2025-05-03 13:41:13,521 - DEBUG - VM is in ACTIVE state now 2025-05-03 13:41:13,521 - INFO - VM name : ctest-TestBasicVMVNx-73606866-15352720 2025-05-03 13:41:13,590 - DEBUG - VM ctest-TestBasicVMVNx-73606866-15352720 ID is f18af722-250f-4b4b-8994-5722f65dff7d 2025-05-03 13:41:13,590 - DEBUG - VM ctest-TestBasicVMVNx-73606866-15352720 launched on Node cn-jenkins-deploy-platform-ansible-os-3260-1 2025-05-03 13:41:13,656 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f18af722-250f-4b4b-8994-5722f65dff7d 2025-05-03 13:41:13,665 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6034c90f-3bf1-4291-86fc-35551443882d 2025-05-03 13:41:14,899 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.334 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.334/1.498/2.662/1.164 ms') 2025-05-03 13:41:14,899 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-73606866-15352720 passed 2025-05-03 13:41:15,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-03 13:41:15,050 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-73606866-15352720, IP 9.216.37.196, Port 22 2025-05-03 13:41:15,205 - DEBUG - VM ctest-TestBasicVMVNx-73606866-15352720 is ready for SSH connections 2025-05-03 13:41:15,205 - DEBUG - FILE SIZE = 1303B 2025-05-03 13:41:15,205 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-73606866-08905200 to ctest-TestBasicVMVNx-73606866-15352720 using scp 2025-05-03 13:41:15,205 - 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.254, gateway password: c0ntrail123 2025-05-03 13:41:15,206 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-05-03 13:41:17,043 - DEBUG - 1+0 records in 1+0 records out 2025-05-03 13:41:17,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-03 13:41:17,949 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-03 13:41:17,950 - DEBUG - ls -l testfile 2025-05-03 13:41:19,511 - DEBUG - -rw------- 1 cirros cirros 1303 May 3 07:41 testfile 2025-05-03 13:41:19,512 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-73606866-15352720 2025-05-03 13:41:19,512 - INFO - Deleting VM ctest-TestBasicVMVNx-73606866-15352720 2025-05-03 13:41:19,570 - INFO - Deleting VM ctest-TestBasicVMVNx-73606866-08905200 2025-05-03 13:41:19,630 - INFO - Deleting VN ctest-vn-45188920 2025-05-03 13:41:19,664 - DEBUG - VN 9c9bfe62-6603-412c-b8e7-87e5c8b13bec still in use: Unable to complete operation on network 9c9bfe62-6603-412c-b8e7-87e5c8b13bec. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-21d5e08f-900e-47dc-8957-928000ba9d09'] 2025-05-03 13:41:19,664 - WARNING - Deleting VN ctest-vn-45188920 failed..Will retry 2025-05-03 13:41:21,758 - DEBUG - Response for deleting network () 2025-05-03 13:41:22,018 - DEBUG - No XMPP flaps were noticed during the test 2025-05-03 13:41:22,018 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-05-03 13:41:22,019 - INFO - -------------------------------------------------------------------------------- 2025-05-03 13:41:22,666 - INFO - Deleted project: ctest-TestBasicVMVNx-73606866, ID : 9e8f90e8-c802-4dd3-859e-f0ba6d39db2f