[ 
https://issues.apache.org/jira/browse/IGNITE-23098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Lapin updated IGNITE-23098:
-------------------------------------
    Description: 
TC failure 
[link|https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTests/8433466?hideTestsFromDependencies=false&hideProblemsFromDependencies=false&expandCode+Inspection=true&expandBuildDeploymentsSection=false&expandBuildProblemsSection=true&logView=flowAware]

Likely the reason of the failure is the same as in 
https://issues.apache.org/jira/browse/IGNITE-22986: incorrect storage and raft 
stop order. E.g. in the ItMetaStorageServicePersistenceTest we first stop the 
storage 
{code:java}
@AfterEach
void tearDown() throws Exception {
    IgniteUtils.closeAll(storageByName.values().stream().map(storage -> 
storage::close));
} {code}
and then in the base class ItAbstractListenerSnapshotTest stop the raft 
{code:java}
@AfterEach
public void afterTest() throws Exception {
    Stream<AutoCloseable> stopRaftGroups = servers.stream().map(s -> () -> 
s.stopRaftNodes(raftGroupId())); {code}
I didn't check whether it's the only test with the problem or not.

  was:TC failure 
[link|https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTests/8433466?hideTestsFromDependencies=false&hideProblemsFromDependencies=false&expandCode+Inspection=true&expandBuildDeploymentsSection=false&expandBuildProblemsSection=true&logView=flowAware]


> JVM crash in ignite-metastorage:integrationTest test suite
> ----------------------------------------------------------
>
>                 Key: IGNITE-23098
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23098
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Alexander Lapin
>            Priority: Major
>              Labels: ignite-3
>
> TC failure 
> [link|https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTests/8433466?hideTestsFromDependencies=false&hideProblemsFromDependencies=false&expandCode+Inspection=true&expandBuildDeploymentsSection=false&expandBuildProblemsSection=true&logView=flowAware]
> Likely the reason of the failure is the same as in 
> https://issues.apache.org/jira/browse/IGNITE-22986: incorrect storage and 
> raft stop order. E.g. in the ItMetaStorageServicePersistenceTest we first 
> stop the storage 
> {code:java}
> @AfterEach
> void tearDown() throws Exception {
>     IgniteUtils.closeAll(storageByName.values().stream().map(storage -> 
> storage::close));
> } {code}
> and then in the base class ItAbstractListenerSnapshotTest stop the raft 
> {code:java}
> @AfterEach
> public void afterTest() throws Exception {
>     Stream<AutoCloseable> stopRaftGroups = servers.stream().map(s -> () -> 
> s.stopRaftNodes(raftGroupId())); {code}
> I didn't check whether it's the only test with the problem or not.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to