Failure in qa/specs/features/browser_ui/3_create/web_ide/open_fork_in_web_ide_spec.rb
Jobs from staging-orchestrated gitlab-org/quality/testcase-sessions#629 (closed)
Two tests are failing in this job.
Summary
QA::Resource::ApiFabricator::ResourceFabricationFailedError:
Fabrication of QA::Resource::Fork using the API failed (500) with `{"message":"500 Internal Server Error"}`.
And
QA::Support::Repeater::WaitExceededError:
Wait condition not met after 60 seconds
Stack trace
Failures:
1) 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 (500) with `{"message":"500 Internal Server Error"}`.
# ./qa/resource/api_fabricator.rb:120:in `api_post'
# ./qa/resource/api_fabricator.rb:34:in `fabricate_via_api!'
# ./qa/resource/fork.rb:62:in `fabricate_via_api!'
# ./qa/resource/base.rb:46:in `block (2 levels) in fabricate_via_api!'
# ./qa/resource/base.rb:135:in `log_fabrication'
# ./qa/resource/base.rb:46:in `block in fabricate_via_api!'
# ./qa/resource/base.rb:118:in `do_fabricate!'
# ./qa/resource/base.rb:45: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:73: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:71: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:35: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!'
2) Create Open a fork in Web IDE when a user does not have permissions to commit to the project when no fork is present suggests to create a fork when a user clicks Web IDE in the main project
Failure/Error: Page::Project::WebIDE::Edit.perform(&:fork_project!)
QA::Support::Repeater::WaitExceededError:
Wait condition not met after 60 seconds
# ./qa/support/repeater.rb:44:in `repeat_until'
# ./qa/support/waiter.rb:23:in `wait_until'
# ./qa/page/base.rb:55:in `wait_until'
# ./qa/page/project/web_ide/edit.rb:211:in `fork_project!'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/specs/features/browser_ui/3_create/web_ide/open_fork_in_web_ide_spec.rb:23: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:73: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:71: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:35: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!'
Screenshot / HTML page
Possible fixes
/due in 2 weeks /label Quality QA test /label failureinvestigating
Edited by Lin Jen-Shin