Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: LongList read from file #16994

Merge branch 'main' into 16652-longlistheap-snapshots-are-broken-if-i…

4245f49
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

fix: LongList read from file #16994

Merge branch 'main' into 16652-longlistheap-snapshots-are-broken-if-i…
4245f49
Select commit
Loading
Failed to load commit list.
GitHub Actions / Node: Unit Test Results failed Jan 15, 2025 in 0s

2 fail, 62 skipped, 128 717 pass in 59m 28s

  1 708 files    1 708 suites   59m 28s ⏱️
128 781 tests 128 717 ✅ 62 💤 2 ❌
135 675 runs  135 611 ✅ 62 💤 2 ❌

Results for commit 4245f49.

Annotations

Check warning on line 0 in com.hedera.node.app.state.merkle.SerializationTest

See this annotation in the file changed.

@github-actions github-actions / Node: Unit Test Results

dualReadAndWrite() (com.hedera.node.app.state.merkle.SerializationTest) failed

hedera-node/hedera-app/build/test-results/test/TEST-com.hedera.node.app.state.merkle.SerializationTest.xml [took 2s]
Raw output
java.io.UncheckedIOException: java.io.IOException: Can not load an existing HalfDiskHashMap from [/home/runner/_work/hedera-services/hedera-services/hedera-node/hedera-app/test/28-merkledb/tables/RosterService.ROSTERS-2/objectKeyToPath] because metadata file is missing
	at com.swirlds.merkledb.MerkleDbDataSourceBuilder.copy(MerkleDbDataSourceBuilder.java:139)
	at com.swirlds.merkledb.MerkleDbDataSourceBuilder.copy(MerkleDbDataSourceBuilder.java:46)
	at com.swirlds.virtualmap.internal.merkle.VirtualRootNode.snapshot(VirtualRootNode.java:1478)
	at com.swirlds.virtualmap.internal.merkle.VirtualRootNode.lambda$serialize$6(VirtualRootNode.java:1284)
	at com.swirlds.virtualmap.internal.pipeline.VirtualPipeline.pausePipelineAndExecute(VirtualPipeline.java:636)
	at com.swirlds.virtualmap.internal.pipeline.VirtualPipeline.pausePipelineAndRun(VirtualPipeline.java:377)
	at com.swirlds.virtualmap.internal.merkle.VirtualRootNode.serialize(VirtualRootNode.java:1283)
	at com.swirlds.virtualmap.VirtualMap.serialize(VirtualMap.java:351)
	at com.swirlds.common.io.streams.MerkleDataOutputStream.writeSerializableNode(MerkleDataOutputStream.java:64)
	at com.swirlds.common.io.streams.MerkleDataOutputStream.writeInternal(MerkleDataOutputStream.java:81)
	at com.swirlds.common.io.streams.MerkleDataOutputStream.lambda$writeMerkleTree$1(MerkleDataOutputStream.java:172)
	at com.swirlds.common.merkle.iterators.MerkleIterator.forEachRemainingWithIO(MerkleIterator.java:410)
	at com.swirlds.common.io.streams.MerkleDataOutputStream.writeMerkleTree(MerkleDataOutputStream.java:166)
	at com.swirlds.state.test.fixtures.merkle.MerkleTestBase.writeTree(MerkleTestBase.java:355)
	at com.hedera.node.app.state.merkle.SerializationTest.dualReadAndWrite(SerializationTest.java:275)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.io.IOException: Can not load an existing HalfDiskHashMap from [/home/runner/_work/hedera-services/hedera-services/hedera-node/hedera-app/test/28-merkledb/tables/RosterService.ROSTERS-2/objectKeyToPath] because metadata file is missing
	at com.swirlds.merkledb.files.hashmap.HalfDiskHashMap.<init>(HalfDiskHashMap.java:260)
	at com.swirlds.merkledb.MerkleDbDataSource.<init>(MerkleDbDataSource.java:333)
	at com.swirlds.merkledb.MerkleDb.lambda$getDataSource$2(MerkleDb.java:464)
	at java.base/java.util.concurrent.atomic.AtomicReferenceArray.updateAndGet(AtomicReferenceArray.java:234)
	at com.swirlds.merkledb.MerkleDb.getDataSource(MerkleDb.java:459)
	at com.swirlds.merkledb.MerkleDb.copyDataSource(MerkleDb.java:401)
	at com.swirlds.merkledb.MerkleDbDataSourceBuilder.copy(MerkleDbDataSourceBuilder.java:137)
	... 17 more

Check warning on line 0 in com.hedera.services.bdd.suites.integration.ConcurrentIntegrationTests

See this annotation in the file changed.

@github-actions github-actions / Node: Unit Test Results

1 out of 6 runs failed: as written (com.hedera.services.bdd.suites.integration.ConcurrentIntegrationTests)

hedera-node/test-clients/build/test-results/test/TEST-com.hedera.services.bdd.suites.integration.ConcurrentIntegrationTests.xml [took 11s]
Raw output
org.opentest4j.AssertionFailedError: com.hedera.services.bdd.suites.integration.ConcurrentIntegrationTests$$Lambda/0x00007f1b4c9541e8@420ae3c7 ended with result: Timed out in PT5S
	at app//com.hedera.services.bdd.spec.utilops.streams.assertions.AbstractEventualStreamAssertion.assertHasPassed(AbstractEventualStreamAssertion.java:84)
	at app//com.hedera.services.bdd.spec.HapiSpec.checkStream(HapiSpec.java:887)
	at app//com.hedera.services.bdd.spec.HapiSpec.exec(HapiSpec.java:829)
	at app//com.hedera.services.bdd.spec.HapiSpec.run(HapiSpec.java:625)
	at app//com.hedera.services.bdd.spec.HapiSpec.execute(HapiSpec.java:595)
	at java.base@21.0.4/java.util.Optional.ifPresent(Optional.java:178)
	at java.base@21.0.4/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
	at java.base@21.0.4/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base@21.0.4/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base@21.0.4/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base@21.0.4/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base@21.0.4/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)