ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amelchev Nikita (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-9948) JettyRestProcessorAuthenticationWithTokenSelfTest.testGetOrCreateCache fails on TC
Date Fri, 19 Oct 2018 13:02:00 GMT
Amelchev Nikita created IGNITE-9948:
---------------------------------------

             Summary:  JettyRestProcessorAuthenticationWithTokenSelfTest.testGetOrCreateCache
fails on TC
                 Key: IGNITE-9948
                 URL: https://issues.apache.org/jira/browse/IGNITE-9948
             Project: Ignite
          Issue Type: Bug
            Reporter: Amelchev Nikita
            Assignee: Amelchev Nikita
             Fix For: 2.8


[Example of fail.|https://ci.ignite.apache.org/viewLog.html?buildId=2118632&tab=buildResultsDiv&buildTypeId=IgniteTests24Java8_JavaClient#testNameId-4416495803371140089]
Log details:
{noformat}
[2018-10-19 06:59:53,063][ERROR][main][root] Test failed.
java.lang.NullPointerException
at org.apache.ignite.internal.processors.rest.JettyRestProcessorAbstractSelfTest.checkGetOrCreateAndDestroy(JettyRestProcessorAbstractSelfTest.java:593)
at org.apache.ignite.internal.processors.rest.JettyRestProcessorAbstractSelfTest.testGetOrCreateCache(JettyRestProcessorAbstractSelfTest.java:619)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at junit.framework.TestCase.runTest(TestCase.java:176)
at org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:2176)
at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:142)
at org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:2091)
at java.lang.Thread.run(Thread.java:748){noformat}

The possible reason is the race between getting cache instance on different nodes:
# Jetty query create cache successfully on one node.
# PME doesn't have completed.
# The test fails with NPE while getting the instance of cache on another node.



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

Mime
View raw message