oxidecomputer / oxidecomputer/crucible

pantry bulk read test can fail talking to AWS

Open
#834 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
260
Forks
34
Avg merge
2d 1h
Merged PRs (30d)
8

Description

Sometimes (mostly in CI) the pantry_bulk_read test can fail:

thread 'test::test_pantry_bulk_read' panicked at 'called Result::unwrap() on an Err value: Communication Error: error sending request for url (http://127.0.0.1:37059/crucible/pantry/0/volume/fded06a8-1088-4585-a278-f656d8009e18): operation timed out', integration_tests/src/lib.rs:3381:14

This almost never happens when run locally.

Contributor guide

Open the contributing guide

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 integration_tests/src/lib.rs:3381 and the test::test_pantry_bulk_read test. Run the test repeatedly, especially in CI-like conditions, and trace the timeout from the localhost pantry request. Done means the bulk-read test no longer intermittently fails from this communication timeout.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.