2025-12-18 02:14:53,071 - INFO - Domain Default found not creating 2025-12-18 02:14:53,255 - INFO - Project ctest-TestBasicVMVNx-21152965 not found, creating it 2025-12-18 02:14:53,744 - INFO - Created Project:ctest-TestBasicVMVNx-21152965, ID : d6f7225c-9f52-4716-be90-375d209fd21e 2025-12-18 02:14:55,482 - INFO - ================================================================================ 2025-12-18 02:14:55,482 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-12-18 02:14:55,482 - 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-12-18 02:14:55,741 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-12-18 02:14:55,741 - INFO - Initial checks done. Running the testcase now 2025-12-18 02:14:55,741 - INFO - 2025-12-18 02:14:56,911 - DEBUG - Response for create_network : {'network': {'id': '8c82c2eb-41d8-4d22-ad8e-d450fca0ea15', 'name': 'ctest-vn-65994897', 'tenant_id': 'd6f7225c9f524716be90375d209fd21e', 'project_id': 'd6f7225c9f524716be90375d209fd21e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-21152965', 'ctest-vn-65994897'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 02:14:57,122 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bff6e769-1931-442e-8a76-e639916adb20', 'name': '', 'tenant_id': 'd6f7225c9f524716be90375d209fd21e', 'network_id': '8c82c2eb-41d8-4d22-ad8e-d450fca0ea15', 'ip_version': 4, 'cidr': '126.48.235.192/26', 'allocation_pools': [{'start': '126.48.235.194', 'end': '126.48.235.254'}], 'gateway_ip': '126.48.235.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.48.235.194', 'tags': [], 'project_id': 'd6f7225c9f524716be90375d209fd21e'}} 2025-12-18 02:14:57,142 - INFO - Created VN ctest-vn-65994897 2025-12-18 02:14:57,195 - DEBUG - VN ctest-vn-65994897 UUID is 8c82c2eb-41d8-4d22-ad8e-d450fca0ea15 2025-12-18 02:14:57,364 - DEBUG - Services list from nova: [, , ] 2025-12-18 02:14:58,483 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4900-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4900-1) 2025-12-18 02:14:59,764 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4900-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4900-1) 2025-12-18 02:14:59,765 - INFO - Waiting for VM ctest-TestBasicVMVNx-21152965-30289669 to be up.. 2025-12-18 02:14:59,856 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-18 02:15:04,941 - DEBUG - VM is in ACTIVE state now 2025-12-18 02:15:04,941 - INFO - VM name : ctest-TestBasicVMVNx-21152965-30289669 2025-12-18 02:15:05,023 - DEBUG - VM ctest-TestBasicVMVNx-21152965-30289669 ID is d22b31d7-d89a-41e8-9429-d088bc3d6947 2025-12-18 02:15:05,044 - DEBUG - VM ctest-TestBasicVMVNx-21152965-30289669 launched on Node cn-jenkins-deploy-platform-ansible-os-4900-1 2025-12-18 02:15:05,135 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d22b31d7-d89a-41e8-9429-d088bc3d6947 2025-12-18 02:15:05,474 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d22b31d7-d89a-41e8-9429-d088bc3d6947 2025-12-18 02:15:05,509 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/76a446a1-3076-416f-af76-6e5972bc3127 2025-12-18 02:15:08,776 - 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 1018ms') 2025-12-18 02:15:08,776 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-21152965-30289669 failed! 2025-12-18 02:15:08,831 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-21152965:ctest-vn-65994897 is 126.48.235.193 and allocation pool is NOT set 2025-12-18 02:15:10,902 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.41 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 = 1.410/3.144/4.878/1.734 ms') 2025-12-18 02:15:10,903 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-21152965-30289669 passed 2025-12-18 02:15:11,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:15:11,057 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-21152965-30289669, IP 126.48.235.195, Port 22 2025-12-18 02:15:11,125 - 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-12-18 02:15:11,206 - DEBUG - VM ctest-TestBasicVMVNx-21152965-30289669 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-18 02:15:16,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:15:16,206 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-21152965-30289669, IP 126.48.235.195, Port 22 2025-12-18 02:15:16,373 - DEBUG - VM ctest-TestBasicVMVNx-21152965-30289669 is ready for SSH connections 2025-12-18 02:15:16,373 - INFO - Waiting for VM ctest-TestBasicVMVNx-21152965-99994928 to be up.. 2025-12-18 02:15:16,451 - DEBUG - VM is in ACTIVE state now 2025-12-18 02:15:16,452 - INFO - VM name : ctest-TestBasicVMVNx-21152965-99994928 2025-12-18 02:15:16,528 - DEBUG - VM ctest-TestBasicVMVNx-21152965-99994928 ID is ad81c301-38bf-4c64-a960-4c388669e75a 2025-12-18 02:15:16,529 - DEBUG - VM ctest-TestBasicVMVNx-21152965-99994928 launched on Node cn-jenkins-deploy-platform-ansible-os-4900-1 2025-12-18 02:15:16,604 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ad81c301-38bf-4c64-a960-4c388669e75a 2025-12-18 02:15:16,614 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/1723447d-a0c0-4bf6-9c29-0cd67ca77c8a 2025-12-18 02:15:17,863 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.530 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.530/2.135/3.741/1.605 ms') 2025-12-18 02:15:17,863 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-21152965-99994928 passed 2025-12-18 02:15:18,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:15:18,015 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-21152965-99994928, IP 126.48.235.196, Port 22 2025-12-18 02:15:18,170 - DEBUG - VM ctest-TestBasicVMVNx-21152965-99994928 is ready for SSH connections 2025-12-18 02:15:18,170 - DEBUG - FILE SIZE = 1303B 2025-12-18 02:15:18,170 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-21152965-30289669 to ctest-TestBasicVMVNx-21152965-99994928 using scp 2025-12-18 02:15:18,172 - 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.22, gateway password: c0ntrail123 2025-12-18 02:15:18,172 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-12-18 02:15:20,196 - DEBUG - 1+0 records in 1+0 records out 2025-12-18 02:15:20,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:15:20,905 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-18 02:15:20,906 - DEBUG - ls -l testfile 2025-12-18 02:15:22,531 - DEBUG - -rw------- 1 cirros cirros 1303 Dec 17 19:15 testfile 2025-12-18 02:15:22,531 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-21152965-99994928 2025-12-18 02:15:22,531 - INFO - Deleting VM ctest-TestBasicVMVNx-21152965-99994928 2025-12-18 02:15:22,605 - INFO - Deleting VM ctest-TestBasicVMVNx-21152965-30289669 2025-12-18 02:15:22,684 - INFO - Deleting VN ctest-vn-65994897 2025-12-18 02:15:22,724 - DEBUG - VN 8c82c2eb-41d8-4d22-ad8e-d450fca0ea15 still in use: Unable to complete operation on network 8c82c2eb-41d8-4d22-ad8e-d450fca0ea15. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6dacbb60-8cae-48c3-9ce3-cd928f47d020'] 2025-12-18 02:15:22,724 - WARNING - Deleting VN ctest-vn-65994897 failed..Will retry 2025-12-18 02:15:24,828 - DEBUG - Response for deleting network () 2025-12-18 02:15:25,106 - DEBUG - No XMPP flaps were noticed during the test 2025-12-18 02:15:25,107 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2025-12-18 02:15:25,107 - INFO - -------------------------------------------------------------------------------- 2025-12-18 02:15:25,834 - INFO - Deleted project: ctest-TestBasicVMVNx-21152965, ID : d6f7225c-9f52-4716-be90-375d209fd21e