2025-06-25 10:03:08,896 - INFO - Domain Default found not creating 2025-06-25 10:03:09,041 - INFO - Project ctest-TestBasicVMVNx-55407684 not found, creating it 2025-06-25 10:03:09,512 - INFO - Created Project:ctest-TestBasicVMVNx-55407684, ID : bac6fc32-6510-442e-a1cd-649c177bb87d 2025-06-25 10:03:10,915 - INFO - ================================================================================ 2025-06-25 10:03:10,916 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-25 10:03:10,916 - 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-06-25 10:03:11,185 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-06-25 10:03:11,185 - INFO - Initial checks done. Running the testcase now 2025-06-25 10:03:11,185 - INFO - 2025-06-25 10:03:11,722 - DEBUG - Response for create_network : {'network': {'id': 'c3403d32-1bea-473b-84d7-fce7115f718e', 'name': 'ctest-vn-87686163', 'tenant_id': 'bac6fc326510442ea1cd649c177bb87d', 'project_id': 'bac6fc326510442ea1cd649c177bb87d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-55407684', 'ctest-vn-87686163'], 'port_security_enabled': True, 'description': ''}} 2025-06-25 10:03:11,894 - DEBUG - Response for create_subnet : {'subnet': {'id': '0dbd8f2e-9a86-4298-bd37-a0768981f6f6', 'name': '', 'tenant_id': 'bac6fc326510442ea1cd649c177bb87d', 'network_id': 'c3403d32-1bea-473b-84d7-fce7115f718e', 'ip_version': 4, 'cidr': '209.249.221.64/26', 'allocation_pools': [{'start': '209.249.221.66', 'end': '209.249.221.126'}], 'gateway_ip': '209.249.221.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.249.221.66', 'tags': [], 'project_id': 'bac6fc326510442ea1cd649c177bb87d'}} 2025-06-25 10:03:11,913 - INFO - Created VN ctest-vn-87686163 2025-06-25 10:03:11,967 - DEBUG - VN ctest-vn-87686163 UUID is c3403d32-1bea-473b-84d7-fce7115f718e 2025-06-25 10:03:12,250 - DEBUG - Services list from nova: [, , ] 2025-06-25 10:03:13,243 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3546-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3546-1) 2025-06-25 10:03:14,355 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3546-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3546-1) 2025-06-25 10:03:14,355 - INFO - Waiting for VM ctest-TestBasicVMVNx-55407684-74748035 to be up.. 2025-06-25 10:03:14,442 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-25 10:03:19,517 - DEBUG - VM is in ACTIVE state now 2025-06-25 10:03:19,517 - INFO - VM name : ctest-TestBasicVMVNx-55407684-74748035 2025-06-25 10:03:19,589 - DEBUG - VM ctest-TestBasicVMVNx-55407684-74748035 ID is 37ee435d-409e-4059-a274-bf2a9b3c5e3e 2025-06-25 10:03:19,608 - DEBUG - VM ctest-TestBasicVMVNx-55407684-74748035 launched on Node cn-jenkins-deploy-platform-ansible-os-3546-1 2025-06-25 10:03:19,677 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/37ee435d-409e-4059-a274-bf2a9b3c5e3e 2025-06-25 10:03:19,966 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/37ee435d-409e-4059-a274-bf2a9b3c5e3e 2025-06-25 10:03:19,997 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/9291a950-137e-47b9-91bb-7a388f516a7b 2025-06-25 10:03:23,266 - 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 1017ms') 2025-06-25 10:03:23,266 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-55407684-74748035 failed! 2025-06-25 10:03:23,323 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-55407684:ctest-vn-87686163 is 209.249.221.65 and allocation pool is NOT set 2025-06-25 10:03:25,382 - 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=3.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.335 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.335/1.797/3.260/1.462 ms') 2025-06-25 10:03:25,382 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-55407684-74748035 passed 2025-06-25 10:03:25,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 10:03:25,531 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55407684-74748035, IP 209.249.221.67, Port 22 2025-06-25 10:03:25,687 - DEBUG - VM ctest-TestBasicVMVNx-55407684-74748035 is ready for SSH connections 2025-06-25 10:03:25,687 - INFO - Waiting for VM ctest-TestBasicVMVNx-55407684-06346746 to be up.. 2025-06-25 10:03:25,763 - DEBUG - VM is in ACTIVE state now 2025-06-25 10:03:25,763 - INFO - VM name : ctest-TestBasicVMVNx-55407684-06346746 2025-06-25 10:03:25,832 - DEBUG - VM ctest-TestBasicVMVNx-55407684-06346746 ID is 26f90d4d-cd7e-4027-9384-01529bbbb322 2025-06-25 10:03:25,833 - DEBUG - VM ctest-TestBasicVMVNx-55407684-06346746 launched on Node cn-jenkins-deploy-platform-ansible-os-3546-1 2025-06-25 10:03:25,899 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/26f90d4d-cd7e-4027-9384-01529bbbb322 2025-06-25 10:03:25,908 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/8fbf4953-d42d-4755-868c-603b442c5aa6 2025-06-25 10:03:27,153 - 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=2.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.397 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.397/1.556/2.716/1.159 ms') 2025-06-25 10:03:27,153 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-55407684-06346746 passed 2025-06-25 10:03:27,303 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 10:03:27,303 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55407684-06346746, IP 209.249.221.68, Port 22 2025-06-25 10:03:27,455 - DEBUG - VM ctest-TestBasicVMVNx-55407684-06346746 is ready for SSH connections 2025-06-25 10:03:27,455 - DEBUG - FILE SIZE = 1303B 2025-06-25 10:03:27,455 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-55407684-74748035 to ctest-TestBasicVMVNx-55407684-06346746 using scp 2025-06-25 10:03:27,456 - 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-06-25 10:03:27,456 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-25 10:03:29,340 - DEBUG - 1+0 records in 1+0 records out 2025-06-25 10:03:29,688 - INFO - Deleting VM ctest-TestBasicVMVNx-55407684-06346746 2025-06-25 10:03:29,760 - INFO - Deleting VM ctest-TestBasicVMVNx-55407684-74748035 2025-06-25 10:03:29,828 - INFO - Deleting VN ctest-vn-87686163 2025-06-25 10:03:29,867 - DEBUG - VN c3403d32-1bea-473b-84d7-fce7115f718e still in use: Unable to complete operation on network c3403d32-1bea-473b-84d7-fce7115f718e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e6b2798f-7ac1-4fb6-9e1a-a13fd280ac3a'] 2025-06-25 10:03:29,867 - WARNING - Deleting VN ctest-vn-87686163 failed..Will retry 2025-06-25 10:03:31,972 - DEBUG - Response for deleting network () 2025-06-25 10:03:32,223 - ERROR - EOF Python 3.6.8: /usr/bin/python3 Wed Jun 25 10:03:29 2025 A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={}) 78 log.info('Initial checks done. Running the testcase now') 79 log.info('') 80 result = function(self, *args, **kwargs) 81 if self.inputs.upgrade: 82 pid = os.getpid() result = None function = self = args = () kwargs = {} /contrail-test/scripts/vm_regression/test_vm.py in test_vm_file_trf_scp_tests(self=) 2874 if self.inputs.is_ci_setup() and self.inputs.get_af() == 'v4': 2875 if is_ip_mine(vm1_fixture.vm_node_ip): 2876 assert vm1_fixture.scp_file_transfer_cirros(vm2_fixture, size=size), msg 2877 else: 2878 self.skipTest('scp_file_transfer_cirros not posible here') vm1_fixture = vm1_fixture.scp_file_transfer_cirros = > vm2_fixture = size = '1303' msg = 'File of size 1303B not transferred via scp ' /contrail-test/fixtures/vm_test.py in scp_file_transfer_cirros(self=, dest_vm_fixture=, fip=None, size='1303') 2411 '%s@%s') % (self.vm_username, self.local_ip)) 2412 handle.timeout = int(timeout) 2413 i = handle.expect(['\$ ', 'password:']) 2414 if i == 0: 2415 pass i undefined handle = handle.expect = > /usr/local/lib/python3.6/site-packages/pexpect/spawnbase.py in expect(self=, pattern=[r'\$ ', 'password:'], timeout=-1, searchwindowsize=-1, async_=False, **kw={}) 339 compiled_pattern_list = self.compile_pattern_list(pattern) 340 return self.expect_list(compiled_pattern_list, 341 timeout, searchwindowsize, async_) 342 343 def expect_list(self, pattern_list, timeout=-1, searchwindowsize=-1, timeout = -1 searchwindowsize = -1 async_ = False /usr/local/lib/python3.6/site-packages/pexpect/spawnbase.py in expect_list(self=, pattern_list=[re.compile(b'\\$ ', re.DOTALL), re.compile(b'password:', re.DOTALL)], timeout=40, searchwindowsize=-1, async_=False, **kw={}) 367 return expect_async(exp, timeout) 368 else: 369 return exp.expect_loop(timeout) 370 371 def expect_exact(self, pattern_list, timeout=-1, searchwindowsize=-1, exp = exp.expect_loop = > timeout = 40 /usr/local/lib/python3.6/site-packages/pexpect/expect.py in expect_loop(self=, timeout=39.99722766876221) 115 timeout = end_time - time.time() 116 except EOF as e: 117 return self.eof(e) 118 except TIMEOUT as e: 119 return self.timeout(e) self = self.eof = > e undefined /usr/local/lib/python3.6/site-packages/pexpect/expect.py in eof(self=, err=EOF('End Of File (EOF). Exception style platform.',)) 61 if err is not None: 62 msg = str(err) + '\n' + msg 63 raise EOF(msg) 64 65 def timeout(self, err=None): global EOF = msg = "End Of File (EOF). Exception style platform.\n command: /usr/bin/ssh args: ['/usr/bin/ssh', '-F', '/dev/null', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'KexAlgorithms=+diffie-hellman-group14-sha1,diffie-hellman-group1-sha1', '-o', 'HostKeyAlgorithms=+ssh-rsa,ssh-dss', '-o', 'PubkeyAcceptedAlgorithms=+ssh-rsa,ssh-dss', 'cirros@169.254.0.3'] buffer (last 100 chars): b'' before (last 100 chars): b'command-line: line 0: Bad configuration option: pubkeyacceptedalgorithms\r\r\n' after: match: None match_index: None exitstatus: 255 flag_eof: True pid: 119 child_fd: 102 closed: False timeout: 40 delimiter: logfile: None logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile(b'\\$ ') 1: re.compile(b'password:') __cause__ = None __class__ = __context__ = EOF('End Of File (EOF). Exception style platform.',) __delattr__ = __dict__ = {'value': "End Of File (EOF). Exception style platform.\n __doc__ = 'Raised when EOF is read from a child.\n This usually means the child has exited.' __eq__ = __format__ = __ge__ = __getattribute__ = __gt__ = __hash__ = __init__ = __init_subclass__ = __le__ = __lt__ = __module__ = 'pexpect.exceptions' __ne__ = __new__ = __reduce__ = __reduce_ex__ = __repr__ = __setattr__ = __setstate__ = __sizeof__ = __str__ = __subclasshook__ = __suppress_context__ = False __traceback__ = __weakref__ = None args = ("End Of File (EOF). Exception style platform.\n value = "End Of File (EOF). Exception style platform.\n The above is a description of an error in a Python program. Here is the original traceback: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/pexpect/spawnbase.py", line 166, in read_nonblocking s = os.read(self.child_fd, size) OSError: [Errno 5] Input/output error During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/pexpect/expect.py", line 111, in expect_loop incoming = spawn.read_nonblocking(spawn.maxread, timeout) File "/usr/local/lib/python3.6/site-packages/pexpect/pty_spawn.py", line 459, in read_nonblocking incoming = super(spawn, self).read_nonblocking(size) File "/usr/local/lib/python3.6/site-packages/pexpect/spawnbase.py", line 171, in read_nonblocking raise EOF('End Of File (EOF). Exception style platform.') pexpect.exceptions.EOF: End Of File (EOF). Exception style platform. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper result = function(self, *args, **kwargs) File "/contrail-test/scripts/vm_regression/test_vm.py", line 2876, in test_vm_file_trf_scp_tests assert vm1_fixture.scp_file_transfer_cirros(vm2_fixture, size=size), msg File "/contrail-test/fixtures/vm_test.py", line 2413, in scp_file_transfer_cirros i = handle.expect(['\$ ', 'password:']) File "/usr/local/lib/python3.6/site-packages/pexpect/spawnbase.py", line 341, in expect timeout, searchwindowsize, async_) File "/usr/local/lib/python3.6/site-packages/pexpect/spawnbase.py", line 369, in expect_list return exp.expect_loop(timeout) File "/usr/local/lib/python3.6/site-packages/pexpect/expect.py", line 117, in expect_loop return self.eof(e) File "/usr/local/lib/python3.6/site-packages/pexpect/expect.py", line 63, in eof raise EOF(msg) pexpect.exceptions.EOF: End Of File (EOF). Exception style platform. command: /usr/bin/ssh args: ['/usr/bin/ssh', '-F', '/dev/null', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'KexAlgorithms=+diffie-hellman-group14-sha1,diffie-hellman-group1-sha1', '-o', 'HostKeyAlgorithms=+ssh-rsa,ssh-dss', '-o', 'PubkeyAcceptedAlgorithms=+ssh-rsa,ssh-dss', 'cirros@169.254.0.3'] buffer (last 100 chars): b'' before (last 100 chars): b'command-line: line 0: Bad configuration option: pubkeyacceptedalgorithms\r\r\n' after: match: None match_index: None exitstatus: 255 flag_eof: True pid: 119 child_fd: 102 closed: False timeout: 40 delimiter: logfile: None logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile(b'\\$ ') 1: re.compile(b'password:') 2025-06-25 10:03:32,229 - DEBUG - No XMPP flaps were noticed during the test 2025-06-25 10:03:32,230 - INFO -
2025-06-25 10:03:32,230 - INFO - END TEST : test_vm_file_trf_scp_tests : FAILED[0:00:22]
2025-06-25 10:03:32,230 - INFO - -------------------------------------------------------------------------------- 2025-06-25 10:03:32,916 - INFO - Deleted project: ctest-TestBasicVMVNx-55407684, ID : bac6fc32-6510-442e-a1cd-649c177bb87d