2025-07-23 17:23:21,948 - INFO - Domain Default found not creating 2025-07-23 17:23:22,084 - INFO - Project ctest-TestBasicVMVNx-81749566 not found, creating it 2025-07-23 17:23:22,545 - INFO - Created Project:ctest-TestBasicVMVNx-81749566, ID : 948c48bb-dcb4-4cdb-825d-11d8e66589f3 2025-07-23 17:23:23,977 - INFO - ================================================================================ 2025-07-23 17:23:23,977 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-07-23 17:23:23,977 - 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-07-23 17:23:24,237 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.18': '0'}} with 2025-07-23 17:23:24,237 - INFO - Initial checks done. Running the testcase now 2025-07-23 17:23:24,237 - INFO - 2025-07-23 17:23:24,768 - DEBUG - Response for create_network : {'network': {'id': '8f3523a7-bb39-44f4-ae5b-4b1ce53d0ed4', 'name': 'ctest-vn-61999781', 'tenant_id': '948c48bbdcb44cdb825d11d8e66589f3', 'project_id': '948c48bbdcb44cdb825d11d8e66589f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-81749566', 'ctest-vn-61999781'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 17:23:24,923 - DEBUG - Response for create_subnet : {'subnet': {'id': '811564e7-0452-4fb7-84eb-2731b6c55787', 'name': '', 'tenant_id': '948c48bbdcb44cdb825d11d8e66589f3', 'network_id': '8f3523a7-bb39-44f4-ae5b-4b1ce53d0ed4', 'ip_version': 4, 'cidr': '119.173.58.0/26', 'allocation_pools': [{'start': '119.173.58.2', 'end': '119.173.58.62'}], 'gateway_ip': '119.173.58.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.173.58.2', 'tags': [], 'project_id': '948c48bbdcb44cdb825d11d8e66589f3'}} 2025-07-23 17:23:24,942 - INFO - Created VN ctest-vn-61999781 2025-07-23 17:23:24,995 - DEBUG - VN ctest-vn-61999781 UUID is 8f3523a7-bb39-44f4-ae5b-4b1ce53d0ed4 2025-07-23 17:23:25,158 - DEBUG - Services list from nova: [, , ] 2025-07-23 17:23:26,152 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3708-1) 2025-07-23 17:23:27,224 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3708-1) 2025-07-23 17:23:27,224 - INFO - Waiting for VM ctest-TestBasicVMVNx-81749566-97193918 to be up.. 2025-07-23 17:23:27,290 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 17:23:32,369 - DEBUG - VM is in ACTIVE state now 2025-07-23 17:23:32,369 - INFO - VM name : ctest-TestBasicVMVNx-81749566-97193918 2025-07-23 17:23:32,458 - DEBUG - VM ctest-TestBasicVMVNx-81749566-97193918 ID is 7a23cdb2-c4e7-4ec0-91ca-c10d1b23845a 2025-07-23 17:23:32,482 - DEBUG - VM ctest-TestBasicVMVNx-81749566-97193918 launched on Node cn-jenkins-deploy-platform-ansible-os-3708-1 2025-07-23 17:23:32,574 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7a23cdb2-c4e7-4ec0-91ca-c10d1b23845a 2025-07-23 17:23:32,867 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7a23cdb2-c4e7-4ec0-91ca-c10d1b23845a 2025-07-23 17:23:32,898 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/36e50be4-eaa9-4531-9cc8-c740ff49332e 2025-07-23 17:23:36,154 - 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 1012ms') 2025-07-23 17:23:36,154 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-81749566-97193918 failed! 2025-07-23 17:23:36,215 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-81749566:ctest-vn-61999781 is 119.173.58.1 and allocation pool is NOT set 2025-07-23 17:23:38,282 - 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.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.808 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.808/1.995/3.183/1.187 ms') 2025-07-23 17:23:38,282 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-81749566-97193918 passed 2025-07-23 17:23:38,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 17:23:38,435 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-81749566-97193918, IP 119.173.58.3, Port 22 2025-07-23 17:23:38,586 - DEBUG - VM ctest-TestBasicVMVNx-81749566-97193918 is ready for SSH connections 2025-07-23 17:23:38,586 - INFO - Waiting for VM ctest-TestBasicVMVNx-81749566-27037719 to be up.. 2025-07-23 17:23:38,662 - DEBUG - VM is in ACTIVE state now 2025-07-23 17:23:38,662 - INFO - VM name : ctest-TestBasicVMVNx-81749566-27037719 2025-07-23 17:23:38,744 - DEBUG - VM ctest-TestBasicVMVNx-81749566-27037719 ID is f672660e-5ac3-494b-bf9e-9171f505ed1b 2025-07-23 17:23:38,745 - DEBUG - VM ctest-TestBasicVMVNx-81749566-27037719 launched on Node cn-jenkins-deploy-platform-ansible-os-3708-1 2025-07-23 17:23:38,820 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f672660e-5ac3-494b-bf9e-9171f505ed1b 2025-07-23 17:23:38,831 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/817a6636-ca29-4ee5-81f3-377d4f42d60e 2025-07-23 17:23:40,084 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.428 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.428/1.553/2.679/1.125 ms') 2025-07-23 17:23:40,084 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-81749566-27037719 passed 2025-07-23 17:23:40,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 17:23:40,235 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-81749566-27037719, IP 119.173.58.4, Port 22 2025-07-23 17:23:40,390 - DEBUG - VM ctest-TestBasicVMVNx-81749566-27037719 is ready for SSH connections 2025-07-23 17:23:40,391 - DEBUG - FILE SIZE = 1303B 2025-07-23 17:23:40,391 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-81749566-97193918 to ctest-TestBasicVMVNx-81749566-27037719 using scp 2025-07-23 17:23:40,391 - 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-07-23 17:23:40,392 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-07-23 17:23:42,281 - DEBUG - 1+0 records in 1+0 records out 2025-07-23 17:23:42,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 17:23:43,318 - 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-07-23 17:23:43,319 - DEBUG - ls -l testfile 2025-07-23 17:23:44,850 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 23 11:23 testfile 2025-07-23 17:23:44,850 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-81749566-27037719 2025-07-23 17:23:44,851 - INFO - Deleting VM ctest-TestBasicVMVNx-81749566-27037719 2025-07-23 17:23:44,916 - INFO - Deleting VM ctest-TestBasicVMVNx-81749566-97193918 2025-07-23 17:23:44,989 - INFO - Deleting VN ctest-vn-61999781 2025-07-23 17:23:45,030 - DEBUG - VN 8f3523a7-bb39-44f4-ae5b-4b1ce53d0ed4 still in use: Unable to complete operation on network 8f3523a7-bb39-44f4-ae5b-4b1ce53d0ed4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-18643dab-9a0e-4846-9ec0-e047abcdaacb'] 2025-07-23 17:23:45,030 - WARNING - Deleting VN ctest-vn-61999781 failed..Will retry 2025-07-23 17:23:47,167 - DEBUG - Response for deleting network () 2025-07-23 17:23:47,428 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 17:23:47,428 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-07-23 17:23:47,428 - INFO - -------------------------------------------------------------------------------- 2025-07-23 17:23:48,113 - INFO - Deleted project: ctest-TestBasicVMVNx-81749566, ID : 948c48bb-dcb4-4cdb-825d-11d8e66589f3