The CI failed when I fetch content repo
See original GitHub issuePR review companion workflow run failed for main branch
The stack trace:
Run PR_NUMBER=`cat build/NR`
Pull request:
https://github.com/mdn/content/pull/
Deployer (0.3.0)
Upload files from: /home/runner/work/content/content/build
Upload into: pr/ of mdn-content-dev
Total pending file uploads: 1,072 ([39](https://github.com/awxiaoxian2020/content/runs/7369518508?check_suite_focus=true#step:11:40).9ms)
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/runner/work/content/content/yari/deployer/.venv/lib/python3.8/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/home/runner/work/content/content/yari/deployer/.venv/lib/python3.8/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/home/runner/work/content/content/yari/deployer/.venv/lib/python3.8/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/runner/work/content/content/yari/deployer/.venv/lib/python3.8/site-packages/click/core.py", line 1[40](https://github.com/awxiaoxian2020/content/runs/7369518508?check_suite_focus=true#step:11:41)4, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/runner/work/content/content/yari/deployer/.venv/lib/python3.8/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/home/runner/work/content/content/yari/deployer/.venv/lib/python3.8/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/runner/work/content/content/yari/deployer/src/deployer/main.py", line 200, in upload
upload_content(directory, content_roots, ctx.obj)
File "/home/runner/work/content/content/yari/deployer/src/deployer/upload.py", line 549, in upload_content
existing_bucket_objects = mgr.get_bucket_objects()
File "/home/runner/work/content/content/yari/deployer/src/deployer/upload.py", line 352, in get_bucket_objects
response = self.client.list_objects_v2(**kwargs)
File "/home/runner/work/content/content/yari/deployer/.venv/lib/python3.8/site-packages/botocore/client.py", line 508, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/home/runner/work/content/content/yari/deployer/.venv/lib/python3.8/site-packages/botocore/client.py", line 898, in _make_api_call
http, parsed_response = self._make_request(
File "/home/runner/work/content/content/yari/deployer/.venv/lib/python3.8/site-packages/botocore/client.py", line 921, in _make_request
return self._endpoint.make_request(operation_model, request_dict)
File "/home/runner/work/content/content/yari/deployer/.venv/lib/python3.8/site-packages/botocore/endpoint.py", line 119, in make_request
return self._send_request(request_dict, operation_model)
File "/home/runner/work/content/content/yari/deployer/.venv/lib/python3.8/site-packages/botocore/endpoint.py", line 198, in _send_request
request = self.create_request(request_dict, operation_model)
File "/home/runner/work/content/content/yari/deployer/.venv/lib/python3.8/site-packages/botocore/endpoint.py", line 134, in create_request
self._event_emitter.emit(
File "/home/runner/work/content/content/yari/deployer/.venv/lib/python3.8/site-packages/botocore/hooks.py", line [41](https://github.com/awxiaoxian2020/content/runs/7369518508?check_suite_focus=true#step:11:42)2, in emit
return self._emitter.emit(aliased_event_name, **kwargs)
File "/home/runner/work/content/content/yari/deployer/.venv/lib/python3.8/site-packages/botocore/hooks.py", line 2[56](https://github.com/awxiaoxian2020/content/runs/7369518508?check_suite_focus=true#step:11:57), in emit
return self._emit(event_name, kwargs)
File "/home/runner/work/content/content/yari/deployer/.venv/lib/python3.8/site-packages/botocore/hooks.py", line 239, in _emit
response = handler(**kwargs)
File "/home/runner/work/content/content/yari/deployer/.venv/lib/python3.8/site-packages/botocore/signers.py", line 103, in handler
return self.sign(operation_name, request)
File "/home/runner/work/content/content/yari/deployer/.venv/lib/python3.8/site-packages/botocore/signers.py", line 1[87](https://github.com/awxiaoxian2020/content/runs/7369518508?check_suite_focus=true#step:11:88), in sign
auth.add_auth(request)
File "/home/runner/work/content/content/yari/deployer/.venv/lib/python3.8/site-packages/botocore/auth.py", line 407, in add_auth
raise NoCredentialsError()
botocore.exceptions.NoCredentialsError: Unable to locate credentials
Total existing S3 objects:
Error: Process completed with exit code 1.
Issue Analytics
- State:
- Created a year ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
GitLab Runner Unable to Fetch Changes. (#3964) · Issues
No changes have been made to any CI related code. It fails on this point. Running on runner-9d591b6d-project-12-concurrent-0 via int-gitlab.
Read more >How to fetch entire repository with GitLab CI/CD?
We use GitVersion in our project, which throws the following error: /root/.nuget/packages/gitversiontask/5.3.7/build/GitVersionTask.targets(46,9): ...
Read more >FetchContent_MakeAvailable fails to clone private repositories
We have a C++ project which uses CMake and FetchContent to manage external dependencies. All external dependencies are contained in private ...
Read more >Pipeline options for Git repositories - Azure - Microsoft Learn
Options that are available when using a Git repository with Azure Pipelines. ... Clone a second repo; Don't sync sources; Shallow fetch ......
Read more >Configuration of your builds with .gitlab-ci.yml - Perforce
The value is passed to git fetch and git clone . Note: If you use a depth of 1 and have a queue...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can disable all the workflow in repo’s settings.
Now my problem is duplicated in #4972