merge_merge_request_from_fork_spec / open_fork_in_web_ide_spec failures on Canary | Namespace not found
Summary
merge_merge_request_from_fork_spec / open_fork_in_web_ide_spec failures on Canary | Namespace not found
https://ops.gitlab.net/gitlab-org/quality/canary/-/jobs/5087124
Stack trace
1) Create Merge request creation from fork can merge feature branch fork to mainline
Got 0 failures and 2 other errors:
1.1) Failure/Error:
Resource::MergeRequestFromFork.fabricate_via_browser_ui! do |merge_request|
merge_request.fork_branch = 'feature-branch'
end
QA::Resource::ApiFabricator::ResourceFabricationFailedError:
Fabrication of QA::Resource::Fork using the API failed (404) with `{"message":"404 Namespace Not Found"}`.
# ./qa/resource/api_fabricator.rb:121:in `api_post_to'
# ./qa/resource/api_fabricator.rb:99:in `api_post'
# ./qa/resource/api_fabricator.rb:34:in `fabricate_via_api!'
# ./qa/resource/fork.rb:67:in `fabricate_via_api!'
# ./qa/resource/base.rb:50:in `block (2 levels) in fabricate_via_api!'
# ./qa/resource/base.rb:80:in `log_fabrication'
# ./qa/resource/base.rb:50:in `block in fabricate_via_api!'
# ./qa/resource/base.rb:71:in `do_fabricate!'
# ./qa/resource/base.rb:49:in `fabricate_via_api!'
# ./qa/resource/merge_request_from_fork.rb:9:in `block in <class:MergeRequestFromFork>'
# ./qa/resource/base.rb:173:in `instance_exec'
# ./qa/resource/base.rb:173:in `attribute_value'
# ./qa/resource/base.rb:105:in `block in attribute'
# ./qa/resource/merge_request_from_fork.rb:14:in `block (2 levels) in <class:MergeRequestFromFork>'
# ./qa/resource/base.rb:69:in `do_fabricate!'
# ./qa/resource/base.rb:33:in `fabricate_via_browser_ui!'
# ./qa/resource/base.rb:25:in `rescue in fabricate!'
# ./qa/resource/base.rb:22:in `fabricate!'
# ./qa/resource/merge_request_from_fork.rb:13:in `block in <class:MergeRequestFromFork>'
# ./qa/resource/base.rb:173:in `instance_exec'
# ./qa/resource/base.rb:173:in `attribute_value'
# ./qa/resource/base.rb:105:in `block in attribute'
# ./qa/resource/base.rb:154:in `public_send'
# ./qa/resource/base.rb:154:in `block in populate'
# ./qa/resource/base.rb:154:in `each'
# ./qa/resource/base.rb:154:in `populate'
# ./qa/resource/merge_request_from_fork.rb:22:in `fabricate!'
# ./qa/resource/base.rb:34:in `block (2 levels) in fabricate_via_browser_ui!'
# ./qa/resource/base.rb:80:in `log_fabrication'
# ./qa/resource/base.rb:34:in `block in fabricate_via_browser_ui!'
# ./qa/resource/base.rb:71:in `do_fabricate!'
# ./qa/resource/base.rb:33:in `fabricate_via_browser_ui!'
# ./qa/specs/features/browser_ui/3_create/merge_request/merge_merge_request_from_fork_spec.rb:7:in `block (3 levels) in <module:QA>'
# ./qa/specs/features/browser_ui/3_create/merge_request/merge_merge_request_from_fork_spec.rb:21:in `block (3 levels) in <module:QA>'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# ./spec/spec_helper.rb:82:in `block (2 levels) in <top (required)>'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
# ./qa/specs/runner.rb:74: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:44: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:28:in `launch!'
# ------------------
# --- Caused by: ---
# NotImplementedError:
# NotImplementedError
# ./qa/resource/base.rb:45:in `fabricate_via_api!'
1.2) Failure/Error:
Resource::MergeRequestFromFork.fabricate_via_browser_ui! do |merge_request|
merge_request.fork_branch = 'feature-branch'
end
QA::Resource::ApiFabricator::ResourceFabricationFailedError:
Fabrication of QA::Resource::Fork using the API failed (404) with `{"message":"404 Namespace Not Found"}`.
# ./qa/resource/api_fabricator.rb:121:in `api_post_to'
# ./qa/resource/api_fabricator.rb:99:in `api_post'
# ./qa/resource/api_fabricator.rb:34:in `fabricate_via_api!'
# ./qa/resource/fork.rb:67:in `fabricate_via_api!'
# ./qa/resource/base.rb:50:in `block (2 levels) in fabricate_via_api!'
# ./qa/resource/base.rb:80:in `log_fabrication'
# ./qa/resource/base.rb:50:in `block in fabricate_via_api!'
/usr/local/bundle/gems/gitlab-qa-7.10.0/lib/gitlab/qa/docker/shellout.rb:31:in `block in execute!': Docker command `docker run -t --rm --net=bridge --env (CLIPPED ENVS) failed! (Gitlab::QA::Docker::Shellout::StatusError)
from /usr/local/lib/ruby/2.7.0/open3.rb:219:in `popen_run'
from /usr/local/lib/ruby/2.7.0/open3.rb:208:in `popen2e'
from /usr/local/bundle/gems/gitlab-qa-7.10.0/lib/gitlab/qa/docker/shellout.rb:19:in `execute!'
from /usr/local/bundle/gems/gitlab-qa-7.10.0/lib/gitlab/qa/docker/command.rb:48:in `execute!'
from /usr/local/bundle/gems/gitlab-qa-7.10.0/lib/gitlab/qa/docker/engine.rb:29:in `block in run'
from /usr/local/bundle/gems/gitlab-qa-7.10.0/lib/gitlab/qa/docker/engine.rb:23:in `tap'
from /usr/local/bundle/gems/gitlab-qa-7.10.0/lib/gitlab/qa/docker/engine.rb:23:in `run'
from /usr/local/bundle/gems/gitlab-qa-7.10.0/lib/gitlab/qa/component/specs.rb:45:in `block in perform'
from /usr/local/bundle/gems/gitlab-qa-7.10.0/lib/gitlab/qa/component/specs.rb:44:in `each'
from /usr/local/bundle/gems/gitlab-qa-7.10.0/lib/gitlab/qa/component/specs.rb:44:in `perform'
from /usr/local/bundle/gems/gitlab-qa-7.10.0/lib/gitlab/qa/scenario/template.rb:8:in `block in perform'
from /usr/local/bundle/gems/gitlab-qa-7.10.0/lib/gitlab/qa/scenario/template.rb:6:in `tap'
from /usr/local/bundle/gems/gitlab-qa-7.10.0/lib/gitlab/qa/scenario/template.rb:6:in `perform'
from /usr/local/bundle/gems/gitlab-qa-7.10.0/lib/gitlab/qa/scenario/test/instance/deployment_base.rb:26:in `perform'
from /usr/local/bundle/gems/gitlab-qa-7.10.0/lib/gitlab/qa/scenario/template.rb:8:in `block in perform'
from /usr/local/bundle/gems/gitlab-qa-7.10.0/lib/gitlab/qa/scenario/template.rb:6:in `tap'
from /usr/local/bundle/gems/gitlab-qa-7.10.0/lib/gitlab/qa/scenario/template.rb:6:in `perform'
from /usr/local/bundle/gems/gitlab-qa-7.10.0/lib/gitlab/qa/runner.rb:74:in `run'
from /usr/local/bundle/gems/gitlab-qa-7.10.0/exe/gitlab-qa:8:in `<top (required)>'
from /usr/local/bundle/bin/gitlab-qa:23:in `load'
from /usr/local/bundle/bin/gitlab-qa:23:in `<main>'
# ./qa/resource/base.rb:71:in `do_fabricate!'
# ./qa/resource/base.rb:49:in `fabricate_via_api!'
# ./qa/resource/merge_request_from_fork.rb:9:in `block in <class:MergeRequestFromFork>'
# ./qa/resource/base.rb:173:in `instance_exec'
# ./qa/resource/base.rb:173:in `attribute_value'
# ./qa/resource/base.rb:105:in `block in attribute'
# ./qa/resource/merge_request_from_fork.rb:14:in `block (2 levels) in <class:MergeRequestFromFork>'
# ./qa/resource/base.rb:69:in `do_fabricate!'
# ./qa/resource/base.rb:33:in `fabricate_via_browser_ui!'
# ./qa/resource/base.rb:25:in `rescue in fabricate!'
# ./qa/resource/base.rb:22:in `fabricate!'
# ./qa/resource/merge_request_from_fork.rb:13:in `block in <class:MergeRequestFromFork>'
# ./qa/resource/base.rb:173:in `instance_exec'
# ./qa/resource/base.rb:173:in `attribute_value'
# ./qa/resource/base.rb:105:in `block in attribute'
# ./qa/resource/base.rb:154:in `public_send'
# ./qa/resource/base.rb:154:in `block in populate'
# ./qa/resource/base.rb:154:in `each'
# ./qa/resource/base.rb:154:in `populate'
# ./qa/resource/merge_request_from_fork.rb:22:in `fabricate!'
# ./qa/resource/base.rb:34:in `block (2 levels) in fabricate_via_browser_ui!'
# ./qa/resource/base.rb:80:in `log_fabrication'
# ./qa/resource/base.rb:34:in `block in fabricate_via_browser_ui!'
# ./qa/resource/base.rb:71:in `do_fabricate!'
# ./qa/resource/base.rb:33:in `fabricate_via_browser_ui!'
# ./qa/specs/features/browser_ui/3_create/merge_request/merge_merge_request_from_fork_spec.rb:7:in `block (3 levels) in <module:QA>'
# ./qa/specs/features/browser_ui/3_create/merge_request/merge_merge_request_from_fork_spec.rb:17:in `block (3 levels) in <module:QA>'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# ./spec/spec_helper.rb:82:in `block (2 levels) in <top (required)>'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
# ./qa/specs/runner.rb:74: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:44: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:28:in `launch!'
# ------------------
# --- Caused by: ---
# NotImplementedError:
# NotImplementedError
# ./qa/resource/base.rb:45:in `fabricate_via_api!'
2) Create Open a fork in Web IDE when a user does not have permissions to commit to the project when a fork is already created opens the fork when a user clicks Web IDE in the main project
Failure/Error:
Resource::Fork.fabricate_via_api! do |fork|
fork.user = user
fork.upstream = parent_project
end
QA::Resource::ApiFabricator::ResourceFabricationFailedError:
Fabrication of QA::Resource::Fork using the API failed (404) with `{"message":"404 Namespace Not Found"}`.
# ./qa/resource/api_fabricator.rb:121:in `api_post_to'
# ./qa/resource/api_fabricator.rb:99:in `api_post'
# ./qa/resource/api_fabricator.rb:34:in `fabricate_via_api!'
# ./qa/resource/fork.rb:67:in `fabricate_via_api!'
# ./qa/resource/base.rb:50:in `block (2 levels) in fabricate_via_api!'
# ./qa/resource/base.rb:80:in `log_fabrication'
# ./qa/resource/base.rb:50:in `block in fabricate_via_api!'
# ./qa/resource/base.rb:71:in `do_fabricate!'
# ./qa/resource/base.rb:49:in `fabricate_via_api!'
# ./qa/specs/features/browser_ui/3_create/web_ide/open_fork_in_web_ide_spec.rb:31:in `block (5 levels) in <module:QA>'
# ./qa/specs/features/browser_ui/3_create/web_ide/open_fork_in_web_ide_spec.rb:39:in `block (5 levels) in <module:QA>'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# ./spec/spec_helper.rb:82:in `block (2 levels) in <top (required)>'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
# /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
# ./qa/specs/runner.rb:74: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:44: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:28:in `launch!'