Smoke tests failure with MR creation and configuring AutoDevops
Smoke tests in staging are reliably failing
https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/678612 .
They coincide with a new deployment from 3 hours ago from master with commit ID af6ca47f
Both errors seem to be stemming from the same cause.
Both tests fabricate a project, then attempt to push to said project. The tests are breaking on the Push.
Create Create a new merge request creates a basic merge request
Failure/Error:
Resource::MergeRequest.fabricate_via_browser_ui! do |merge_request|
merge_request.project = @project
merge_request.title = @merge_request_title
merge_request.description = @merge_request_description
end
QA::Resource::Events::EventNotFoundError:
Timed out waiting for event
# ./qa/resource/events/base.rb:28:in `wait_for_event'
# ./qa/resource/events/project.rb:11:in `wait_for_push'
# ./qa/resource/repository/project_push.rb:37:in `fabricate!'
# ./qa/resource/base.rb:30:in `block (2 levels) in fabricate_via_browser_ui!'
# ./qa/resource/base.rb:122:in `log_fabrication'
# ./qa/resource/base.rb:30:in `block in fabricate_via_browser_ui!'
# ./qa/resource/base.rb:105:in `do_fabricate!'
# ./qa/resource/base.rb:29:in `fabricate_via_browser_ui!'
# ./qa/resource/base.rb:21:in `rescue in fabricate!'
# ./qa/resource/base.rb:18:in `fabricate!'
# ./qa/resource/merge_request.rb:31:in `block in <class:MergeRequest>'
# ./qa/resource/base.rb:95:in `instance_exec'
# ./qa/resource/base.rb:95:in `attribute_value'
# ./qa/resource/base.rb:81:in `populate_attribute'
# ./qa/resource/base.rb:148:in `block (2 levels) in attribute'
# ./qa/resource/base.rb:71:in `public_send'
# ./qa/resource/base.rb:71:in `each'
...
(truncated, see full trace)
Configure Auto DevOps runs an AutoDevOps pipeline
Failure/Error:
Resource::Repository::ProjectPush.fabricate! do |push|
push.project = @project
push.directory = Pathname
.new(__dir__)
.join('../../../../../fixtures/auto_devops_rack')
push.commit_message = 'Create AutoDevOps compatible Project'
end
QA::Resource::Events::EventNotFoundError:
Timed out waiting for event
# ./qa/resource/events/base.rb:28:in `wait_for_event'
# ./qa/resource/events/project.rb:11:in `wait_for_push'
# ./qa/resource/repository/project_push.rb:37:in `fabricate!'
# ./qa/resource/base.rb:30:in `block (2 levels) in fabricate_via_browser_ui!'
# ./qa/resource/base.rb:122:in `log_fabrication'
# ./qa/resource/base.rb:30:in `block in fabricate_via_browser_ui!'
# ./qa/resource/base.rb:105:in `do_fabricate!'
# ./qa/resource/base.rb:29:in `fabricate_via_browser_ui!'
# ./qa/resource/base.rb:21:in `rescue in fabricate!'
# ./qa/resource/base.rb:18:in `fabricate!'
# ./qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb:165:in `block (3 levels) in <module:QA>'
(truncated, see full trace)
Edited by Dan Davison
