[ 
https://issues.apache.org/jira/browse/KNOX-2846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Attila Magyar reassigned KNOX-2846:
-----------------------------------

    Assignee: Attila Magyar

> Fix GatewayWebsocketHandlerTest.testValidWebShellRequest
> --------------------------------------------------------
>
>                 Key: KNOX-2846
>                 URL: https://issues.apache.org/jira/browse/KNOX-2846
>             Project: Apache Knox
>          Issue Type: Task
>            Reporter: Sandor Molnar
>            Assignee: Attila Magyar
>            Priority: Major
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> {{GatewayWebsocketHandlerTest.testValidWebShellRequest}} is failing in Knox's 
> GH action builds on a regular basis, with these error:
> {noformat}
> 2022-11-28T09:52:06.8274578Z [ERROR] 
> testValidWebShellRequest(org.apache.knox.gateway.websockets.GatewayWebsocketHandlerTest)
>   Time elapsed: 0.708 s  <<< ERROR!
> 2022-11-28T09:52:06.8275454Z java.lang.IllegalStateException: Unable to load 
> cache item
> 2022-11-28T09:52:06.8276553Z  at 
> org.apache.knox.gateway.websockets.GatewayWebsocketHandlerTest.testValidWebShellRequest(GatewayWebsocketHandlerTest.java:88)
> 2022-11-28T09:52:06.8277890Z Caused by: java.lang.IllegalAccessError: class 
> javax.xml.parsers.FactoryFinder (in unnamed module @0x7ccaca59) cannot access 
> class jdk.xml.internal.SecuritySupport (in module java.xml) because module 
> java.xml does not export jdk.xml.internal to unnamed module @0x7ccaca59
> 2022-11-28T09:52:06.8279139Z  at 
> org.apache.knox.gateway.websockets.GatewayWebsocketHandlerTest.testValidWebShellRequest(GatewayWebsocketHandlerTest.java:88)
> 2022-11-28T09:52:06.8284372Z  {noformat}
> Action plan:
>  # disable that test for now
>  # RCA should be conducted and then fix the test



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to