Skip to content

spurious failures from disk/instance metric test #2994

@davepacheco

Description

@davepacheco

I've seen a couple of apparently-spurious failures of test_instance_metrics and test_disk_metrics. Here's one from CI:

https://github.com/oxidecomputer/omicron/pull/2951/checks?check_run_id=13190550818
(buildomat job id 01GZFQ8S6NGARWQ8Z7HECHBTA2)

5045 | 2023-05-03T03:39:35.710Z | ---- integration_tests::instances::test_instance_metrics stdout ----
-- | -- | --
5046 | 2023-05-03T03:39:35.716Z | log file: /var/tmp/omicron_tmp/test_all-208dd36b5428cdaf-test_instance_metrics.7237.69.log
5047 | 2023-05-03T03:39:35.722Z | note: configured to log to "/var/tmp/omicron_tmp/test_all-208dd36b5428cdaf-test_instance_metrics.7237.69.log"
5048 | 2023-05-03T03:39:35.727Z | thread 'integration_tests::instances::test_instance_metrics' panicked at 'Expected at least one measurement', nexus/tests/integration_tests/metrics.rs:34:5
5049 | 2023-05-03T03:39:35.733Z | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
5050 | 2023-05-03T03:39:35.738Z | WARN: dropped CockroachInstance without cleaning it up first (there may still be a child process running and a temporary directory leaked)
5051 | 2023-05-03T03:39:35.744Z | WARN: temporary directory leaked: /var/tmp/omicron_tmp/.tmpkj2Pnr
5052 | 2023-05-03T03:39:35.750Z | WARN: dropped ClickHouseInstance without cleaning it up first (there may still be a child process running and a temporary directory leaked)
5053 | 2023-05-03T03:39:35.758Z | WARN: dropped DendriteInstance without cleaning it up first (there may still be a child process running and a temporary directory leaked)
5054 | 2023-05-03T03:39:35.769Z | WARN: dendrite temporary directory leaked: /var/tmp/omicron_tmp/.tmpg0eygN
5055 | 2023-05-03T03:39:35.774Z |  
5056 | 2023-05-03T03:39:35.780Z |  
5057 | 2023-05-03T03:39:35.785Z | failures:
5058 | 2023-05-03T03:39:35.790Z | integration_tests::instances::test_instance_metrics

Metadata

Metadata

Assignees

No one assigned

    Labels

    Test FlakeTests that work. Wait, no. Actually yes. Hang on. Something is broken.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions