adoptium / adoptium/aqa-tests

external tomcat_test failed with both jdk11 and jdk17

Open
#3,398 10 comments 0 reactions 0 assignees View on GitHub
canosp type:external
Dominant language
HTML
Stars
155
Forks
346
Avg merge
2d 9h
Merged PRs (30d)
36

Description

external tomcat_test failed with both jdk11 and jdk17 and believe failed with jdk8.
8: https://ci.adoptopenjdk.net/view/work-in-progress/job/grinder_sandbox_new/470/
11: https://ci.adoptopenjdk.net/view/work-in-progress/job/grinder_sandbox_new/459/
17: https://ci.adoptopenjdk.net/view/work-in-progress/job/grinder_sandbox_new/469/

```
01:30:24 [junit] 03-Mar-2022 06:30:24.258 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testOptions[201]]
01:30:24 [junit] 03-Mar-2022 06:30:24.259 SEVERE [main] org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to initialize component [Connector[org.apache.coyote.http11.Http11AprProtocol-auto-202]]
01:30:24 [junit] org.apache.catalina.LifecycleException: The configured protocol [org.apache.coyote.http11.Http11AprProtocol] requires the APR/native library which is not available
01:30:24 [junit] at org.apache.catalina.connector.Connector.initInternal(Connector.java:1036)
01:30:24 [junit] at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
0
...
01:30:30 [junit] 03-Mar-2022 06:30:29.759 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
01:30:30 [junit] 03-Mar-2022 06:30:29.759 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.0.7]
01:30:30 [junit] 03-Mar-2022 06:30:29.764 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found
Cancelling nested steps due to timeout
09:50:25 Sending interrupt signal to process
09:50:37 Terminated
09:50:37
09:50:37 tomcat_test_0_FAILED
```

Looks like setting issue.

Contributor guide

Open the contributing guide

Research direction

Start with the external tomcat_test failures linked in the issue and inspect the APR/native library initialization around Connector.initInternal, along with the test's timeout behavior. Confirm the environment or test configuration causing the failure, then verify tomcat_test completes successfully on JDK 8, 11, and 17.

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
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.