Skip to content

3 flaky tests #2095

@gretchenfrage

Description

@gretchenfrage

I ran cargo test on Quinn (05f6e67) 1,003,080 times. This is what I found.

There are 3 flaky tests:

  • tests::single_ack_eliciting_packet_triggers_ack_after_delay fails 0.101% of the time. I collected 1021 occurrences.

    The flakyness of this test was also noted in Flaky test: single_ack_eliciting_packet_triggers_ack_after_delay #2014.

    In one arbitrarily chosen failure, the error was this:

    thread 'tests::single_ack_eliciting_packet_triggers_ack_after_delay' panicked at quinn-proto/src/tests/mod.rs:2490:5:
    assertion `left == right` failed
      left: Instant { tv_sec: 137912, tv_nsec: 296566897 }
     right: Instant { tv_sec: 137912, tv_nsec: 218566897 }
    
  • tests::key_update_reordered fails 0.098% of the time. I collected 983 occurrences.

    The flakyness of this test was also noted in key_update_reordered is flaky #1695.

    In one arbitrarily chosen failure, the error was this:

    thread 'tests::key_update_reordered' panicked at quinn-proto/src/tests/mod.rs:1064:5:
    assertion `left == right` failed
      left: 1
     right: 0
    
  • tests::key_update_simple fails 0.015% of the time. I collected 146.

    This is the rarest of the bunch, and I wasn't able to find evidence that this has been noticed before.

    In one arbitrarily chosen failure, the error was this:

    thread 'tests::key_update_simple' panicked at quinn-proto/src/tests/mod.rs:1021:5:
    assertion failed: `None` does not match `Some(Event::Stream(StreamEvent::Readable { id })) if id == s`
    

I am attaching to this issue grouped.zip, which contains the stdout/stderr of all runs in which the tests failed, grouped by which test failed. These contain terminal color codes, so I recommend you read the files with cat.

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