ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vyacheslav Koptilin (Jira)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-13664) GridCommandHandlerTest.testPersistenceCleanCorruptedCachesCommand fails on Windows platform
Date Tue, 03 Nov 2020 15:22:00 GMT
Vyacheslav Koptilin created IGNITE-13664:
--------------------------------------------

             Summary: GridCommandHandlerTest.testPersistenceCleanCorruptedCachesCommand fails
on Windows platform
                 Key: IGNITE-13664
                 URL: https://issues.apache.org/jira/browse/IGNITE-13664
             Project: Ignite
          Issue Type: Bug
            Reporter: Vyacheslav Koptilin
             Fix For: 2.10


This test fails to start Ignite node due to the following exception:
{noformat}
[2020-11-03 18:02:02,044][ERROR][test-runner-#1%gridCommandHandlerTest%][IgniteKernal%gridCommandHandlerTest1]
Exception during start processors, node will be stopped and close connections[2020-11-03 18:02:02,044][ERROR][test-runner-#1%gridCommandHandlerTest%][IgniteKernal%gridCommandHandlerTest1]
Exception during start processors, node will be stopped and close connectionsjava.util.regex.PatternSyntaxException:
Unexpected internal error near index 1\ at java.util.regex.Pattern.error(Pattern.java:1969)
at java.util.regex.Pattern.compile(Pattern.java:1708) at java.util.regex.Pattern.<init>(Pattern.java:1352)
at java.util.regex.Pattern.compile(Pattern.java:1028) at java.lang.String.split(String.java:2380)
at java.lang.String.split(String.java:2422) at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.startMemoryRestore(GridCacheDatabaseSharedManager.java:1601)
at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:1282) at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:2096)
at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1748) at
org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1143) at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:641)
at org.apache.ignite.testframework.junits.GridAbstractTest.startGrid(GridAbstractTest.java:1231)
at org.apache.ignite.testframework.junits.GridAbstractTest.startGrid(GridAbstractTest.java:1152)
at org.apache.ignite.testframework.junits.GridAbstractTest.startGrid(GridAbstractTest.java:1128)
at org.apache.ignite.testframework.junits.GridAbstractTest.startGrid(GridAbstractTest.java:997)
at org.apache.ignite.util.GridCommandHandlerTest.testPersistenceCleanCorruptedCachesCommand(GridCommandHandlerTest.java:414)
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 org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.apache.ignite.testframework.junits.GridAbstractTest$7.run(GridAbstractTest.java:2375)
at java.lang.Thread.run(Thread.java:748){noformat}
The root cause of this failure is that {{File.separator}} on Windows platform is slash, which
is interpreted as an erroneous regular expression by {{String.split()}}.



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

Mime
View raw message