Skip to content

Test flake in integration_tests::mcast::test_multicast_vlan_translation_not_possible #107

Closed

Description

@bnaecker

Seen on #106. Here is a link to the test run, and I've copied the details below:

2660    2025-08-29T00:12:12.188Z    ---- integration_tests::mcast::test_multicast_vlan_translation_not_possible stdout ----
2661    2025-08-29T00:12:12.188Z    unexpected packets:
2662    2025-08-29T00:12:12.188Z    port: 15: (EthHdr { eth_dmac: 33:33:00:00:00:01, eth_smac: a8:40:25:00:00:0a, eth_8021q: None, eth_type: 34525, eth_size: 0 })(Ipv6Hdr { ipv6_version: 6, ipv6_traffic_class: 0, ipv6_flow_label: 0, ipv6_payload_len: 62, ipv6_next_hdr: 17, ipv6_hop_lim: 254, ipv6_src_ip: ::, ipv6_dst_ip: ff05::1 })(UdpHdr { udp_sport: 6081, udp_dport: 6081, udp_len: 62, udp_sum: 16701 })(GeneveHdr { version: 0, opt_len: 1, control: false, critical: false, protocol: 25944, vni: 100, options: [1, 41, 0, 0] }) body: 56 bytes
2663    2025-08-29T00:12:12.189Z    0000: 3333 0000 0001 a840 2500 000a 86dd 6000 33....¨@%...<86>Ý`.
2664    2025-08-29T00:12:12.189Z    0010: 0000 003e 11fe 0000 0000 0000 0000 0000 ...>.þ..........
2665    2025-08-29T00:12:12.189Z    0020: 0000 0000 0000 ff05 0000 0000 0000 0000 ......ÿ.........
2666    2025-08-29T00:12:12.189Z    0030: 0000 0000 0001 17c1 17c1 003e 413d 0100 .......Á.Á.>A=..
2667    2025-08-29T00:12:12.189Z    0040: 6558 0000 6400 0129 0000 0100 5e00 0001 eX..d..)....^...
2668    2025-08-29T00:12:12.189Z    0050: 0000 0000 0000 0800 4500 001c 0000 4000 ........E.....@.
2669    2025-08-29T00:12:12.189Z    0060: ff11 d913 c0a8 0114 e000 0100 115c 15b3 ÿ.Ù.À¨..à....\.³
2670    2025-08-29T00:12:12.189Z    0070: 0008 3612 0000 0000 0000 0000 0000 0000 ..6.............
2671    2025-08-29T00:12:12.189Z    0080: 0000                                    ..
2672    2025-08-29T00:12:12.189Z    Error: Captured unexpected number of packets: 2 expected: 1, unexpected packets: 12673    2025-08-29T00:12:12.189Z
2674    2025-08-29T00:12:12.189Z    Stack backtrace:
2675    2025-08-29T00:12:12.189Z       0: anyhow::kind::Adhoc::new
2676    2025-08-29T00:12:12.189Z                 at /home/build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.99/src/backtrace.rs:27:14
2677    2025-08-29T00:12:12.189Z       1: test_all::integration_tests::common::Switch::packet_test
2678    2025-08-29T00:12:12.189Z                 at ./tests/integration_tests/common.rs:789:22
2679    2025-08-29T00:12:12.189Z       2: test_all::integration_tests::mcast::test_multicast_vlan_translation_not_possible::{{closure}}
2680    2025-08-29T00:12:12.189Z                 at ./tests/integration_tests/mcast.rs:3846:18
2681    2025-08-29T00:12:12.189Z       3: <core::pin::Pin<P> as core::future::future::Future>::poll
2682    2025-08-29T00:12:12.189Z                 at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/future/future.rs:124:9
2683    2025-08-29T00:12:12.189Z       4: <core::pin::Pin<P> as core::future::future::Future>::poll
2684    2025-08-29T00:12:12.189Z                 at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/future/future.rs:124:9
2685    2025-08-29T00:12:12.189Z       5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
2686    2025-08-29T00:12:12.189Z                 at /home/build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:742:54
2687    2025-08-29T00:12:12.189Z       6: tokio::task::coop::with_budget
2688    2025-08-29T00:12:12.189Z                 at /home/build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/coop/mod.rs:167:5
2689    2025-08-29T00:12:12.189Z       7: tokio::task::coop::budget
2690    2025-08-29T00:12:12.189Z                 at /home/build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/coop/mod.rs:133:5
2691    2025-08-29T00:12:12.189Z       8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
2692    2025-08-29T00:12:12.189Z                 at /home/build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:742:25
2693    2025-08-29T00:12:12.189Z       9: tokio::runtime::scheduler::current_thread::Context::enter
2694    2025-08-29T00:12:12.189Z                 at /home/build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:432:19
2695    2025-08-29T00:12:12.189Z      10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
2696    2025-08-29T00:12:12.189Z                 at /home/build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:741:36
2697    2025-08-29T00:12:12.189Z      11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
2698    2025-08-29T00:12:12.190Z                 at /home/build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:829:68
2699    2025-08-29T00:12:12.190Z      12: tokio::runtime::context::scoped::Scoped<T>::set
2700    2025-08-29T00:12:12.190Z                 at /home/build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context/scoped.rs:40:9
2701    2025-08-29T00:12:12.190Z      13: tokio::runtime::context::set_scheduler::{{closure}}
2702    2025-08-29T00:12:12.190Z                 at /home/build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context.rs:176:26
2703    2025-08-29T00:12:12.190Z      14: std::thread::local::LocalKey<T>::try_with
2704    2025-08-29T00:12:12.190Z                 at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/thread/local.rs:308:12
2705    2025-08-29T00:12:12.190Z      15: std::thread::local::LocalKey<T>::with
2706    2025-08-29T00:12:12.190Z                 at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/thread/local.rs:272:9
2707    2025-08-29T00:12:12.190Z      16: tokio::runtime::context::set_scheduler
2708    2025-08-29T00:12:12.190Z                 at /home/build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context.rs:176:9
2709    2025-08-29T00:12:12.190Z      17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
2710    2025-08-29T00:12:12.190Z                 at /home/build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:829:27
2711    2025-08-29T00:12:12.190Z      18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
2712    2025-08-29T00:12:12.190Z                 at /home/build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:729:19

Activity

  1. Nieuwejaar commented on Jan 13, 2026

    @Nieuwejaar
    Collaborator

    I don't think this is a flake. I think it's an actual test failure, which we only catch once in a blue moon because of the timing issue in #172.

  2. Nieuwejaar commented on Feb 19, 2026

    @Nieuwejaar
    Collaborator

    @zeeshanlakhani - can we mark this as fixed now?

  3. zeeshanlakhani commented on Feb 19, 2026

    @zeeshanlakhani
    Contributor

    @zeeshanlakhani - can we mark this as fixed now?

    If we get the related PR reviewed and merged. I'm re-targeting it to main after the conflict changes now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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