elasticsearch icon indicating copy to clipboard operation
elasticsearch copied to clipboard

[CI] CoreTestsWithSearchRuntimeFieldsIT test {yaml=aggregations/global/profile} failing

Open alex-spies opened this issue 10 months ago • 2 comments

Build scan: https://gradle-enterprise.elastic.co/s/cl254gx4swnl6/tests/:x-pack:qa:runtime-fields:core-with-search:yamlRestTest/org.elasticsearch.xpack.runtimefields.test.search.CoreTestsWithSearchRuntimeFieldsIT/test%20%7Byaml=aggregations%2Fglobal%2Fprofile%7D

Reproduction line:

./gradlew ':x-pack:qa:runtime-fields:core-with-search:yamlRestTest' --tests "org.elasticsearch.xpack.runtimefields.test.search.CoreTestsWithSearchRuntimeFieldsIT.test {yaml=aggregations/global/profile}" -Dtests.seed=5D3AFA5379C5B1C7 -Dtests.locale=en-IE -Dtests.timezone=Africa/Monrovia -Druntime.java=17

Applicable branches: 8.14

Reproduces locally?: Yes

Failure history: Failure dashboard for org.elasticsearch.xpack.runtimefields.test.search.CoreTestsWithSearchRuntimeFieldsIT#test {yaml=aggregations/global/profile}

Failure excerpt:

java.lang.AssertionError: Failure at [aggregations/global:43]: expected [2xx] status code but api [search] returned [500 Internal Server Error] [{"error":{"root_cause":[{"type":"access_control_exception","reason":"access denied (\"java.util.PropertyPermission\" \"jna.profiler.prefix\" \"read\")","stack_trace":"org.elasticsearch.ElasticsearchException$1: access denied (\"java.util.PropertyPermission\" \"jna.profiler.prefix\" \"read\")\n\tat [email protected]/org.elasticsearch.ElasticsearchException.guessRootCauses(ElasticsearchException.java:704)\n\tat [email protected]/org.elasticsearch.action.search.SearchPhaseExecutionException.guessRootCauses(SearchPhaseExecutionException.java:160)\n\tat [email protected]/org.elasticsearch.ElasticsearchException.guessRootCauses(ElasticsearchException.java:686)\n\tat [email protected]/org.elasticsearch.ElasticsearchException.generateFailureXContent(ElasticsearchException.java:632)\n\tat [email protected]/org.elasticsearch.rest.RestResponse.build(RestResponse.java:184)\n\tat [email protected]/org.elasticsearch.rest.RestResponse.<init>(RestResponse.java:143)\n\tat [email protected]/org.elasticsearch.rest.RestResponse.<init>(RestResponse.java:114)\n\tat [email protected]/org.elasticsearch.rest.action.RestActionListener.onFailure(RestActionListener.java:53)\n\tat [email protected]/org.elasticsearch.rest.action.RestCancellableNodeClient$1.onFailure(RestCancellableNodeClient.java:96)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:62)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:73)\n\tat [email protected]/org.elasticsearch.action.ActionListener$3.onFailure(ActionListener.java:324)\n\tat [email protected]/org.elasticsearch.tasks.TaskManager$1.onFailure(TaskManager.java:214)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:62)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:73)\n\tat [email protected]/org.elasticsearch.action.DelegatingActionListener.onFailure(DelegatingActionListener.java:31)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations$RunBeforeActionListener.onFailure(ActionListenerImplementations.java:317)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:62)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:73)\n\tat [email protected]/org.elasticsearch.action.ActionListener$3.onFailure(ActionListener.java:324)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:62)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:73)\n\tat [email protected]/org.elasticsearch.action.DelegatingActionListener.onFailure(DelegatingActionListener.java:31)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:62)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:73)\n\tat [email protected]/org.elasticsearch.action.DelegatingActionListener.onFailure(DelegatingActionListener.java:31)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations$RunAfterActionListener.onFailure(ActionListenerImplementations.java:278)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:62)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:73)\n\tat [email protected]/org.elasticsearch.action.ActionListener$3.onFailure(ActionListener.java:324)\n\tat [email protected]/org.elasticsearch.action.search.AbstractSearchAsyncAction.raisePhaseFailure(AbstractSearchAsyncAction.java:735)\n\tat [email protected]/org.elasticsearch.action.search.AbstractSearchAsyncAction.onPhaseFailure(AbstractSearchAsyncAction.java:712)\n\tat [email protected]/org.elasticsearch.action.search.AbstractSearchAsyncAction.executeNextPhase(AbstractSearchAsyncAction.java:404)\n\tat [email protected]/org.elasticsearch.action.search.AbstractSearchAsyncAction.onPhaseDone(AbstractSearchAsyncAction.java:744)\n\tat [email protected]/org.elasticsearch.action.search.AbstractSearchAsyncAction.onShardFailure(AbstractSearchAsyncAction.java:497)\n\tat [email protected]/org.elasticsearch.action.search.AbstractSearchAsyncAction$1.onFailure(AbstractSearchAsyncAction.java:335)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:62)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:73)\n\tat [email protected]/org.elasticsearch.action.DelegatingActionListener.onFailure(DelegatingActionListener.java:31)\n\tat [email protected]/org.elasticsearch.action.ActionListenerResponseHandler.handleException(ActionListenerResponseHandler.java:53)\n\tat [email protected]/org.elasticsearch.action.search.SearchTransportService$ConnectionCountingHandler.handleException(SearchTransportService.java:634)\n\tat [email protected]/org.elasticsearch.transport.TransportService$UnregisterChildTransportResponseHandler.handleException(TransportService.java:1752)\n\tat [email protected]/org.elasticsearch.transport.TransportService$ContextRestoreResponseHandler.handleException(TransportService.java:1476)\n\tat [email protected]/org.elasticsearch.transport.TransportService$DirectResponseChannel.processException(TransportService.java:1610)\n\tat [email protected]/org.elasticsearch.transport.TransportService$DirectResponseChannel.sendResponse(TransportService.java:1585)\n\tat [email protected]/org.elasticsearch.transport.TaskTransportChannel.sendResponse(TaskTransportChannel.java:44)\n\tat [email protected]/org.elasticsearch.action.support.ChannelActionListener.onFailure(ChannelActionListener.java:44)\n\tat [email protected]/org.elasticsearch.action.ActionRunnable.onFailure(ActionRunnable.java:151)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:28)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:33)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:984)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\n\tat java.base/java.lang.Thread.run(Thread.java:833)\nCaused by: java.security.AccessControlException: access denied (\"java.util.PropertyPermission\" \"jna.profiler.prefix\" \"read\")\n\tat java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:485)\n\tat java.base/java.security.AccessController.checkPermission(AccessController.java:1068)\n\tat java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:416)\n\tat java.base/java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1160)\n\tat java.base/java.lang.System.getProperty(System.java:951)\n\tat [email protected]/com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:555)\n\tat [email protected]/com.sun.jna.Library$Handler.invoke(Library.java:243)\n\tat [email protected]/org.elasticsearch.nativeaccess.jna.$Proxy18.ZSTD_decompress(Unknown Source)\n\tat [email protected]/org.elasticsearch.nativeaccess.jna.JnaZstdLibrary.decompress(JnaZstdLibrary.java:74)\n\tat [email protected]/org.elasticsearch.nativeaccess.Zstd.decompress(Zstd.java:47)\n\tat [email protected]/org.elasticsearch.index.codec.zstd.Zstd814StoredFieldsFormat$ZstdDecompressor.decompress(Zstd814StoredFieldsFormat.java:137)\n\tat [email protected]/org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader$BlockState.doReset(Lucene90CompressingStoredFieldsReader.java:500)\n\tat [email protected]/org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader$BlockState.reset(Lucene90CompressingStoredFieldsReader.java:424)\n\tat [email protected]/org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader.serializedDocument(Lucene90CompressingStoredFieldsReader.java:607)\n\tat [email protected]/org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader.document(Lucene90CompressingStoredFieldsReader.java:628)\n\tat [email protected]/org.elasticsearch.search.internal.FieldUsageTrackingDirectoryReader$FieldUsageTrackingLeafReader$FieldUsageTrackingStoredFieldsReader.document(FieldUsageTrackingDirectoryReader.java:271)\n\tat [email protected]/org.elasticsearch.index.fieldvisitor.StoredFieldLoader$ReaderStoredFieldLoader.advanceTo(StoredFieldLoader.java:204)\n\tat [email protected]/org.elasticsearch.search.lookup.StoredFieldSourceProvider$LeafStoredFieldSourceProvider.getSource(StoredFieldSourceProvider.java:75)\n\tat [email protected]/org.elasticsearch.search.lookup.StoredFieldSourceProvider.getSource(StoredFieldSourceProvider.java:38)\n\tat [email protected]/org.elasticsearch.search.lookup.LeafSearchLookup.lambda$new$0(LeafSearchLookup.java:39)\n\tat [email protected]/org.elasticsearch.script.AbstractFieldScript.lambda$static$0(AbstractFieldScript.java:69)\n\tat [email protected]/org.elasticsearch.script.DynamicMap.get(DynamicMap.java:58)\n\tat org.elasticsearch.painless.PainlessScript$Script.execute(emit(params._source['name']);:12)\n\tat [email protected]/org.elasticsearch.script.AbstractFieldScript.runForDoc(AbstractFieldScript.java:158)\n\tat [email protected]/org.elasticsearch.index.fielddata.StringScriptDocValues.advanceExact(StringScriptDocValues.java:24)\n\tat [email protected]/org.elasticsearch.search.aggregations.bucket.terms.MapStringTermsAggregator$ValuesSourceCollectorSource$1.collect(MapStringTermsAggregator.java:213)\n\tat [email protected]/org.elasticsearch.search.profile.aggregation.ProfilingLeafBucketCollector.collect(ProfilingLeafBucketCollector.java:32)\n\tat [email protected]/org.elasticsearch.search.aggregations.bucket.BucketsAggregator.collectExistingBucket(BucketsAggregator.java:98)\n\tat [email protected]/org.elasticsearch.search.aggregations.bucket.global.GlobalAggregator$1.collect(GlobalAggregator.java:50)\n\tat [email protected]/org.apache.lucene.search.MatchAllDocsQuery$1$1.score(MatchAllDocsQuery.java:63)\n\tat [email protected]/org.apache.lucene.search.BulkScorer.score(BulkScorer.java:38)\n\tat [email protected]/org.elasticsearch.search.aggregations.bucket.global.GlobalAggregator.getLeafCollector(GlobalAggregator.java:47)\n\tat [email protected]/org.elasticsearch.search.aggregations.AggregatorBase.getLeafCollector(AggregatorBase.java:222)\n\tat [email protected]/org.elasticsearch.search.profile.aggregation.ProfilingAggregator.getLeafCollector(ProfilingAggregator.java:99)\n\tat [email protected]/org.elasticsearch.search.aggregations.MultiBucketCollector$1.getLeafCollector(MultiBucketCollector.java:92)\n\tat [email protected]/org.elasticsearch.search.aggregations.AggregatorCollector.getLeafCollector(AggregatorCollector.java:35)\n\tat [email protected]/org.apache.lucene.search.FilterCollector.getLeafCollector(FilterCollector.java:38)\n\tat [email protected]/org.apache.lucene.sandbox.search.ProfilerCollectorWrapper.getLeafCollector(ProfilerCollectorWrapper.java:54)\n\tat [email protected]/org.apache.lucene.sandbox.search.ProfilerCollector.getLeafCollector(ProfilerCollector.java:90)\n\tat [email protected]/org.elasticsearch.search.query.QueryPhaseCollector.getLeafCollector(QueryPhaseCollector.java:165)\n\tat [email protected]/org.apache.lucene.search.FilterCollector.getLeafCollector(FilterCollector.java:38)\n\tat [email protected]/org.apache.lucene.sandbox.search.ProfilerCollectorWrapper.getLeafCollector(ProfilerCollectorWrapper.java:54)\n\tat [email protected]/org.apache.lucene.sandbox.search.ProfilerCollector.getLeafCollector(ProfilerCollector.java:90)\n\tat [email protected]/org.elasticsearch.search.internal.ContextIndexSearcher.searchLeaf(ContextIndexSearcher.java:415)\n\tat [email protected]/org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:360)\n\tat [email protected]/org.elasticsearch.search.internal.ContextIndexSearcher.lambda$search$4(ContextIndexSearcher.java:345)\n\tat [email protected]/org.apache.lucene.search.TaskExecutor$TaskGroup.lambda$createTask$0(TaskExecutor.java:117)\n\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\n\t... 6 more\n"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"test","node":"ty7cAUGtTJGE-v4043F6XA","reason":{"type":"access_control_exception","reason":"access denied (\"java.util.PropertyPermission\" \"jna.profiler.prefix\" \"read\")","stack_trace":"java.security.AccessControlException: access denied (\"java.util.PropertyPermission\" \"jna.profiler.prefix\" \"read\")\n\tat java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:485)\n\tat java.base/java.security.AccessController.checkPermission(AccessController.java:1068)\n\tat java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:416)\n\tat java.base/java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1160)\n\tat java.base/java.lang.System.getProperty(System.java:951)\n\tat [email protected]/com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:555)\n\tat [email protected]/com.sun.jna.Library$Handler.invoke(Library.java:243)\n\tat [email protected]/org.elasticsearch.nativeaccess.jna.$Proxy18.ZSTD_decompress(Unknown Source)\n\tat [email protected]/org.elasticsearch.nativeaccess.jna.JnaZstdLibrary.decompress(JnaZstdLibrary.java:74)\n\tat [email protected]/org.elasticsearch.nativeaccess.Zstd.decompress(Zstd.java:47)\n\tat [email protected]/org.elasticsearch.index.codec.zstd.Zstd814StoredFieldsFormat$ZstdDecompressor.decompress(Zstd814StoredFieldsFormat.java:137)\n\tat [email protected]/org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader$BlockState.doReset(Lucene90CompressingStoredFieldsReader.java:500)\n\tat [email protected]/org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader$BlockState.reset(Lucene90CompressingStoredFieldsReader.java:424)\n\tat [email protected]/org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader.serializedDocument(Lucene90CompressingStoredFieldsReader.java:607)\n\tat [email protected]/org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader.document(Lucene90CompressingStoredFieldsReader.java:628)\n\tat [email protected]/org.elasticsearch.search.internal.FieldUsageTrackingDirectoryReader$FieldUsageTrackingLeafReader$FieldUsageTrackingStoredFieldsReader.document(FieldUsageTrackingDirectoryReader.java:271)\n\tat [email protected]/org.elasticsearch.index.fieldvisitor.StoredFieldLoader$ReaderStoredFieldLoader.advanceTo(StoredFieldLoader.java:204)\n\tat [email protected]/org.elasticsearch.search.lookup.StoredFieldSourceProvider$LeafStoredFieldSourceProvider.getSource(StoredFieldSourceProvider.java:75)\n\tat [email protected]/org.elasticsearch.search.lookup.StoredFieldSourceProvider.getSource(StoredFieldSourceProvider.java:38)\n\tat [email protected]/org.elasticsearch.search.lookup.LeafSearchLookup.lambda$new$0(LeafSearchLookup.java:39)\n\tat [email protected]/org.elasticsearch.script.AbstractFieldScript.lambda$static$0(AbstractFieldScript.java:69)\n\tat [email protected]/org.elasticsearch.script.DynamicMap.get(DynamicMap.java:58)\n\tat org.elasticsearch.painless.PainlessScript$Script.execute(emit(params._source['name']);:12)\n\tat [email protected]/org.elasticsearch.script.AbstractFieldScript.runForDoc(AbstractFieldScript.java:158)\n\tat [email protected]/org.elasticsearch.index.fielddata.StringScriptDocValues.advanceExact(StringScriptDocValues.java:24)\n\tat [email protected]/org.elasticsearch.search.aggregations.bucket.terms.MapStringTermsAggregator$ValuesSourceCollectorSource$1.collect(MapStringTermsAggregator.java:213)\n\tat [email protected]/org.elasticsearch.search.profile.aggregation.ProfilingLeafBucketCollector.collect(ProfilingLeafBucketCollector.java:32)\n\tat [email protected]/org.elasticsearch.search.aggregations.bucket.BucketsAggregator.collectExistingBucket(BucketsAggregator.java:98)\n\tat [email protected]/org.elasticsearch.search.aggregations.bucket.global.GlobalAggregator$1.collect(GlobalAggregator.java:50)\n\tat [email protected]/org.apache.lucene.search.MatchAllDocsQuery$1$1.score(MatchAllDocsQuery.java:63)\n\tat [email protected]/org.apache.lucene.search.BulkScorer.score(BulkScorer.java:38)\n\tat [email protected]/org.elasticsearch.search.aggregations.bucket.global.GlobalAggregator.getLeafCollector(GlobalAggregator.java:47)\n\tat [email protected]/org.elasticsearch.search.aggregations.AggregatorBase.getLeafCollector(AggregatorBase.java:222)\n\tat [email protected]/org.elasticsearch.search.profile.aggregation.ProfilingAggregator.getLeafCollector(ProfilingAggregator.java:99)\n\tat [email protected]/org.elasticsearch.search.aggregations.MultiBucketCollector$1.getLeafCollector(MultiBucketCollector.java:92)\n\tat [email protected]/org.elasticsearch.search.aggregations.AggregatorCollector.getLeafCollector(AggregatorCollector.java:35)\n\tat [email protected]/org.apache.lucene.search.FilterCollector.getLeafCollector(FilterCollector.java:38)\n\tat [email protected]/org.apache.lucene.sandbox.search.ProfilerCollectorWrapper.getLeafCollector(ProfilerCollectorWrapper.java:54)\n\tat [email protected]/org.apache.lucene.sandbox.search.ProfilerCollector.getLeafCollector(ProfilerCollector.java:90)\n\tat [email protected]/org.elasticsearch.search.query.QueryPhaseCollector.getLeafCollector(QueryPhaseCollector.java:165)\n\tat [email protected]/org.apache.lucene.search.FilterCollector.getLeafCollector(FilterCollector.java:38)\n\tat [email protected]/org.apache.lucene.sandbox.search.ProfilerCollectorWrapper.getLeafCollector(ProfilerCollectorWrapper.java:54)\n\tat [email protected]/org.apache.lucene.sandbox.search.ProfilerCollector.getLeafCollector(ProfilerCollector.java:90)\n\tat [email protected]/org.elasticsearch.search.internal.ContextIndexSearcher.searchLeaf(ContextIndexSearcher.java:415)\n\tat [email protected]/org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:360)\n\tat [email protected]/org.elasticsearch.search.internal.ContextIndexSearcher.lambda$search$4(ContextIndexSearcher.java:345)\n\tat [email protected]/org.apache.lucene.search.TaskExecutor$TaskGroup.lambda$createTask$0(TaskExecutor.java:117)\n\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:33)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:984)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\n\tat java.base/java.lang.Thread.run(Thread.java:833)\n"}}],"caused_by":{"type":"access_control_exception","reason":"access denied (\"java.util.PropertyPermission\" \"jna.profiler.prefix\" \"read\")","caused_by":{"type":"access_control_exception","reason":"access denied (\"java.util.PropertyPermission\" \"jna.profiler.prefix\" \"read\")","stack_trace":"java.security.AccessControlException: access denied (\"java.util.PropertyPermission\" \"jna.profiler.prefix\" \"read\")\n\tat java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:485)\n\tat java.base/java.security.AccessController.checkPermission(AccessController.java:1068)\n\tat java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:416)\n\tat java.base/java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1160)\n\tat java.base/java.lang.System.getProperty(System.java:951)\n\tat [email protected]/com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:555)\n\tat [email protected]/com.sun.jna.Library$Handler.invoke(Library.java:243)\n\tat [email protected]/org.elasticsearch.nativeaccess.jna.$Proxy18.ZSTD_decompress(Unknown Source)\n\tat [email protected]/org.elasticsearch.nativeaccess.jna.JnaZstdLibrary.decompress(JnaZstdLibrary.java:74)\n\tat [email protected]/org.elasticsearch.nativeaccess.Zstd.decompress(Zstd.java:47)\n\tat [email protected]/org.elasticsearch.index.codec.zstd.Zstd814StoredFieldsFormat$ZstdDecompressor.decompress(Zstd814StoredFieldsFormat.java:137)\n\tat [email protected]/org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader$BlockState.doReset(Lucene90CompressingStoredFieldsReader.java:500)\n\tat [email protected]/org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader$BlockState.reset(Lucene90CompressingStoredFieldsReader.java:424)\n\tat [email protected]/org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader.serializedDocument(Lucene90CompressingStoredFieldsReader.java:607)\n\tat [email protected]/org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader.document(Lucene90CompressingStoredFieldsReader.java:628)\n\tat [email protected]/org.elasticsearch.search.internal.FieldUsageTrackingDirectoryReader$FieldUsageTrackingLeafReader$FieldUsageTrackingStoredFieldsReader.document(FieldUsageTrackingDirectoryReader.java:271)\n\tat [email protected]/org.elasticsearch.index.fieldvisitor.StoredFieldLoader$ReaderStoredFieldLoader.advanceTo(StoredFieldLoader.java:204)\n\tat [email protected]/org.elasticsearch.search.lookup.StoredFieldSourceProvider$LeafStoredFieldSourceProvider.getSource(StoredFieldSourceProvider.java:75)\n\tat [email protected]/org.elasticsearch.search.lookup.StoredFieldSourceProvider.getSource(StoredFieldSourceProvider.java:38)\n\tat [email protected]/org.elasticsearch.search.lookup.LeafSearchLookup.lambda$new$0(LeafSearchLookup.java:39)\n\tat [email protected]/org.elasticsearch.script.AbstractFieldScript.lambda$static$0(AbstractFieldScript.java:69)\n\tat [email protected]/org.elasticsearch.script.DynamicMap.get(DynamicMap.java:58)\n\tat org.elasticsearch.painless.PainlessScript$Script.execute(emit(params._source['name']);:12)\n\tat [email protected]/org.elasticsearch.script.AbstractFieldScript.runForDoc(AbstractFieldScript.java:158)\n\tat [email protected]/org.elasticsearch.index.fielddata.StringScriptDocValues.advanceExact(StringScriptDocValues.java:24)\n\tat [email protected]/org.elasticsearch.search.aggregations.bucket.terms.MapStringTermsAggregator$ValuesSourceCollectorSource$1.collect(MapStringTermsAggregator.java:213)\n\tat [email protected]/org.elasticsearch.search.profile.aggregation.ProfilingLeafBucketCollector.collect(ProfilingLeafBucketCollector.java:32)\n\tat [email protected]/org.elasticsearch.search.aggregations.bucket.BucketsAggregator.collectExistingBucket(BucketsAggregator.java:98)\n\tat [email protected]/org.elasticsearch.search.aggregations.bucket.global.GlobalAggregator$1.collect(GlobalAggregator.java:50)\n\tat [email protected]/org.apache.lucene.search.MatchAllDocsQuery$1$1.score(MatchAllDocsQuery.java:63)\n\tat [email protected]/org.apache.lucene.search.BulkScorer.score(BulkScorer.java:38)\n\tat [email protected]/org.elasticsearch.search.aggregations.bucket.global.GlobalAggregator.getLeafCollector(GlobalAggregator.java:47)\n\tat [email protected]/org.elasticsearch.search.aggregations.AggregatorBase.getLeafCollector(AggregatorBase.java:222)\n\tat [email protected]/org.elasticsearch.search.profile.aggregation.ProfilingAggregator.getLeafCollector(ProfilingAggregator.java:99)\n\tat [email protected]/org.elasticsearch.search.aggregations.MultiBucketCollector$1.getLeafCollector(MultiBucketCollector.java:92)\n\tat [email protected]/org.elasticsearch.search.aggregations.AggregatorCollector.getLeafCollector(AggregatorCollector.java:35)\n\tat [email protected]/org.apache.lucene.search.FilterCollector.getLeafCollector(FilterCollector.java:38)\n\tat [email protected]/org.apache.lucene.sandbox.search.ProfilerCollectorWrapper.getLeafCollector(ProfilerCollectorWrapper.java:54)\n\tat [email protected]/org.apache.lucene.sandbox.search.ProfilerCollector.getLeafCollector(ProfilerCollector.java:90)\n\tat [email protected]/org.elasticsearch.search.query.QueryPhaseCollector.getLeafCollector(QueryPhaseCollector.java:165)\n\tat [email protected]/org.apache.lucene.search.FilterCollector.getLeafCollector(FilterCollector.java:38)\n\tat [email protected]/org.apache.lucene.sandbox.search.ProfilerCollectorWrapper.getLeafCollector(ProfilerCollectorWrapper.java:54)\n\tat [email protected]/org.apache.lucene.sandbox.search.ProfilerCollector.getLeafCollector(ProfilerCollector.java:90)\n\tat [email protected]/org.elasticsearch.search.internal.ContextIndexSearcher.searchLeaf(ContextIndexSearcher.java:415)\n\tat [email protected]/org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:360)\n\tat [email protected]/org.elasticsearch.search.internal.ContextIndexSearcher.lambda$search$4(ContextIndexSearcher.java:345)\n\tat [email protected]/org.apache.lucene.search.TaskExecutor$TaskGroup.lambda$createTask$0(TaskExecutor.java:117)\n\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:33)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:984)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\n\tat java.base/java.lang.Thread.run(Thread.java:833)\n"},"stack_trace":"org.elasticsearch.ElasticsearchException$1: access denied (\"java.util.PropertyPermission\" \"jna.profiler.prefix\" \"read\")\n\tat [email protected]/org.elasticsearch.ElasticsearchException.guessRootCauses(ElasticsearchException.java:704)\n\tat [email protected]/org.elasticsearch.action.search.AbstractSearchAsyncAction.executeNextPhase(AbstractSearchAsyncAction.java:402)\n\tat [email protected]/org.elasticsearch.action.search.AbstractSearchAsyncAction.onPhaseDone(AbstractSearchAsyncAction.java:744)\n\tat [email protected]/org.elasticsearch.action.search.AbstractSearchAsyncAction.onShardFailure(AbstractSearchAsyncAction.java:497)\n\tat [email protected]/org.elasticsearch.action.search.AbstractSearchAsyncAction$1.onFailure(AbstractSearchAsyncAction.java:335)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeAcceptException(ActionListenerImplementations.java:62)\n\tat [email protected]/org.elasticsearch.action.ActionListenerImplementations.safeOnFailure(ActionListenerImplementations.java:73)\n\tat [email protected]/org.elasticsearch.action.DelegatingActionListener.onFailure(DelegatingActionListener.java:31)\n\tat [email protected]/org.elasticsearch.action.ActionListenerResponseHandler.handleException(ActionListenerResponseHandler.java:53)\n\tat [email protected]/org.elasticsearch.action.search.SearchTransportService$ConnectionCountingHandler.handleException(SearchTransportService.java:634)\n\tat [email protected]/org.elasticsearch.transport.TransportService$UnregisterChildTransportResponseHandler.handleException(TransportService.java:1752)\n\tat [email protected]/org.elasticsearch.transport.TransportService$ContextRestoreResponseHandler.handleException(TransportService.java:1476)\n\tat [email protected]/org.elasticsearch.transport.TransportService$DirectResponseChannel.processException(TransportService.java:1610)\n\tat [email protected]/org.elasticsearch.transport.TransportService$DirectResponseChannel.sendResponse(TransportService.java:1585)\n\tat [email protected]/org.elasticsearch.transport.TaskTransportChannel.sendResponse(TaskTransportChannel.java:44)\n\tat [email protected]/org.elasticsearch.action.support.ChannelActionListener.onFailure(ChannelActionListener.java:44)\n\tat [email protected]/org.elasticsearch.action.ActionRunnable.onFailure(ActionRunnable.java:151)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:28)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:33)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:984)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\n\tat java.base/java.lang.Thread.run(Thread.java:833)\nCaused by: java.security.AccessControlException: access denied (\"java.util.PropertyPermission\" \"jna.profiler.prefix\" \"read\")\n\tat java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:485)\n\tat java.base/java.security.AccessController.checkPermission(AccessController.java:1068)\n\tat java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:416)\n\tat java.base/java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1160)\n\tat java.base/java.lang.System.getProperty(System.java:951)\n\tat [email protected]/com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:555)\n\tat [email protected]/com.sun.jna.Library$Handler.invoke(Library.java:243)\n\tat [email protected]/org.elasticsearch.nativeaccess.jna.$Proxy18.ZSTD_decompress(Unknown Source)\n\tat [email protected]/org.elasticsearch.nativeaccess.jna.JnaZstdLibrary.decompress(JnaZstdLibrary.java:74)\n\tat [email protected]/org.elasticsearch.nativeaccess.Zstd.decompress(Zstd.java:47)\n\tat [email protected]/org.elasticsearch.index.codec.zstd.Zstd814StoredFieldsFormat$ZstdDecompressor.decompress(Zstd814StoredFieldsFormat.java:137)\n\tat [email protected]/org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader$BlockState.doReset(Lucene90CompressingStoredFieldsReader.java:500)\n\tat [email protected]/org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader$BlockState.reset(Lucene90CompressingStoredFieldsReader.java:424)\n\tat [email protected]/org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader.serializedDocument(Lucene90CompressingStoredFieldsReader.java:607)\n\tat [email protected]/org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader.document(Lucene90CompressingStoredFieldsReader.java:628)\n\tat [email protected]/org.elasticsearch.search.internal.FieldUsageTrackingDirectoryReader$FieldUsageTrackingLeafReader$FieldUsageTrackingStoredFieldsReader.document(FieldUsageTrackingDirectoryReader.java:271)\n\tat [email protected]/org.elasticsearch.index.fieldvisitor.StoredFieldLoader$ReaderStoredFieldLoader.advanceTo(StoredFieldLoader.java:204)\n\tat [email protected]/org.elasticsearch.search.lookup.StoredFieldSourceProvider$LeafStoredFieldSourceProvider.getSource(StoredFieldSourceProvider.java:75)\n\tat [email protected]/org.elasticsearch.search.lookup.StoredFieldSourceProvider.getSource(StoredFieldSourceProvider.java:38)\n\tat [email protected]/org.elasticsearch.search.lookup.LeafSearchLookup.lambda$new$0(LeafSearchLookup.java:39)\n\tat [email protected]/org.elasticsearch.script.AbstractFieldScript.lambda$static$0(AbstractFieldScript.java:69)\n\tat [email protected]/org.elasticsearch.script.DynamicMap.get(DynamicMap.java:58)\n\tat org.elasticsearch.painless.PainlessScript$Script.execute(emit(params._source['name']);:12)\n\tat [email protected]/org.elasticsearch.script.AbstractFieldScript.runForDoc(AbstractFieldScript.java:158)\n\tat [email protected]/org.elasticsearch.index.fielddata.StringScriptDocValues.advanceExact(StringScriptDocValues.java:24)\n\tat [email protected]/org.elasticsearch.search.aggregations.bucket.terms.MapStringTermsAggregator$ValuesSourceCollectorSource$1.collect(MapStringTermsAggregator.java:213)\n\tat [email protected]/org.elasticsearch.search.profile.aggregation.ProfilingLeafBucketCollector.collect(ProfilingLeafBucketCollector.java:32)\n\tat [email protected]/org.elasticsearch.search.aggregations.bucket.BucketsAggregator.collectExistingBucket(BucketsAggregator.java:98)\n\tat [email protected]/org.elasticsearch.search.aggregations.bucket.global.GlobalAggregator$1.collect(GlobalAggregator.java:50)\n\tat [email protected]/org.apache.lucene.search.MatchAllDocsQuery$1$1.score(MatchAllDocsQuery.java:63)\n\tat [email protected]/org.apache.lucene.search.BulkScorer.score(BulkScorer.java:38)\n\tat [email protected]/org.elasticsearch.search.aggregations.bucket.global.GlobalAggregator.getLeafCollector(GlobalAggregator.java:47)\n\tat [email protected]/org.elasticsearch.search.aggregations.AggregatorBase.getLeafCollector(AggregatorBase.java:222)\n\tat [email protected]/org.elasticsearch.search.profile.aggregation.ProfilingAggregator.getLeafCollector(ProfilingAggregator.java:99)\n\tat [email protected]/org.elasticsearch.search.aggregations.MultiBucketCollector$1.getLeafCollector(MultiBucketCollector.java:92)\n\tat [email protected]/org.elasticsearch.search.aggregations.AggregatorCollector.getLeafCollector(AggregatorCollector.java:35)\n\tat [email protected]/org.apache.lucene.search.FilterCollector.getLeafCollector(FilterCollector.java:38)\n\tat [email protected]/org.apache.lucene.sandbox.search.ProfilerCollectorWrapper.getLeafCollector(ProfilerCollectorWrapper.java:54)\n\tat [email protected]/org.apache.lucene.sandbox.search.ProfilerCollector.getLeafCollector(ProfilerCollector.java:90)\n\tat [email protected]/org.elasticsearch.search.query.QueryPhaseCollector.getLeafCollector(QueryPhaseCollector.java:165)\n\tat [email protected]/org.apache.lucene.search.FilterCollector.getLeafCollector(FilterCollector.java:38)\n\tat [email protected]/org.apache.lucene.sandbox.search.ProfilerCollectorWrapper.getLeafCollector(ProfilerCollectorWrapper.java:54)\n\tat [email protected]/org.apache.lucene.sandbox.search.ProfilerCollector.getLeafCollector(ProfilerCollector.java:90)\n\tat [email protected]/org.elasticsearch.search.internal.ContextIndexSearcher.searchLeaf(ContextIndexSearcher.java:415)\n\tat [email protected]/org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:360)\n\tat [email protected]/org.elasticsearch.search.internal.ContextIndexSearcher.lambda$search$4(ContextIndexSearcher.java:345)\n\tat [email protected]/org.apache.lucene.search.TaskExecutor$TaskGroup.lambda$createTask$0(TaskExecutor.java:117)\n\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\n\t... 6 more\n"},"stack_trace":"Failed to execute phase [query], all shards failed; shardFailures {[ty7cAUGtTJGE-v4043F6XA][test][0]: org.elasticsearch.transport.RemoteTransportException: [yamlRestTest-0][127.0.0.1:43809][indices:data/read/search[phase/query]]\nCaused by: org.elasticsearch.search.query.QueryPhaseExecutionException: Query Failed [Failed to execute main query]\n\tat [email protected]/org.elasticsearch.search.query.QueryPhase.addCollectorsAndSearch(QueryPhase.java:229)\n\tat [email protected]/org.elasticsearch.search.query.QueryPhase.executeQuery(QueryPhase.java:135)\n\tat [email protected]/org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:63)\n\tat [email protected]/org.elasticsearch.search.SearchService.loadOrExecuteQueryPhase(SearchService.java:523)\n\tat [email protected]/org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:681)\n\tat [email protected]/org.elasticsearch.search.SearchService.lambda$executeQueryPhase$2(SearchService.java:550)\n\tat [email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:78)\n\tat [email protected]/org.elasticsearch.action.ActionRunnable$3.accept(ActionRunnable.java:75)\n\tat [email protected]/org.elasticsearch.action.ActionRunnable$4.doRun(ActionRunnable.java:100)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.TimedRunnable.doRun(TimedRunnable.java:33)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:984)\n\tat [email protected]/org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\n\tat java.base/java.lang.Thread.run(Thread.java:833)\nCaused by: java.security.AccessControlException: access denied (\"java.util.PropertyPermission\" \"jna.profiler.prefix\" \"read\")\n\tat java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:485)\n\tat java.base/java.security.AccessController.checkPermission(AccessController.java:1068)\n\tat java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:416)\n\tat java.base/java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1160)\n\tat java.base/java.lang.System.getProperty(System.java:951)\n\tat [email protected]/com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:555)\n\tat [email protected]/com.sun.jna.Library$Handler.invoke(Library.java:243)\n\tat [email protected]/org.elasticsearch.nativeaccess.jna.$Proxy18.ZSTD_decompress(Unknown Source)\n\tat [email protected]/org.elasticsearch.nativeaccess.jna.JnaZstdLibrary.decompress(JnaZstdLibrary.java:74)\n\tat [email protected]/org.elasticsearch.nativeaccess.Zstd.decompress(Zstd.java:47)\n\tat [email protected]/org.elasticsearch.index.codec.zstd.Zstd814StoredFieldsFormat$ZstdDecompressor.decompress(Zstd814StoredFieldsFormat.java:137)\n\tat [email protected]/org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader$BlockState.doReset(Lucene90CompressingStoredFieldsReader.java:500)\n\tat [email protected]/org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader$BlockState.reset(Lucene90CompressingStoredFieldsReader.java:424)\n\tat [email protected]/org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader.serializedDocument(Lucene90CompressingStoredFieldsReader.java:607)\n\tat [email protected]/org.apache.lucene.codecs.lucene90.compressing.Lucene90CompressingStoredFieldsReader.document(Lucene90CompressingStoredFieldsReader.java:628)\n\tat [email protected]/org.elasticsearch.search.internal.FieldUsageTrackingDirectoryReader$FieldUsageTrackingLeafReader$FieldUsageTrackingStoredFieldsReader.document(FieldUsageTrackingDirectoryReader.java:271)\n\tat [email protected]/org.elasticsearch.index.fieldvisitor.StoredFieldLoader$ReaderStoredFieldLoader.advanceTo(StoredFieldLoader.java:204)\n\tat [email protected]/org.elasticsearch.search.lookup.StoredFieldSourceProvider$LeafStoredFieldSourceProvider.getSource(StoredFieldSourceProvider.java:75)\n\tat [email protected]/org.elasticsearch.search.lookup.StoredFieldSourceProvider.getSource(StoredFieldSourceProvider.java:38)\n\tat [email protected]/org.elasticsearch.search.lookup.LeafSearchLookup.lambda$new$0(LeafSearchLookup.java:39)\n\tat [email protected]/org.elasticsearch.script.AbstractFieldScript.lambda$static$0(AbstractFieldScript.java:69)\n\tat [email protected]/org.elasticsearch.script.DynamicMap.get(DynamicMap.java:58)\n\tat org.elasticsearch.painless.PainlessScript$Script.execute(emit(params._source['name']);:12)\n\tat [email protected]/org.elasticsearch.script.AbstractFieldScript.runForDoc(AbstractFieldScript.java:158)\n\tat [email protected]/org.elasticsearch.index.fielddata.StringScriptDocValues.advanceExact(StringScriptDocValues.java:24)\n\tat [email protected]/org.elasticsearch.search.aggregations.bucket.terms.MapStringTermsAggregator$ValuesSourceCollectorSource$1.collect(MapStringTermsAggregator.java:213)\n\tat [email protected]/org.elasticsearch.search.profile.aggregation.ProfilingLeafBucketCollector.collect(ProfilingLeafBucketCollector.java:32)\n\tat [email protected]/org.elasticsearch.search.aggregations.bucket.BucketsAggregator.collectExistingBucket(BucketsAggregator.java:98)\n\tat [email protected]/org.elasticsearch.search.aggregations.bucket.global.GlobalAggregator$1.collect(GlobalAggregator.java:50)\n\tat [email protected]/org.apache.lucene.search.MatchAllDocsQuery$1$1.score(MatchAllDocsQuery.java:63)\n\tat [email protected]/org.apache.lucene.search.BulkScorer.score(BulkScorer.java:38)\n\tat [email protected]/org.elasticsearch.search.aggregations.bucket.global.GlobalAggregator.getLeafCollector(GlobalAggregator.java:47)\n\tat [email protected]/org.elasticsearch.search.aggregations.AggregatorBase.getLeafCollector(AggregatorBase.java:222)\n\tat [email protected]/org.elasticsearch.search.profile.aggregation.ProfilingAggregator.getLeafCollector(ProfilingAggregator.java:99)\n\tat [email protected]/org.elasticsearch.search.aggregations.MultiBucketCollector$1.getLeafCollector(MultiBucketCollector.java:92)\n\tat [email protected]/org.elasticsearch.search.aggregations.AggregatorCollector.getLeafCollector(AggregatorCollector.java:35)\n\tat [email protected]/org.apache.lucene.search.FilterCollector.getLeafCollector(FilterCollector.java:38)\n\tat [email protected]/org.apache.lucene.sandbox.search.ProfilerCollectorWrapper.getLeafCollector(ProfilerCollectorWrapper.java:54)\n\tat [email protected]/org.apache.lucene.sandbox.search.ProfilerCollector.getLeafCollector(ProfilerCollector.java:90)\n\tat [email protected]/org.elasticsearch.search.query.QueryPhaseCollector.getLeafCollector(QueryPhaseCollector.java:165)\n\tat [email protected]/org.apache.lucene.search.FilterCollector.getLeafCollector(FilterCollector.java:38)\n\tat [email protected]/org.apache.lucene.sandbox.search.ProfilerCollectorWrapper.getLeafCollector(ProfilerCollectorWrapper.java:54)\n\tat [email protected]/org.apache.lucene.sandbox.search.ProfilerCollector.getLeafCollector(ProfilerCollector.java:90)\n\tat [email protected]/org.elasticsearch.search.internal.ContextIndexSearcher.searchLeaf(ContextIndexSearcher.java:415)\n\tat [email protected]/org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:360)\n\tat [email protected]/org.elasticsearch.search.internal.ContextIndexSearcher.lambda$search$4(ContextIndexSearcher.java:345)\n\tat [email protected]/org.apache.lucene.search.TaskExecutor$TaskGroup.lambda$createTask$0(TaskExecutor.java:117)\n\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\n\t... 6 more\n}\n\tat [email protected]...

alex-spies avatar Apr 23 '24 12:04 alex-spies

Pinging @elastic/es-analytical-engine (Team:Analytics)

elasticsearchmachine avatar Apr 23 '24 12:04 elasticsearchmachine

related https://github.com/elastic/elasticsearch/issues/107504

iverase avatar Apr 23 '24 16:04 iverase

This seems to be caused by the zstd stuff. Painless doesn't have permissions to touch the jna.profiler.prefix system property. It doesn't have permission for anything. This seems to fix it:

        this.source = () -> AccessController.doPrivileged((PrivilegedAction<? extends Source>) () -> {
            try {
                return sourceProvider.getSource(ctx, doc);
            } catch (IOException e) {
                throw new UncheckedIOException("Couldn't load source", e);
            }
        });

But I think this is something for someone who's closer to the security manager to have a look at.

nik9000 avatar May 01 '24 17:05 nik9000