Flaky test ee/spec/lib/gitlab/usage/metrics/instrumentations/count_users_creating_ci_builds_metric_spec.rb[1:2:1:10:1:1:1]' # Gitlab::Usage::Metrics::Instrumentations::CountUsersCreatingCiBuildsMetric with time_frame 28d behaves like a correct secure type
Summary
Job #3187762981 failed for 02e7d86f:
1) Gitlab::Usage::Metrics::Instrumentations::CountUsersCreatingCiBuildsMetric with time_frame 28d behaves like a correct secure type instrumented metric value with secure_type apifuzzer_fuzz_dnd behaves like a correct instrumented metric value and query behaves like a correct instrumented metric value has correct value
Failure/Error: expect(metric.value).to eq(expected_value)
expected: 1
got: 2
(compared using ==)
Shared Example Group: "a correct instrumented metric value" called from ./spec/support/gitlab/usage/metrics_instrumentation_shared_examples.rb:42
Shared Example Group: "a correct instrumented metric value and query" called from ./ee/spec/lib/gitlab/usage/metrics/instrumentations/count_users_creating_ci_builds_metric_spec.rb:90
Shared Example Group: "a correct secure type instrumented metric value" called from ./ee/spec/lib/gitlab/usage/metrics/instrumentations/count_users_creating_ci_builds_metric_spec.rb:105
# ./spec/support/gitlab/usage/metrics_instrumentation_shared_examples.rb:19:in `block (2 levels) in <main>'
# ./spec/support/gitlab/usage/metrics_instrumentation_shared_examples.rb:9:in `block (3 levels) in <main>'
# ./spec/support/gitlab/usage/metrics_instrumentation_shared_examples.rb:9:in `block (2 levels) in <main>'
# ./spec/spec_helper.rb:413:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:405:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:401:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:58:in `with_raw_context'
# ./spec/spec_helper.rb:401:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:241:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <main>'
# ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <main>'
Finished in 13.48 seconds (files took 42.53 seconds to load)
4 examples, 1 failure
Failed examples:
rspec './ee/spec/lib/gitlab/usage/metrics/instrumentations/count_users_creating_ci_builds_metric_spec.rb[1:2:1:10:1:1:1]' # Gitlab::Usage::Metrics::Instrumentations::CountUsersCreatingCiBuildsMetric with time_frame 28d behaves like a correct secure type instrumented metric value with secure_type apifuzzer_fuzz_dnd behaves like a correct instrumented metric value and query behaves like a correct instrumented metric value has correct value
Steps to reproduce
Proposed Resolution
Please refer to the Resolution guidance to learn more about resolution of broken master.