Skip to content

Conversation

@juj
Copy link
Collaborator

@juj juj commented Nov 21, 2025

The err object is a two-tuple, where err[0] is the failing test object, and err[1] is the test failure error message.

So print err[1] to show

[1/1] test_failing (test_core.core0.test_failing) ... ERROR
common:INFO: Retrying flaky test "test_core.core0.test_failing" (attempt 1/3 failed):
Traceback (most recent call last):
  File "C:\emsdk\emscripten\main\test\test_core.py", line 9470, in test_failing
    raise Exception('asdf')
Exception: asdf

instead of

[1/1] test_failing (test_core.core0.test_failing) ... ERROR
common:INFO: Retrying flaky test "test_core.core0.test_failing" (attempt 1/3 failed):
(<test_core.core0 testMethod=test_failing>, 'Traceback (most recent call last):\n  File "C:\\emsdk\\emscripten\\main\\test\\test_core.py", line 9470, in test_failing\n    raise Exception(\'asdf\')\nException: asdf\n')

@juj
Copy link
Collaborator Author

juj commented Nov 21, 2025

CircleCI is not using EMTEST_RETRY_COUNT, so landing this to get my bots do a new run.

@juj juj merged commit 49a5c1d into emscripten-core:main Nov 21, 2025
7 of 16 checks passed
@sbc100
Copy link
Collaborator

sbc100 commented Nov 21, 2025

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants