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

Scenario test failures with Java 8 and 11 #660

Closed
bestbeforetoday opened this issue Nov 24, 2023 · 0 comments · Fixed by #661
Closed

Scenario test failures with Java 8 and 11 #660

bestbeforetoday opened this issue Nov 24, 2023 · 0 comments · Fixed by #661
Assignees

Comments

@bestbeforetoday
Copy link
Member

From early November 2023, scenario tests run with Java 8 and Java 11 have begun to fail with the following errors:

Error:  Chaincode event listening.Chaincode event listening - Close does not interrupt other chaincode event listeners -- Time elapsed: 30.54 s <<< ERROR!
java.lang.NullPointerException: timeout waiting for event
	at java.util.Objects.requireNonNull(Objects.java:228)
	at scenario.BasicEventListener.next(BasicEventListener.java:37)
	at scenario.GatewayContext.nextChaincodeEvent(GatewayContext.java:108)
	at scenario.ScenarioSteps.assertReceiveChaincodeEventOnListener(ScenarioSteps.java:590)
	at ✽.I should receive a chaincode event named "close" with payload "before" on "listener2"(file:///home/runner/work/fabric-gateway/fabric-gateway/java/../scenario/features/chaincodeevents.feature:50)

Error:  Chaincode event listening.Chaincode event listening - Checkpoint of chaincode events -- Time elapsed: 30.54 s <<< ERROR!
java.lang.NullPointerException: timeout waiting for event
	at java.util.Objects.requireNonNull(Objects.java:228)
	at scenario.BasicEventListener.next(BasicEventListener.java:37)
	at scenario.CheckpointEventListener.next(CheckpointEventListener.java:23)
	at scenario.GatewayContext.nextChaincodeEvent(GatewayContext.java:108)
	at scenario.ScenarioSteps.assertReceiveChaincodeEventOnListener(ScenarioSteps.java:590)
	at scenario.ScenarioSteps.assertReceiveChaincodeEvent(ScenarioSteps.java:585)
	at ✽.I should receive a chaincode event named "checkpoint" with payload "one"(file:///home/runner/work/fabric-gateway/fabric-gateway/java/../scenario/features/chaincodeevents.feature:63)

Frequency of errors has increased over time and as of late November 2023 these scenario tests (only with Java 8 and Java 11) are consistently failing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant