2025-07-30 20:26:10,709 - INFO - Domain Default found not creating 2025-07-30 20:26:11,095 - INFO - Project ctest-TestBasicVMVNx-82397922 not found, creating it 2025-07-30 20:26:11,886 - INFO - Created Project:ctest-TestBasicVMVNx-82397922, ID : 719d6e97-cfc8-4df8-97f2-31e74ae841f2 2025-07-30 20:26:13,822 - INFO - ================================================================================ 2025-07-30 20:26:13,823 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-07-30 20:26:13,823 - 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-30 20:26:14,154 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-07-30 20:26:14,154 - INFO - Initial checks done. Running the testcase now 2025-07-30 20:26:14,154 - INFO - 2025-07-30 20:26:14,993 - DEBUG - Response for create_network : {'network': {'id': '58ff0dcb-9dd2-41de-90c1-d51f2c38186a', 'name': 'ctest-vn-73524501', 'tenant_id': '719d6e97cfc84df897f231e74ae841f2', 'project_id': '719d6e97cfc84df897f231e74ae841f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-82397922', 'ctest-vn-73524501'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 20:26:15,330 - DEBUG - Response for create_subnet : {'subnet': {'id': '4553a102-d133-447d-af44-8f8e9d09b699', 'name': '', 'tenant_id': '719d6e97cfc84df897f231e74ae841f2', 'network_id': '58ff0dcb-9dd2-41de-90c1-d51f2c38186a', 'ip_version': 4, 'cidr': '130.42.182.64/26', 'allocation_pools': [{'start': '130.42.182.66', 'end': '130.42.182.126'}], 'gateway_ip': '130.42.182.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.42.182.66', 'tags': [], 'project_id': '719d6e97cfc84df897f231e74ae841f2'}} 2025-07-30 20:26:15,387 - INFO - Created VN ctest-vn-73524501 2025-07-30 20:26:15,460 - DEBUG - VN ctest-vn-73524501 UUID is 58ff0dcb-9dd2-41de-90c1-d51f2c38186a 2025-07-30 20:26:15,723 - DEBUG - Services list from nova: [, , ] 2025-07-30 20:26:17,329 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3726-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3726-1) 2025-07-30 20:26:18,764 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3726-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3726-1) 2025-07-30 20:26:18,764 - INFO - Waiting for VM ctest-TestBasicVMVNx-82397922-09793210 to be up.. 2025-07-30 20:26:18,861 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-30 20:26:24,056 - DEBUG - VM is in ACTIVE state now 2025-07-30 20:26:24,056 - INFO - VM name : ctest-TestBasicVMVNx-82397922-09793210 2025-07-30 20:26:24,230 - DEBUG - VM ctest-TestBasicVMVNx-82397922-09793210 ID is 9ef64e5c-2a1d-417d-89b9-69ef7fa085c7 2025-07-30 20:26:24,269 - DEBUG - VM ctest-TestBasicVMVNx-82397922-09793210 launched on Node cn-jenkins-deploy-platform-ansible-os-3726-1 2025-07-30 20:26:24,461 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/9ef64e5c-2a1d-417d-89b9-69ef7fa085c7 2025-07-30 20:26:24,855 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/9ef64e5c-2a1d-417d-89b9-69ef7fa085c7 2025-07-30 20:26:24,926 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/6ca34156-09c9-4bfc-b5c7-22e77e9e1bb0 2025-07-30 20:26:28,290 - 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-07-30 20:26:28,290 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-82397922-09793210 failed! 2025-07-30 20:26:28,372 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-82397922:ctest-vn-73524501 is 130.42.182.65 and allocation pool is NOT set 2025-07-30 20:26:30,461 - 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=9.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.24 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 = 3.240/6.199/9.158/2.959 ms') 2025-07-30 20:26:30,462 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-82397922-09793210 passed 2025-07-30 20:26:30,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:26:30,632 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-82397922-09793210, IP 130.42.182.67, Port 22 2025-07-30 20:26:30,713 - 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-07-30 20:26:30,865 - DEBUG - VM ctest-TestBasicVMVNx-82397922-09793210 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-30 20:26:35,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:26:35,866 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-82397922-09793210, IP 130.42.182.67, Port 22 2025-07-30 20:26:36,078 - DEBUG - VM ctest-TestBasicVMVNx-82397922-09793210 is ready for SSH connections 2025-07-30 20:26:36,079 - INFO - Waiting for VM ctest-TestBasicVMVNx-82397922-97296548 to be up.. 2025-07-30 20:26:36,225 - DEBUG - VM is in ACTIVE state now 2025-07-30 20:26:36,226 - INFO - VM name : ctest-TestBasicVMVNx-82397922-97296548 2025-07-30 20:26:36,396 - DEBUG - VM ctest-TestBasicVMVNx-82397922-97296548 ID is 9c8a62cb-04dc-4ae1-b9f6-6e79f2ce0354 2025-07-30 20:26:36,397 - DEBUG - VM ctest-TestBasicVMVNx-82397922-97296548 launched on Node cn-jenkins-deploy-platform-ansible-os-3726-1 2025-07-30 20:26:36,564 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/9c8a62cb-04dc-4ae1-b9f6-6e79f2ce0354 2025-07-30 20:26:36,591 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/625bec2b-b58c-40b4-a765-3e96cccbcc5e 2025-07-30 20:26:37,968 - 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=9.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.744 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.744/5.053/9.363/4.309 ms') 2025-07-30 20:26:37,968 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-82397922-97296548 passed 2025-07-30 20:26:38,160 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:26:38,160 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-82397922-97296548, IP 130.42.182.68, Port 22 2025-07-30 20:26:38,369 - DEBUG - VM ctest-TestBasicVMVNx-82397922-97296548 is ready for SSH connections 2025-07-30 20:26:38,370 - DEBUG - FILE SIZE = 1303B 2025-07-30 20:26:38,370 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-82397922-09793210 to ctest-TestBasicVMVNx-82397922-97296548 using scp 2025-07-30 20:26:38,371 - 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.57, gateway password: c0ntrail123 2025-07-30 20:26:38,371 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-07-30 20:26:40,688 - DEBUG - 1+0 records in 1+0 records out 2025-07-30 20:26:41,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:26:41,899 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-07-30 20:26:41,899 - DEBUG - ls -l testfile 2025-07-30 20:26:43,671 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 30 14:26 testfile 2025-07-30 20:26:43,671 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-82397922-97296548 2025-07-30 20:26:43,672 - INFO - Deleting VM ctest-TestBasicVMVNx-82397922-97296548 2025-07-30 20:26:43,768 - INFO - Deleting VM ctest-TestBasicVMVNx-82397922-09793210 2025-07-30 20:26:43,870 - INFO - Deleting VN ctest-vn-73524501 2025-07-30 20:26:43,933 - DEBUG - VN 58ff0dcb-9dd2-41de-90c1-d51f2c38186a still in use: Unable to complete operation on network 58ff0dcb-9dd2-41de-90c1-d51f2c38186a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7fcc531b-9b82-4973-84c2-52fd2133fab6'] 2025-07-30 20:26:43,933 - WARNING - Deleting VN ctest-vn-73524501 failed..Will retry 2025-07-30 20:26:46,179 - DEBUG - Response for deleting network () 2025-07-30 20:26:46,501 - DEBUG - No XMPP flaps were noticed during the test 2025-07-30 20:26:46,501 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:33] 2025-07-30 20:26:46,502 - INFO - -------------------------------------------------------------------------------- 2025-07-30 20:26:47,427 - INFO - Deleted project: ctest-TestBasicVMVNx-82397922, ID : 719d6e97-cfc8-4df8-97f2-31e74ae841f2