Skip to content

pkg/util/metric/aggmetric/aggmetric_test: TestAggMetric failed #96909

@cockroach-teamcity

Description

@cockroach-teamcity

pkg/util/metric/aggmetric/aggmetric_test.TestAggMetric failed with artifacts on master @ faeebeece0dabf4f13326dfc48992152ad119360:

         baz_gauge 4
         baz_gauge{tenant_id="2"} 1.5
         baz_gauge{tenant_id="3"} 0
        +fob_counter 912546
        +fob_counter{tenant_id="2"} 123456.5
        +fob_counter{tenant_id="3"} 0
         foo_counter 6
         foo_counter{tenant_id="2"} 0
         foo_counter{tenant_id="3"} 4
         histo_gram_bucket{le="+Inf"} 2
         histo_gram_bucket{le="10"} 1
    --- FAIL: TestAggMetric/add_after_destroy (0.00s)
=== RUN   TestAggMetric/basic
    agg_metric_test.go:111: 
        /home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/9355/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/util/metric/aggmetric/aggmetric_test_/aggmetric_test.runfiles/com_github_cockroachdb_cockroach/pkg/util/metric/aggmetric/testdata/basic_hdr.txt:1:
         
        output didn't match expected:
        @@ -2,10 +2,13 @@
         bar_gauge{tenant_id="2"} 2
         bar_gauge{tenant_id="3"} 2
         baz_gauge 4
         baz_gauge{tenant_id="2"} 1.5
         baz_gauge{tenant_id="3"} 2.5
        +fob_counter 912546
        +fob_counter{tenant_id="2"} 123456.5
        +fob_counter{tenant_id="3"} 789089.5
         foo_counter 6
         foo_counter{tenant_id="2"} 2
         foo_counter{tenant_id="3"} 4
         histo_gram_bucket{le="+Inf"} 2
         histo_gram_bucket{le="10"} 1
    --- FAIL: TestAggMetric/basic (0.00s)
=== RUN   TestAggMetric/destroy
    agg_metric_test.go:124: 
        /home/roach/.cache/bazel/_bazel_roach/c5a4e7d36696d9cd970af2045211a7df/sandbox/processwrapper-sandbox/9355/execroot/com_github_cockroachdb_cockroach/bazel-out/aarch64-fastbuild/bin/pkg/util/metric/aggmetric/aggmetric_test_/aggmetric_test.runfiles/com_github_cockroachdb_cockroach/pkg/util/metric/aggmetric/testdata/destroy_hdr.txt:1:
         
        output didn't match expected:
        @@ -1,9 +1,11 @@
         bar_gauge 4
         bar_gauge{tenant_id="2"} 2
         baz_gauge 4
         baz_gauge{tenant_id="2"} 1.5
        +fob_counter 912546
        +fob_counter{tenant_id="2"} 123456.5
         foo_counter 6
         foo_counter{tenant_id="3"} 4
         histo_gram_bucket{le="+Inf"} 2
         histo_gram_bucket{le="10"} 1
         histo_gram_bucket{le="91"} 2
    --- FAIL: TestAggMetric/destroy (0.00s)
Help

See also: How To Investigate a Go Test Failure (internal)

/cc @cockroachdb/obs-inf-prs

This test on roachdash | Improve this report!

Jira issue: CRDB-24397

Metadata

Metadata

Assignees

Labels

A-observability-infC-test-failureBroken test (automatically or manually discovered).O-robotOriginated from a bot.branch-masterFailures and bugs on the master branch.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions