[
https://issues.apache.org/jira/browse/KNOX-2846?focusedWorklogId=829270&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-829270
]
ASF GitHub Bot logged work on KNOX-2846:
----------------------------------------
Author: ASF GitHub Bot
Created on: 28/Nov/22 11:01
Start Date: 28/Nov/22 11:01
Worklog Time Spent: 10m
Work Description: zeroflag opened a new pull request, #685:
URL: https://github.com/apache/knox/pull/685
## What changes were proposed in this pull request?
Let's see if it fixes the test this:
```
2022-11-28T05:34:23.3732998Z [ERROR]
testValidWebShellRequest(org.apache.knox.gateway.websockets.GatewayWebsocketHandlerTest)
Time elapsed: 0.585 s <<< ERROR!
2022-11-28T05:34:23.3733695Z java.lang.IllegalStateException: Unable to load
cache item
2022-11-28T05:34:23.3734384Z at
org.apache.knox.gateway.websockets.GatewayWebsocketHandlerTest.testValidWebShellRequest(GatewayWebsocketHandlerTest.java:88)
2022-11-28T05:34:23.3735487Z Caused by: java.lang.IllegalAccessError: class
javax.xml.parsers.FactoryFinder (in unnamed module @0x38954d02) cannot access
class jdk.xml.internal.SecuritySupport (in module java.xml) because module
java.xml does not export jdk.xml.internal to unnamed module @0x38954d02
2022-11-28T05:34:23.3736670Z at
org.apache.knox.gateway.websockets.GatewayWebsocketHandlerTest.testValidWebShellRequest(GatewayWebsocketHandlerTest.java:88)
```
## How was this patch tested?
Issue Time Tracking
-------------------
Worklog Id: (was: 829270)
Time Spent: 20m (was: 10m)
> Fix GatewayWebsocketHandlerTest.testValidWebShellRequest
> --------------------------------------------------------
>
> Key: KNOX-2846
> URL: https://issues.apache.org/jira/browse/KNOX-2846
> Project: Apache Knox
> Issue Type: Task
> Reporter: Sandor Molnar
> Priority: Major
> Time Spent: 20m
> 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)