Skip to content

test flakiness uncovered by nix-coverage job #366

Closed

Description

@deadmanoz

I got the following failure in the nix-coverage job (not related to the websocket changes, all tests pass):

https://github.com/peer-observer/peer-observer/actions/runs/22336981723/job/64632027203

thread 'test_integration_logextractor_mutated_block_bad_witness_nonce_size' (13212) panicked at extractors/log/tests/integration.rs:172:13:
timed out waiting for check() to complete

The log lines arrive with threadname: "error" and category: Unknown:

2026-02-24T04:54:50.618Z TRACE [log_extractor] Read log line: 2026-02-24T04:54:50Z [error] AcceptBlock: bad-witness-nonce-size, CheckWitnessMalleation : invalid witness reserved value size
2026-02-24T04:54:50.618Z TRACE [shared::protobuf::event] creating new Event: LogExtractor(Log { log_timestamp: 1771908890000000, category: Unknown, threadname: "error", log_event: Some(UnknownLogMessage(UnknownLogMessage { raw_message: "AcceptBlock: bad-witness-nonce-size, CheckWitnessMalleation : invalid witness reserved value size" })) })
2026-02-24T04:54:50.624Z TRACE [log_extractor] Read log line: 2026-02-24T04:54:50Z [error] ProcessNewBlock: AcceptBlock FAILED (bad-witness-nonce-size, CheckWitnessMalleation : invalid witness reserved value size)

The check() never matches these events, so the test times out. Same class of event-ordering issue as #338 I think?

Activity

  1. added 6 commits that reference this issue on Feb 24, 2026
    7b78b59
    0c7e308
    a2955a0
    31843ab
    5c0c2d6
    0e319c2
  2. added a commit that references this issue on Mar 10, 2026
    ece5d0a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions