Failure in browser_ui/3_create/repository/push_rules_spec.rb | Create Push Rules using non signed commits restricts removal of tag
Full description
Create Push Rules using non signed commits restricts removal of tag
File path
./qa/specs/features/ee/browser_ui/3_create/repository/push_rules_spec.rb
Stack trace
Failure/Error:
expect do
push commit_message: commit_message, branch: branch, file: file, user: user, tag: tag, gpg: gpg
end.to raise_error(QA::Support::Run::CommandError, /#{error}/)
expected QA::Support::Run::CommandError with message matching /You cannot delete a tag/, got #<QA::Resource::Events::EventNotFoundError: Timed out waiting for event> with backtrace:
# ./qa/resource/events/base.rb:44:in `wait_for_event'
# ./qa/resource/events/project.rb:25:in `wait_for_push'
# ./qa/resource/repository/project_push.rb:42:in `fabricate!'
# ./qa/resource/base.rb:37:in `block (2 levels) in fabricate_via_browser_ui!'
# ./qa/resource/base.rb:84:in `log_and_record_fabrication'
# ./qa/resource/base.rb:37:in `block in fabricate_via_browser_ui!'
# ./qa/resource/base.rb:74:in `do_fabricate!'
# ./qa/resource/base.rb:36:in `fabricate_via_browser_ui!'
# ./qa/resource/base.rb:28:in `rescue in fabricate!'
# ./qa/resource/base.rb:25:in `fabricate!'
# ./qa/specs/features/ee/browser_ui/3_create/repository/push_rules_spec.rb:173:in `push'
# ./qa/specs/features/ee/browser_ui/3_create/repository/push_rules_spec.rb:193:in `block in expect_error_on_push'
# ./qa/specs/features/ee/browser_ui/3_create/repository/push_rules_spec.rb:192:in `expect_error_on_push'
# ./qa/specs/features/ee/browser_ui/3_create/repository/push_rules_spec.rb:96:in `block (4 levels) in <module:QA>'
# ./qa/specs/spec_helper.rb:149:in `block (2 levels) in <top (required)>'
# ./qa/specs/knapsack_runner.rb:15:in `run'
# ./qa/specs/runner.rb:55:in `perform'
# ./qa/scenario/template.rb:10:in `block in perform'
# ./qa/scenario/template.rb:8:in `tap'
# ./qa/scenario/template.rb:8:in `perform'
# ./qa/scenario/template.rb:50:in `perform'
# ./qa/scenario/template.rb:10:in `block in perform'
# ./qa/scenario/template.rb:8:in `tap'
# ./qa/scenario/template.rb:8:in `perform'
# ./qa/scenario/bootable.rb:51:in `launch!'
First happened in https://gitlab.com/gitlab-org/quality/nightly/-/jobs/3114979540.
Related test case: https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347782.