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

Stephen Mallette commented on TINKERPOP-2504:
---------------------------------------------

After looking into this myself a bit, I think i see where we have some deadlock 
going on - I tried to explain here: 
[https://github.com/apache/tinkerpop/commit/56e4f3f84eca9993089225e2f6f7cd0f01c30a9a]

 

The tests i was worried about seem to pass with this change pretty well, but 
that is really just addressing the tests/travis build issue and not the root 
cause. Going to do a few more runs then cherry-pick this to {{3.4-dev}} if it 
holds up. [~HadoopMarc] perhaps you should try this change in your PR?

> Intermittently failing server/driver integration tests
> ------------------------------------------------------
>
>                 Key: TINKERPOP-2504
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2504
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: driver, server
>    Affects Versions: 3.4.9
>            Reporter: Stephen Mallette
>            Priority: Minor
>
> I've noticed this test failing intermittently on Travis and more consistently 
> on the {{master}} branch with Docker. It fails with a 
> {{ConcurrentModificationException}} (haven't been able to easily get the 
> entire stack trace thanks to the docker issue and i've not caught it 
> happening in the last few days on Travis). Adding this line of code seems to 
> have made the test pass more consistently:
> https://github.com/apache/tinkerpop/commit/4b099b3c84a350aae953cdf517aa11c7017eb2ae
> which would indicate something perhaps fishy with how hosts are being marked 
> dead and iterated. Would be nice to get rid of that little hack.
> Another common failure that is fairly consistent is with 
> {{GremlinServerAuditLogIntegrateTest.shouldAuditLogWithKrb5Authenticator}}
> {code}
> [ERROR] 
> shouldAuditLogWithKrb5Authenticator(org.apache.tinkerpop.gremlin.server.GremlinServerAuditLogIntegrateTest)
>   Time elapsed: 3.16 s  <<< ERROR!
> java.util.concurrent.ExecutionException: 
> org.apache.tinkerpop.gremlin.driver.exception.ResponseException: 
> Authenticator is not ready to handle requests
>       at 
> org.apache.tinkerpop.gremlin.server.GremlinServerAuditLogIntegrateTest.shouldAuditLogWithKrb5Authenticator(GremlinServerAuditLogIntegrateTest.java:222)
> Caused by: org.apache.tinkerpop.gremlin.driver.exception.ResponseException: 
> Authenticator is not ready to handle requests
> {code} 
> cc/ [~divijvaidya] [~HadoopMarc]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to