CI flaky test for restore with counter gap #1559

Open
opened 2026-01-22 22:27:57 +00:00 by thesimplekid · 0 comments
thesimplekid commented 2026-01-22 22:27:57 +00:00 (Migrated from github.com)

We are seeing a flaky test fail in ci a rerun usually resolved it and I've never seen it locally but happens often enough in ci.

2026-01-22T21:54:56.840112Z DEBUG tungstenite::protocol: Replying to close with Frame { header: FrameHeader { is_final: true, rsv1: false, rsv2: false, rsv3: false, opcode: Control(Close), mask: None }, payload: b"" }
2026-01-22T21:54:56.840133Z  INFO cdk_axum::ws: ws-close: no frame
2026-01-22T21:54:56.840150Z DEBUG tokio_tungstenite: websocket start_send error: WebSocket protocol error: Sending after closing is not allowed
test test_restore_large_proof_count has been running for over 60 seconds
test test_restore_large_proof_count ... ok

failures:

failures:
    test_restore_with_counter_gap

test result: FAILED. 8 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 61.72s

error: test failed, to rerun pass `-p cdk-integration-tests --test happy_path_mint_wallet`
Second test failed with status 101, exiting
Cleaning up...
Killing the fake mint process

Received Ctrl+C, shutting down...
Fake mint shutdown signal received

https://github.com/cashubtc/cdk/actions/runs/21265341120/job/61203515422?pr=1524

We are seeing a flaky test fail in ci a rerun usually resolved it and I've never seen it locally but happens often enough in ci. ``` 2026-01-22T21:54:56.840112Z DEBUG tungstenite::protocol: Replying to close with Frame { header: FrameHeader { is_final: true, rsv1: false, rsv2: false, rsv3: false, opcode: Control(Close), mask: None }, payload: b"" } 2026-01-22T21:54:56.840133Z INFO cdk_axum::ws: ws-close: no frame 2026-01-22T21:54:56.840150Z DEBUG tokio_tungstenite: websocket start_send error: WebSocket protocol error: Sending after closing is not allowed test test_restore_large_proof_count has been running for over 60 seconds test test_restore_large_proof_count ... ok failures: failures: test_restore_with_counter_gap test result: FAILED. 8 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 61.72s error: test failed, to rerun pass `-p cdk-integration-tests --test happy_path_mint_wallet` Second test failed with status 101, exiting Cleaning up... Killing the fake mint process Received Ctrl+C, shutting down... Fake mint shutdown signal received ``` https://github.com/cashubtc/cdk/actions/runs/21265341120/job/61203515422?pr=1524
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cashubtc/cdk#1559
No description provided.