[
https://issues.apache.org/jira/browse/CONNECTORS-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Markus Schuch resolved CONNECTORS-1690.
---------------------------------------
Resolution: Fixed
> Elasticsearch integration test fails on linux
> ---------------------------------------------
>
> Key: CONNECTORS-1690
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1690
> Project: ManifoldCF
> Issue Type: Bug
> Components: Elastic Search connector
> Reporter: Markus Schuch
> Assignee: Markus Schuch
> Priority: Major
> Fix For: ManifoldCF 2.21
>
>
> On linux (e.g. in TravisCI) the
> {{org.apache.manifoldcf.agents.output.elasticsearch.tests.APISanityHSQLDBIT}}
> fails to succeed.
> {code}
> [INFO] -------------------------------------------------------
> [INFO] T E S T S
> [INFO] -------------------------------------------------------
> [INFO] Running
> org.apache.manifoldcf.agents.output.elasticsearch.tests.APISanityHSQLDBIT
> Configuration file successfully read
> [main] INFO org.eclipse.jetty.util.log - Logging initialized @5270ms to
> org.eclipse.jetty.util.log.Slf4jLog
> [main] INFO org.eclipse.jetty.server.Server - jetty-9.4.25.v20191220; built:
> 2019-12-20T17:00:00.294Z; git: a9729c7e7f33a459d2616a8f9e9ba8a90f432e95; jvm
> 1.8.0_312-8u312-b07-0ubuntu1~18.04-b07
> [main] INFO org.eclipse.jetty.webapp.StandardDescriptorProcessor - NO JSP
> Support for /mcf-crawler-ui, did not find
> org.eclipse.jetty.jsp.JettyJspServlet
> [main] INFO org.eclipse.jetty.server.session - DefaultSessionIdManager
> workerName=node0
> [main] INFO org.eclipse.jetty.server.session - No SessionScavenger set, using
> defaults
> [main] INFO org.eclipse.jetty.server.session - node0 Scavenging every 600000ms
> [main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started
> o.e.j.w.WebAppContext@8c3619e{ManifoldCF Crawler
> Interface,/mcf-crawler-ui,file:///tmp/jetty-0_0_0_0-8346-mcf-crawler-ui_war-_mcf-crawler-ui-any-3441946235537433574.dir/webapp/,AVAILABLE}{../dependency/mcf-crawler-ui.war}
> [main] INFO org.eclipse.jetty.webapp.StandardDescriptorProcessor - NO JSP
> Support for /mcf-authority-service, did not find
> org.eclipse.jetty.jsp.JettyJspServlet
> [main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started
> o.e.j.w.WebAppContext@4331d187{ManifoldCF Authorities API
> Webapp,/mcf-authority-service,file:///tmp/jetty-0_0_0_0-8346-mcf-authority-service_war-_mcf-authority-service-any-6083627371280490327.dir/webapp/,AVAILABLE}{../dependency/mcf-authority-service.war}
> [main] INFO org.eclipse.jetty.webapp.StandardDescriptorProcessor - NO JSP
> Support for /mcf-api-service, did not find
> org.eclipse.jetty.jsp.JettyJspServlet
> [main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started
> o.e.j.w.WebAppContext@6f63b475{ManifoldCF General API
> Webapp,/mcf-api-service,file:///tmp/jetty-0_0_0_0-8346-mcf-api-service_war-_mcf-api-service-any-2386555922889561879.dir/webapp/,AVAILABLE}{../dependency/mcf-api-service.war}
> [main] INFO org.eclipse.jetty.server.AbstractConnector - Started
> ServerConnector@481ba2cf{HTTP/1.1,[http/1.1]}{0.0.0.0:8346}
> [main] INFO org.eclipse.jetty.server.Server - Started @8541ms
> ES working directory is
> '/home/markusschuch/manifoldcf/connectors/elasticsearch/target/test-output/.'
> Unix process
> ElasticSearch is starting...
> Didn't reach ES; waiting...
> {code}
> Then endlessly
> {code}
> Didn't reach ES; waiting...
> Didn't reach ES; waiting...
> Didn't reach ES; waiting...
> Didn't reach ES; waiting...
> ...
> {code}
> es.log shows a missing x-bit on
> {{test-materials/unix/elasticsearch-7.6.2/modules/x-pack-ml/platform/linux-x86_64/bin/controller}}
> is preventing elasticsearch from starting.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)