Flaky Test at spec/models/integrations/beyond_identity_spec.rb
Summary
Incident: gitlab-org/quality/engineering-productivity/master-broken-incidents#6743 (closed)
Failed job: https://gitlab.com/gitlab-org/gitlab/-/jobs/7040736888
Introduced by the Merge Request(possibly): !154115 (merged)
Logs from the failed job
1) Integrations::BeyondIdentity does not allow STI
Failure/Error:
RSpec::Expectations.fail_with(
"Rspec suite is exceeding the #{TIME_LIMIT_IN_MINUTES} minute limit and is forced to exit with error.")
Rspec suite is exceeding the 80 minute limit and is forced to exit with error.
Shared Example Group: "Model disables STI" called from ./spec/support/shared_examples/models/disable_sti_shared_examples.rb:27
Shared Example Group: "STI disabled" called from ./spec/models/integrations/beyond_identity_spec.rb:5
# ./spec/support/rspec_run_time.rb:27:in `example_group_started'
Finished in 83 minutes 4 seconds (files took 1 minute 46.13 seconds to load)
7360 examples, 1 failure, 11 pending
Failed examples:
rspec ./spec/models/integrations/beyond_identity_spec.rb:5 # Integrations::BeyondIdentity does not allow STI
Randomized with seed 43412
bundler: failed to load command: rspec (/builds/gitlab-org/gitlab/vendor/ruby/3.1.0/bin/rspec)
Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected
/builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-support-3.12.0/lib/rspec/support.rb:102:in `block in <module:Support>': Rspec suite is exceeding the 80 minute limit and is forced to exit with error. (RSpec::Expectations::ExpectationNotMetError)
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-support-3.12.0/lib/rspec/support.rb:111:in `notify_failure'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/fail_with.rb:35:in `fail_with'
from /builds/gitlab-org/gitlab/spec/support/rspec_run_time.rb:27:in `example_group_started'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/reporter.rb:209:in `block in notify'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/reporter.rb:208:in `each'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/reporter.rb:208:in `notify'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/reporter.rb:118:in `example_group_started'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:659:in `block in for_filtered_examples'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:658:in `each'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:658:in `for_filtered_examples'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:614:in `rescue in run'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:610:in `run'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `map'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/configuration.rb:2070:in `with_suite_hooks'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:116:in `block in run_specs'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/reporter.rb:74:in `report'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:115:in `run_specs'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:89:in `run'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:71:in `run'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:45:in `invoke'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/exe/rspec:4:in `<top (required)>'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/bin/rspec:25:in `load'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/bin/rspec:25:in `<top (required)>'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/lib/bundler/cli/exec.rb:58:in `load'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/lib/bundler/cli/exec.rb:58:in `kernel_load'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/lib/bundler/cli/exec.rb:23:in `run'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/lib/bundler/cli.rb:492:in `exec'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/lib/bundler/cli.rb:34:in `dispatch'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/lib/bundler/cli.rb:28:in `start'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/exe/bundle:45:in `block in <top (required)>'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/exe/bundle:33:in `<top (required)>'
from /usr/local/bin/bundle:25:in `load'
from /usr/local/bin/bundle:25:in `<main>'
/builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-support-3.12.0/lib/rspec/support.rb:102:in `block in <module:Support>': Rspec suite is exceeding the 80 minute limit and is forced to exit with error. (RSpec::Expectations::ExpectationNotMetError)
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-support-3.12.0/lib/rspec/support.rb:111:in `notify_failure'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/fail_with.rb:35:in `fail_with'
from /builds/gitlab-org/gitlab/spec/support/rspec_run_time.rb:27:in `example_group_started'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/reporter.rb:209:in `block in notify'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/reporter.rb:208:in `each'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/reporter.rb:208:in `notify'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/reporter.rb:118:in `example_group_started'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:601:in `run'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `block in run'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `map'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/example_group.rb:608:in `run'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `map'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/configuration.rb:2070:in `with_suite_hooks'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:116:in `block in run_specs'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/reporter.rb:74:in `report'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:115:in `run_specs'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:89:in `run'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:71:in `run'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/lib/rspec/core/runner.rb:45:in `invoke'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/gems/rspec-core-3.12.2/exe/rspec:4:in `<top (required)>'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/bin/rspec:25:in `load'
from /builds/gitlab-org/gitlab/vendor/ruby/3.1.0/bin/rspec:25:in `<top (required)>'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/lib/bundler/cli/exec.rb:58:in `load'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/lib/bundler/cli/exec.rb:58:in `kernel_load'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/lib/bundler/cli/exec.rb:23:in `run'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/lib/bundler/cli.rb:492:in `exec'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/lib/bundler/cli.rb:34:in `dispatch'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/lib/bundler/cli.rb:28:in `start'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/exe/bundle:45:in `block in <top (required)>'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
from /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.4.11/exe/bundle:33:in `<top (required)>'
from /usr/local/bin/bundle:25:in `load'
from /usr/local/bin/bundle:25:in `<main>'
/cc @.luke
Job #7040736888 failed for 720620ac: