weizhouapache commented on PR #10265:
URL: https://github.com/apache/cloudstack/pull/10265#issuecomment-2821257358

   > Noticed below issues in the Simulator CI tests, seems to be python 
(version) issue. cc @DaanHoogland
   > 
   > ```
   > 2025-04-22 12:23:28,676 - DEBUG - ::::::::::::STARTED : TC: Failure: 
:::::::::::
   > 
   > 2025-04-22 12:23:28,677 - CRITICAL - EXCEPTION: Failure:: ['Traceback 
(most recent call last):\n', '  File 
"/opt/hostedtoolcache/Python/3.10.17/x64/lib/python3.10/unittest/case.py", line 
59, in testPartExecutor\n    yield\n', '  File 
"/opt/hostedtoolcache/Python/3.10.17/x64/lib/python3.10/unittest/case.py", line 
591, in run\n    self._callTestMethod(testMethod)\n', '  File 
"/opt/hostedtoolcache/Python/3.10.17/x64/lib/python3.10/unittest/case.py", line 
549, in _callTestMethod\n    method()\n', '  File 
"/home/runner/.local/lib/python3.10/site-packages/nose/failure.py", line 35, in 
runTest\n    raise self.exc_val.with_traceback(self.tb)\n', '  File 
"/home/runner/.local/lib/python3.10/site-packages/nose/loader.py", line 335, in 
loadTestsFromName\n    module = self.importer.importFromPath(\n', '  File 
"/home/runner/.local/lib/python3.10/site-packages/nose/importer.py", line 162, 
in importFromPath\n    return self.importFromDir(dir_path, fqname)\n', '  File 
"/home/runner/.local/lib/py
 thon3.10/site-packages/nose/importer.py", line 198, in importFromDir\n    mod 
= load_module(part_fqname, fh, filename, desc)\n', '  File 
"/home/runner/.local/lib/python3.10/site-packages/nose/importer.py", line 128, 
in load_module\n    spec.loader.exec_module(mod)\n', '  File "<frozen 
importlib._bootstrap_external>", line 883, in exec_module\n', '  File "<frozen 
importlib._bootstrap>", line 241, in _call_with_frames_removed\n', '  File 
"/home/runner/work/cloudstack/cloudstack/test/integration/smoke/test_certauthority_root.py",
 line 27, in <module>\n    from OpenSSL.crypto import FILETYPE_PEM, verify, 
X509\n', "ImportError: cannot import name 'verify' from 'OpenSSL.crypto' 
(unknown location)\n"]
   > 
   > 2025-04-22 12:23:28,678 - DEBUG - TestCaseName: Failure:; Time Taken: 0 
Seconds; StartTime: Tue Apr 22 12:23:28 2025; EndTime: Tue Apr 22 12:23:28 
2025; Result: EXCEPTION
   > ```
   > 
   > ```
   > Exception occurred during processing of request from ('127.0.0.1', 55687)
   > 
   > Traceback (most recent call last):
   > 
   >   File 
"/opt/hostedtoolcache/Python/3.10.17/x64/lib/python3.10/socketserver.py", line 
683, in process_request_thread
   > 
   >     self.finish_request(request, client_address)
   > 
   >   File 
"/opt/hostedtoolcache/Python/3.10.17/x64/lib/python3.10/socketserver.py", line 
360, in finish_request
   > 
   >     self.RequestHandlerClass(request, client_address, self)
   > 
   >   File 
"/opt/hostedtoolcache/Python/3.10.17/x64/lib/python3.10/socketserver.py", line 
747, in __init__
   > 
   >     self.handle()
   > 
   >   File 
"/home/runner/.local/lib/python3.10/site-packages/ipmisim/ipmisim.py", line 
443, in handle
   > 
   >     return IpmiServerContext().handle(data, address, socket)
   > 
   >   File 
"/home/runner/.local/lib/python3.10/site-packages/ipmisim/ipmisim.py", line 
125, in handle
   > 
   >     self._got_request(data, address, self.session)
   > 
   >   File 
"/home/runner/.local/lib/python3.10/site-packages/ipmisim/ipmisim.py", line 
222, in _got_request
   > 
   >     session._ipmi20(data)
   > 
   >   File 
"/home/runner/.local/lib/python3.10/site-packages/ipmisim/fakesession.py", line 
127, in _ipmi20
   > 
   >     decrypter = AES.new(self.aeskey, AES.MODE_CBC, iv)
   > 
   >   File 
"/home/runner/.local/lib/python3.10/site-packages/Crypto/Cipher/AES.py", line 
95, in new
   > 
   >     return AESCipher(key, *args, **kwargs)
   > 
   >   File 
"/home/runner/.local/lib/python3.10/site-packages/Crypto/Cipher/AES.py", line 
59, in __init__
   > 
   >     blockalgo.BlockAlgo.__init__(self, _AES, key, *args, **kwargs)
   > 
   >   File 
"/home/runner/.local/lib/python3.10/site-packages/Crypto/Cipher/blockalgo.py", 
line 141, in __init__
   > 
   >     self._cipher = factory.new(key, *args, **kwargs)
   > 
   > SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
   > ```
   
   @sureshanaparti 
   refer to #10762 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to