Skip to content

PR #19193

PR #19193 #444

GitHub Actions / Node: Unit Test Results failed May 15, 2025 in 0s

3 fail, 54 skipped, 133 561 pass in 59m 30s

  1 786 files  ±0    1 786 suites  ±0   59m 30s ⏱️ - 5m 24s
133 618 tests +1  133 561 ✅  - 1  54 💤 ±0  3 ❌ +2 
140 603 runs  +1  140 546 ✅  - 1  54 💤 ±0  3 ❌ +2 

Results for commit 399a2ee. ± Comparison against earlier commit ca814ca.

Annotations

Check warning on line 0 in org.hiero.consensus.event.creator.impl.EventCreationManagerTests

See this annotation in the file changed.

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

futureEventsAreBuffered() (org.hiero.consensus.event.creator.impl.EventCreationManagerTests) failed

platform-sdk/consensus-event-creator-impl/build/test-results/test/TEST-org.hiero.consensus.event.creator.impl.EventCreationManagerTests.xml [took 0s]
Raw output
Wanted but not invoked:
eventCreator.registerEvent(
    Mock for PlatformEvent, hashCode: 942799688
);
-> at [email protected]/org.hiero.consensus.event.creator.impl.EventCreationManagerTests.futureEventsAreBuffered(EventCreationManagerTests.java:174)

However, there were exactly 2 interactions with this mock:
eventCreator.setEventWindow(
    EventWindow[latestConsensusRound=1,ancientMode=BIRTH_ROUND_THRESHOLD,ancientThreshold=1,expiredThreshold=1]
);
-> at [email protected]/org.hiero.consensus.event.creator.impl.DefaultEventCreationManager.setEventWindow(DefaultEventCreationManager.java:148)

eventCreator.setEventWindow(
    EventWindow[latestConsensusRound=2,ancientMode=BIRTH_ROUND_THRESHOLD,ancientThreshold=1,expiredThreshold=1]
);
-> at [email protected]/org.hiero.consensus.event.creator.impl.DefaultEventCreationManager.setEventWindow(DefaultEventCreationManager.java:148)


	at app/[email protected]/org.hiero.consensus.event.creator.impl.EventCreationManagerTests.futureEventsAreBuffered(EventCreationManagerTests.java:174)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1596)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1596)

Check warning on line 0 in org.hiero.consensus.event.creator.impl.EventCreationManagerTests

See this annotation in the file changed.

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

nonFutureEventsAreNotBuffered() (org.hiero.consensus.event.creator.impl.EventCreationManagerTests) failed

platform-sdk/consensus-event-creator-impl/build/test-results/test/TEST-org.hiero.consensus.event.creator.impl.EventCreationManagerTests.xml [took 0s]
Raw output
Wanted but not invoked:
eventCreator.registerEvent(
    Mock for PlatformEvent, hashCode: 1711309601
);
-> at [email protected]/org.hiero.consensus.event.creator.impl.EventCreationManagerTests.nonFutureEventsAreNotBuffered(EventCreationManagerTests.java:148)

However, there was exactly 1 interaction with this mock:
eventCreator.setEventWindow(
    EventWindow[latestConsensusRound=1,ancientMode=BIRTH_ROUND_THRESHOLD,ancientThreshold=1,expiredThreshold=1]
);
-> at [email protected]/org.hiero.consensus.event.creator.impl.DefaultEventCreationManager.setEventWindow(DefaultEventCreationManager.java:148)


	at app/[email protected]/org.hiero.consensus.event.creator.impl.EventCreationManagerTests.nonFutureEventsAreNotBuffered(EventCreationManagerTests.java:148)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1596)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1596)

Check warning on line 0 in com.swirlds.platform.StateFileManagerTests

See this annotation in the file changed.

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

1 out of 2 runs failed: [1] true (com.swirlds.platform.StateFileManagerTests)

platform-sdk/swirlds-platform-core/build/test-results/test/TEST-com.swirlds.platform.StateFileManagerTests.xml [took 1s]
Raw output
org.opentest4j.AssertionFailedError: should be able to read state on disk ==> Unexpected exception thrown: java.lang.NullPointerException: Roster stored in signed state is null (this should never happen)
	at app/[email protected]/org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152)
	at app/[email protected]/org.junit.jupiter.api.AssertDoesNotThrow.createAssertionFailedError(AssertDoesNotThrow.java:84)
	at app/[email protected]/org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:75)
	at app/[email protected]/org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:62)
	at app/[email protected]/org.junit.jupiter.api.Assertions.assertDoesNotThrow(Assertions.java:3249)
	at app/[email protected]/com.swirlds.platform.StateFileManagerTests.sequenceOfStatesTest(StateFileManagerTests.java:353)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
	at [email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at [email protected]/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
	at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at [email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at [email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at [email protected]/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:1024)
	at [email protected]/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at [email protected]/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at [email protected]/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
	at [email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
	at [email protected]/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at [email protected]/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
	at [email protected]/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)
	at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at [email protected]/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
	at [email protected]/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at [email protected]/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at [email protected]/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
	at [email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
	at [email protected]/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at [email protected]/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
	at [email protected]/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)
	at [email protected]/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
	at [email protected]/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at [email protected]/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at [email protected]/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
	at [email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
	at [email protected]/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at [email protected]/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1596)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.lang.NullPointerException: Roster stored in signed state is null (this should never happen)
	at java.base/java.util.Objects.requireNonNull(Objects.java:259)
	at [email protected]/com.swirlds.platform.state.signed.SignedState.getRoster(SignedState.java:276)
	at [email protected]/com.swirlds.platform.state.signed.SignedState.setSigSet(SignedState.java:255)
	at [email protected]/com.swirlds.platform.state.snapshot.SignedStateFileReader.readStateFile(SignedStateFileReader.java:83)
	at [email protected]/com.swirlds.platform.StateFileManagerTests.lambda$sequenceOfStatesTest$1(StateFileManagerTests.java:354)
	at [email protected]/org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:71)
	... 42 more