You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@maven.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2022/05/29 19:55:22 UTC

Build unstable in Jenkins: Maven » Maven TLP » maven-indexer » master #37

See https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-indexer/job/master/37/

Changes:

* [MINDEXER-157] After import all groups and root groups are inverted in the IndexingContext (#211)

1 tests failed.
FAILED:  org.apache.maven.index.ConcurrentUseWithMergedContextPublishingTest.windows-jdk8 / Build windows-jdk8 / testConcurrency

Error Message:
Not all thread did clean job!

Stack Trace:
junit.framework.AssertionFailedError: Not all thread did clean job!
	at junit.framework.Assert.fail(Assert.java:57)
	at junit.framework.Assert.assertTrue(Assert.java:22)
	at junit.framework.Assert.assertFalse(Assert.java:39)
	at org.apache.maven.index.ConcurrentUseTest.testConcurrency(ConcurrentUseTest.java:91)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at junit.framework.TestCase.runTest(TestCase.java:177)
	at junit.framework.TestCase.runBare(TestCase.java:142)
	at junit.framework.TestResult$1.protect(TestResult.java:122)
	at junit.framework.TestResult.runProtected(TestResult.java:142)
	at junit.framework.TestResult.run(TestResult.java:125)
	at junit.framework.TestCase.run(TestCase.java:130)
	at junit.framework.TestSuite.runTest(TestSuite.java:241)
	at junit.framework.TestSuite.run(TestSuite.java:236)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:377)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:284)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:248)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:167)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)




Build log:
[...truncated 20942 lines...]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory F:\jenkins\jenkins-slave\82467a7c\workspace\n_maven-box_maven-indexer_master@2\m\search-api\src\test\resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ search-api ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M6:test (default-test) @ search-api ---
[INFO] 
[INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ search-api ---
[INFO] Building jar: F:\jenkins\jenkins-slave\82467a7c\workspace\n_maven-box_maven-indexer_master@2\m\search-api\target\search-api-6.2.1-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-site-plugin:3.11.0:attach-descriptor (attach-descriptor) @ search-api ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO] 
[INFO] ----------< org.apache.maven.indexer:search-backend-indexer >-----------
[INFO] Building Maven :: Search API Indexer Backend 6.2.1-SNAPSHOT       [9/10]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ search-backend-indexer ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.1.2:check (checkstyle-check) @ search-backend-indexer ---
[INFO] You have 0 Checkstyle violations.
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-bytecode-version) @ search-backend-indexer ---
[INFO] Adding ignore: module-info
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven-version) @ search-backend-indexer ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-java-version) @ search-backend-indexer ---
[INFO] 
[INFO] --- apache-rat-plugin:0.13:check (rat-check) @ search-backend-indexer ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 62 implicit excludes (use -debug for more details).
[INFO] 22 explicit excludes (use -debug for more details).
[INFO] 7 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 7 licenses.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ search-backend-indexer ---
[INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
[INFO] Copying 3 resources from 1 bundle.
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ search-backend-indexer ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory F:\jenkins\jenkins-slave\82467a7c\workspace\n_maven-box_maven-indexer_master@2\m\search-backend-indexer\src\main\resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ search-backend-indexer ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to F:\jenkins\jenkins-slave\82467a7c\workspace\n_maven-box_maven-indexer_master@2\m\search-backend-indexer\target\classes
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.21:check (check-java-compat) @ search-backend-indexer ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java18:1.0
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ search-backend-indexer ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory F:\jenkins\jenkins-slave\82467a7c\workspace\n_maven-box_maven-indexer_master@2\m\search-backend-indexer\src\test\resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ search-backend-indexer ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to F:\jenkins\jenkins-slave\82467a7c\workspace\n_maven-box_maven-indexer_master@2\m\search-backend-indexer\target\test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M6:test (default-test) @ search-backend-indexer ---
[INFO] Using auto detected provider org.apache.maven.surefire.junit4.JUnit4Provider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="f:\jenkins\jenkins-slave\82467a7c\workspace\n_maven-box_maven-indexer_master@2@tmp\withMaven4db77a52\pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\82467a7c\workspace\n_maven-box_maven-indexer_master@2@tmp\withMaven4db77a52" 
[INFO] Running org.apache.maven.search.backend.indexer.internal.IndexerCoreSearchBackendImplTest
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.021 s - in org.apache.maven.search.backend.indexer.internal.IndexerCoreSearchBackendImplTest
[INFO] 
[INFO] Results:
[INFO] 
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1
[INFO] 
[INFO] 
[INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ search-backend-indexer ---
[INFO] Building jar: F:\jenkins\jenkins-slave\82467a7c\workspace\n_maven-box_maven-indexer_master@2\m\search-backend-indexer\target\search-backend-indexer-6.2.1-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-site-plugin:3.11.0:attach-descriptor (attach-descriptor) @ search-backend-indexer ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO] 
[INFO] ------------< org.apache.maven.indexer:search-backend-smo >-------------
[INFO] Building Maven :: Search API SMO Backend 6.2.1-SNAPSHOT          [10/10]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/com/google/code/gson/gson/2.9.0/gson-2.9.0.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/com/google/code/gson/gson/2.9.0/gson-2.9.0.pom (8.1 kB at 384 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/com/google/code/gson/gson-parent/2.9.0/gson-parent-2.9.0.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/com/google/code/gson/gson-parent/2.9.0/gson-parent-2.9.0.pom (4.5 kB at 226 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/com/google/code/gson/gson/2.9.0/gson-2.9.0.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/com/google/code/gson/gson/2.9.0/gson-2.9.0.jar (249 kB at 10 MB/s)
[INFO] 
[INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ search-backend-smo ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.1.2:check (checkstyle-check) @ search-backend-smo ---
[INFO] You have 0 Checkstyle violations.
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-bytecode-version) @ search-backend-smo ---
[INFO] Adding ignore: module-info
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven-version) @ search-backend-smo ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-java-version) @ search-backend-smo ---
[INFO] 
[INFO] --- apache-rat-plugin:0.13:check (rat-check) @ search-backend-smo ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 62 implicit excludes (use -debug for more details).
[INFO] 22 explicit excludes (use -debug for more details).
[INFO] 10 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 10 licenses.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.7.0:process (process-resource-bundles) @ search-backend-smo ---
[INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
[INFO] Copying 3 resources from 1 bundle.
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ search-backend-smo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] The encoding used to copy filtered properties files have not been set. This means that the same encoding will be used to copy filtered properties files as when copying other filtered resources. This might not be what you want! Run your build with --debug to see which files might be affected. Read more at https://maven.apache.org/plugins/maven-resources-plugin/examples/filtering-properties-files.html
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ search-backend-smo ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 6 source files to F:\jenkins\jenkins-slave\82467a7c\workspace\n_maven-box_maven-indexer_master@2\m\search-backend-smo\target\classes
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.21:check (check-java-compat) @ search-backend-smo ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java18:1.0
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ search-backend-smo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory F:\jenkins\jenkins-slave\82467a7c\workspace\n_maven-box_maven-indexer_master@2\m\search-backend-smo\src\test\resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ search-backend-smo ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to F:\jenkins\jenkins-slave\82467a7c\workspace\n_maven-box_maven-indexer_master@2\m\search-backend-smo\target\test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M6:test (default-test) @ search-backend-smo ---
[INFO] Using auto detected provider org.apache.maven.surefire.junit4.JUnit4Provider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="f:\jenkins\jenkins-slave\82467a7c\workspace\n_maven-box_maven-indexer_master@2@tmp\withMaven4db77a52\pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\82467a7c\workspace\n_maven-box_maven-indexer_master@2@tmp\withMaven4db77a52" 
[INFO] Running org.apache.maven.search.backend.smo.internal.SmoSearchBackendImplTest
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.025 s - in org.apache.maven.search.backend.smo.internal.SmoSearchBackendImplTest
[INFO] 
[INFO] Results:
[INFO] 
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1
[INFO] 
[INFO] 
[INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ search-backend-smo ---
[INFO] Building jar: F:\jenkins\jenkins-slave\82467a7c\workspace\n_maven-box_maven-indexer_master@2\m\search-backend-smo\target\search-backend-smo-6.2.1-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-site-plugin:3.11.0:attach-descriptor (attach-descriptor) @ search-backend-smo ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Maven-Indexer 6.2.1-SNAPSHOT:
[INFO] 
[INFO] Maven-Indexer ...................................... SUCCESS [ 19.591 s]
[INFO] Maven :: Indexer Core .............................. SUCCESS [02:36 min]
[INFO] Maven :: Indexer CLI ............................... SUCCESS [ 29.151 s]
[INFO] Maven :: Indexer Reader ............................ SUCCESS [  5.611 s]
[INFO] Maven :: Indexer Examples .......................... SUCCESS [  0.114 s]
[INFO] Maven :: Indexer Examples [Basic] .................. SUCCESS [  1.770 s]
[INFO] Maven :: Indexer Examples [Spring] ................. SUCCESS [  2.543 s]
[INFO] Maven :: Search API ................................ SUCCESS [  0.458 s]
[INFO] Maven :: Search API Indexer Backend ................ SUCCESS [  1.899 s]
[INFO] Maven :: Search API SMO Backend .................... SUCCESS [  1.164 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  03:47 min
[INFO] Finished at: 2022-05-29T12:54:43-07:00
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "run-its" could not be activated because it does not exist.
[INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\82467a7c\workspace\n_maven-box_maven-indexer_master@2@tmp\withMaven4db77a52\maven-spy-20220529-125054-8237632200535815680481.log
[Pipeline] }
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.indexer:indexer-core:jar:6.2.1-SNAPSHOT generated by maven-failsafe-plugin:integration-test (default): m\indexer-core\target\failsafe-reports\*.xml
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.indexer:indexer-cli:jar:6.2.1-SNAPSHOT generated by maven-failsafe-plugin:integration-test (default): m\indexer-cli\target\failsafe-reports\*.xml
Recording test results
[Pipeline] // dir
[Pipeline] }
[withMaven] Publishers: Junit Publisher: 25125 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.indexer:indexer-core:jar:6.2.1-SNAPSHOT generated by maven-surefire-plugin:test (default-test): m\indexer-core\target\surefire-reports\*.xml
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.indexer:indexer-cli:jar:6.2.1-SNAPSHOT generated by maven-surefire-plugin:test (default-test): m\indexer-cli\target\surefire-reports\*.xml
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.indexer:indexer-reader:bundle:6.2.1-SNAPSHOT generated by maven-surefire-plugin:test (default-test): m\indexer-reader\target\surefire-reports\*.xml
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.indexer:indexer-examples-basic:jar:6.2.1-SNAPSHOT generated by maven-surefire-plugin:test (default-test): m\indexer-examples\indexer-examples-basic\target\surefire-reports\*.xml
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.indexer:indexer-examples-spring:jar:6.2.1-SNAPSHOT generated by maven-surefire-plugin:test (default-test): m\indexer-examples\indexer-examples-spring\target\surefire-reports\*.xml
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.indexer:search-api:jar:6.2.1-SNAPSHOT generated by maven-surefire-plugin:test (default-test): m\search-api\target\surefire-reports\*.xml
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.indexer:search-backend-indexer:jar:6.2.1-SNAPSHOT generated by maven-surefire-plugin:test (default-test): m\search-backend-indexer\target\surefire-reports\*.xml
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.indexer:search-backend-smo:jar:6.2.1-SNAPSHOT generated by maven-surefire-plugin:test (default-test): m\search-backend-smo\target\surefire-reports\*.xml
Recording test results
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.indexer:indexer-core:jar:6.2.1-SNAPSHOT generated by maven-failsafe-plugin:integration-test (default): m\indexer-core\target\failsafe-reports\*.xml
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.indexer:indexer-cli:jar:6.2.1-SNAPSHOT generated by maven-failsafe-plugin:integration-test (default): m\indexer-cli\target\failsafe-reports\*.xml
Recording test results
[withMaven] Publishers: Junit Publisher: 26372 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // parallel
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: UNSTABLE
[Pipeline] jiraIssueSelector
[Pipeline] jiraComment
[Pipeline] echo
The authors of changes [noreply].
[Pipeline] echo
Sending email ...
[Pipeline] emailext