Details
-
Bug
-
Resolution: Fixed
-
Major
-
12.3
-
Unknown
-
Description
When a test fails in the CI, FailingTestDebuggingTestExecutionListener (XWiki Commons) displays environment debugging information (processes, open ports, Docker containers, the Docker events of the last 15 minutes, etc.) in the console, between ---- Start of environment debugging information and ---- End of environment debugging information markers.
CaptureConsoleExtension (XWiki Commons) skips this information, but the console validation of the functional tests (ValidateConsoleExtension / LogCaptureValidator) doesn't, so any error-looking content in it (e.g. a Docker exec command line containing WHENEVER SQLERROR EXIT FAILURE) adds a misleading executionError failure to the test class. See https://ci.xwiki.org/job/XWiki%20Environment%20Tests/job/xwiki-platform/job/stable-18.10.x/17/testReport/ (NestedWikiManagerRestIT and NestedTagIT).
Attachments
Issue Links
- depends on
-
XCOMMONS-3954 The environment debugging information of failing tests is also displayed for skipped tests
-
- Closed
-
- relates to
-
XWIKI-19586 Add support for testing on Oracle 23
-
- Closed
-