2025-03-28 15:58:39,889 - INFO - Domain Default found not creating 2025-03-28 15:58:40,072 - INFO - Project ctest-TestBasicVMVNx-80412607 not found, creating it 2025-03-28 15:58:40,544 - INFO - Created Project:ctest-TestBasicVMVNx-80412607, ID : cc3b5131-21d1-498c-8eab-1581e10fc4bd 2025-03-28 15:58:42,036 - INFO - ================================================================================ 2025-03-28 15:58:42,036 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-28 15:58:42,036 - 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-03-28 15:58:42,294 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.23': '0'}} with 2025-03-28 15:58:42,294 - INFO - Initial checks done. Running the testcase now 2025-03-28 15:58:42,295 - INFO - 2025-03-28 15:58:42,872 - DEBUG - Response for create_network : {'network': {'id': '26ee36a6-475d-4e6d-bfa1-ae5af16d1f91', 'name': 'ctest-vn-04025357', 'tenant_id': 'cc3b513121d1498c8eab1581e10fc4bd', 'project_id': 'cc3b513121d1498c8eab1581e10fc4bd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-80412607', 'ctest-vn-04025357'], 'port_security_enabled': True, 'description': ''}} 2025-03-28 15:58:43,046 - DEBUG - Response for create_subnet : {'subnet': {'id': '1e70dc2f-8dc5-4a10-90fd-cde7391b6e4a', 'name': '', 'tenant_id': 'cc3b513121d1498c8eab1581e10fc4bd', 'network_id': '26ee36a6-475d-4e6d-bfa1-ae5af16d1f91', 'ip_version': 4, 'cidr': '156.84.115.64/26', 'allocation_pools': [{'start': '156.84.115.66', 'end': '156.84.115.126'}], 'gateway_ip': '156.84.115.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.84.115.66', 'tags': [], 'project_id': 'cc3b513121d1498c8eab1581e10fc4bd'}} 2025-03-28 15:58:43,067 - INFO - Created VN ctest-vn-04025357 2025-03-28 15:58:43,124 - DEBUG - VN ctest-vn-04025357 UUID is 26ee36a6-475d-4e6d-bfa1-ae5af16d1f91 2025-03-28 15:58:43,304 - DEBUG - Services list from nova: [, , ] 2025-03-28 15:58:44,387 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2991-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2991-1) 2025-03-28 15:58:45,536 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2991-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2991-1) 2025-03-28 15:58:45,537 - INFO - Waiting for VM ctest-TestBasicVMVNx-80412607-35328352 to be up.. 2025-03-28 15:58:45,632 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-28 15:58:50,721 - DEBUG - VM is in ACTIVE state now 2025-03-28 15:58:50,721 - INFO - VM name : ctest-TestBasicVMVNx-80412607-35328352 2025-03-28 15:58:50,797 - DEBUG - VM ctest-TestBasicVMVNx-80412607-35328352 ID is 36838017-4978-4b28-841b-33c11dc270b2 2025-03-28 15:58:50,817 - DEBUG - VM ctest-TestBasicVMVNx-80412607-35328352 launched on Node cn-jenkins-deploy-platform-ansible-os-2991-1 2025-03-28 15:58:50,897 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/36838017-4978-4b28-841b-33c11dc270b2 2025-03-28 15:58:51,195 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/36838017-4978-4b28-841b-33c11dc270b2 2025-03-28 15:58:51,228 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/5c58a990-3163-48e5-a66d-d2a59b7b57a6 2025-03-28 15:58:54,488 - 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-03-28 15:58:54,488 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-80412607-35328352 failed! 2025-03-28 15:58:54,544 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-80412607:ctest-vn-04025357 is 156.84.115.65 and allocation pool is NOT set 2025-03-28 15:58:56,603 - 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=2.07 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 = 2.074/5.616/9.158/3.542 ms') 2025-03-28 15:58:56,603 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-80412607-35328352 passed 2025-03-28 15:58:56,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 15:58:56,760 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80412607-35328352, IP 156.84.115.67, Port 22 2025-03-28 15:58:56,816 - 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-03-28 15:58:56,909 - DEBUG - VM ctest-TestBasicVMVNx-80412607-35328352 is NOT ready for SSH connections, VM status: ACTIVE 2025-03-28 15:59:01,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 15:59:01,910 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80412607-35328352, IP 156.84.115.67, Port 22 2025-03-28 15:59:02,078 - DEBUG - VM ctest-TestBasicVMVNx-80412607-35328352 is ready for SSH connections 2025-03-28 15:59:02,078 - INFO - Waiting for VM ctest-TestBasicVMVNx-80412607-12513538 to be up.. 2025-03-28 15:59:02,174 - DEBUG - VM is in ACTIVE state now 2025-03-28 15:59:02,174 - INFO - VM name : ctest-TestBasicVMVNx-80412607-12513538 2025-03-28 15:59:02,267 - DEBUG - VM ctest-TestBasicVMVNx-80412607-12513538 ID is c94ee3aa-48f3-4d02-97e7-ab446fa0abd9 2025-03-28 15:59:02,268 - DEBUG - VM ctest-TestBasicVMVNx-80412607-12513538 launched on Node cn-jenkins-deploy-platform-ansible-os-2991-1 2025-03-28 15:59:02,356 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/c94ee3aa-48f3-4d02-97e7-ab446fa0abd9 2025-03-28 15:59:02,366 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/de8eaac7-e77c-461e-89e6-febd4175e237 2025-03-28 15:59:03,625 - 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=4.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.614 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.614/2.559/4.505/1.945 ms') 2025-03-28 15:59:03,625 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-80412607-12513538 passed 2025-03-28 15:59:03,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 15:59:03,780 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-80412607-12513538, IP 156.84.115.68, Port 22 2025-03-28 15:59:03,936 - DEBUG - VM ctest-TestBasicVMVNx-80412607-12513538 is ready for SSH connections 2025-03-28 15:59:03,936 - DEBUG - FILE SIZE = 1303B 2025-03-28 15:59:03,936 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-80412607-35328352 to ctest-TestBasicVMVNx-80412607-12513538 using scp 2025-03-28 15:59:03,937 - 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.34, gateway password: c0ntrail123 2025-03-28 15:59:03,937 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-28 15:59:05,874 - DEBUG - 1+0 records in 1+0 records out 2025-03-28 15:59:06,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-28 15:59:07,068 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2025-03-28 15:59:07,069 - DEBUG - ls -l testfile 2025-03-28 15:59:08,662 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 28 09:59 testfile 2025-03-28 15:59:08,662 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-80412607-12513538 2025-03-28 15:59:08,662 - INFO - Deleting VM ctest-TestBasicVMVNx-80412607-12513538 2025-03-28 15:59:08,741 - INFO - Deleting VM ctest-TestBasicVMVNx-80412607-35328352 2025-03-28 15:59:08,814 - INFO - Deleting VN ctest-vn-04025357 2025-03-28 15:59:08,856 - DEBUG - VN 26ee36a6-475d-4e6d-bfa1-ae5af16d1f91 still in use: Unable to complete operation on network 26ee36a6-475d-4e6d-bfa1-ae5af16d1f91. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c6875be4-64dd-4bad-9947-33527b9826b2'] 2025-03-28 15:59:08,857 - WARNING - Deleting VN ctest-vn-04025357 failed..Will retry 2025-03-28 15:59:10,997 - DEBUG - Response for deleting network () 2025-03-28 15:59:11,254 - DEBUG - No XMPP flaps were noticed during the test 2025-03-28 15:59:11,254 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29] 2025-03-28 15:59:11,254 - INFO - -------------------------------------------------------------------------------- 2025-03-28 15:59:11,982 - INFO - Deleted project: ctest-TestBasicVMVNx-80412607, ID : cc3b5131-21d1-498c-8eab-1581e10fc4bd