apache / apache/druid

Transient failure in PrefetchableTextFilesFirehoseFactoryTest testReconnectWithCacheAndPrefetch

Open
#6,312 2 comments 0 reactions 0 assignees View on GitHub
Area - Testing Flaky test stale
Dominant language
Java
Stars
14.1k
Forks
3.8k
Avg merge
2d 31m
Merged PRs (30d)
209

Description

```
Tests run: 12, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 12.104 sec <<< FAILURE! - in org.apache.druid.data.input.impl.prefetch.PrefetchableTextFilesFirehoseFactoryTest
testReconnectWithCacheAndPrefetch(org.apache.druid.data.input.impl.prefetch.PrefetchableTextFilesFirehoseFactoryTest) Time elapsed: 0.039 sec <<< ERROR!
java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.io.IOException: java.lang.NullPointerException
at org.apache.druid.data.input.impl.prefetch.PrefetchableTextFilesFirehoseFactoryTest.testReconnectWithCacheAndPrefetch(PrefetchableTextFilesFirehoseFactoryTest.java:369)
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: java.lang.NullPointerException
at org.apache.druid.data.input.impl.prefetch.PrefetchableTextFilesFirehoseFactoryTest.testReconnectWithCacheAndPrefetch(PrefetchableTextFilesFirehoseFactoryTest.java:369)
Caused by: java.io.IOException: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
```

Contributor guide

Open the contributing guide

Research direction

Start with PrefetchableTextFilesFirehoseFactoryTest.testReconnectWithCacheAndPrefetch at line 369 and run the test to reproduce the transient failure. Trace the wrapped NullPointerException through the reconnect, cache, and prefetch path; the work is done when this test passes reliably without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.