Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python Ice/ami test failures #2523

Closed
pepone opened this issue Jul 18, 2024 · 1 comment
Closed

Python Ice/ami test failures #2523

pepone opened this issue Jul 18, 2024 · 1 comment
Milestone

Comments

@pepone
Copy link
Member

pepone commented Jul 18, 2024

testing sent callback... C:\Users\jose\source\repos\3.8\ice\python\test\Ice\ami\AllTests.py:324: DeprecationWarning: currentThread() is deprecated, use current_thread() instead
  self._thread = threading.currentThread()
C:\Users\jose\source\repos\3.8\ice\python\test\Ice\ami\AllTests.py:330: DeprecationWarning: currentThread() is deprecated, use current_thread() instead
  test(self._thread != threading.currentThread())
ok
testing batch requests with proxy... C:\Users\jose\source\repos\3.8\ice\python\test\Ice\ami\AllTests.py:337: DeprecationWarning: currentThread() is deprecated, use current_thread() instead
  self._thread = threading.currentThread()
C:\Users\jose\source\repos\3.8\ice\python\test\Ice\ami\AllTests.py:344: DeprecationWarning: currentThread() is deprecated, use current_thread() instead
  test(self._thread != threading.currentThread())
Traceback (most recent call last):
  File "C:\Users\jose\source\repos\3.8\ice\python\test\TestHelper.py", line 89, in run
    helper.run(sys.argv[2:])
  File "C:\Users\jose\source\repos\3.8\ice\python\test\Ice\ami\Collocated.py", line 47, in run
    AllTests.allTestsFuture(self, communicator, True)
  File "C:\Users\jose\source\repos\3.8\ice\python\test\Ice\ami\AllTests.py", line 796, in allTestsFuture
    test(f.done())
  File "C:\Users\jose\source\repos\3.8\ice\python\test\Ice\ami\AllTests.py", line 15, in test
    raise RuntimeError("test assertion failed")
RuntimeError: test assertion failed
unexpected exit status: expected: 0, got 1

Failure corresponds with this code:

cb = FutureFlushCallback()
f = b1.ice_flushBatchRequestsAsync()
f.add_sent_callback(cb.sent)
f.add_sent_callback_async(cb.sentAsync)
cb.check()
test(f.is_sent())
test(f.done())

Seems to only fail with the collocated test case. I hit this with python_d on Windows in case this matters.

@pepone pepone added this to the 3.8.0 milestone Jul 18, 2024
@pepone
Copy link
Member Author

pepone commented Nov 4, 2024

cannot reproduce

@pepone pepone closed this as not planned Won't fix, can't repro, duplicate, stale Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant