oxidecomputer / oxidecomputer/dendrite

Test flake in `chaos_tests::port_settings::test_port_settings_txn_sweep`

Open
#108 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
20
Forks
3
Avg merge
3d 11h
Merged PRs (30d)
4

Description

Seen on #106, here. The full error is below, but the buildomat output has much more detail:

3911	2025-08-29T00:39:18.570Z	Error: operation failed: desired settings: PortSettings {
3912	2025-08-29T00:39:18.570Z	    links: {},
3913	2025-08-29T00:39:18.570Z	}
3914	2025-08-29T00:39:18.570Z	current settings: PortSettings {
3915	2025-08-29T00:39:18.570Z	    links: {
3916	2025-08-29T00:39:18.570Z	        "0": LinkSettings {
3917	2025-08-29T00:39:18.570Z	            addrs: [],
3918	2025-08-29T00:39:18.570Z	            params: LinkCreate {
3919	2025-08-29T00:39:18.570Z	                autoneg: true,
3920	2025-08-29T00:39:18.570Z	                fec: Some(
3921	2025-08-29T00:39:18.570Z	                    None,
3922	2025-08-29T00:39:18.570Z	                ),
3923	2025-08-29T00:39:18.570Z	                kr: false,
3924	2025-08-29T00:39:18.571Z	                lane: Some(
3925	2025-08-29T00:39:18.571Z	                    LinkId(
3926	2025-08-29T00:39:18.571Z	                        0,
3927	2025-08-29T00:39:18.571Z	                    ),
3928	2025-08-29T00:39:18.571Z	                ),
3929	2025-08-29T00:39:18.571Z	                speed: Speed100G,
3930	2025-08-29T00:39:18.571Z	                tx_eq: None,
3931	2025-08-29T00:39:18.571Z	            },
3932	2025-08-29T00:39:18.571Z	        },
3933	2025-08-29T00:39:18.571Z	    },
3934	2025-08-29T00:39:18.571Z	}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with chaos_tests::port_settings::test_port_settings_txn_sweep and reproduce the failure using the linked Buildomat output for additional detail. Investigate why the current PortSettings still contains link 0 when the desired settings are empty; done means the test no longer flakes and the transaction reaches the expected settings consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.