Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-10381

DocumentStoreIndexerIT failures

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.56.0
    • documentmk, oak-run
    • None

    Description

      Failed on Jenkins (https://ci-builds.apache.org/job/Jackrabbit/job/jackrabbit-oak-trunk/1074/org.apache.jackrabbit$oak-run/testReport/org.apache.jackrabbit.oak.index/DocumentStoreIndexerIT/parallelReindex/). Locally as well:

      SLF4J: Class path contains multiple SLF4J bindings.
      SLF4J: Found binding in [jar:file:/C:/projects/apache/oak/trunk/oak-run/target/oak-run-1.55-SNAPSHOT.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: Found binding in [jar:file:/C:/Users/jre/.m2/repository/ch/qos/logback/logback-classic/1.2.10/logback-classic-1.2.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
      SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
      ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
      16:58:16 - Command line arguments used for indexing [--index-temp-dir=C:\projects\apache\oak\trunk\oak-run\target\junit15451657147198284436\junit1292300655284139764 --index-out-dir=C:\projects\apache\oak\trunk\oak-run\target\junit15451657147198284436\junit1823878608831746722 --index-paths=/oak:index/fooIndex --doc-traversal-mode --checkpoint=r189d08186bd-0-1 --reindex -- mongodb://127.0.0.1:32924/MongoMKDB?connectTimeoutMS=3000&serverSelectionTimeoutMS=3000]
      16:58:16 - System properties and vm options passed [-Xmx512m, -XX:+HeapDumpOnOutOfMemoryError, -Dupdate.limit=100, -Djava.awt.headless=true]
      16:58:16 - Persistent cache set to [C:\projects\apache\oak\trunk\oak-run\target\junit15451657147198284436\junit1292300655284139764\cache,size=4096,binary=0,-nodes,-children]
      16:58:16 - Initializing cache size to 268435456 (268.4 MB)
      16:58:16 - Configuring cache for single threaded access
      16:58:19 - Error occurred while performing index tasks
      com.mongodb.MongoTimeoutException: Timed out after 3000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=127.0.0.1:32924, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused: connect}}]
              at com.mongodb.internal.connection.BaseCluster.getDescription(BaseCluster.java:182)
              at com.mongodb.internal.connection.SingleServerCluster.getDescription(SingleServerCluster.java:41)
              at com.mongodb.Mongo.getClusterDescription(Mongo.java:429)
              at com.mongodb.Mongo.getReplicaSetStatus(Mongo.java:472)
              at org.apache.jackrabbit.oak.plugins.document.util.MongoConnection.isSufficientWriteConcern(MongoConnection.java:270)
              at org.apache.jackrabbit.oak.plugins.document.mongo.MongoDBConnection.checkReadWriteConcern(MongoDBConnection.java:127)
              at org.apache.jackrabbit.oak.plugins.document.mongo.MongoDocumentNodeStoreBuilderBase.setMongoDB(MongoDocumentNodeStoreBuilderBase.java:232)
              at org.apache.jackrabbit.oak.plugins.document.mongo.MongoDocumentNodeStoreBuilderBase.setMongoDB(MongoDocumentNodeStoreBuilderBase.java:85)
              at org.apache.jackrabbit.oak.plugins.document.mongo.MongoDocumentNodeStoreBuilderBase.setMongoDB(MongoDocumentNodeStoreBuilderBase.java:98)
              at org.apache.jackrabbit.oak.run.cli.DocumentFixtureProvider.configureDocumentMk(DocumentFixtureProvider.java:113)
              at org.apache.jackrabbit.oak.run.cli.NodeStoreFixtureProvider.create(NodeStoreFixtureProvider.java:70)
              at org.apache.jackrabbit.oak.run.cli.NodeStoreFixtureProvider.create(NodeStoreFixtureProvider.java:49)
              at org.apache.jackrabbit.oak.index.IndexCommand.execute(IndexCommand.java:130)
              at org.apache.jackrabbit.oak.index.DocumentStoreIndexerIT.indexMongoRepo(DocumentStoreIndexerIT.java:162)
              at org.apache.jackrabbit.oak.index.DocumentStoreIndexerIT.indexMongoRepo_WithCompressionDisabled(DocumentStoreIndexerIT.java:298)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:566)
              at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
              at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
              at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
              at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
              at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
              at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
              at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
              at com.arakelian.docker.junit.DockerRule$StatementWithDockerRule.evaluate(DockerRule.java:76)
              at org.apache.jackrabbit.oak.plugins.document.mongo.MongoDockerRule$1.evaluate(MongoDockerRule.java:93)
              at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
              at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
              at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
              at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
              at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
              at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
              at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
              at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
              at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
              at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
              at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
              at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
              at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
              at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
              at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
              at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
      com.mongodb.MongoTimeoutException: Timed out after 3000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=127.0.0.1:32924, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused: connect}}]
              at com.mongodb.internal.connection.BaseCluster.getDescription(BaseCluster.java:182)
              at com.mongodb.internal.connection.SingleServerCluster.getDescription(SingleServerCluster.java:41)
              at com.mongodb.Mongo.getClusterDescription(Mongo.java:429)
              at com.mongodb.Mongo.getReplicaSetStatus(Mongo.java:472)
              at org.apache.jackrabbit.oak.plugins.document.util.MongoConnection.isSufficientWriteConcern(MongoConnection.java:270)
              at org.apache.jackrabbit.oak.plugins.document.mongo.MongoDBConnection.checkReadWriteConcern(MongoDBConnection.java:127)
              at org.apache.jackrabbit.oak.plugins.document.mongo.MongoDocumentNodeStoreBuilderBase.setMongoDB(MongoDocumentNodeStoreBuilderBase.java:232)
              at org.apache.jackrabbit.oak.plugins.document.mongo.MongoDocumentNodeStoreBuilderBase.setMongoDB(MongoDocumentNodeStoreBuilderBase.java:85)
              at org.apache.jackrabbit.oak.plugins.document.mongo.MongoDocumentNodeStoreBuilderBase.setMongoDB(MongoDocumentNodeStoreBuilderBase.java:98)
              at org.apache.jackrabbit.oak.run.cli.DocumentFixtureProvider.configureDocumentMk(DocumentFixtureProvider.java:113)
              at org.apache.jackrabbit.oak.run.cli.NodeStoreFixtureProvider.create(NodeStoreFixtureProvider.java:70)
              at org.apache.jackrabbit.oak.run.cli.NodeStoreFixtureProvider.create(NodeStoreFixtureProvider.java:49)
              at org.apache.jackrabbit.oak.index.IndexCommand.execute(IndexCommand.java:130)
              at org.apache.jackrabbit.oak.index.DocumentStoreIndexerIT.indexMongoRepo(DocumentStoreIndexerIT.java:162)
              at org.apache.jackrabbit.oak.index.DocumentStoreIndexerIT.indexMongoRepo_WithCompressionDisabled(DocumentStoreIndexerIT.java:298)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:566)
              at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
              at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
              at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
              at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
              at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
              at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
              at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
              at com.arakelian.docker.junit.DockerRule$StatementWithDockerRule.evaluate(DockerRule.java:76)
              at org.apache.jackrabbit.oak.plugins.document.mongo.MongoDockerRule$1.evaluate(MongoDockerRule.java:93)
              at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
              at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
              at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
              at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
              at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
              at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
              at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
              at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
              at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
              at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
              at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
              at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
              at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
              at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
              at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
              at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
      

      Note that if Docker is not running, the test is "properly" skipped.

      Attachments

        Issue Links

          Activity

            People

              tihom88 Mohit Kataria
              reschke Julian Reschke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: