kylin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaofeng SHI (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KYLIN-3606) Unstable KylinUserManagerTest
Date Sun, 30 Sep 2018 04:12:00 GMT
Shaofeng SHI created KYLIN-3606:
-----------------------------------

             Summary: Unstable KylinUserManagerTest
                 Key: KYLIN-3606
                 URL: https://issues.apache.org/jira/browse/KYLIN-3606
             Project: Kylin
          Issue Type: Bug
    Affects Versions: v2.6.0
            Reporter: Shaofeng SHI


{code:java}
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time
elapsed: 4.187 s - in org.apache.kylin.rest.security.QueryWithTableACLTest
[INFO] Running org.apache.kylin.rest.security.KylinUserManagerTest
2018-09-30 04:01:45,114 INFO  [main] common.KylinConfig:113 : Destroy KylinConfig
2018-09-30 04:01:45,160 INFO  [main] common.KylinConfig:332 : Loading kylin-defaults.properties
from /home/travis/build/apache/kylin/core-common/target/classes/kylin-defaults.properties
2018-09-30 04:01:45,169 INFO  [main] common.KylinConfig:287 : Use KYLIN_CONF=../examples/test_metadata/
2018-09-30 04:01:45,170 INFO  [main] common.KylinConfig:99 : Initialized a new KylinConfig
from getInstanceFromEnv : 1932094362
2018-09-30 04:01:45,170 INFO  [main] common.KylinConfigBase:198 : Kylin Config was updated
with kylin.metadata.url : ../examples/test_metadata/
2018-09-30 04:01:45,170 INFO  [main] common.KylinConfigBase:198 : Kylin Config was updated
with kylin.env.hdfs-working-dir : file:///tmp/kylin
2018-09-30 04:01:45,193 INFO  [main] util.MultiNodeManagerTestBase:50 : Chosen port for CacheServiceTest
is 45238
2018-09-30 04:01:45,194 INFO  [main] common.KylinConfigBase:198 : Kylin Config was updated
with kylin.server.cluster-servers : localhost:45238
2018-09-30 04:01:45,194 INFO  [main] common.KylinConfigBase:198 : Kylin Config was updated
with kylin.server.cluster-servers : localhost:45238
2018-09-30 04:01:45,194 INFO  [main] common.KylinConfigBase:198 : Kylin Config was updated
with kylin.metadata.url : ../examples/test_metadata
2018-09-30 04:01:45,273 INFO  [Thread-2-SendThread(localhost:2181)] zookeeper.ClientCnxn:1029
: Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate
using SASL (unknown error)
2018-09-30 04:01:45,274 INFO  [Thread-2-SendThread(localhost:2181)] zookeeper.ClientCnxn:1166
: Socket error occurred: localhost/127.0.0.1:2181: Connection refused
2018-09-30 04:01:45,275 INFO  [main] util.log:192 : Logging initialized @92503ms
2018-09-30 04:01:46,021 INFO  [main] server.Server:346 : jetty-9.3.22.v20171030
2018-09-30 04:01:46,225 INFO  [main] handler.ContextHandler:781 : Started o.e.j.s.ServletContextHandler@545311c{/,null,AVAILABLE}
2018-09-30 04:01:46,254 INFO  [main] server.AbstractConnector:278 : Started ServerConnector@4bdfeead{HTTP/1.1,[http/1.1]}{0.0.0.0:45238}
2018-09-30 04:01:46,254 INFO  [main] server.Server:414 : Started @93482ms
2018-09-30 04:01:46,255 INFO  [main] security.KylinUserManager:61 : Initializing KylinUserManager
with config ../examples/test_metadata/
2018-09-30 04:01:46,256 INFO  [main] persistence.ResourceStore:88 : Using metadata url ../examples/test_metadata/
for resource store
2018-09-30 04:01:46,256 DEBUG [main] cachesync.CachedCrudAssist:118 : Reloading ManagedUser
from /home/travis/build/apache/kylin/server/../examples/test_metadata/user
2018-09-30 04:01:46,257 DEBUG [main] cachesync.CachedCrudAssist:127 : Loaded 0 ManagedUser(s)
out of 0 resource
2018-09-30 04:01:46,257 INFO  [main] common.KylinConfig:432 : Creating new manager instance
of class org.apache.kylin.metadata.cachesync.Broadcaster
2018-09-30 04:01:46,258 DEBUG [main] cachesync.Broadcaster:101 : 1 nodes in the cluster: [localhost:45238]
2018-09-30 04:01:46,259 INFO  [main] security.KylinUserManager:61 : Initializing KylinUserManager
with config ../examples/test_metadata
2018-09-30 04:01:46,259 INFO  [main] persistence.ResourceStore:88 : Using metadata url ../examples/test_metadata
for resource store
2018-09-30 04:01:46,259 DEBUG [main] cachesync.CachedCrudAssist:118 : Reloading ManagedUser
from /home/travis/build/apache/kylin/server/../examples/test_metadata/user
2018-09-30 04:01:46,260 DEBUG [main] cachesync.CachedCrudAssist:127 : Loaded 0 ManagedUser(s)
out of 0 resource
2018-09-30 04:01:46,260 INFO  [main] common.KylinConfig:432 : Creating new manager instance
of class org.apache.kylin.metadata.cachesync.Broadcaster
2018-09-30 04:01:46,260 DEBUG [main] cachesync.Broadcaster:101 : 1 nodes in the cluster: [localhost:45238]
2018-09-30 04:01:46,261 DEBUG [main] cachesync.CachedCrudAssist:190 : Saving ManagedUser at
/user/U1
2018-09-30 04:01:46,263 DEBUG [pool-173-thread-1] cachesync.Broadcaster:113 : Servers in the
cluster: [localhost:45238]
2018-09-30 04:01:46,375 INFO  [Thread-2-SendThread(localhost:2181)] zookeeper.ClientCnxn:1029
: Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate
using SASL (unknown error)
2018-09-30 04:01:46,376 INFO  [Thread-2-SendThread(localhost:2181)] zookeeper.ClientCnxn:1166
: Socket error occurred: localhost/127.0.0.1:2181: Connection refused
2018-09-30 04:01:47,040 DEBUG [pool-173-thread-1] cachesync.Broadcaster:123 : Announcing new
broadcast to all: BroadcastEvent{entity=user, event=create, cacheKey=U1}
2018-09-30 04:01:49,286 DEBUG [main] cachesync.CachedCrudAssist:190 : Saving ManagedUser at
/user/U1
2018-09-30 04:01:49,287 INFO  [Thread-2-SendThread(localhost:2181)] zookeeper.ClientCnxn:1029
: Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate
using SASL (unknown error)
2018-09-30 04:01:49,288 INFO  [Thread-2-SendThread(localhost:2181)] zookeeper.ClientCnxn:1166
: Socket error occurred: localhost/127.0.0.1:2181: Connection refused
2018-09-30 04:01:49,347 INFO  [main] server.AbstractConnector:318 : Stopped ServerConnector@4bdfeead{HTTP/1.1,[http/1.1]}{0.0.0.0:45238}
2018-09-30 04:01:49,375 INFO  [main] handler.ContextHandler:910 : Stopped o.e.j.s.ServletContextHandler@545311c{/,null,UNAVAILABLE}
2018-09-30 04:01:49,400 INFO  [main] common.KylinConfig:113 : Destroy KylinConfig
[ERROR] Tests run: 1, Failures: 0, Errors: 1,
Skipped: 0, Time elapsed: 4.783 s <<< FAILURE! - in org.apache.kylin.rest.security.KylinUserManagerTest
[ERROR] testBasic(org.apache.kylin.rest.security.KylinUserManagerTest)  Time elapsed:
4.608 s  <<< ERROR!
org.apache.kylin.common.persistence.WriteConflictException: Overwriting conflict /user/U1,
expect old TS 0, but found 1538280106000
	at org.apache.kylin.rest.security.KylinUserManagerTest.testBasic(KylinUserManagerTest.java:42)
{code}



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

Mime
View raw message