[jira] [Created] (IGNITE-17047) Cleanup GridTestSafeThreadFactory threads after each test
Amelchev Nikita created IGNITE-17047: Summary: Cleanup GridTestSafeThreadFactory threads after each test Key: IGNITE-17047 URL: https://issues.apache.org/jira/browse/IGNITE-17047 Project: Ignite Issue Type: Improvement Reporter: Amelchev Nikita Assignee: Amelchev Nikita The test framework cleans GridTestSafeThreadFactory threads after all tests in class. This leads to hanging the whole test class and a suite timeout. Example of suite timeout: https://ci2.ignite.apache.org/buildConfiguration/IgniteTests24Java8_Cache2/6456823?showRootCauses=false=true=true The root cause - nodes can't be stopped after tests due to the test thread blocking node start. -- This message was sent by Atlassian Jira (v8.20.7#820007)
[jira] [Commented] (IGNITE-17042) Fix flaky tests failed due to client cache is null
[ https://issues.apache.org/jira/browse/IGNITE-17042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17543525#comment-17543525 ] Ignite TC Bot commented on IGNITE-17042: {panel:title=Branch: [pull/10044/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel} {panel:title=Branch: [pull/10044/head] Base: [master] : No new tests found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}{panel} [TeamCity *-- Run :: All* Results|https://ci2.ignite.apache.org/viewLog.html?buildId=6456679buildTypeId=IgniteTests24Java8_RunAll] > Fix flaky tests failed due to client cache is null > -- > > Key: IGNITE-17042 > URL: https://issues.apache.org/jira/browse/IGNITE-17042 > Project: Ignite > Issue Type: Bug >Reporter: Amelchev Nikita >Assignee: Amelchev Nikita >Priority: Major > Fix For: 2.14 > > Time Spent: 10m > Remaining Estimate: 0h > > There are several tests that failed due to client cache is null: > {noformat} > grid(0).createCache(ccfg); > clientCache = client.cache(ccfg.getName()); > clientCache.put(); // Cache can be null due to client registers cache > asynchroniously. > {noformat} > Example of test: > CacheEntryProcessorNonSerializableTest.testPessimisticFullSync > {noformat} > === Failed test run #1 == > --- Stdout: --- > java.lang.NullPointerException > at > org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorNonSerializableTest.doTestInvokeTest(CacheEntryProcessorNonSerializableTest.java:437) > at > org.apache.ignite.internal.processors.cache.query.continuous.CacheEntryProcessorNonSerializableTest.testPessimisticFullSync(CacheEntryProcessorNonSerializableTest.java:197) > 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$6.run(GridAbstractTest.java:2434) > at java.lang.Thread.run(Thread.java:748) > {noformat} -- This message was sent by Atlassian Jira (v8.20.7#820007)
[jira] [Resolved] (IGNITE-6628) Make possible to rebuild all SQL indexes programmatically with enabled persistence.
[ https://issues.apache.org/jira/browse/IGNITE-6628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexey Scherbakov resolved IGNITE-6628. --- Release Note: https://issues.apache.org/jira/browse/IGNITE-14321 Resolution: Duplicate > Make possible to rebuild all SQL indexes programmatically with enabled > persistence. > --- > > Key: IGNITE-6628 > URL: https://issues.apache.org/jira/browse/IGNITE-6628 > Project: Ignite > Issue Type: Improvement >Affects Versions: 2.0 >Reporter: Alexey Scherbakov >Priority: Major > > We have unofficial way for rebuilding indexes, which is called on activation > if index.bin is removed from PDS directory. > Code is located here [1] > I think it's ok to make it public for several cases: model is changed, index > is damaged, etc... > Also current impl has a bug: CacheEntry in [2] is not touched, polluting heap > and leading to OOM. > [1] > org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager#beforeExchange > [2] > org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing#rebuildIndexesFromHash -- This message was sent by Atlassian Jira (v8.20.7#820007)