Alpine Java 11 - ExecutionEnvironment.testEcoFriendly() test failed with could not find LD_LIBRARY_PATH=/Bridge/On/The/River/Kwai
- Dominant language
- HTML
- Stars
- 155
- Forks
- 346
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 36
Description
Test void ExecutionEnvironment.testEcoFriendly() failed: java.lang.reflect.InvocationTargetException
----begin detailed exceptions----
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at TestHelper.run(TestHelper.java:204)
at ExecutionEnvironment.main(ExecutionEnvironment.java:290)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.RuntimeException: FAIL: did not get
at ExecutionEnvironment.flagError(ExecutionEnvironment.java:116)
at ExecutionEnvironment.testEcoFriendly(ExecutionEnvironment.java:151)
... 12 more
Contributor guide
Research direction
Start with ExecutionEnvironment.testEcoFriendly() and the failure reported from ExecutionEnvironment.java:151, then review how TestHelper.run invokes the test. Reproduce the Alpine Java 11 failure and determine why the expected LD_LIBRARY_PATH value is not received; done means the test passes with LD_LIBRARY_PATH=/Bridge/On/The/River/Kwai.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100