rspec fail-fast
Passed Started
by
@michold

Michał Wielich
217:23:48 on green-4.private.runners-manager.gitlab.com/gitlab.com/gitlab-org rpvz2FF9, system ID: s_d704414ba02a617:23:48Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.3.7-golang-1.23-rust-1.73-node-20.12-postgresql-14:rubygems-3.6-git-2.45-lfs-2.9-chrome-123-yarn-1.22-graphicsmagick-1.3.36 ...717:23:50Starting service registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-14-pgvector-0.4.1...917:23:50Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-14-pgvector-0.4.1 ...1017:23:51Using docker image sha256:82f132c22567f8ce17cc132c14b2f9aa3eaf9bb5424d91c2d966912433f0257d for registry.gitlab.com/gitlab-org/gitlab-build-images:postgres-14-pgvector-0.4.1 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:c55e1364ee4327b244a9cfa1750f19feea14fc774eaf792b725967d146eb45f5 ...1117:23:51WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.0 is already created. Ignoring.1217:23:51WARNING: Service registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.0 is already created. Ignoring.1517:23:51Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.0 ...1617:23:51Using docker image sha256:f9eec8a3cadee4fcc9706eb472f243abd0229ef6ee5bcabc905cdc95323054d9 for registry.gitlab.com/gitlab-org/gitlab-build-images:redis-cluster-6.0 with digest registry.gitlab.com/gitlab-org/gitlab-build-images@sha256:670a6e27ed3606e57d4946906eba86847a99aa5e42f9a3717af982467cdb236d ...1917:23:52Using docker image sha256:19150f5e615e35503bf28b1e8f215ed641da1460a168f39038c754d07315d4c6 for redis:6.0-alpine with digest redis@sha256:2b35fc7d2908e25aa6aa197f97882c8a67829d3b106ad5ea5c8028f816f26aa8 ...2217:23:56Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.3.7-golang-1.23-rust-1.73-node-20.12-postgresql-14:rubygems-3.6-git-2.45-lfs-2.9-chrome-123-yarn-1.22-graphicsmagick-1.3.36 ...2317:23:57Using docker image sha256:a45f075f58a88b1d9b2648f62bc1d3fe67b7141448c81ee7ecb8fe8582298f50 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.3.7-golang-1.23-rust-1.73-node-20.12-postgresql-14:rubygems-3.6-git-2.45-lfs-2.9-chrome-123-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.3.7-golang-1.23-rust-1.73-node-20.12-postgresql-14@sha256:f00994f76a386288e3b7cfcc4efd1c46c98d1b3f2a0eda55dd31aac29933f3a8 ...2517:23:57Running on runner-rpvz2ff9-project-278964-concurrent-0 via runner-rpvz2ff9-private-1740406346-e5493e49...3617:24:21Downloading artifacts from coordinator... ok host=storage.googleapis.com id=9229131147 responseStatus=200 OK token=glcbt-663817:24:33Downloading artifacts from coordinator... ok host=storage.googleapis.com id=9229131452 responseStatus=200 OK token=glcbt-664017:24:37Downloading artifacts from coordinator... ok host=storage.googleapis.com id=9229131450 responseStatus=200 OK token=glcbt-664217:24:37Downloading artifacts from coordinator... ok host=storage.googleapis.com id=9229131497 responseStatus=200 OK token=glcbt-664417:24:38Downloading artifacts from coordinator... ok host=storage.googleapis.com id=9229131509 responseStatus=200 OK token=glcbt-664617:24:44Downloading artifacts from coordinator... ok host=storage.googleapis.com id=9229131457 responseStatus=200 OK token=glcbt-664817:24:56Using docker image sha256:a45f075f58a88b1d9b2648f62bc1d3fe67b7141448c81ee7ecb8fe8582298f50 for registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.3.7-golang-1.23-rust-1.73-node-20.12-postgresql-14:rubygems-3.6-git-2.45-lfs-2.9-chrome-123-yarn-1.22-graphicsmagick-1.3.36 with digest registry.gitlab.com/gitlab-org/gitlab-build-images/debian-bookworm-ruby-3.3.7-golang-1.23-rust-1.73-node-20.12-postgresql-14@sha256:f00994f76a386288e3b7cfcc4efd1c46c98d1b3f2a0eda55dd31aac29933f3a8 ...5017:24:56$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb15617:25:41$ section_start "gitaly-test-spawn" "Spawning Gitaly"; scripts/gitaly-test-spawn; section_end "gitaly-test-spawn"16517:25:50$ rspec_section rspec_fail_fast "${MATCHING_TESTS_PATH}" "--fail-fast=${RSPEC_FAIL_FAST_THRESHOLD} --tag ~quarantine --tag ~zoekt --tag ~click_house --tag ~real_ai_request"16717:25:41Running RSpec command: bin/rspec -Ispec -rspec_helper --color --failure-exit-code 1 --error-exit-code 2 --format documentation --format Support::Formatters::JsonFormatter --out rspec/rspec-9229132014.json --format RspecJunitFormatter --out rspec/rspec-9229132014.xml --fail-fast=20 --tag ~quarantine --tag ~zoekt --tag ~click_house --tag ~real_ai_request spec/scripts/internal_events/cli_spec.rb spec/support_specs/matchers/internal_events_matchers_spec.rb16817:27:08Run options: exclude {:quarantine=>true, :zoekt=>true, :click_house=>true, :real_ai_request=>true}17117:25:50unknown OID 2249: failed to recognize type of 'pg_stat_file'. It will be treated as String.17217:27:08unknown OID 2249: failed to recognize type of 'pg_stat_file'. It will be treated as String.17317:27:08unknown OID 2249: failed to recognize type of 'pg_stat_file'. It will be treated as String.17517:27:18# [RSpecRunTime] Starting example group spec/scripts/internal_events/cli_spec.rb. Expected to take 3.67 seconds.18517:27:20# [RSpecRunTime] RSpec elapsed time: 12.2 seconds. Current RSS: ~1324M. Threads: 2. load average: 1.24 1.06 1.09 1/278 50619417:27:21# [RSpecRunTime] Finishing example group spec/scripts/internal_events/cli_spec.rb. It took 3.63 seconds. Expected to take 3.67 seconds.19517:27:21# [RSpecRunTime] RSpec elapsed time: 13.74 seconds. Current RSS: ~1346M. Threads: 2. load average: 1.22 1.05 1.09 1/278 50819717:27:21# [RSpecRunTime] Starting example group spec/support_specs/matchers/internal_events_matchers_spec.rb. Expected to take 4.49 seconds.20517:27:25# [RSpecRunTime] RSpec elapsed time: 16.84 seconds. Current RSS: ~1373M. Threads: 4. load average: 1.22 1.05 1.09 1/288 51922017:27:25 logs to Snowplow, Redis, and product analytics tooling (PENDING: This example should always fail. Protects against false positives.)22217:27:25 logs to Snowplow, Redis, and product analytics tooling (PENDING: This example should always fail. Protects against false positives.)22417:27:25 logs to Snowplow, Redis, and product analytics tooling (PENDING: This example should always fail. Protects against false positives.)23017:27:27 is expected to raise ArgumentError with "increment_usage_metrics matcher requires key_paths argument"23117:27:27# [RSpecRunTime] RSpec elapsed time: 19.49 seconds. Current RSS: ~1379M. Threads: 4. load average: 1.20 1.05 1.09 1/289 52123417:27:27 is expected to raise ArgumentError with "Cannot find metric definition for 'redis_hll_counters.bad_metric_name'!"23617:27:27 is expected to raise ArgumentError with "Cannot find metric definition for 'g_edit_by_sfe' -- did you mean 'redis_hll_counters.ide_edit.g_edit_by_sfe_monthly'?"29617:27:29 is expected to raise ArgumentError with "Unknown event 'bad_event_name'! trigger_internal_events matcher accepts only existing events"30317:27:29 is expected to raise RSpec::Expectations::ExpectationNotMetError with message matching /received :event with unexpected arguments/30617:27:29 is expected to raise RSpec::Expectations::ExpectationNotMetError with message matching /received :event with unexpected arguments/30917:27:29 is expected to raise RSpec::Expectations::ExpectationNotMetError with message matching /received :event with unexpected arguments/31017:27:29# [RSpecRunTime] Finishing example group spec/support_specs/matchers/internal_events_matchers_spec.rb. It took 7.97 seconds. Expected to take 4.49 seconds.31117:27:30auto_explain log contains 893 entries for main, writing to /builds/gitlab-org/gitlab/auto_explain/rspec-fail-fast.343.main.ndjson.gz31317:27:31auto_explain log contains 894 entries for ci, writing to /builds/gitlab-org/gitlab/auto_explain/rspec-fail-fast.343.ci.ndjson.gz31517:27:31auto_explain log contains 894 entries for sec, writing to /builds/gitlab-org/gitlab/auto_explain/rspec-fail-fast.343.sec.ndjson.gz32117:27:31Internal Events matchers (./spec/support_specs/matchers/internal_events_matchers_spec.rb:5) – 00:02.105 (924 / 57) of 00:07.969 (26.43%)32217:27:31Cli (./spec/scripts/internal_events/cli_spec.rb:8) – 00:00.089 (42 / 5) of 00:03.670 (2.43%)32417:27:31 1) Internal Events matchers when using the 'internal event tracking' shared example with additional properties with incorrect value being provided in additional_properties. behaves like internal event tracking logs to Snowplow, Redis, and product analytics tooling32717:27:31 Shared Example Group: "internal event tracking" called from ./spec/support_specs/matchers/internal_events_matchers_spec.rb:52733317:27:31 #<InstanceDouble(Gitlab::Tracking::Destinations::Snowplow) (anonymous)> received :event with unexpected arguments33417:27:31 expected: ("InternalEventTracking", "push_package_to_registry", include {:context => (contain exactly (have attributes {:class => SnowplowTracker::SelfDescribingJson...", :data => (include {:event_name => "push_package_to_registry"})})})), :label => "BAD label value"})33517:27:31 got: ("InternalEventTracking", "push_package_to_registry", {:context=>[#<SnowplowTracker::SelfDescribingJson:0x00007e0b863daf08 @schema="iglu:com.gitlab/gitlab_...:data_source=>:redis_hll, :event_name=>"push_package_to_registry"}>], :label=>"Awesome label value"})34017:27:31 - "include {:context => (contain exactly (have attributes {:class => SnowplowTracker::SelfDescribingJson, :to_json => (include {:schema => \"ig..., :project_id => 1, :namespace_id => 1, :feature_enabled_by_namespace_ids => nil, :extra => {}})})}) and (have attributes {:class => SnowplowTracker::SelfDescribingJson, :to_json => (include {:schema => \"ig...b_service_ping/jsonschema/1-0-1\", :data => (include {:event_name => \"push_package_to_registry\"})})})), :label => \"BAD label value\"}"]34217:27:31 + [#<SnowplowTracker::SelfDescribingJson:0x00007e0b863daf08 @schema="iglu:com.gitlab/gitlab_standard/jsonschema/1-1-1", @data={:environment=>"development", :source=>"gitlab-rails", :correlation_id=>"307e011e3255db8a42c01ad03d4be886", :plan=>"default", :extra=>{}, :user_id=>1, :global_user_id=>"QWe9ebiJPrQUPqG/tkOT+K7s5hny4VoaidCKveIcP+w=", :is_gitlab_team_member=>nil, :namespace_id=>1, :project_id=>1, :feature_enabled_by_namespace_ids=>nil, :realm=>"self-managed", :instance_id=>"uuid-not-set", :host_name=>"runner-rpvz2ff9-project-278964-concurrent-0", :instance_version=>"17.10.0", :context_generated_at=>Mon, 24 Feb 2025 17:27:25.578708314 UTC +00:00}>,34317:27:31 + #<SnowplowTracker::SelfDescribingJson:0x00007e0b863d93b0 @schema="iglu:com.gitlab/gitlab_service_ping/jsonschema/1-0-1", @data={:data_source=>:redis_hll, :event_name=>"push_package_to_registry"}>],34517:27:31 # ./spec/support/shared_examples/controllers/internal_event_tracking_examples.rb:59:in `block (2 levels) in <top (required)>'36217:27:31 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'36417:27:31 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'36517:27:31 2) Internal Events matchers when using the 'internal event tracking' shared example with additional properties with incorrect value being provided in additional_properties. behaves like internal event tracking logs to Snowplow, Redis, and product analytics tooling36817:27:31 Shared Example Group: "internal event tracking" called from ./spec/support_specs/matchers/internal_events_matchers_spec.rb:53137417:27:31 #<InstanceDouble(Gitlab::Tracking::Destinations::Snowplow) (anonymous)> received :event with unexpected arguments37517:27:31 expected: ("InternalEventTracking", "push_package_to_registry", include {:context => (contain exactly (have attributes {:class => SnowplowTracker::SelfDescribingJson...", :data => (include {:event_name => "push_package_to_registry"})})})), :label => "BAD label value"})37617:27:31 got: ("InternalEventTracking", "push_package_to_registry", {:context=>[#<SnowplowTracker::SelfDescribingJson:0x00007e0b8600c750 @schema="iglu:com.gitlab/gitlab_...:data_source=>:redis_hll, :event_name=>"push_package_to_registry"}>], :label=>"Awesome label value"})38117:27:31 - "include {:context => (contain exactly (have attributes {:class => SnowplowTracker::SelfDescribingJson, :to_json => (include {:schema => \"ig..., :project_id => 1, :namespace_id => 1, :feature_enabled_by_namespace_ids => nil, :extra => {}})})}) and (have attributes {:class => SnowplowTracker::SelfDescribingJson, :to_json => (include {:schema => \"ig...b_service_ping/jsonschema/1-0-1\", :data => (include {:event_name => \"push_package_to_registry\"})})})), :label => \"BAD label value\"}"]38317:27:31 + [#<SnowplowTracker::SelfDescribingJson:0x00007e0b8600c750 @schema="iglu:com.gitlab/gitlab_standard/jsonschema/1-1-1", @data={:environment=>"development", :source=>"gitlab-rails", :correlation_id=>"044d81cc1161f316f299956c197e6e7e", :plan=>"default", :extra=>{}, :user_id=>1, :global_user_id=>"QWe9ebiJPrQUPqG/tkOT+K7s5hny4VoaidCKveIcP+w=", :is_gitlab_team_member=>nil, :namespace_id=>1, :project_id=>1, :feature_enabled_by_namespace_ids=>nil, :realm=>"self-managed", :instance_id=>"uuid-not-set", :host_name=>"runner-rpvz2ff9-project-278964-concurrent-0", :instance_version=>"17.10.0", :context_generated_at=>Mon, 24 Feb 2025 17:27:25.677562918 UTC +00:00}>,38417:27:31 + #<SnowplowTracker::SelfDescribingJson:0x00007e0b8600b670 @schema="iglu:com.gitlab/gitlab_service_ping/jsonschema/1-0-1", @data={:data_source=>:redis_hll, :event_name=>"push_package_to_registry"}>],38617:27:31 # ./spec/support/shared_examples/controllers/internal_event_tracking_examples.rb:59:in `block (2 levels) in <top (required)>'40317:27:31 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'40517:27:31 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'40617:27:31 3) Internal Events matchers when using the 'internal event tracking' shared example with additional properties with incorrect value being provided in additional_properties. behaves like internal event tracking logs to Snowplow, Redis, and product analytics tooling40917:27:31 Shared Example Group: "internal event tracking" called from ./spec/support_specs/matchers/internal_events_matchers_spec.rb:53541517:27:31 #<InstanceDouble(Gitlab::Tracking::Destinations::Snowplow) (anonymous)> received :event with unexpected arguments41617:27:31 expected: ("InternalEventTracking", "push_package_to_registry", include {:context => (contain exactly (have attributes {:class => SnowplowTracker::SelfDescribingJson...", :data => (include {:event_name => "push_package_to_registry"})})})), :label => "BAD label value"})41717:27:31 got: ("InternalEventTracking", "push_package_to_registry", {:context=>[#<SnowplowTracker::SelfDescribingJson:0x00007e0b85cd8ae8 @schema="iglu:com.gitlab/gitlab_...:data_source=>:redis_hll, :event_name=>"push_package_to_registry"}>], :label=>"Awesome label value"})42217:27:31 - "include {:context => (contain exactly (have attributes {:class => SnowplowTracker::SelfDescribingJson, :to_json => (include {:schema => \"ig..., :project_id => 1, :namespace_id => 1, :feature_enabled_by_namespace_ids => nil, :extra => {}})})}) and (have attributes {:class => SnowplowTracker::SelfDescribingJson, :to_json => (include {:schema => \"ig...b_service_ping/jsonschema/1-0-1\", :data => (include {:event_name => \"push_package_to_registry\"})})})), :label => \"BAD label value\"}"]42417:27:31 + [#<SnowplowTracker::SelfDescribingJson:0x00007e0b85cd8ae8 @schema="iglu:com.gitlab/gitlab_standard/jsonschema/1-1-1", @data={:environment=>"development", :source=>"gitlab-rails", :correlation_id=>"a92795bed9a4acf20948deb372e575fd", :plan=>"default", :extra=>{}, :user_id=>1, :global_user_id=>"QWe9ebiJPrQUPqG/tkOT+K7s5hny4VoaidCKveIcP+w=", :is_gitlab_team_member=>nil, :namespace_id=>1, :project_id=>1, :feature_enabled_by_namespace_ids=>nil, :realm=>"self-managed", :instance_id=>"uuid-not-set", :host_name=>"runner-rpvz2ff9-project-278964-concurrent-0", :instance_version=>"17.10.0", :context_generated_at=>Mon, 24 Feb 2025 17:27:25.785664571 UTC +00:00}>,42517:27:31 + #<SnowplowTracker::SelfDescribingJson:0x00007e0b85cd7eb8 @schema="iglu:com.gitlab/gitlab_service_ping/jsonschema/1-0-1", @data={:data_source=>:redis_hll, :event_name=>"push_package_to_registry"}>],42717:27:31 # ./spec/support/shared_examples/controllers/internal_event_tracking_examples.rb:59:in `block (2 levels) in <top (required)>'44417:27:31 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'44617:27:31 # ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'51817:27:50$ section_start "failed-test-issues" "Report test failures" # collapsed multi-line command52117:27:50$ section_start "flaky-test-issues" "Report test flakiness" # collapsed multi-line command52717:27:50$ section_start "slow-test-merge-request-report-note" "Report test slowness in MR note" # collapsed multi-line command53117:27:52$ section_start "knapsack-report-issues" "Report test files close to timing out" # collapsed multi-line command53617:27:55Not uploading cache ruby-gems-debian-bookworm-ruby-3.3.7-gemfile-Gemfile-21 due to policy54217:27:57WARNING: deprecations/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 54517:27:57WARNING: tmp/capybara/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/gitlab-org/gitlab) 54717:27:57WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/9229132014/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com54917:28:00Uploading artifacts as "archive" to coordinator... 201 Created id=9229132014 responseStatus=201 Created token=glcbt-6655217:28:00WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/9229132014/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com55417:28:01Uploading artifacts as "junit" to coordinator... 201 Created id=9229132014 responseStatus=201 Created token=glcbt-66