[JBoss JIRA] (ISPN-8372) ElasticsearchIndexManagerIT ConnectionClosedException
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8372?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-8372:
------------------------------------
Fix Version/s: 9.1.2.Final
9.2.0.Alpha1
> ElasticsearchIndexManagerIT ConnectionClosedException
> -----------------------------------------------------
>
> Key: ISPN-8372
> URL: https://issues.jboss.org/browse/ISPN-8372
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Query
> Affects Versions: 9.1.1.Final
> Reporter: Ryan Emerson
> Assignee: Gustavo Fernandes
> Fix For: 9.1.2.Final, 9.2.0.Alpha1
>
>
> {code:java}
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Integration tests: Wildfly Module Integration Tests 9.2.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java) @ infinispan-wildfly-module-integrationtests ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.1:process (attach-license) @ infinispan-wildfly-module-integrationtests ---
> [INFO]
> [INFO] --- maven-antrun-plugin:1.8:run (generate-distros-and-configs) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Executing tasks
> main:
> -check.skipped:
> create-distro:
> [echo] Creating test server distro at /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/infinispan-server
> [echo] Using distribution /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/../../server/integration/build/target/infinispan-server-9.2.0-SNAPSHOT
> [copy] Copying 916 files to /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/infinispan-server
> [copy] Copied 836 empty directories to 13 empty directories under /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/infinispan-server
> [echo] Removing empty xmlns attributes (xmlns='') which IBM JDK could produce
> [INFO] Executed tasks
> [INFO]
> [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/src/main/resources
> [INFO] Copying 2 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ infinispan-wildfly-module-integrationtests ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- exec-maven-plugin:1.6.0:java (serialize_component_metadata) @ infinispan-wildfly-module-integrationtests ---
> [INFO] skipping execute as per configuration
> [INFO]
> [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 8 resources
> [INFO] Copying 2 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- exec-maven-plugin:1.6.0:java (serialize_test_component_metadata) @ infinispan-wildfly-module-integrationtests ---
> [INFO] skipping execute as per configuration
> [INFO]
> [INFO] --- maven-surefire-plugin:2.20:test (default-test) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ infinispan-wildfly-module-integrationtests ---
> [INFO]
> [INFO] --- maven-jar-plugin:2.4:test-jar (build-test-jar) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Building jar: /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/infinispan-wildfly-module-integrationtests-tests.jar
> [INFO]
> [INFO] --- maven-dependency-plugin:2.8:unpack (unpack) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Configured Artifact: org.wildfly:wildfly-dist:10.1.0.Final:zip
> [INFO] Configured Artifact: org.wildfly:wildfly-dist:10.1.0.Final:zip
> [INFO] Configured Artifact: org.infinispan:infinispan-wildfly-modules:9.2.0-SNAPSHOT:zip
> [INFO] Configured Artifact: org.infinispan:infinispan-wildfly-modules:9.2.0-SNAPSHOT:zip
> [INFO] Unpacking /home/infinispan/.m2/repository/org/wildfly/wildfly-dist/10.1.0.Final/wildfly-dist-10.1.0.Final.zip to /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/node1 with includes "" and excludes ""
> [INFO] Unpacking /home/infinispan/.m2/repository/org/wildfly/wildfly-dist/10.1.0.Final/wildfly-dist-10.1.0.Final.zip to /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/node2 with includes "" and excludes ""
> [INFO] Unpacking /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/wildfly-modules/target/distribution/infinispan-wildfly-modules-9.2.0-SNAPSHOT.zip to /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/node1/wildfly-10.1.0.Final/modules with includes "" and excludes ""
> [INFO] Unpacking /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/wildfly-modules/target/distribution/infinispan-wildfly-modules-9.2.0-SNAPSHOT.zip to /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/node2/wildfly-10.1.0.Final/modules with includes "" and excludes ""
> [INFO]
> [INFO] --- elasticsearch-maven-plugin:5.7:runforked (start-elasticsearch) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Using Elasticsearch [0] configuration: com.github.alexcojocaru.mojo.elasticsearch.v2.InstanceConfiguration@4598fc98[id=0,baseDir=/home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/elasticsearch0,httpPort=9200,transportPort=9300,pathData=<null>,pathLogs=<null>]
> [DEBUG] Resolving ElasticsearchArtifact[org.elasticsearch.distribution.zip:elasticsearch:zip:5.5.0]
> [DEBUG] Resolving artifact org.elasticsearch.distribution.zip:elasticsearch:zip:5.5.0 from [redhat-earlyaccess-repository-group (http://maven.repository.redhat.com/earlyaccess/all/, default, releases+snapshots), jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public-jboss, default, releases+snapshots), central (https://repo.maven.apache.org/maven2, default, releases)]
> [DEBUG] Resolved artifact org.elasticsearch.distribution.zip:elasticsearch:zip:5.5.0 to /home/infinispan/.m2/repository/org/elasticsearch/distribution/zip/elasticsearch/5.5.0/elasticsearch-5.5.0.zip from jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public-jboss, default, releases+snapshots)
> [DEBUG] Using environment: null
> [INFO] Elasticsearch[0]: Executing command '[chmod, 755, bin/elasticsearch]' in directory '/home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/elasticsearch0'
> [DEBUG] Waiting up to 30s for Elasticsearch to start ...
> [INFO] Elasticsearch[0]: The process finished with exit code 0
> [DEBUG] Using environment: null
> [INFO] Elasticsearch[0]: Executing command '[bin/elasticsearch, -p pid, -Ecluster.name=elasticTestCluster, -Ehttp.port=9200, -Etransport.tcp.port=9300, -Eaction.auto_create_index=false, -Ehttp.cors.enabled=true]' in directory '/home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/elasticsearch0'
> [2017-10-04T13:38:33,556][INFO ][o.e.n.Node ] [] initializing ...
> [DEBUG] Sending GET request to http://localhost:9200/
> [2017-10-04T13:38:33,615][INFO ][o.e.e.NodeEnvironment ] [EKpRAGu] using [1] data paths, mounts [[/ (rootfs)]], net usable_space [8.4gb], net total_space [39.9gb], spins? [unknown], types [rootfs]
> [2017-10-04T13:38:33,615][INFO ][o.e.e.NodeEnvironment ] [EKpRAGu] heap size [1.9gb], compressed ordinary object pointers [true]
> [2017-10-04T13:38:33,616][INFO ][o.e.n.Node ] node name [EKpRAGu] derived from node ID [EKpRAGubT2mPRtj7gXdIDA]; set [node.name] to override
> [2017-10-04T13:38:33,617][INFO ][o.e.n.Node ] version[5.5.0], pid[7836], build[260387d/2017-06-30T23:16:05.735Z], OS[Linux/3.10.0-514.26.2.el7.x86_64/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/1.8.0_144/25.144-b01]
> [2017-10-04T13:38:33,617][INFO ][o.e.n.Node ] JVM arguments [-Xms2g, -Xmx2g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -XX:+DisableExplicitGC, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -Djdk.io.permissionsUseCanonicalPath=true, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j.skipJansi=true, -XX:+HeapDumpOnOutOfMemoryError, -Des.path.home=/home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/elasticsearch0]
> [2017-10-04T13:38:34,522][INFO ][o.e.p.PluginsService ] [EKpRAGu] loaded module [aggs-matrix-stats]
> [2017-10-04T13:38:34,522][INFO ][o.e.p.PluginsService ] [EKpRAGu] loaded module [ingest-common]
> [2017-10-04T13:38:34,522][INFO ][o.e.p.PluginsService ] [EKpRAGu] loaded module [lang-expression]
> [2017-10-04T13:38:34,522][INFO ][o.e.p.PluginsService ] [EKpRAGu] loaded module [lang-groovy]
> [2017-10-04T13:38:34,522][INFO ][o.e.p.PluginsService ] [EKpRAGu] loaded module [lang-mustache]
> [2017-10-04T13:38:34,522][INFO ][o.e.p.PluginsService ] [EKpRAGu] loaded module [lang-painless]
> [2017-10-04T13:38:34,522][INFO ][o.e.p.PluginsService ] [EKpRAGu] loaded module [parent-join]
> [2017-10-04T13:38:34,522][INFO ][o.e.p.PluginsService ] [EKpRAGu] loaded module [percolator]
> [2017-10-04T13:38:34,522][INFO ][o.e.p.PluginsService ] [EKpRAGu] loaded module [reindex]
> [2017-10-04T13:38:34,522][INFO ][o.e.p.PluginsService ] [EKpRAGu] loaded module [transport-netty3]
> [2017-10-04T13:38:34,523][INFO ][o.e.p.PluginsService ] [EKpRAGu] loaded module [transport-netty4]
> [2017-10-04T13:38:34,523][INFO ][o.e.p.PluginsService ] [EKpRAGu] no plugins loaded
> [DEBUG] Sending GET request to http://localhost:9200/
> [DEBUG] Sending GET request to http://localhost:9200/
> [2017-10-04T13:38:36,223][INFO ][o.e.d.DiscoveryModule ] [EKpRAGu] using discovery type [zen]
> [2017-10-04T13:38:36,686][INFO ][o.e.n.Node ] initialized
> [2017-10-04T13:38:36,687][INFO ][o.e.n.Node ] [EKpRAGu] starting ...
> [DEBUG] Sending GET request to http://localhost:9200/
> [2017-10-04T13:38:36,807][INFO ][o.e.t.TransportService ] [EKpRAGu] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}
> [2017-10-04T13:38:36,816][WARN ][o.e.b.BootstrapChecks ] [EKpRAGu] max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
> [2017-10-04T13:38:36,816][WARN ][o.e.b.BootstrapChecks ] [EKpRAGu] max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
> [DEBUG] Sending GET request to http://localhost:9200/
> [DEBUG] Sending GET request to http://localhost:9200/
> [DEBUG] Sending GET request to http://localhost:9200/
> [2017-10-04T13:38:40,006][INFO ][o.e.c.s.ClusterService ] [EKpRAGu] new_master {EKpRAGu}{EKpRAGubT2mPRtj7gXdIDA}{GJPSO-5FQi6qgQnU3f3oPQ}{127.0.0.1}{127.0.0.1:9300}, reason: zen-disco-elected-as-master ([0] nodes joined)
> [2017-10-04T13:38:40,035][INFO ][o.e.h.n.Netty4HttpServerTransport] [EKpRAGu] publish_address {127.0.0.1:9200}, bound_addresses {[::1]:9200}, {127.0.0.1:9200}
> [2017-10-04T13:38:40,035][INFO ][o.e.n.Node ] [EKpRAGu] started
> [2017-10-04T13:38:40,039][INFO ][o.e.g.GatewayService ] [EKpRAGu] recovered [0] indices into cluster_state
> [DEBUG] Sending GET request to http://localhost:9200/
> [DEBUG] Response with status code 200 and content: { "name" : "EKpRAGu", "cluster_name" : "elasticTestCluster", "cluster_uuid" : "nGCgb-S1SbCnPe-YHZsAeg", "version" : { "number" : "5.5.0", "build_hash" : "260387d", "build_date" : "2017-06-30T23:16:05.735Z", "build_snapshot" : false, "lucene_version" : "6.6.0" }, "tagline" : "You Know, for Search"}
> [DEBUG] Elasticsearch has started
> [INFO]
> [INFO] --- maven-resources-plugin:3.0.2:copy-resources (configure-as-node1) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-resources-plugin:3.0.2:copy-resources (configure-as-node2) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-antrun-plugin:1.8:run (infinispan-server-startup) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Executing tasks
> main:
> -check.skipped:
> -do.kinit:
> [echo] ps.pid: ps.pid --- 0
> [exec] Result: 127
> [echo] lsof.pid: bash: lsof: command not found --- 127
> [echo] jps.pid: jps.pid --- 0
> [echo] cmd.pid: cmd.pid --- ${cmd.result}
> -do.ps:
> -do.lsof:
> -do.jps:
> [echo] this target will be called only when property ${run.jps} is set
> [exec] kill: cannot find process "${jpid}"
> [exec] Result: 1
> [delete] Deleting: /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/jps.pid
> -do.cmd:
> kill-server:
> -check.skipped:
> start-server:
> [echo] Starting Infinispan server from /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/infinispan-server
> [echo] Waiting for Infinispan server to start
> [echo] Infinispan server started
> [INFO] Executed tasks
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.20:integration-test (default) @ infinispan-wildfly-module-integrationtests ---
> [INFO]
> [INFO] -------------------------------------------------------
> [INFO] T E S T S
> [INFO] -------------------------------------------------------
> [INFO] Running org.infinispan.test.integration.as.client.HotRodClientIT
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.849 s - in org.infinispan.test.integration.as.client.HotRodClientIT
> [INFO] Running org.infinispan.test.integration.as.client.BaseHotRodQueryIT
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.831 s - in org.infinispan.test.integration.as.client.BaseHotRodQueryIT
> [INFO] Running org.infinispan.test.integration.as.client.HotRodQueryIT
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.405 s - in org.infinispan.test.integration.as.client.HotRodQueryIT
> [INFO] Running org.infinispan.test.integration.as.InfinispanStoreJdbcIT
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.452 s - in org.infinispan.test.integration.as.InfinispanStoreJdbcIT
> [INFO] Running org.infinispan.test.integration.as.query.InfinispanQueryIT
> [WARNING] Tests run: 9, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 10.978 s - in org.infinispan.test.integration.as.query.InfinispanQueryIT
> [INFO] Running org.infinispan.test.integration.as.query.DSLQueryIT
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.673 s - in org.infinispan.test.integration.as.query.DSLQueryIT
> [INFO] Running org.infinispan.test.integration.as.query.ElasticsearchIndexManagerIT
> [2017-10-04T13:39:31,271][INFO ][o.e.c.m.MetaDataCreateIndexService] [EKpRAGu] [org.infinispan.test.integration.as.query.book] creating index, cause [api], templates [], shards [5]/[1], mappings []
> [2017-10-04T13:39:31,663][INFO ][o.e.c.m.MetaDataMappingService] [EKpRAGu] [org.infinispan.test.integration.as.query.book/KYLzhpajTCuz3KeH7swbXA] create_mapping [org.infinispan.test.integration.as.query.Book]
> [2017-10-04T13:39:34,293][INFO ][o.e.c.m.MetaDataDeleteIndexService] [EKpRAGu] [org.infinispan.test.integration.as.query.book/KYLzhpajTCuz3KeH7swbXA] deleting index
> [2017-10-04T13:39:36,353][INFO ][o.e.c.m.MetaDataCreateIndexService] [EKpRAGu] [org.infinispan.test.integration.as.query.book] creating index, cause [api], templates [], shards [5]/[1], mappings []
> [2017-10-04T13:39:36,704][INFO ][o.e.c.m.MetaDataMappingService] [EKpRAGu] [org.infinispan.test.integration.as.query.book/EkSM16XVQouFDqmIlaA2Iw] create_mapping [org.infinispan.test.integration.as.query.Book]
> [ERROR] Tests run: 9, Failures: 0, Errors: 2, Skipped: 2, Time elapsed: 19.929 s <<< FAILURE! - in org.infinispan.test.integration.as.query.ElasticsearchIndexManagerIT
> [ERROR] testMassIndexer(org.infinispan.test.integration.as.query.ElasticsearchIndexManagerIT) Time elapsed: 3.298 s <<< ERROR!
> org.hibernate.search.exception.SearchException:
> HSEARCH400007: Elasticsearch request failed
> Request:
> ========
> Method: POST
> Path: /org.infinispan.test.integration.as.query.book/_search/
> Data:
> {
> "query": {
> "bool": {
> "must": {
> "match_phrase": {
> "title": {
> "query": "HibernatE"
> }
> }
> },
> "filter": {
> "type": {
> "value": "org.infinispan.test.integration.as.query.Book"
> }
> }
> }
> },
> "_source": [
> "providedId"
> ]
> }
> Response:
> =========
> null
> Caused by: org.apache.http.ConnectionClosedException: Connection closed
> [ERROR] testMassIndexerResult(org.infinispan.test.integration.as.query.ElasticsearchIndexManagerIT) Time elapsed: 0.098 s <<< ERROR!
> org.hibernate.search.exception.SearchException:
> HSEARCH400007: Elasticsearch request failed
> Request:
> ========
> Method: POST
> Path: /org.infinispan.test.integration.as.query.book/_search/
> Data:
> {
> "query": {
> "bool": {
> "must": {
> "match_phrase": {
> "title": {
> "query": "action"
> }
> }
> },
> "filter": {
> "type": {
> "value": "org.infinispan.test.integration.as.query.Book"
> }
> }
> }
> },
> "_source": [
> "providedId"
> ]
> }
> Response:
> =========
> null
> Caused by: java.net.ConnectException: Connection refused
> [INFO] Running org.infinispan.test.integration.as.InfinispanExtensionIT
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.903 s - in org.infinispan.test.integration.as.InfinispanExtensionIT
> [INFO] Running org.infinispan.test.integration.as.cdi.DuplicatedDomainsCdiIT
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.621 s - in org.infinispan.test.integration.as.cdi.DuplicatedDomainsCdiIT
> [INFO] Running org.infinispan.test.integration.as.cdi.GreetingServiceIT
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.402 s - in org.infinispan.test.integration.as.cdi.GreetingServiceIT
> [INFO] Running org.infinispan.test.integration.as.cdi.GreetingCacheManagerIT
> [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.262 s - in org.infinispan.test.integration.as.cdi.GreetingCacheManagerIT
> [INFO] Running org.infinispan.test.integration.as.remote.InfinispanRemoteWithQueryIT
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.866 s - in org.infinispan.test.integration.as.remote.InfinispanRemoteWithQueryIT
> [INFO] Running org.infinispan.test.integration.as.InfinispanStoreJpaIT
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.706 s - in org.infinispan.test.integration.as.InfinispanStoreJpaIT
> [INFO] Running org.infinispan.test.integration.as.InfinispanTreeIT
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.853 s - in org.infinispan.test.integration.as.InfinispanTreeIT
> [INFO] Running org.infinispan.test.integration.as.InfinispanStoreRocksDBIT
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.893 s - in org.infinispan.test.integration.as.InfinispanStoreRocksDBIT
> [INFO] Running org.infinispan.test.integration.as.InfinispanCoreIT
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.735 s - in org.infinispan.test.integration.as.InfinispanCoreIT
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR] ElasticsearchIndexManagerIT.testMassIndexer » Search HSEARCH400007: Elasticsea...
> [ERROR] ElasticsearchIndexManagerIT.testMassIndexerResult » Search HSEARCH400007: Elas...
> [INFO]
> [ERROR] Tests run: 41, Failures: 0, Errors: 2, Skipped: 4
> [INFO]
> [INFO]
> [INFO] --- elasticsearch-maven-plugin:5.7:stop (stop-elasticsearch) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Stopping Elasticsearch [com.github.alexcojocaru.mojo.elasticsearch.v2.InstanceConfiguration@40834215[id=0,baseDir=/home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/elasticsearch0,httpPort=0,transportPort=0,pathData=<null>,pathLogs=<null>]]
> [DEBUG] Using environment: null
> [INFO] Elasticsearch[0]: Executing command '[kill, 7836]' in directory '/home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/elasticsearch0'
> kill: sending signal to 7836 failed: No such process
> [ERROR] Exception while stopping Elasticsearch
> com.github.alexcojocaru.mojo.elasticsearch.v2.ElasticsearchSetupException: Elasticsearch [0]: Cannot execute command '[kill, 7836]' in directory '/home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/elasticsearch0'
> at com.github.alexcojocaru.mojo.elasticsearch.v2.util.ProcessUtil.executeScript(ProcessUtil.java:108)
> at com.github.alexcojocaru.mojo.elasticsearch.v2.util.ProcessUtil.executeScript(ProcessUtil.java:56)
> at com.github.alexcojocaru.mojo.elasticsearch.v2.StopMojo.execute(StopMojo.java:44)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
> 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 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
> at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
> at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
> at com.github.alexcojocaru.mojo.elasticsearch.v2.util.ProcessUtil.executeScript(ProcessUtil.java:91)
> ... 24 more
> [INFO]
> [INFO] --- maven-antrun-plugin:1.8:run (infinispan-server-shutdown) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Executing tasks
> main:
> -check.skipped:
> -do.kinit:
> [echo] ps.pid: ps.pid --- 0
> [exec] Result: 127
> [echo] lsof.pid: bash: lsof: command not found --- 127
> [echo] jps.pid: jps.pid --- 0
> [echo] cmd.pid: cmd.pid --- ${cmd.result}
> -do.ps:
> [echo] this target will be called only when property ${run.ps} is set
> [delete] Deleting: /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/ps.pid
> -do.lsof:
> -do.jps:
> [echo] this target will be called only when property ${run.jps} is set
> [exec] kill: sending signal to 7998 failed: No such process
> [exec] Result: 1
> [delete] Deleting: /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/jps.pid
> -do.cmd:
> kill-server:
> [INFO] Executed tasks
> [INFO]
> [INFO] --- maven-checkstyle-plugin:2.17:checkstyle (checkstyle) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Starting audit...
> Audit done.
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.20:verify (default) @ infinispan-wildfly-module-integrationtests ---
> [ERROR] There are test failures.
> Please refer to /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/failsafe-reports for the individual test results.
> Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months
[JBoss JIRA] (ISPN-8372) ElasticsearchIndexManagerIT ConnectionClosedException
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8372?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes commented on ISPN-8372:
-----------------------------------------
Wasn't able to reproduce the issue, but [~dan.berindei] saw the elasticsearch process being killed by the OOM killer
> ElasticsearchIndexManagerIT ConnectionClosedException
> -----------------------------------------------------
>
> Key: ISPN-8372
> URL: https://issues.jboss.org/browse/ISPN-8372
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Query
> Affects Versions: 9.1.1.Final
> Reporter: Ryan Emerson
> Assignee: Gustavo Fernandes
>
> {code:java}
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Integration tests: Wildfly Module Integration Tests 9.2.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java) @ infinispan-wildfly-module-integrationtests ---
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.1:process (attach-license) @ infinispan-wildfly-module-integrationtests ---
> [INFO]
> [INFO] --- maven-antrun-plugin:1.8:run (generate-distros-and-configs) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Executing tasks
> main:
> -check.skipped:
> create-distro:
> [echo] Creating test server distro at /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/infinispan-server
> [echo] Using distribution /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/../../server/integration/build/target/infinispan-server-9.2.0-SNAPSHOT
> [copy] Copying 916 files to /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/infinispan-server
> [copy] Copied 836 empty directories to 13 empty directories under /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/infinispan-server
> [echo] Removing empty xmlns attributes (xmlns='') which IBM JDK could produce
> [INFO] Executed tasks
> [INFO]
> [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/src/main/resources
> [INFO] Copying 2 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ infinispan-wildfly-module-integrationtests ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- exec-maven-plugin:1.6.0:java (serialize_component_metadata) @ infinispan-wildfly-module-integrationtests ---
> [INFO] skipping execute as per configuration
> [INFO]
> [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 8 resources
> [INFO] Copying 2 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- exec-maven-plugin:1.6.0:java (serialize_test_component_metadata) @ infinispan-wildfly-module-integrationtests ---
> [INFO] skipping execute as per configuration
> [INFO]
> [INFO] --- maven-surefire-plugin:2.20:test (default-test) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ infinispan-wildfly-module-integrationtests ---
> [INFO]
> [INFO] --- maven-jar-plugin:2.4:test-jar (build-test-jar) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Building jar: /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/infinispan-wildfly-module-integrationtests-tests.jar
> [INFO]
> [INFO] --- maven-dependency-plugin:2.8:unpack (unpack) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Configured Artifact: org.wildfly:wildfly-dist:10.1.0.Final:zip
> [INFO] Configured Artifact: org.wildfly:wildfly-dist:10.1.0.Final:zip
> [INFO] Configured Artifact: org.infinispan:infinispan-wildfly-modules:9.2.0-SNAPSHOT:zip
> [INFO] Configured Artifact: org.infinispan:infinispan-wildfly-modules:9.2.0-SNAPSHOT:zip
> [INFO] Unpacking /home/infinispan/.m2/repository/org/wildfly/wildfly-dist/10.1.0.Final/wildfly-dist-10.1.0.Final.zip to /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/node1 with includes "" and excludes ""
> [INFO] Unpacking /home/infinispan/.m2/repository/org/wildfly/wildfly-dist/10.1.0.Final/wildfly-dist-10.1.0.Final.zip to /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/node2 with includes "" and excludes ""
> [INFO] Unpacking /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/wildfly-modules/target/distribution/infinispan-wildfly-modules-9.2.0-SNAPSHOT.zip to /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/node1/wildfly-10.1.0.Final/modules with includes "" and excludes ""
> [INFO] Unpacking /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/wildfly-modules/target/distribution/infinispan-wildfly-modules-9.2.0-SNAPSHOT.zip to /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/node2/wildfly-10.1.0.Final/modules with includes "" and excludes ""
> [INFO]
> [INFO] --- elasticsearch-maven-plugin:5.7:runforked (start-elasticsearch) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Using Elasticsearch [0] configuration: com.github.alexcojocaru.mojo.elasticsearch.v2.InstanceConfiguration@4598fc98[id=0,baseDir=/home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/elasticsearch0,httpPort=9200,transportPort=9300,pathData=<null>,pathLogs=<null>]
> [DEBUG] Resolving ElasticsearchArtifact[org.elasticsearch.distribution.zip:elasticsearch:zip:5.5.0]
> [DEBUG] Resolving artifact org.elasticsearch.distribution.zip:elasticsearch:zip:5.5.0 from [redhat-earlyaccess-repository-group (http://maven.repository.redhat.com/earlyaccess/all/, default, releases+snapshots), jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public-jboss, default, releases+snapshots), central (https://repo.maven.apache.org/maven2, default, releases)]
> [DEBUG] Resolved artifact org.elasticsearch.distribution.zip:elasticsearch:zip:5.5.0 to /home/infinispan/.m2/repository/org/elasticsearch/distribution/zip/elasticsearch/5.5.0/elasticsearch-5.5.0.zip from jboss-public-repository-group (https://repository.jboss.org/nexus/content/groups/public-jboss, default, releases+snapshots)
> [DEBUG] Using environment: null
> [INFO] Elasticsearch[0]: Executing command '[chmod, 755, bin/elasticsearch]' in directory '/home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/elasticsearch0'
> [DEBUG] Waiting up to 30s for Elasticsearch to start ...
> [INFO] Elasticsearch[0]: The process finished with exit code 0
> [DEBUG] Using environment: null
> [INFO] Elasticsearch[0]: Executing command '[bin/elasticsearch, -p pid, -Ecluster.name=elasticTestCluster, -Ehttp.port=9200, -Etransport.tcp.port=9300, -Eaction.auto_create_index=false, -Ehttp.cors.enabled=true]' in directory '/home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/elasticsearch0'
> [2017-10-04T13:38:33,556][INFO ][o.e.n.Node ] [] initializing ...
> [DEBUG] Sending GET request to http://localhost:9200/
> [2017-10-04T13:38:33,615][INFO ][o.e.e.NodeEnvironment ] [EKpRAGu] using [1] data paths, mounts [[/ (rootfs)]], net usable_space [8.4gb], net total_space [39.9gb], spins? [unknown], types [rootfs]
> [2017-10-04T13:38:33,615][INFO ][o.e.e.NodeEnvironment ] [EKpRAGu] heap size [1.9gb], compressed ordinary object pointers [true]
> [2017-10-04T13:38:33,616][INFO ][o.e.n.Node ] node name [EKpRAGu] derived from node ID [EKpRAGubT2mPRtj7gXdIDA]; set [node.name] to override
> [2017-10-04T13:38:33,617][INFO ][o.e.n.Node ] version[5.5.0], pid[7836], build[260387d/2017-06-30T23:16:05.735Z], OS[Linux/3.10.0-514.26.2.el7.x86_64/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/1.8.0_144/25.144-b01]
> [2017-10-04T13:38:33,617][INFO ][o.e.n.Node ] JVM arguments [-Xms2g, -Xmx2g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -XX:+DisableExplicitGC, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -Djdk.io.permissionsUseCanonicalPath=true, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j.skipJansi=true, -XX:+HeapDumpOnOutOfMemoryError, -Des.path.home=/home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/elasticsearch0]
> [2017-10-04T13:38:34,522][INFO ][o.e.p.PluginsService ] [EKpRAGu] loaded module [aggs-matrix-stats]
> [2017-10-04T13:38:34,522][INFO ][o.e.p.PluginsService ] [EKpRAGu] loaded module [ingest-common]
> [2017-10-04T13:38:34,522][INFO ][o.e.p.PluginsService ] [EKpRAGu] loaded module [lang-expression]
> [2017-10-04T13:38:34,522][INFO ][o.e.p.PluginsService ] [EKpRAGu] loaded module [lang-groovy]
> [2017-10-04T13:38:34,522][INFO ][o.e.p.PluginsService ] [EKpRAGu] loaded module [lang-mustache]
> [2017-10-04T13:38:34,522][INFO ][o.e.p.PluginsService ] [EKpRAGu] loaded module [lang-painless]
> [2017-10-04T13:38:34,522][INFO ][o.e.p.PluginsService ] [EKpRAGu] loaded module [parent-join]
> [2017-10-04T13:38:34,522][INFO ][o.e.p.PluginsService ] [EKpRAGu] loaded module [percolator]
> [2017-10-04T13:38:34,522][INFO ][o.e.p.PluginsService ] [EKpRAGu] loaded module [reindex]
> [2017-10-04T13:38:34,522][INFO ][o.e.p.PluginsService ] [EKpRAGu] loaded module [transport-netty3]
> [2017-10-04T13:38:34,523][INFO ][o.e.p.PluginsService ] [EKpRAGu] loaded module [transport-netty4]
> [2017-10-04T13:38:34,523][INFO ][o.e.p.PluginsService ] [EKpRAGu] no plugins loaded
> [DEBUG] Sending GET request to http://localhost:9200/
> [DEBUG] Sending GET request to http://localhost:9200/
> [2017-10-04T13:38:36,223][INFO ][o.e.d.DiscoveryModule ] [EKpRAGu] using discovery type [zen]
> [2017-10-04T13:38:36,686][INFO ][o.e.n.Node ] initialized
> [2017-10-04T13:38:36,687][INFO ][o.e.n.Node ] [EKpRAGu] starting ...
> [DEBUG] Sending GET request to http://localhost:9200/
> [2017-10-04T13:38:36,807][INFO ][o.e.t.TransportService ] [EKpRAGu] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}
> [2017-10-04T13:38:36,816][WARN ][o.e.b.BootstrapChecks ] [EKpRAGu] max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
> [2017-10-04T13:38:36,816][WARN ][o.e.b.BootstrapChecks ] [EKpRAGu] max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
> [DEBUG] Sending GET request to http://localhost:9200/
> [DEBUG] Sending GET request to http://localhost:9200/
> [DEBUG] Sending GET request to http://localhost:9200/
> [2017-10-04T13:38:40,006][INFO ][o.e.c.s.ClusterService ] [EKpRAGu] new_master {EKpRAGu}{EKpRAGubT2mPRtj7gXdIDA}{GJPSO-5FQi6qgQnU3f3oPQ}{127.0.0.1}{127.0.0.1:9300}, reason: zen-disco-elected-as-master ([0] nodes joined)
> [2017-10-04T13:38:40,035][INFO ][o.e.h.n.Netty4HttpServerTransport] [EKpRAGu] publish_address {127.0.0.1:9200}, bound_addresses {[::1]:9200}, {127.0.0.1:9200}
> [2017-10-04T13:38:40,035][INFO ][o.e.n.Node ] [EKpRAGu] started
> [2017-10-04T13:38:40,039][INFO ][o.e.g.GatewayService ] [EKpRAGu] recovered [0] indices into cluster_state
> [DEBUG] Sending GET request to http://localhost:9200/
> [DEBUG] Response with status code 200 and content: { "name" : "EKpRAGu", "cluster_name" : "elasticTestCluster", "cluster_uuid" : "nGCgb-S1SbCnPe-YHZsAeg", "version" : { "number" : "5.5.0", "build_hash" : "260387d", "build_date" : "2017-06-30T23:16:05.735Z", "build_snapshot" : false, "lucene_version" : "6.6.0" }, "tagline" : "You Know, for Search"}
> [DEBUG] Elasticsearch has started
> [INFO]
> [INFO] --- maven-resources-plugin:3.0.2:copy-resources (configure-as-node1) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-resources-plugin:3.0.2:copy-resources (configure-as-node2) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-antrun-plugin:1.8:run (infinispan-server-startup) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Executing tasks
> main:
> -check.skipped:
> -do.kinit:
> [echo] ps.pid: ps.pid --- 0
> [exec] Result: 127
> [echo] lsof.pid: bash: lsof: command not found --- 127
> [echo] jps.pid: jps.pid --- 0
> [echo] cmd.pid: cmd.pid --- ${cmd.result}
> -do.ps:
> -do.lsof:
> -do.jps:
> [echo] this target will be called only when property ${run.jps} is set
> [exec] kill: cannot find process "${jpid}"
> [exec] Result: 1
> [delete] Deleting: /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/jps.pid
> -do.cmd:
> kill-server:
> -check.skipped:
> start-server:
> [echo] Starting Infinispan server from /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/infinispan-server
> [echo] Waiting for Infinispan server to start
> [echo] Infinispan server started
> [INFO] Executed tasks
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.20:integration-test (default) @ infinispan-wildfly-module-integrationtests ---
> [INFO]
> [INFO] -------------------------------------------------------
> [INFO] T E S T S
> [INFO] -------------------------------------------------------
> [INFO] Running org.infinispan.test.integration.as.client.HotRodClientIT
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.849 s - in org.infinispan.test.integration.as.client.HotRodClientIT
> [INFO] Running org.infinispan.test.integration.as.client.BaseHotRodQueryIT
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.831 s - in org.infinispan.test.integration.as.client.BaseHotRodQueryIT
> [INFO] Running org.infinispan.test.integration.as.client.HotRodQueryIT
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.405 s - in org.infinispan.test.integration.as.client.HotRodQueryIT
> [INFO] Running org.infinispan.test.integration.as.InfinispanStoreJdbcIT
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.452 s - in org.infinispan.test.integration.as.InfinispanStoreJdbcIT
> [INFO] Running org.infinispan.test.integration.as.query.InfinispanQueryIT
> [WARNING] Tests run: 9, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 10.978 s - in org.infinispan.test.integration.as.query.InfinispanQueryIT
> [INFO] Running org.infinispan.test.integration.as.query.DSLQueryIT
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.673 s - in org.infinispan.test.integration.as.query.DSLQueryIT
> [INFO] Running org.infinispan.test.integration.as.query.ElasticsearchIndexManagerIT
> [2017-10-04T13:39:31,271][INFO ][o.e.c.m.MetaDataCreateIndexService] [EKpRAGu] [org.infinispan.test.integration.as.query.book] creating index, cause [api], templates [], shards [5]/[1], mappings []
> [2017-10-04T13:39:31,663][INFO ][o.e.c.m.MetaDataMappingService] [EKpRAGu] [org.infinispan.test.integration.as.query.book/KYLzhpajTCuz3KeH7swbXA] create_mapping [org.infinispan.test.integration.as.query.Book]
> [2017-10-04T13:39:34,293][INFO ][o.e.c.m.MetaDataDeleteIndexService] [EKpRAGu] [org.infinispan.test.integration.as.query.book/KYLzhpajTCuz3KeH7swbXA] deleting index
> [2017-10-04T13:39:36,353][INFO ][o.e.c.m.MetaDataCreateIndexService] [EKpRAGu] [org.infinispan.test.integration.as.query.book] creating index, cause [api], templates [], shards [5]/[1], mappings []
> [2017-10-04T13:39:36,704][INFO ][o.e.c.m.MetaDataMappingService] [EKpRAGu] [org.infinispan.test.integration.as.query.book/EkSM16XVQouFDqmIlaA2Iw] create_mapping [org.infinispan.test.integration.as.query.Book]
> [ERROR] Tests run: 9, Failures: 0, Errors: 2, Skipped: 2, Time elapsed: 19.929 s <<< FAILURE! - in org.infinispan.test.integration.as.query.ElasticsearchIndexManagerIT
> [ERROR] testMassIndexer(org.infinispan.test.integration.as.query.ElasticsearchIndexManagerIT) Time elapsed: 3.298 s <<< ERROR!
> org.hibernate.search.exception.SearchException:
> HSEARCH400007: Elasticsearch request failed
> Request:
> ========
> Method: POST
> Path: /org.infinispan.test.integration.as.query.book/_search/
> Data:
> {
> "query": {
> "bool": {
> "must": {
> "match_phrase": {
> "title": {
> "query": "HibernatE"
> }
> }
> },
> "filter": {
> "type": {
> "value": "org.infinispan.test.integration.as.query.Book"
> }
> }
> }
> },
> "_source": [
> "providedId"
> ]
> }
> Response:
> =========
> null
> Caused by: org.apache.http.ConnectionClosedException: Connection closed
> [ERROR] testMassIndexerResult(org.infinispan.test.integration.as.query.ElasticsearchIndexManagerIT) Time elapsed: 0.098 s <<< ERROR!
> org.hibernate.search.exception.SearchException:
> HSEARCH400007: Elasticsearch request failed
> Request:
> ========
> Method: POST
> Path: /org.infinispan.test.integration.as.query.book/_search/
> Data:
> {
> "query": {
> "bool": {
> "must": {
> "match_phrase": {
> "title": {
> "query": "action"
> }
> }
> },
> "filter": {
> "type": {
> "value": "org.infinispan.test.integration.as.query.Book"
> }
> }
> }
> },
> "_source": [
> "providedId"
> ]
> }
> Response:
> =========
> null
> Caused by: java.net.ConnectException: Connection refused
> [INFO] Running org.infinispan.test.integration.as.InfinispanExtensionIT
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.903 s - in org.infinispan.test.integration.as.InfinispanExtensionIT
> [INFO] Running org.infinispan.test.integration.as.cdi.DuplicatedDomainsCdiIT
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.621 s - in org.infinispan.test.integration.as.cdi.DuplicatedDomainsCdiIT
> [INFO] Running org.infinispan.test.integration.as.cdi.GreetingServiceIT
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.402 s - in org.infinispan.test.integration.as.cdi.GreetingServiceIT
> [INFO] Running org.infinispan.test.integration.as.cdi.GreetingCacheManagerIT
> [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.262 s - in org.infinispan.test.integration.as.cdi.GreetingCacheManagerIT
> [INFO] Running org.infinispan.test.integration.as.remote.InfinispanRemoteWithQueryIT
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.866 s - in org.infinispan.test.integration.as.remote.InfinispanRemoteWithQueryIT
> [INFO] Running org.infinispan.test.integration.as.InfinispanStoreJpaIT
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.706 s - in org.infinispan.test.integration.as.InfinispanStoreJpaIT
> [INFO] Running org.infinispan.test.integration.as.InfinispanTreeIT
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.853 s - in org.infinispan.test.integration.as.InfinispanTreeIT
> [INFO] Running org.infinispan.test.integration.as.InfinispanStoreRocksDBIT
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.893 s - in org.infinispan.test.integration.as.InfinispanStoreRocksDBIT
> [INFO] Running org.infinispan.test.integration.as.InfinispanCoreIT
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.735 s - in org.infinispan.test.integration.as.InfinispanCoreIT
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR] ElasticsearchIndexManagerIT.testMassIndexer » Search HSEARCH400007: Elasticsea...
> [ERROR] ElasticsearchIndexManagerIT.testMassIndexerResult » Search HSEARCH400007: Elas...
> [INFO]
> [ERROR] Tests run: 41, Failures: 0, Errors: 2, Skipped: 4
> [INFO]
> [INFO]
> [INFO] --- elasticsearch-maven-plugin:5.7:stop (stop-elasticsearch) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Stopping Elasticsearch [com.github.alexcojocaru.mojo.elasticsearch.v2.InstanceConfiguration@40834215[id=0,baseDir=/home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/elasticsearch0,httpPort=0,transportPort=0,pathData=<null>,pathLogs=<null>]]
> [DEBUG] Using environment: null
> [INFO] Elasticsearch[0]: Executing command '[kill, 7836]' in directory '/home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/elasticsearch0'
> kill: sending signal to 7836 failed: No such process
> [ERROR] Exception while stopping Elasticsearch
> com.github.alexcojocaru.mojo.elasticsearch.v2.ElasticsearchSetupException: Elasticsearch [0]: Cannot execute command '[kill, 7836]' in directory '/home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/elasticsearch0'
> at com.github.alexcojocaru.mojo.elasticsearch.v2.util.ProcessUtil.executeScript(ProcessUtil.java:108)
> at com.github.alexcojocaru.mojo.elasticsearch.v2.util.ProcessUtil.executeScript(ProcessUtil.java:56)
> at com.github.alexcojocaru.mojo.elasticsearch.v2.StopMojo.execute(StopMojo.java:44)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
> 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 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
> at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
> at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
> at com.github.alexcojocaru.mojo.elasticsearch.v2.util.ProcessUtil.executeScript(ProcessUtil.java:91)
> ... 24 more
> [INFO]
> [INFO] --- maven-antrun-plugin:1.8:run (infinispan-server-shutdown) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Executing tasks
> main:
> -check.skipped:
> -do.kinit:
> [echo] ps.pid: ps.pid --- 0
> [exec] Result: 127
> [echo] lsof.pid: bash: lsof: command not found --- 127
> [echo] jps.pid: jps.pid --- 0
> [echo] cmd.pid: cmd.pid --- ${cmd.result}
> -do.ps:
> [echo] this target will be called only when property ${run.ps} is set
> [delete] Deleting: /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/ps.pid
> -do.lsof:
> -do.jps:
> [echo] this target will be called only when property ${run.jps} is set
> [exec] kill: sending signal to 7998 failed: No such process
> [exec] Result: 1
> [delete] Deleting: /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/jps.pid
> -do.cmd:
> kill-server:
> [INFO] Executed tasks
> [INFO]
> [INFO] --- maven-checkstyle-plugin:2.17:checkstyle (checkstyle) @ infinispan-wildfly-module-integrationtests ---
> [INFO] Starting audit...
> Audit done.
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.20:verify (default) @ infinispan-wildfly-module-integrationtests ---
> [ERROR] There are test failures.
> Please refer to /home/infinispan/workspace/Infinispan_PR-5489-I34Q4AVYC6DG3TXQBRQ52XYLE7KMRNSBZAAUBE6XKUM4CP5NGWKQ/integrationtests/wildfly-modules/target/failsafe-reports for the individual test results.
> Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months
[JBoss JIRA] (ISPN-8375) Allow additional HikariCP properties to be passed via PooledConnectionFactoryConfiguration
by Ryan Emerson (JIRA)
Ryan Emerson created ISPN-8375:
----------------------------------
Summary: Allow additional HikariCP properties to be passed via PooledConnectionFactoryConfiguration
Key: ISPN-8375
URL: https://issues.jboss.org/browse/ISPN-8375
Project: Infinispan
Issue Type: Enhancement
Components: Loaders and Stores
Affects Versions: 9.1.1.Final
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Fix For: 9.2.0.Final
Currently the only way to provide additional HikariCP configuration is via a `hikari.properties` file. We should allow users to enter these properties via our xml/config builders.
This will also benefit the new datagrid-infinispan-datasources subsystem, as it will allow users to continue to utilise many of the additional tuning options that we have inherited from the wildfly-connector subsystem.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months
[JBoss JIRA] (ISPN-8373) Design Service Broker support for Arquillian Cube
by Sebastian Łaskawiec (JIRA)
[ https://issues.jboss.org/browse/ISPN-8373?page=com.atlassian.jira.plugin.... ]
Sebastian Łaskawiec updated ISPN-8373:
--------------------------------------
Component/s: Cloud Integrations
> Design Service Broker support for Arquillian Cube
> -------------------------------------------------
>
> Key: ISPN-8373
> URL: https://issues.jboss.org/browse/ISPN-8373
> Project: Infinispan
> Issue Type: Task
> Components: Cloud Integrations
> Reporter: Sebastian Łaskawiec
>
> Our current testing approach leverages Arquillian Cube. If we want to test both Templates and APBs at the same time (and possibly with the same test suite) we need to test on Service Broker level. Unfortunately Arquillian Cube provides no support for Service Brokers. We should design whatever is needed and implement those bits.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months
[JBoss JIRA] (ISPN-8373) Design Service Broker support for Arquillian Cube
by Sebastian Łaskawiec (JIRA)
Sebastian Łaskawiec created ISPN-8373:
-----------------------------------------
Summary: Design Service Broker support for Arquillian Cube
Key: ISPN-8373
URL: https://issues.jboss.org/browse/ISPN-8373
Project: Infinispan
Issue Type: Task
Reporter: Sebastian Łaskawiec
Our current testing approach leverages Arquillian Cube. If we want to test both Templates and APBs at the same time (and possibly with the same test suite) we need to test on Service Broker level. Unfortunately Arquillian Cube provides no support for Service Brokers. We should design whatever is needed and implement those bits.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months
[JBoss JIRA] (ISPN-8243) Embedded server tests not using PrivateGlobalConfiguration serverMode
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8243?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes resolved ISPN-8243.
-------------------------------------
Resolution: Out of Date
Fixed included in ISPN-8349
> Embedded server tests not using PrivateGlobalConfiguration serverMode
> ---------------------------------------------------------------------
>
> Key: ISPN-8243
> URL: https://issues.jboss.org/browse/ISPN-8243
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Query, Test Suite - Server
> Affects Versions: 9.1.0.Final
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
>
> When starting the infinispan server as a separate process, the following setting is applied to the cache manager:
> {code:java}
> GlobalConfigurationBuilder builder = ...
> builder.addModule(PrivateGlobalConfigurationBuilder.class).serverMode(true)
> {code}
> But the server tests that run in embedded mode (when starting the server directly via HotRodServer class) do not apply this setting.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months
[JBoss JIRA] (ISPN-8243) Embedded server tests not using PrivateGlobalConfiguration serverMode
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8243?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-8243:
------------------------------------
Status: Open (was: New)
> Embedded server tests not using PrivateGlobalConfiguration serverMode
> ---------------------------------------------------------------------
>
> Key: ISPN-8243
> URL: https://issues.jboss.org/browse/ISPN-8243
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Query, Test Suite - Server
> Affects Versions: 9.1.0.Final
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
>
> When starting the infinispan server as a separate process, the following setting is applied to the cache manager:
> {code:java}
> GlobalConfigurationBuilder builder = ...
> builder.addModule(PrivateGlobalConfigurationBuilder.class).serverMode(true)
> {code}
> But the server tests that run in embedded mode (when starting the server directly via HotRodServer class) do not apply this setting.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months
[JBoss JIRA] (ISPN-8243) Embedded server tests not using PrivateGlobalConfiguration serverMode
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8243?page=com.atlassian.jira.plugin.... ]
Work on ISPN-8243 started by Gustavo Fernandes.
-----------------------------------------------
> Embedded server tests not using PrivateGlobalConfiguration serverMode
> ---------------------------------------------------------------------
>
> Key: ISPN-8243
> URL: https://issues.jboss.org/browse/ISPN-8243
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Query, Test Suite - Server
> Affects Versions: 9.1.0.Final
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
>
> When starting the infinispan server as a separate process, the following setting is applied to the cache manager:
> {code:java}
> GlobalConfigurationBuilder builder = ...
> builder.addModule(PrivateGlobalConfigurationBuilder.class).serverMode(true)
> {code}
> But the server tests that run in embedded mode (when starting the server directly via HotRodServer class) do not apply this setting.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months
[JBoss JIRA] (ISPN-8350) Some scripts fail to execute on off-heap cache
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8350?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-8350:
------------------------------------
Git Pull Request: https://github.com/infinispan/infinispan/pull/5470, https://github.com/infinispan/infinispan/pull/5502 (was: https://github.com/infinispan/infinispan/pull/5470)
> Some scripts fail to execute on off-heap cache
> ----------------------------------------------
>
> Key: ISPN-8350
> URL: https://issues.jboss.org/browse/ISPN-8350
> Project: Infinispan
> Issue Type: Bug
> Components: Server, Tasks
> Affects Versions: 9.1.0.Final
> Reporter: Vojtech Juranek
> Assignee: Gustavo Fernandes
> Fix For: 9.1.2.Final, 9.2.0.Alpha1
>
>
> While executing simple scripts on server with off-heap cache seems to work fine, some scripts like script with map and reduce functions fails with
> {noformat}
> 12:33:00,695 DEBUG [org.infinispan.server.hotrod.HotRodExceptionHandler] (HotRod-ServerWorker-5-3) Exception caught: org.infinispan.commons.CacheException: java.io.IOException: Unsupported protocol version 1
> at org.infinispan.commons.dataconversion.MarshallerEncoder.fromStorage(MarshallerEncoder.java:36)
> at org.infinispan.cache.impl.EncoderEntryMapper.decode(EncoderEntryMapper.java:56)
> at org.infinispan.cache.impl.EncoderEntryMapper.apply(EncoderEntryMapper.java:66)
> at org.infinispan.cache.impl.EncoderEntryMapper.apply(EncoderEntryMapper.java:23)
> at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
> at java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1812)
> at org.infinispan.commons.util.Closeables$SpliteratorAsCloseableSpliterator.tryAdvance(Closeables.java:143)
> at java.util.Spliterator.forEachRemaining(Spliterator.java:326)
> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
> at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
> at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
> at org.infinispan.stream.impl.local.LocalCacheStream.collect(LocalCacheStream.java:360)
> at jdk.nashorn.internal.scripts.Script$1$\^eval\_.:program(<eval>:11)
> at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:637)
> at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:494)
> at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:393)
> at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:418)
> at jdk.nashorn.api.scripting.NashornScriptEngine.access$300(NashornScriptEngine.java:73)
> at jdk.nashorn.api.scripting.NashornScriptEngine$3.eval(NashornScriptEngine.java:511)
> at javax.script.CompiledScript.eval(CompiledScript.java:92)
> at org.infinispan.scripting.impl.ScriptingManagerImpl.execute(ScriptingManagerImpl.java:239)
> at org.infinispan.scripting.impl.LocalRunner.runScript(LocalRunner.java:19)
> at org.infinispan.scripting.impl.ScriptingManagerImpl.runScript(ScriptingManagerImpl.java:222)
> at org.infinispan.scripting.impl.ScriptingTaskEngine.runTask(ScriptingTaskEngine.java:44)
> at org.infinispan.tasks.impl.TaskManagerImpl.runTask(TaskManagerImpl.java:99)
> at org.infinispan.server.hotrod.ContextHandler.realRead(ContextHandler.java:120)
> at org.infinispan.server.hotrod.ContextHandler.lambda$channelRead0$0(ContextHandler.java:52)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.io.IOException: Unsupported protocol version 1
> at org.jboss.marshalling.river.RiverUnmarshaller.start(RiverUnmarshaller.java:1348)
> at org.infinispan.commons.marshall.jboss.AbstractJBossMarshaller.startObjectInput(AbstractJBossMarshaller.java:128)
> at org.infinispan.commons.marshall.jboss.AbstractJBossMarshaller.objectFromByteBuffer(AbstractJBossMarshaller.java:109)
> at org.infinispan.commons.marshall.AbstractMarshaller.objectFromByteBuffer(AbstractMarshaller.java:82)
> at org.infinispan.commons.dataconversion.MarshallerEncoder.fromStorage(MarshallerEncoder.java:34)
> ... 32 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months
[JBoss JIRA] (ISPN-8350) Some scripts fail to execute on off-heap cache
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8350?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-8350:
------------------------------------
Fix Version/s: 9.1.2.Final
> Some scripts fail to execute on off-heap cache
> ----------------------------------------------
>
> Key: ISPN-8350
> URL: https://issues.jboss.org/browse/ISPN-8350
> Project: Infinispan
> Issue Type: Bug
> Components: Server, Tasks
> Affects Versions: 9.1.0.Final
> Reporter: Vojtech Juranek
> Assignee: Gustavo Fernandes
> Fix For: 9.1.2.Final, 9.2.0.Alpha1
>
>
> While executing simple scripts on server with off-heap cache seems to work fine, some scripts like script with map and reduce functions fails with
> {noformat}
> 12:33:00,695 DEBUG [org.infinispan.server.hotrod.HotRodExceptionHandler] (HotRod-ServerWorker-5-3) Exception caught: org.infinispan.commons.CacheException: java.io.IOException: Unsupported protocol version 1
> at org.infinispan.commons.dataconversion.MarshallerEncoder.fromStorage(MarshallerEncoder.java:36)
> at org.infinispan.cache.impl.EncoderEntryMapper.decode(EncoderEntryMapper.java:56)
> at org.infinispan.cache.impl.EncoderEntryMapper.apply(EncoderEntryMapper.java:66)
> at org.infinispan.cache.impl.EncoderEntryMapper.apply(EncoderEntryMapper.java:23)
> at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
> at java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1812)
> at org.infinispan.commons.util.Closeables$SpliteratorAsCloseableSpliterator.tryAdvance(Closeables.java:143)
> at java.util.Spliterator.forEachRemaining(Spliterator.java:326)
> at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
> at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
> at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
> at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
> at org.infinispan.stream.impl.local.LocalCacheStream.collect(LocalCacheStream.java:360)
> at jdk.nashorn.internal.scripts.Script$1$\^eval\_.:program(<eval>:11)
> at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:637)
> at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:494)
> at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:393)
> at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:418)
> at jdk.nashorn.api.scripting.NashornScriptEngine.access$300(NashornScriptEngine.java:73)
> at jdk.nashorn.api.scripting.NashornScriptEngine$3.eval(NashornScriptEngine.java:511)
> at javax.script.CompiledScript.eval(CompiledScript.java:92)
> at org.infinispan.scripting.impl.ScriptingManagerImpl.execute(ScriptingManagerImpl.java:239)
> at org.infinispan.scripting.impl.LocalRunner.runScript(LocalRunner.java:19)
> at org.infinispan.scripting.impl.ScriptingManagerImpl.runScript(ScriptingManagerImpl.java:222)
> at org.infinispan.scripting.impl.ScriptingTaskEngine.runTask(ScriptingTaskEngine.java:44)
> at org.infinispan.tasks.impl.TaskManagerImpl.runTask(TaskManagerImpl.java:99)
> at org.infinispan.server.hotrod.ContextHandler.realRead(ContextHandler.java:120)
> at org.infinispan.server.hotrod.ContextHandler.lambda$channelRead0$0(ContextHandler.java:52)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.io.IOException: Unsupported protocol version 1
> at org.jboss.marshalling.river.RiverUnmarshaller.start(RiverUnmarshaller.java:1348)
> at org.infinispan.commons.marshall.jboss.AbstractJBossMarshaller.startObjectInput(AbstractJBossMarshaller.java:128)
> at org.infinispan.commons.marshall.jboss.AbstractJBossMarshaller.objectFromByteBuffer(AbstractJBossMarshaller.java:109)
> at org.infinispan.commons.marshall.AbstractMarshaller.objectFromByteBuffer(AbstractMarshaller.java:82)
> at org.infinispan.commons.dataconversion.MarshallerEncoder.fromStorage(MarshallerEncoder.java:34)
> ... 32 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 6 months