Created
December 31, 2012 18:31
-
-
Save neomatrix369/4421870 to your computer and use it in GitHub Desktop.
MutabilityDetector maven build failure due to one test failure!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". | |
SLF4J: Defaulting to no-operation (NOP) logger implementation | |
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building MutabilityDetector 0.9-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[WARNING] The POM for org.mutabilitydetector:asm-nonclassloadingsimpleverifier:jar:1.0-SNAPSHOT is missing, no dependency information available | |
[INFO] | |
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ MutabilityDetector --- | |
[INFO] | |
[INFO] --- build-helper-maven-plugin:1.7:add-test-source (default) @ MutabilityDetector --- | |
[INFO] Test Source directory: C:\Users\User\git\MutabilityDetector\src\test\benchmarks added. | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ MutabilityDetector --- | |
[debug] execute contextualize | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] skip non existing resourceDirectory C:\Users\User\git\MutabilityDetector\src\main\resources | |
[INFO] | |
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ MutabilityDetector --- | |
[INFO] Nothing to compile - all classes are up to date | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ MutabilityDetector --- | |
[debug] execute contextualize | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] skip non existing resourceDirectory C:\Users\User\git\MutabilityDetector\src\test\resources | |
[INFO] | |
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ MutabilityDetector --- | |
[INFO] Nothing to compile - all classes are up to date | |
[INFO] | |
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ MutabilityDetector --- | |
[INFO] Surefire report directory: C:\Users\User\git\MutabilityDetector\target\surefire-reports | |
------------------------------------------------------- | |
T E S T S | |
------------------------------------------------------- | |
Running org.mutabilitydetector.AnalysisResultTest | |
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.375 sec | |
Running org.mutabilitydetector.AnalysisSessionTest | |
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 sec | |
Running org.mutabilitydetector.benchmarks.CanSubclassCheckerTest | |
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.437 sec | |
Running org.mutabilitydetector.benchmarks.circular.CircularReferenceAnalysisOfBothImmutableTest | |
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.187 sec | |
Running org.mutabilitydetector.benchmarks.circular.CircularReferenceAnalysisTest | |
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.719 sec | |
Running org.mutabilitydetector.benchmarks.CollectionWithMutableElementTypeToFieldCheckerTest | |
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.328 sec | |
Running org.mutabilitydetector.benchmarks.escapedthis.EscapedThisReferenceCheckerTest | |
Tests run: 13, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 1.124 sec | |
Running org.mutabilitydetector.benchmarks.InherentTypeMutabilityCheckerTest | |
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.453 sec | |
Running org.mutabilitydetector.benchmarks.inheritance.TestSubclassingOfImmutableType | |
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec | |
Running org.mutabilitydetector.benchmarks.inheritance.TestSubclassingOfMutableType | |
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec | |
Running org.mutabilitydetector.benchmarks.mutabletofield.array.ArrayFieldMutabilityCheckerTest | |
Tests run: 4, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.109 sec | |
Running org.mutabilitydetector.benchmarks.MutableTypeToFieldCheckerTest | |
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.588 sec | |
Running org.mutabilitydetector.benchmarks.PublishedNonFinalFieldCheckerTest | |
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.204 sec | |
Running org.mutabilitydetector.benchmarks.settermethod.SetterMethodCheckerTest | |
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.044 sec | |
Running org.mutabilitydetector.benchmarks.StackOverflowInAnalysisTest | |
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.172 sec | |
Running org.mutabilitydetector.benchmarks.visibility.NonFinalFieldsCheckerTest | |
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 sec | |
Running org.mutabilitydetector.checkers.AbstractMutabilityCheckerTest | |
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec | |
Running org.mutabilitydetector.checkers.AccessModifierQueryTest | |
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec | |
Running org.mutabilitydetector.checkers.CheckerRunnerTest | |
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.234 sec | |
Running org.mutabilitydetector.checkers.CollectionFieldTest | |
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec | |
Running org.mutabilitydetector.checkers.CollectionTypeWrappedInUnmodifiableIdiomCheckerTest | |
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec | |
Running org.mutabilitydetector.checkers.info.MutableTypeInformationTest | |
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec | |
Running org.mutabilitydetector.checkers.info.TypeStructureInformationTest | |
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.187 sec | |
Running org.mutabilitydetector.checkers.MethodIsTest | |
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec | |
Running org.mutabilitydetector.checkers.ResultCalculatorTest | |
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec | |
Running org.mutabilitydetector.checkers.UnhandledExceptionBuilderTest | |
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec | |
Running org.mutabilitydetector.checkers.util.AnalysisDatabaseTest | |
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.14 sec | |
Running org.mutabilitydetector.checkers.util.PrivateMethodInvocationCheckerTest | |
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 sec | |
Running org.mutabilitydetector.checkers.util.PrivateMethodInvocationInformationTest | |
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.079 sec | |
Running org.mutabilitydetector.checkers.util.StackPushingOpcodesTest | |
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec | |
Running org.mutabilitydetector.checkers.util.TypeStructureInformationCheckerTest | |
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.141 sec | |
Running org.mutabilitydetector.cli.BatchAnalysisSessionTest | |
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec | |
Running org.mutabilitydetector.cli.ClassListReaderFactoryTest | |
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec | |
Running org.mutabilitydetector.cli.ClassListToReportReaderTest | |
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec | |
Running org.mutabilitydetector.cli.CommandLineOptionsTest | |
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec | |
Running org.mutabilitydetector.cli.NamesFromClassResourcesTest | |
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec | |
Running org.mutabilitydetector.cli.SessionResultsFormatterTest | |
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec | |
Running org.mutabilitydetector.ConfigurationBuilderTest | |
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec | |
Running org.mutabilitydetector.ConfigurationTest | |
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec | |
Running org.mutabilitydetector.locations.ClassLocationTest | |
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec | |
Running org.mutabilitydetector.locations.ClassNameConverterTest | |
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec | |
Running org.mutabilitydetector.locations.FieldLocationTest | |
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec | |
Running org.mutabilitydetector.MutabilityAsserterTest | |
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec | |
Running org.mutabilitydetector.MutabilityCheckerTest | |
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec | |
Running org.mutabilitydetector.MutabilityReasonTest | |
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec | |
Running org.mutabilitydetector.MutableReasonDetailTest | |
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec | |
Running org.mutabilitydetector.unittesting.AllowedReasonTest | |
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec | |
Running org.mutabilitydetector.unittesting.internal.AssertionReporterTest | |
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec | |
Running org.mutabilitydetector.unittesting.matchers.IsImmutableMatcherTest | |
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec | |
Running org.mutabilitydetector.unittesting.matchers.reasons.AllowingForSubclassingTest | |
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec | |
Running org.mutabilitydetector.unittesting.matchers.reasons.AllowingNonFinalFieldsTest | |
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec | |
Running org.mutabilitydetector.unittesting.matchers.reasons.AssumeCopiedIntoUnmodifiableTest | |
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec | |
Running org.mutabilitydetector.unittesting.matchers.reasons.AssumingArrayFieldsTest | |
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.515 sec | |
Running org.mutabilitydetector.unittesting.matchers.reasons.AssumingFieldsTest | |
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.593 sec | |
Running org.mutabilitydetector.unittesting.matchers.reasons.ProvidedOtherClassTest | |
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec | |
Running org.mutabilitydetector.unittesting.matchers.reasons.WithAllowedReasonsMatcherTest | |
Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec <<< FAILURE! | |
Running org.mutabilitydetector.unittesting.MutabilityAssertTest | |
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec | |
Running org.mutabilitydetector.WellKnownJavaTypesTest | |
Tests run: 15, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.281 sec | |
Results : | |
Tests in error: | |
mismatchDescriptionExplicitlyStatesNoReasonsHaveBeenAllowed(org.mutabilitydetector.unittesting.matchers.reasons.WithAllowedReasonsMatcherTest): 5 | |
Tests run: 317, Failures: 0, Errors: 1, Skipped: 3 | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 15.813s | |
[INFO] Finished at: Mon Dec 31 18:27:40 GMT 2012 | |
[INFO] Final Memory: 5M/15M | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project MutabilityDetector: There are test failures. | |
[ERROR] | |
[ERROR] Please refer to C:\Users\User\git\MutabilityDetector\target\surefire-reports for the individual test results. | |
[ERROR] -> [Help 1] | |
[ERROR] | |
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. | |
[ERROR] Re-run Maven using the -X switch to enable full debug logging. | |
[ERROR] | |
[ERROR] For more information about the errors and possible solutions, please read the following articles: | |
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment