Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-1651

ElasticSearch server is not starting during integration test

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      Trying to run the test suite on my Mac (with JDK 1.8 but also with JDK 11), ElasticSearch server is not starting properly:

      [INFO] ---------< org.apache.manifoldcf:mcf-elasticsearch-connector >----------
      [INFO] Building ManifoldCF - Connectors - ElasticSearch 2.17            [39/64]
      [INFO] --------------------------------[ jar ]---------------------------------
      [INFO]
      [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ mcf-elasticsearch-connector ---
      [INFO]
      [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ mcf-elasticsearch-connector ---
      [INFO]
      [INFO] --- maven-dependency-plugin:2.8:copy (copy-war) @ mcf-elasticsearch-connector ---
      [INFO] Configured Artifact: org.apache.manifoldcf:mcf-api-service:2.17:war
      [INFO] Configured Artifact: org.apache.manifoldcf:mcf-authority-service:2.17:war
      [INFO] Configured Artifact: org.apache.manifoldcf:mcf-crawler-ui:2.17:war
      [INFO] Copying mcf-api-service-2.17.war to /Users/piergiorgiolucidi/Downloads/apache-manifoldcf-2.17/connectors/elasticsearch/target/dependency/mcf-api-service.war
      [INFO] Copying mcf-authority-service-2.17.war to /Users/piergiorgiolucidi/Downloads/apache-manifoldcf-2.17/connectors/elasticsearch/target/dependency/mcf-authority-service.war
      [INFO] Copying mcf-crawler-ui-2.17.war to /Users/piergiorgiolucidi/Downloads/apache-manifoldcf-2.17/connectors/elasticsearch/target/dependency/mcf-crawler-ui.war
      [INFO]
      [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ mcf-elasticsearch-connector ---
      [debug] execute contextualize
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 5 resources
      [INFO] Copying 4 resources
      [INFO] Copying 3 resources
      [INFO]
      [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ mcf-elasticsearch-connector ---
      [INFO] Compiling 8 source files to /Users/piergiorgiolucidi/Downloads/apache-manifoldcf-2.17/connectors/elasticsearch/target/classes
      [INFO]
      [INFO] --- native2ascii-maven-plugin:1.0-beta-1:native2ascii (native2ascii-utf8) @ mcf-elasticsearch-connector ---
      [INFO] Includes: [**/*.properties]
      [INFO] Excludes: []
      [INFO] Processing /Users/piergiorgiolucidi/Downloads/apache-manifoldcf-2.17/connectors/elasticsearch/target/classes/org/apache/manifoldcf/agents/output/elasticsearch/common_en_US.properties
      [INFO] Processing /Users/piergiorgiolucidi/Downloads/apache-manifoldcf-2.17/connectors/elasticsearch/target/classes/org/apache/manifoldcf/agents/output/elasticsearch/common_ja_JP.properties
      [INFO] Processing /Users/piergiorgiolucidi/Downloads/apache-manifoldcf-2.17/connectors/elasticsearch/target/classes/org/apache/manifoldcf/agents/output/elasticsearch/common_zh_CN.properties
      [INFO] Processing /Users/piergiorgiolucidi/Downloads/apache-manifoldcf-2.17/connectors/elasticsearch/target/classes/org/apache/manifoldcf/agents/output/elasticsearch/common_fr_FR.properties
      [INFO] Processing /Users/piergiorgiolucidi/Downloads/apache-manifoldcf-2.17/connectors/elasticsearch/target/classes/org/apache/manifoldcf/agents/output/elasticsearch/common_es_ES.properties
      [INFO]
      [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ mcf-elasticsearch-connector ---
      [debug] execute contextualize
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory /Users/piergiorgiolucidi/Downloads/apache-manifoldcf-2.17/connectors/elasticsearch/connector/src/test/resources
      [INFO] Copying 3 resources
      [INFO]
      [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ mcf-elasticsearch-connector ---
      [INFO] Compiling 6 source files to /Users/piergiorgiolucidi/Downloads/apache-manifoldcf-2.17/connectors/elasticsearch/target/test-classes
      [INFO]
      [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ mcf-elasticsearch-connector ---
      [INFO]
      [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ mcf-elasticsearch-connector ---
      [INFO] Building jar: /Users/piergiorgiolucidi/Downloads/apache-manifoldcf-2.17/connectors/elasticsearch/target/mcf-elasticsearch-connector-2.17.jar
      [INFO]
      [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ mcf-elasticsearch-connector ---
      [INFO]
      [INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ mcf-elasticsearch-connector >>>
      [INFO]
      [INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ mcf-elasticsearch-connector <<<
      [INFO]
      [INFO]
      [INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ mcf-elasticsearch-connector ---
      [INFO] Building jar: /Users/piergiorgiolucidi/Downloads/apache-manifoldcf-2.17/connectors/elasticsearch/target/mcf-elasticsearch-connector-2.17-sources.jar
      [INFO]
      [INFO] --- maven-failsafe-plugin:2.18.1:integration-test (integration-test) @ mcf-elasticsearch-connector ---
      [INFO] Failsafe report directory: /Users/piergiorgiolucidi/Downloads/apache-manifoldcf-2.17/connectors/elasticsearch/target/failsafe-reports
      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running org.apache.manifoldcf.agents.output.elasticsearch.tests.APISanityHSQLDBIT
      Configuration file successfully read
      [main] INFO org.eclipse.jetty.util.log - Logging initialized @6244ms
      [main] INFO org.eclipse.jetty.server.Server - jetty-9.2.3.v20140905
      [main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@68746f22{/mcf-crawler-ui,file:/private/var/folders/dq/ws51_rdd2_7bb5fz193yf6ww0000gn/T/jetty-0.0.0.0-8346-mcf-crawler-ui.war-_mcf-crawler-ui-any-159154925795368875.dir/webapp/,AVAILABLE}{../dependency/mcf-crawler-ui.war}
      [main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@2f01783a{/mcf-authority-service,file:/private/var/folders/dq/ws51_rdd2_7bb5fz193yf6ww0000gn/T/jetty-0.0.0.0-8346-mcf-authority-service.war-_mcf-authority-service-any-3008687721846728890.dir/webapp/,AVAILABLE}{../dependency/mcf-authority-service.war}
      [main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@68878f6d{/mcf-api-service,file:/private/var/folders/dq/ws51_rdd2_7bb5fz193yf6ww0000gn/T/jetty-0.0.0.0-8346-mcf-api-service.war-_mcf-api-service-any-2775887620010876436.dir/webapp/,AVAILABLE}{../dependency/mcf-api-service.war}
      [main] INFO org.eclipse.jetty.server.ServerConnector - Started ServerConnector@7b205dbd{HTTP/1.1}{0.0.0.0:8346}
      [main] INFO org.eclipse.jetty.server.Server - Started @7933ms
      ES working directory is '/Users/piergiorgiolucidi/Downloads/apache-manifoldcf-2.17/connectors/elasticsearch/target/test-output/.'
      Unix process
      ElasticSearch is starting...
      Didn't reach ES; waiting...
      Didn't reach ES; waiting...
      Didn't reach ES; waiting...
      Didn't reach ES; waiting...
      Didn't reach ES; waiting...
      Didn't reach ES; waiting...
      Didn't reach ES; waiting...
      Didn't reach ES; waiting...
      Didn't reach ES; waiting...
      Didn't reach ES; waiting...
      Didn't reach ES; waiting...

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            piergiorgiolucidi@gmail.com Piergiorgio Lucidi
            piergiorgiolucidi@gmail.com Piergiorgio Lucidi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment