Failure in api/9_data_stores/user_inherited_access_spec.rb | Data Stores User when added to parent group is allowed to create a file in sub-group project via the API
Test metadata (don't modify)
Stack trace
Failure/Error:
expect do
create(:file,
api_client: parent_group_user_api_client,
project: sub_group_project,
branch: "new_branch_#{SecureRandom.hex(8)}")
end.not_to raise_error
expected no Exception, got #<QA::Resource::Errors::ResourceFabricationFailedError: Fabrication of QA::Resource::File using the API failed (403) with `{"message":"403 Forbidden"}`.
Correlation Id: 01HHFMR2WRZ4DY37T9VSVAYCEB> with backtrace:
# ./qa/resource/api_fabricator.rb:134:in `api_post_to'
# ./qa/resource/api_fabricator.rb:107:in `api_post'
# ./qa/resource/api_fabricator.rb:29:in `fabricate_via_api!'
# ./qa/specs/features/api/9_data_stores/user_inherited_access_spec.rb:60:in `block (5 levels) in <module:QA>'
# ./qa/specs/features/api/9_data_stores/user_inherited_access_spec.rb:59:in `block (4 levels) in <module:QA>'
# ./qa/specs/spec_helper.rb:140: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:35: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!'
Reports (1)
- 2023-12-12: https://gitlab.com/gitlab-org/gitlab/-/jobs/5736711122 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1104480503)