[ 
https://issues.apache.org/jira/browse/KNOX-1670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16722999#comment-16722999
 ] 

Kevin Risden commented on KNOX-1670:
------------------------------------

Here is a failure from JDK 8.

{code:java}
06:18:34 [INFO] Running 
org.apache.knox.gateway.service.config.remote.zk.RemoteConfigurationRegistryJAASConfigTest
06:18:34 [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.115 s - in 
org.apache.knox.gateway.service.config.remote.zk.RemoteConfigurationRegistryJAASConfigTest
06:18:34 [INFO] Running 
org.apache.knox.gateway.service.config.remote.zk.RemoteConfigurationRegistryClientServiceTest
06:18:34 log4j:WARN No appenders could be found for logger 
(org.apache.zookeeper.server.quorum.QuorumPeer).
06:18:34 log4j:WARN Please initialize the log4j system properly.
06:18:34 log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig 
for more info.
06:18:40 Dec 17, 2018 11:18:40 AM 
org.apache.knox.gateway.service.config.remote.zk.CuratorClientService$ClientAdapter
 listChildEntries
06:18:40 SEVERE: An error occurred interacting with the remote configuration 
registry : org.apache.zookeeper.KeeperException$NoAuthException: 
KeeperErrorCode = NoAuth for /someotherconfig
06:18:46 Dec 17, 2018 11:18:46 AM 
org.apache.knox.gateway.service.config.remote.zk.CuratorClientService$ClientAdapter
 listChildEntries
06:18:46 SEVERE: An error occurred interacting with the remote configuration 
registry : org.apache.zookeeper.KeeperException$NoAuthException: 
KeeperErrorCode = NoAuth for /someotherconfig
06:18:46 Dec 17, 2018 11:18:46 AM 
org.apache.knox.gateway.service.config.remote.zk.CuratorClientService$ClientAdapter
 createEntry
06:18:46 SEVERE: An error occurred interacting with the remote configuration 
registry : org.apache.zookeeper.KeeperException$NodeExistsException: 
KeeperErrorCode = NodeExists for /clientServiceTestNode
06:18:51 Dec 17, 2018 11:18:51 AM 
org.apache.knox.gateway.service.config.remote.zk.CuratorClientService init
06:18:51 WARNING: Multiple remote configuration registries are not currently 
supported if any of them requires authentication.
06:18:54 Dec 17, 2018 11:18:54 AM 
org.apache.knox.gateway.service.config.remote.zk.CuratorClientService$ClientAdapter
 createEntry
06:18:54 SEVERE: An error occurred interacting with the remote configuration 
registry : org.apache.zookeeper.KeeperException$NoNodeException: 
KeeperErrorCode = NoNode for /clientServiceTestNode/mydata
06:18:54 Dec 17, 2018 11:18:54 AM 
org.apache.knox.gateway.service.config.remote.zk.CuratorClientService$ClientAdapter
 getEntryData
06:18:54 SEVERE: An error occurred interacting with the remote configuration 
registry : org.apache.zookeeper.KeeperException$NoNodeException: 
KeeperErrorCode = NoNode for /clientServiceTestNode/mydata
06:18:54 [ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time 
elapsed: 20.377 s <<< FAILURE! - in 
org.apache.knox.gateway.service.config.remote.zk.RemoteConfigurationRegistryClientServiceTest
06:18:54 [ERROR] 
testMultipleUnsecuredZooKeeperWithSimpleRegistryConfig(org.apache.knox.gateway.service.config.remote.zk.RemoteConfigurationRegistryClientServiceTest)
  Time elapsed: 5.054 s  <<< FAILURE!
06:18:54 java.lang.AssertionError
06:18:54        at 
org.apache.knox.gateway.service.config.remote.zk.RemoteConfigurationRegistryClientServiceTest.doTestZooKeeperClient(RemoteConfigurationRegistryClientServiceTest.java:383)
06:18:54        at 
org.apache.knox.gateway.service.config.remote.zk.RemoteConfigurationRegistryClientServiceTest.testMultipleUnsecuredZooKeeperWithSimpleRegistryConfig(RemoteConfigurationRegistryClientServiceTest.java:134)
06:18:54 
06:18:54 [INFO] Running 
org.apache.knox.gateway.service.config.remote.config.RemoteConfigurationRegistryConfigParserTest
06:18:54 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.016 s - in 
org.apache.knox.gateway.service.config.remote.config.RemoteConfigurationRegistryConfigParserTest
06:18:54 [INFO] Running 
org.apache.knox.gateway.service.config.remote.config.DefaultRemoteConfigurationRegistriesTest
06:18:54 [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0 s - in 
org.apache.knox.gateway.service.config.remote.config.DefaultRemoteConfigurationRegistriesTest
06:18:55 [INFO] 
06:18:55 [INFO] Results:
06:18:55 [INFO] 
06:18:55 [ERROR] Failures: 
06:18:55 [ERROR]   
RemoteConfigurationRegistryClientServiceTest.testMultipleUnsecuredZooKeeperWithSimpleRegistryConfig:134->doTestZooKeeperClient:383
{code}


> ZK Tests IllegalArgument and IllegalState errors
> ------------------------------------------------
>
>                 Key: KNOX-1670
>                 URL: https://issues.apache.org/jira/browse/KNOX-1670
>             Project: Apache Knox
>          Issue Type: Test
>            Reporter: Kevin Risden
>            Assignee: Kevin Risden
>            Priority: Major
>             Fix For: 1.3.0
>
>
> I've seen the following failure a few times and not entirely sure what causes 
> it. Would be good to track down. I think it can happen in most of the ZK 
> related tests.
> {code:java}
> [ERROR] Errors: 
> [ERROR] 
> org.apache.knox.gateway.topology.monitor.RemoteConfigurationMonitorTest.testZooKeeperConfigMonitorSASLNodesExistWithAcceptableACL(org.apache.knox.gateway.topology.monitor.RemoteConfigurationMonitorTest)
> [ERROR]   Run 1: 
> RemoteConfigurationMonitorTest.setupTest:111->configureAndStartZKCluster:168 
> » IllegalArgument
> [ERROR]   Run 2: RemoteConfigurationMonitorTest.tearDownTest:118 » 
> IllegalState instance must b...
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to