Closed
Description
Tried to run gradlew clean test
, but at least two tests fail although CI status is "green".
:platform-tests:junitPlatformTest
Test failures (2):
JUnit Jupiter:ColoredPrintingTestListenerTests:exceptionMessageIndented()
JavaMethodSource [javaClass = 'org.junit.platform.console.tasks.ColoredPrintingTestListenerTests', javaMethodName = 'exceptionMessageIndented', javaMethodParameterTypes = '']
=> org.opentest4j.AssertionFailedError: expected: <Finished: failingTest [[engine:junit]]
=> Exception: Fail
expected: <foo> but was: <bar>
> but was: <Finished: failingTest [[engine:junit]]
=> Exception: Fail
expected: <foo> but was: <bar>
>
JUnit Jupiter:ColoredPrintingTestListenerTests:executionSkippedMessageIndented()
JavaMethodSource [javaClass = 'org.junit.platform.console.tasks.ColoredPrintingTestListenerTests', javaMethodName = 'executionSkippedMessageIndented', javaMethodParameterTypes = '']
=> org.opentest4j.AssertionFailedError: expected: <Skipped: failingTest [[engine:junit]]
=> Reason: Test
disabled
> but was: <Skipped: failingTest [[engine:junit]]
=> Reason: Test
disabled
>
Test run finished after 2363 ms
[ 360 tests found ]
[ 0 tests skipped ]
[ 360 tests started ]
[ 0 tests aborted ]
[ 358 tests successful]
[ 2 tests failed ]
:platform-tests:junitPlatformTest FAILED
FAILURE: Build failed with an exception.
Also tried to run gradlew clean check
, but got:
:spotlessDocumentationCheck FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':spotlessDocumentationCheck'.
> Format violations were found. Run 'gradlew spotlessApply' to fix them.
.github\PULL_REQUEST_TEMPLATE.md
CONTRIBUTING.md
documentation\README.md
documentation\src\docs\asciidoc\advanced-topics.adoc
documentation\src\docs\asciidoc\api-evolution.adoc
documentation\src\docs\asciidoc\contributors.adoc
documentation\src\docs\asciidoc\extensions.adoc
documentation\src\docs\asciidoc\index.adoc
documentation\src\docs\asciidoc\launcher-api.adoc
documentation\src\docs\asciidoc\migration-from-junit4.adoc
documentation\src\docs\asciidoc\overview.adoc
documentation\src\docs\asciidoc\release-notes-5.0.0-ALPHA.adoc
documentation\src\docs\asciidoc\release-notes-5.0.0-M1.adoc
documentation\src\docs\asciidoc\release-notes.adoc
documentation\src\docs\asciidoc\running-tests.adoc
documentation\src\docs\asciidoc\writing-tests.adoc
LICENSE.md
README.md
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Tried to build with Gradle 2.14 as well as 3.0-20160702000020+0000.
Do I have a local problem?