2025-04-21 02:17:59,906 - INFO - Domain Default found not creating 2025-04-21 02:18:00,086 - INFO - Project ctest-TestBasicVMVNx-39287036 not found, creating it 2025-04-21 02:18:00,577 - INFO - Created Project:ctest-TestBasicVMVNx-39287036, ID : 11983ac5-3a7b-4b53-871e-43c9d2301919 2025-04-21 02:18:02,147 - INFO - ================================================================================ 2025-04-21 02:18:02,147 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-21 02:18:02,147 - 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-04-21 02:18:02,422 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2025-04-21 02:18:02,422 - INFO - Initial checks done. Running the testcase now 2025-04-21 02:18:02,422 - INFO - 2025-04-21 02:18:03,080 - DEBUG - Response for create_network : {'network': {'id': 'c0a4cde5-d23e-49cc-a992-74599a5e2f02', 'name': 'ctest-vn-27827864', 'tenant_id': '11983ac53a7b4b53871e43c9d2301919', 'project_id': '11983ac53a7b4b53871e43c9d2301919', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-39287036', 'ctest-vn-27827864'], 'port_security_enabled': True, 'description': ''}} 2025-04-21 02:18:03,256 - DEBUG - Response for create_subnet : {'subnet': {'id': '0af64b43-c0df-4fd1-9afc-06d282e7b588', 'name': '', 'tenant_id': '11983ac53a7b4b53871e43c9d2301919', 'network_id': 'c0a4cde5-d23e-49cc-a992-74599a5e2f02', 'ip_version': 4, 'cidr': '35.246.14.192/26', 'allocation_pools': [{'start': '35.246.14.194', 'end': '35.246.14.254'}], 'gateway_ip': '35.246.14.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.246.14.194', 'tags': [], 'project_id': '11983ac53a7b4b53871e43c9d2301919'}} 2025-04-21 02:18:03,276 - INFO - Created VN ctest-vn-27827864 2025-04-21 02:18:03,331 - DEBUG - VN ctest-vn-27827864 UUID is c0a4cde5-d23e-49cc-a992-74599a5e2f02 2025-04-21 02:18:03,507 - DEBUG - Services list from nova: [, , ] 2025-04-21 02:18:04,552 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3145-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3145-1) 2025-04-21 02:18:05,762 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3145-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3145-1) 2025-04-21 02:18:05,762 - INFO - Waiting for VM ctest-TestBasicVMVNx-39287036-88402569 to be up.. 2025-04-21 02:18:05,854 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-21 02:18:10,944 - DEBUG - VM is in ACTIVE state now 2025-04-21 02:18:10,944 - INFO - VM name : ctest-TestBasicVMVNx-39287036-88402569 2025-04-21 02:18:11,027 - DEBUG - VM ctest-TestBasicVMVNx-39287036-88402569 ID is 515802ba-2133-447d-b65d-7158beff47fd 2025-04-21 02:18:11,049 - DEBUG - VM ctest-TestBasicVMVNx-39287036-88402569 launched on Node cn-jenkins-deploy-platform-ansible-os-3145-1 2025-04-21 02:18:11,136 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/515802ba-2133-447d-b65d-7158beff47fd 2025-04-21 02:18:11,449 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/515802ba-2133-447d-b65d-7158beff47fd 2025-04-21 02:18:11,486 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/f5d6136e-51d0-4548-996e-62e6d59ad9b0 2025-04-21 02:18:14,773 - 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-04-21 02:18:14,773 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-39287036-88402569 failed! 2025-04-21 02:18:14,831 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-39287036:ctest-vn-27827864 is 35.246.14.193 and allocation pool is NOT set 2025-04-21 02:18:16,891 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.451 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.451/1.692/2.933/1.241 ms') 2025-04-21 02:18:16,891 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-39287036-88402569 passed 2025-04-21 02:18:17,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 02:18:17,047 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-39287036-88402569, IP 35.246.14.195, Port 22 2025-04-21 02:18:17,207 - DEBUG - VM ctest-TestBasicVMVNx-39287036-88402569 is ready for SSH connections 2025-04-21 02:18:17,207 - INFO - Waiting for VM ctest-TestBasicVMVNx-39287036-34733136 to be up.. 2025-04-21 02:18:17,301 - DEBUG - VM is in ACTIVE state now 2025-04-21 02:18:17,301 - INFO - VM name : ctest-TestBasicVMVNx-39287036-34733136 2025-04-21 02:18:17,405 - DEBUG - VM ctest-TestBasicVMVNx-39287036-34733136 ID is 7c6734c3-04ba-4c0d-b3ba-bfa5d3bb4418 2025-04-21 02:18:17,406 - DEBUG - VM ctest-TestBasicVMVNx-39287036-34733136 launched on Node cn-jenkins-deploy-platform-ansible-os-3145-1 2025-04-21 02:18:17,497 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/7c6734c3-04ba-4c0d-b3ba-bfa5d3bb4418 2025-04-21 02:18:17,507 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/3139b71f-cf19-4d0f-8290-afe2c7f0acb0 2025-04-21 02:18:18,761 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.543 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.543/1.894/3.246/1.351 ms') 2025-04-21 02:18:18,761 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-39287036-34733136 passed 2025-04-21 02:18:18,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 02:18:18,915 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-39287036-34733136, IP 35.246.14.196, Port 22 2025-04-21 02:18:19,073 - DEBUG - VM ctest-TestBasicVMVNx-39287036-34733136 is ready for SSH connections 2025-04-21 02:18:19,074 - DEBUG - FILE SIZE = 1303B 2025-04-21 02:18:19,074 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-39287036-88402569 to ctest-TestBasicVMVNx-39287036-34733136 using scp 2025-04-21 02:18:19,074 - 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.19, gateway password: c0ntrail123 2025-04-21 02:18:19,075 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-21 02:18:21,023 - DEBUG - 1+0 records in 1+0 records out 2025-04-21 02:18:21,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 02:18:22,209 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-04-21 02:18:22,213 - DEBUG - ls -l testfile 2025-04-21 02:18:23,819 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 20 20:18 testfile 2025-04-21 02:18:23,820 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-39287036-34733136 2025-04-21 02:18:23,820 - INFO - Deleting VM ctest-TestBasicVMVNx-39287036-34733136 2025-04-21 02:18:23,898 - INFO - Deleting VM ctest-TestBasicVMVNx-39287036-88402569 2025-04-21 02:18:23,972 - INFO - Deleting VN ctest-vn-27827864 2025-04-21 02:18:24,018 - DEBUG - VN c0a4cde5-d23e-49cc-a992-74599a5e2f02 still in use: Unable to complete operation on network c0a4cde5-d23e-49cc-a992-74599a5e2f02. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b98b30f2-ff55-4e00-b717-b77028f25a70'] 2025-04-21 02:18:24,018 - WARNING - Deleting VN ctest-vn-27827864 failed..Will retry 2025-04-21 02:18:26,164 - DEBUG - Response for deleting network () 2025-04-21 02:18:26,429 - DEBUG - No XMPP flaps were noticed during the test 2025-04-21 02:18:26,429 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-04-21 02:18:26,430 - INFO - -------------------------------------------------------------------------------- 2025-04-21 02:18:27,191 - INFO - Deleted project: ctest-TestBasicVMVNx-39287036, ID : 11983ac5-3a7b-4b53-871e-43c9d2301919