Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix com.ibm.ws.jsp23.fat.tests.JSPJava17Test #28497

Closed
pnicolucci opened this issue May 21, 2024 · 0 comments · Fixed by #28501
Closed

Fix com.ibm.ws.jsp23.fat.tests.JSPJava17Test #28497

pnicolucci opened this issue May 21, 2024 · 0 comments · Fixed by #28501

Comments

@pnicolucci
Copy link
Member

pnicolucci commented May 21, 2024

When running locally I get the following error on EE10 and lower test executions:

  | testJava17viaPreCompile_EE10_FEATURES | Failure | 2024-05-21-14:24:26:791 [Unexpected FFDC reporting java.security.PrivilegedActionException was found (count = 1): build.image\wlp\usr\servers\jspJava17Server\logs\ffdc\ffdc_24.05.21_14.24.26.0.log >------Start of DE processing------ = [5/21/24, 14:24:26:245 EDT] >Exception = java.security.PrivilegedActionException >Source = com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.findWrapper >probeid = 445 >Stack Dump = java.security.PrivilegedActionException: com.ibm.ws.jsp.JspCoreException: JSPG0049E: /testJava21.jsp failed to compile : ] -- | -- | -- | -- [testJava17viaPreCompile_EE10_FEATURES](file:///C:/LibertyGit/open-liberty/dev/com.ibm.ws.jsp.2.3_fat/build/libs/autoFVT/results/junit.html/com/ibm/ws/jsp23/fat/0_FATSuite.html#testJava17viaPreCompile_EE10_FEATURES) Failure 2024-05-21-14:24:26:791 [Unexpected FFDC reporting java.security.PrivilegedActionException was found (count = 1): C:\LibertyGit\open-liberty\dev\build.image\wlp\usr\servers\jspJava17Server\logs\ffdc\ffdc_24.05.21_14.24.26.0.log >------Start of DE processing------ = [5/21/24, 14:24:26:245 EDT] >Exception = java.security.PrivilegedActionException >Source = com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.findWrapper >probeid = 445 >Stack Dump = java.security.PrivilegedActionException: com.ibm.ws.jsp.JspCoreException: JSPG0049E: /testJava21.jsp failed to compile : ]

Some of the tests check for this but this test actually produces the FFDC and does not check for it.

  1. testBothjdkSourceLevelAndjavaSourceLevel is doing a config update and then restarting the application but the config update has not completed so the applications starts and the test fails b/c it finds the FFDC from the test in Fix branding to be Open Liberty rather than WebSphere Liberty #1 when they are run one after the other..

  2. Depending on the test ordering "SRVE8115W", "SRVE8094W" messages need to be added to the Class level server stop to avoid unexpected Warning messages in the test cleanup. The testJava17viaPreCompile stopServer already does this so sometimes we get the problem and sometimes we don't depending on test ordering.

  3. testJava17viaPreCompile also needs to add the CWWJS0007W to its stopServer call to avoid problems with different test ordering.

  4. Wait for config updates to complete in various tests before moving on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant