Skip to content

Comments

Ignore JNA cleaner threads in SecureHdfsRepositoryAnalysisRestIT#139925

Merged
nicktindall merged 3 commits intoelastic:mainfrom
nicktindall:fix_SecureHdfsRepositoryAnalysisRestIT
Jan 7, 2026
Merged

Ignore JNA cleaner threads in SecureHdfsRepositoryAnalysisRestIT#139925
nicktindall merged 3 commits intoelastic:mainfrom
nicktindall:fix_SecureHdfsRepositoryAnalysisRestIT

Conversation

@nicktindall
Copy link
Contributor

@nicktindall nicktindall commented Dec 23, 2025

It looks like @ThreadLeakFilters are not accumulated down the test hierarchy. This test sometimes leaks JNA Cleaner threads so we need to filter those locally.

This is assuming the test starting to leak JNA cleaner threads is not suspicious and problematic, I had a look at the history, it looks like some stuff in that area has changed recently.

It doesn't reproduce reliably which makes me think it could even just be something in the timing that's changed?

Fixes #139843

@nicktindall nicktindall added >test Issues or PRs that are addressing/adding tests :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs labels Dec 23, 2025
@elasticsearchmachine elasticsearchmachine added Team:Distributed Coordination (obsolete) Meta label for Distributed Coordination team. Obsolete. Please do not use. v9.4.0 labels Dec 23, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed-coordination (Team:Distributed Coordination)

@nicktindall nicktindall requested a review from breskeby December 23, 2025 06:14
Copy link
Member

@ywangd ywangd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nicktindall nicktindall force-pushed the fix_SecureHdfsRepositoryAnalysisRestIT branch from 511e34e to a5bfab9 Compare January 6, 2026 07:29
@nicktindall
Copy link
Contributor Author

I was going to extend the fix to other similar tests, but there are so many I think I'll keep this focused for now.

@nicktindall nicktindall merged commit 31669a3 into elastic:main Jan 7, 2026
35 checks passed
@nicktindall nicktindall deleted the fix_SecureHdfsRepositoryAnalysisRestIT branch January 7, 2026 03:10
szybia added a commit to szybia/elasticsearch that referenced this pull request Jan 7, 2026
* upstream/main: (191 commits)
  Overall Decision for Deciders prioritizes THROTTLE (elastic#140237)
  Apply group by all logic not only to top-level aggregates (elastic#140248)
  [ES|QL] Refactor MV_UNION and MV_INTERSECTION to use shared set operation helper (elastic#139982)
  Avoid reading entire bloom filter file on reader open (elastic#139374)
  Mark bloom filter files for random access (elastic#139375)
  Ensure that the buffer used for ES93BloomFilterStoredFieldsFormat is zeroed (elastic#139034)
  Add busy assertion to avoid race condition for testStalledShardMigrationProperlyDetected (elastic#140230)
  Remove line number check for testTransitiveFindsDeepCallChain (elastic#140228)
  Allow a slight difference in rescored docs (elastic#139931)
  Mute org.elasticsearch.xpack.inference.integration.AuthorizationTaskExecutorIT testCreatesEisChatCompletion_DoesNotRemoveEndpointWhenNoLongerAuthorized elastic#138480
  Start exchange sink fetchers concurrently (elastic#140196)
  Allow allocation to replacement target node on vacate completion (elastic#140150)
  Ignore JNA cleaner threads in SecureHdfsRepositoryAnalysisRestIT (elastic#139925)
  DeterministicQueue refactor and enhancement (elastic#140151)
  Always error out if CCS expression shows up when CCS is not supported (elastic#139009)
  Use IllegalArgumentException over RepositoryException for readonly-repository checks (elastic#140200)
  Guard promql capabilities in AnalyzerTests (elastic#140232)
  [Inference API] Fix flaky AuthorizationTaskExecutorIT tests (elastic#139978)
  Cleaning up exitable vector value impls (elastic#140190)
  [Inference API] Fix auth exception listener not called bug (elastic#139966)
  ...
sidosera pushed a commit to sidosera/elasticsearch that referenced this pull request Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs Team:Distributed Coordination (obsolete) Meta label for Distributed Coordination team. Obsolete. Please do not use. >test Issues or PRs that are addressing/adding tests v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] SecureHdfsRepositoryAnalysisRestIT class failing

3 participants