-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
type: bugproblem that needs to be addressedproblem that needs to be addressed
Description
Originally reported by: Anonymous
We have tests that wrap a binary tool in pexpect. If there is a problem with the test and we get a pexpect traceback where the junit results contain some xml characters that cause Jenkins junit reporter to fail and consequently not report results.
The culprit is "^[" (0x1b) that doesn't seem to be filtered out by pytest.
E 0: re.compile("Test threads created successfully")
E buffer (last 100 chars):
E before (last 100 chars): CANCEL) on thread 19, slot 1, serial number 1850653014!^M
E **^[**[0m^M
E ^M
E Waiting for threads to terminate.^M
E
E after: <class 'pexpect.EOF'>
Metadata
Metadata
Assignees
Labels
type: bugproblem that needs to be addressedproblem that needs to be addressed