QA failure: qa/specs/features/api/9_data_stores/user_inherited_access_spec.rb:37
Failures:
1) Data Stores User when added to parent group is allowed to push code to sub-group project via the CLI
Failure/Error:
expect do
Resource::Repository::Push.fabricate! do |push|
push.repository_http_uri = sub_group_project.repository_http_location.uri
push.file_name = 'test.txt'
push.file_content = "# This is a test project named #{sub_group_project.name}"
push.commit_message = 'Add test.txt'
push.branch_name = "new_branch_#{SecureRandom.hex(8)}"
push.user = parent_group_user
end
end.not_to raise_error
expected no Exception, got #<QA::Support::Run::CommandError: The command HOME="/tmp/qa-netrc-credentials/27" git push https://qa...ub-groupd-project-to-test-user-access-53cbdd39856f2411.git/': The requested URL returned error: 403> with backtrace:
# ./qa/support/run.rb:40:in `run'
# ./qa/git/repository.rb:334:in `run_git'
# ./qa/git/repository.rb:131:in `push_changes'
# ./qa/resource/repository/push.rb:97:in `block in fabricate!'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/git/repository.rb:32:in `block (2 levels) in perform'
# ./qa/git/repository.rb:32:in `chdir'
# ./qa/git/repository.rb:32:in `block in perform'
# ./qa/git/repository.rb:31:in `perform'
# ./qa/resource/repository/push.rb:47:in `fabricate!'
# ./qa/resource/base.rb:57:in `block (2 levels) in fabricate_via_browser_ui!'
# ./qa/resource/base.rb:108:in `log_and_record_fabrication'
# ./qa/resource/base.rb:57:in `block in fabricate_via_browser_ui!'
# ./qa/resource/base.rb:98:in `do_fabricate!'
# ./qa/resource/base.rb:56:in `fabricate_via_browser_ui!'
# ./qa/resource/base.rb:48:in `rescue in fabricate!'
# ./qa/resource/base.rb:41:in `fabricate!'
# ./qa/specs/features/api/9_data_stores/user_inherited_access_spec.rb:39:in `block (5 levels) in <module:QA>'
# ./qa/specs/features/api/9_data_stores/user_inherited_access_spec.rb:38:in `block (4 levels) in <module:QA>'
# ./qa/specs/spec_helper.rb:134:in `block (2 levels) in <top (required)>'
/builds/gitlab-org/quality/staging/.gems/bin/gitlab-qa: Command `docker run -t --rm --net=bridge --env QA_CAN_TEST_GIT_PROTOCOL_V2="$QA_CAN_TEST_GIT_PROTOCOL_V2" ...` failed! \e[31m✘\e[0m (Gitlab::QA::Support::ShellCommand::StatusError)
# /home/gitlab/spec/support/fast_quarantine.rb:22:in `block (2 levels) in <top (required)>'
# ./qa/specs/knapsack_runner.rb:17:in `run'
# ./qa/specs/runner.rb:57:in `perform'
# ./qa/scenario/template.rb:10:in `block in perform'
# ./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 `perform'
# ./qa/scenario/bootable.rb:52:in `launch!'
# ./qa/specs/features/api/9_data_stores/user_inherited_access_spec.rb:38:in `block (4 levels) in <module:QA>'
# ./qa/specs/spec_helper.rb:134:in `block (2 levels) in <top (required)>'
# /home/gitlab/spec/support/fast_quarantine.rb:22:in `block (2 levels) in <top (required)>'
# ./qa/specs/knapsack_runner.rb:17:in `run'
# ./qa/specs/runner.rb:57:in `perform'
# ./qa/scenario/template.rb:10:in `block in perform'
# ./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 `perform'
# ./qa/scenario/bootable.rb:52:in `launch!'
Finished in 7 minutes 11 seconds (files took 3.41 seconds to load)
16 examples, 1 failure
Failed examples:
rspec ./qa/specs/features/api/9_data_stores/user_inherited_access_spec.rb:37 # Data Stores User when added to parent group is allowed to push code to sub-group project via the CLI
Randomized with seed 2121