2025-08-25 14:29:09,288 - INFO - Domain Default found not creating 2025-08-25 14:29:09,433 - INFO - Project ctest-TestBasicVMVNx-59684139 not found, creating it 2025-08-25 14:29:09,892 - INFO - Created Project:ctest-TestBasicVMVNx-59684139, ID : 193488e1-bfaa-465c-9168-e71bdbb25311 2025-08-25 14:29:11,440 - INFO - ================================================================================ 2025-08-25 14:29:11,440 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-08-25 14:29:11,440 - 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-08-25 14:29:11,699 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-25 14:29:11,699 - INFO - Initial checks done. Running the testcase now 2025-08-25 14:29:11,699 - INFO - 2025-08-25 14:29:12,299 - DEBUG - Response for create_network : {'network': {'id': 'a96badab-93c9-4884-a4d3-d1e65434b46d', 'name': 'ctest-vn-08564188', 'tenant_id': '193488e1bfaa465c9168e71bdbb25311', 'project_id': '193488e1bfaa465c9168e71bdbb25311', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-59684139', 'ctest-vn-08564188'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 14:29:12,552 - DEBUG - Response for create_subnet : {'subnet': {'id': '846d3dbf-3c01-4324-9ae5-880d84f971ac', 'name': '', 'tenant_id': '193488e1bfaa465c9168e71bdbb25311', 'network_id': 'a96badab-93c9-4884-a4d3-d1e65434b46d', 'ip_version': 4, 'cidr': '155.209.233.192/26', 'allocation_pools': [{'start': '155.209.233.194', 'end': '155.209.233.254'}], 'gateway_ip': '155.209.233.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.209.233.194', 'tags': [], 'project_id': '193488e1bfaa465c9168e71bdbb25311'}} 2025-08-25 14:29:12,570 - INFO - Created VN ctest-vn-08564188 2025-08-25 14:29:12,629 - DEBUG - VN ctest-vn-08564188 UUID is a96badab-93c9-4884-a4d3-d1e65434b46d 2025-08-25 14:29:12,833 - DEBUG - Services list from nova: [, , ] 2025-08-25 14:29:13,942 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3920-1) 2025-08-25 14:29:15,222 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3920-1) 2025-08-25 14:29:15,223 - INFO - Waiting for VM ctest-TestBasicVMVNx-59684139-18409735 to be up.. 2025-08-25 14:29:15,298 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 14:29:20,386 - DEBUG - VM is in ACTIVE state now 2025-08-25 14:29:20,386 - INFO - VM name : ctest-TestBasicVMVNx-59684139-18409735 2025-08-25 14:29:20,472 - DEBUG - VM ctest-TestBasicVMVNx-59684139-18409735 ID is 0443bcbd-9e7d-4e29-9e2d-330d73f0d394 2025-08-25 14:29:20,495 - DEBUG - VM ctest-TestBasicVMVNx-59684139-18409735 launched on Node cn-jenkins-deploy-platform-ansible-os-3920-1 2025-08-25 14:29:20,578 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0443bcbd-9e7d-4e29-9e2d-330d73f0d394 2025-08-25 14:29:20,920 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0443bcbd-9e7d-4e29-9e2d-330d73f0d394 2025-08-25 14:29:20,958 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e910d9f6-e4c2-463f-9de5-2cf003f132f2 2025-08-25 14:29:24,238 - 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 1030ms') 2025-08-25 14:29:24,238 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-59684139-18409735 failed! 2025-08-25 14:29:24,293 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-59684139:ctest-vn-08564188 is 155.209.233.193 and allocation pool is NOT set 2025-08-25 14:29:26,356 - 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=4.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.30 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 = 1.297/2.780/4.264/1.483 ms') 2025-08-25 14:29:26,357 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-59684139-18409735 passed 2025-08-25 14:29:26,513 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:29:26,513 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59684139-18409735, IP 155.209.233.195, Port 22 2025-08-25 14:29:26,578 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-25 14:29:26,672 - DEBUG - VM ctest-TestBasicVMVNx-59684139-18409735 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-25 14:29:31,673 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:29:31,673 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59684139-18409735, IP 155.209.233.195, Port 22 2025-08-25 14:29:31,837 - DEBUG - VM ctest-TestBasicVMVNx-59684139-18409735 is ready for SSH connections 2025-08-25 14:29:31,837 - INFO - Waiting for VM ctest-TestBasicVMVNx-59684139-20654178 to be up.. 2025-08-25 14:29:31,911 - DEBUG - VM is in ACTIVE state now 2025-08-25 14:29:31,911 - INFO - VM name : ctest-TestBasicVMVNx-59684139-20654178 2025-08-25 14:29:31,980 - DEBUG - VM ctest-TestBasicVMVNx-59684139-20654178 ID is ca7e179e-5eba-4e58-8af8-a444b1bcbf3f 2025-08-25 14:29:31,980 - DEBUG - VM ctest-TestBasicVMVNx-59684139-20654178 launched on Node cn-jenkins-deploy-platform-ansible-os-3920-1 2025-08-25 14:29:32,059 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ca7e179e-5eba-4e58-8af8-a444b1bcbf3f 2025-08-25 14:29:32,069 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ff4aee67-8267-4506-ae30-9fa17364dc16 2025-08-25 14:29:33,313 - 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=3.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.353 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.353/1.775/3.197/1.422 ms') 2025-08-25 14:29:33,313 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-59684139-20654178 passed 2025-08-25 14:29:33,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:29:33,469 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-59684139-20654178, IP 155.209.233.196, Port 22 2025-08-25 14:29:33,643 - DEBUG - VM ctest-TestBasicVMVNx-59684139-20654178 is ready for SSH connections 2025-08-25 14:29:33,643 - DEBUG - FILE SIZE = 1303B 2025-08-25 14:29:33,643 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-59684139-18409735 to ctest-TestBasicVMVNx-59684139-20654178 using scp 2025-08-25 14:29:33,644 - 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-08-25 14:29:33,645 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-08-25 14:29:35,615 - DEBUG - 1+0 records in 1+0 records out 2025-08-25 14:29:36,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:29:36,637 - 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-08-25 14:29:36,637 - DEBUG - ls -l testfile 2025-08-25 14:29:38,242 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 25 08:29 testfile 2025-08-25 14:29:38,242 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-59684139-20654178 2025-08-25 14:29:38,242 - INFO - Deleting VM ctest-TestBasicVMVNx-59684139-20654178 2025-08-25 14:29:38,325 - INFO - Deleting VM ctest-TestBasicVMVNx-59684139-18409735 2025-08-25 14:29:38,392 - INFO - Deleting VN ctest-vn-08564188 2025-08-25 14:29:38,432 - DEBUG - VN a96badab-93c9-4884-a4d3-d1e65434b46d still in use: Unable to complete operation on network a96badab-93c9-4884-a4d3-d1e65434b46d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3cd4986d-acc2-4997-ad26-9c0a3264d6b1'] 2025-08-25 14:29:38,432 - WARNING - Deleting VN ctest-vn-08564188 failed..Will retry 2025-08-25 14:29:40,535 - DEBUG - Response for deleting network () 2025-08-25 14:29:40,796 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 14:29:40,796 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-08-25 14:29:40,796 - INFO - -------------------------------------------------------------------------------- 2025-08-25 14:29:41,563 - INFO - Deleted project: ctest-TestBasicVMVNx-59684139, ID : 193488e1-bfaa-465c-9168-e71bdbb25311