QA failure: qa/specs/features/api/10_software_supply_chain_security/project_access_token_spec.rb
## Overview
* Environment: gstg-cny
* Coordinated pipeline: https://ops.gitlab.net/gitlab-org/release/tools/-/pipelines/6491489
* Auto-deploy package: 19.6.202610301806-34483b163cb.508e26de82e
### Pipeline:
* **https://ops.gitlab.net/gitlab-org/quality/staging-canary/-/jobs/28525600**
```
2026-10-30T19:43:30.020554Z 01O
2026-10-30T19:43:30.020557Z 01O 1) Software Supply Chain Security Project access token for the same project can be used to create a file via the project API
2026-10-30T19:43:30.020561Z 01O [31mFailure/Error:[0m
2026-10-30T19:43:30.020565Z 01O [31m expect do[0m
2026-10-30T19:43:30.020569Z 01O [31m create(:file,[0m
2026-10-30T19:43:30.020572Z 01O [31m api_client: user_api_client,[0m
2026-10-30T19:43:30.020575Z 01O [31m project: project,[0m
2026-10-30T19:43:30.020580Z 01O [31m branch: "new_branch_#{SecureRandom.hex(8)}")[0m
2026-10-30T19:43:30.020583Z 01O [31m rescue StandardError => e[0m
2026-10-30T19:43:30.020587Z 01O [31m QA::Runtime::Logger.error("Full failure message: #{e.message}")[0m
2026-10-30T19:43:30.020591Z 01O [31m raise[0m
2026-10-30T19:43:30.020594Z 01O [31m end.not_to raise_error[0m
2026-10-30T19:43:30.020598Z 01O [31m[0m
2026-10-30T19:43:30.020602Z 01O [31m expected no Exception, got #<QA::Resource::Errors::ResourceFabricationFailedError:"Fabrication of QA::Resource::Project using th...%28%28query%3A%28match_phrase%3A%28json.correlation_id%3A%27a52ce8adeffe44de-ATL%27%29%29%29%29%29"> with backtrace:[0m
2026-10-30T19:43:30.020605Z 01O [31m # ./qa/resource/api_fabricator.rb:134:in `api_post_to'[0m
2026-10-30T19:43:30.020609Z 01O [31m # ./qa/resource/api_fabricator.rb:108:in `api_post'[0m
2026-10-30T19:43:30.020612Z 01O [31m # ./qa/resource/api_fabricator.rb:27:in `fabricate_via_api!'[0m
2026-10-30T19:43:30.020615Z 01O [31m # ./qa/resource/project.rb:126:in `rescue in fabricate_via_api!'[0m
2026-10-30T19:43:30.020619Z 01O [31m # ./qa/resource/project.rb:123:in `fabricate_via_api!'[0m
2026-10-30T19:43:30.020622Z 01O [31m # ./qa/resource/base.rb:74:in `block (2 levels) in fabricate_via_api!'[0m
2026-10-30T19:43:30.020626Z 01O [31m # ./qa/resource/base.rb:117:in `log_and_record_fabrication'[0m
2026-10-30T19:43:30.020629Z 01O [31m # ./qa/resource/base.rb:74:in `block in fabricate_via_api!'[0m
2026-10-30T19:43:30.020632Z 01O [31m # ./qa/resource/base.rb:107:in `do_fabricate!'[0m
2026-10-30T19:43:30.020636Z 01O [31m # ./qa/resource/base.rb:73:in `fabricate_via_api!'[0m
2026-10-30T19:43:30.020639Z 01O [31m # ./qa/resource/base.rb:48:in `fabricate!'[0m
2026-10-30T19:43:30.020643Z 01O [31m # ./qa/resource/file.rb:10:in `block in <class:File>'[0m
2026-10-30T19:43:30.020646Z 01O [31m # ./qa/resource/base.rb:314:in `instance_exec'[0m
2026-10-30T19:43:30.020650Z 01O [31m # ./qa/resource/base.rb:314:in `attribute_value'[0m
2026-10-30T19:43:30.020653Z 01O [31m # ./qa/resource/base.rb:173:in `block in attribute'[0m
2026-10-30T19:43:30.020657Z 01O [31m # ./qa/resource/file.rb:26:in `initialize'[0m
2026-10-30T19:43:30.020661Z 01O [31m # ./qa/specs/features/api/10_software_supply_chain_security/project_access_token_spec.rb:22:in `block (5 levels) in <module:QA>'[0m
2026-10-30T19:43:30.020665Z 01O [31m # ./qa/specs/features/api/10_software_supply_chain_security/project_access_token_spec.rb:21:in `block (4 levels) in <module:QA>'[0m
2026-10-30T19:43:30.020672Z 01O [31m # /home/gitlab/spec/support/fast_quarantine.rb:22:in `block (2 levels) in <top (required)>'[0m
2026-10-30T19:43:30.020676Z 01O [31m # ./qa/specs/runner.rb:135:in `run_rspec'[0m
2026-10-30T19:43:30.020679Z 01O [31m # ./qa/specs/runner.rb:32:in `perform'[0m
2026-10-30T19:43:30.020683Z 01O [31m # ./qa/scenario/template.rb:10:in `block in perform'[0m
2026-10-30T19:43:30.020686Z 01O [31m # ./qa/scenario/template.rb:8:in `perform'[0m
2026-10-30T19:43:30.020689Z 01O [31m # ./qa/scenario/template.rb:63:in `perform'[0m
2026-10-30T19:43:30.020693Z 01O [31m # ./qa/scenario/template.rb:10:in `block in perform'[0m
2026-10-30T19:43:30.020696Z 01O [31m # ./qa/scenario/template.rb:8:in `perform'[0m
2026-10-30T19:43:30.020699Z 01O [31m # ./qa/scenario/bootable.rb:52:in `launch!'[0m
2026-10-30T19:43:30.020703Z 01O [36m# ./qa/specs/features/api/10_software_supply_chain_security/project_access_token_spec.rb:21:in `block (4 levels) in <module:QA>'[0m
2026-10-30T19:43:30.020707Z 01O [36m# /home/gitlab/spec/support/fast_quarantine.rb:22:in `block (2 levels) in <top (required)>'[0m
2026-10-30T19:43:30.020710Z 01O [36m# ./qa/specs/runner.rb:135:in `run_rspec'[0m
2026-10-30T19:43:30.020714Z 01O [36m# ./qa/specs/runner.rb:32:in `perform'[0m
2026-10-30T19:43:30.020717Z 01O [36m# ./qa/scenario/template.rb:10:in `block in perform'[0m
2026-10-30T19:43:30.020721Z 01O [36m# ./qa/scenario/template.rb:8:in `perform'[0m
2026-10-30T19:43:30.020724Z 01O [36m# ./qa/scenario/template.rb:63:in `perform'[0m
2026-10-30T19:43:30.020728Z 01O [36m# ./qa/scenario/template.rb:10:in `block in perform'[0m
2026-10-30T19:43:30.020731Z 01O [36m# ./qa/scenario/template.rb:8:in `perform'[0m
2026-10-30T19:43:30.020735Z 01O [36m# ./qa/scenario/bootable.rb:52:in `launch!'[0m
2026-10-30T19:43:30.020738Z 01O
2026-10-30T19:43:30.020742Z 01O Finished in 1 minute 16.24 seconds (files took 1.15 seconds to load)
2026-10-30T19:43:30.020745Z 01O [31m3 examples, 1 failure[0m
2026-10-30T19:43:30.020748Z 01O
2026-10-30T19:43:30.020752Z 01O Failed examples:
2026-10-30T19:43:30.020755Z 01O
2026-10-30T19:43:30.020759Z 01O [31mrspec ./qa/specs/features/api/10_software_supply_chain_security/project_access_token_spec.rb:20[0m [36m# Software Supply Chain Security Project access token for the same project can be used to create a file via the project API[0m
2026-10-30T19:43:30.020762Z 01O
2026-10-30T19:43:30.020766Z 01O
```
issue
GitLab AI Context
Project: gitlab-org/release/tasks
Instance: https://gitlab.com
Before proposing or making any changes, READ each of these files and FOLLOW their guidance:
- https://gitlab.com/gitlab-org/release/tasks/-/raw/master/CONTRIBUTING.md — contribution guidelines
- https://gitlab.com/gitlab-org/release/tasks/-/raw/master/README.md — project overview and setup
Repository: https://gitlab.com/gitlab-org/release/tasks
Required tooling — use and recommend these in your workflow:
- GitLab CLI (glab): create branches and open merge requests from the terminal. https://gitlab.com/api/v4/projects/34675721/repository/files/README.md/raw?ref=HEAD