[ https://issues.apache.org/jira/browse/KYLIN-3606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shaofeng SHI updated KYLIN-3606: -------------------------------- Attachment: 435155092log.txt > 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 > Priority: Major > Attachments: 435155092log.txt > > > {code:java} > [[1;34mINFO[m] [1;32mTests run: [0;1;32m3[m, Failures: 0, Errors: 0, > Skipped: 0, Time elapsed: 4.187 s - in > org.apache.kylin.rest.security.[1mQueryWithTableACLTest[m > [[1;34mINFO[m] Running > org.apache.kylin.rest.security.[1mKylinUserManagerTest[m > 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 > [[1;31mERROR[m] [1;31mTests [0;1mrun: [0;1m1[m, Failures: 0, > [1;31mErrors: [0;1;31m1[m, Skipped: 0, Time elapsed: 4.783 s[1;31m <<< > FAILURE![m - in org.apache.kylin.rest.security.[1mKylinUserManagerTest[m > [[1;31mERROR[m] > 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)