Hello! Autosynth couldn't regenerate google-resumable-media-python. :broken_heart:
Here's the output from running synth.py
:
5de3e1e14a0b07eab8b474e669164dbd31f81fb
2020-08-29 05:17:08,070 autosynth [DEBUG] > Running: git log -1 --pretty=%at 968465a1cad496e1292ef4584a054a35f756ff94
2020-08-29 05:17:08,073 autosynth [DEBUG] > Running: git log -1 --pretty=%at a9eea2c50b7dce0dffcc010c1caf712802155403
2020-08-29 05:17:08,076 autosynth [DEBUG] > Running: git log -1 --pretty=%at 637f8aa1373a0a6be1b626a282f2e13d7d6d7d6c
2020-08-29 05:17:08,079 autosynth [DEBUG] > Running: git log -1 --pretty=%at d0198121927f606e113275a4b0f3560a7a821470
2020-08-29 05:17:08,082 autosynth [DEBUG] > Running: git log -1 --pretty=%at 8cf6d2834ad14318e64429c3b94f6443ae83daf9
2020-08-29 05:17:08,085 autosynth [DEBUG] > Running: git log -1 --pretty=%at 019c7168faa0e56619f792693a8acdb30d6de19b
2020-08-29 05:17:08,088 autosynth [DEBUG] > Running: git log -1 --pretty=%at 5d916ec54cadd4674e80e6555d0c6a78849ef4a7
2020-08-29 05:17:08,091 autosynth [DEBUG] > Running: git log -1 --pretty=%at cbcd64279572769b4d350bf8078bcd1f151c9684
2020-08-29 05:17:08,094 autosynth [DEBUG] > Running: git log -1 --pretty=%at 80f46100c047bc47efe0025ee537dc8ee413ad04
2020-08-29 05:17:08,097 autosynth [DEBUG] > Running: git checkout 0902df119547d952c70cd740e272d7dc4e272ae3
Note: checking out '0902df119547d952c70cd740e272d7dc4e272ae3'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 0902df1 chore: release 1.0.0 (#164)
2020-08-29 05:17:08,112 autosynth [DEBUG] > Running: git checkout 80f46100c047bc47efe0025ee537dc8ee413ad04
Note: checking out '80f46100c047bc47efe0025ee537dc8ee413ad04'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 80f4610 chore: remove monolith nodejs autosynth (#741)
2020-08-29 05:17:08,120 autosynth [DEBUG] > Running: git branch -f autosynth-30
2020-08-29 05:17:08,123 autosynth [DEBUG] > Running: git checkout autosynth-30
Switched to branch 'autosynth-30'
2020-08-29 05:17:08,127 autosynth [INFO] > Running synthtool
2020-08-29 05:17:08,127 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-08-29 05:17:08,127 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/google-resumable-media-python/30/sponge_log.log
2020-08-29 05:17:08,129 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-08-29 05:17:08,343 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-resumable-media-python/synth.py.
On branch autosynth-30
nothing to commit, working tree clean
2020-08-29 05:17:08,468 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
.coveragerc
.flake8
.github/CONTRIBUTING.md
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/release-please.yml
.gitignore
.kokoro/build.sh
.kokoro/continuous/common.cfg
.kokoro/continuous/continuous.cfg
.kokoro/docker/docs/Dockerfile
.kokoro/docker/docs/fetch_gpg_keys.sh
.kokoro/docs/common.cfg
.kokoro/docs/docs-presubmit.cfg
.kokoro/docs/docs.cfg
.kokoro/presubmit/common.cfg
.kokoro/presubmit/presubmit.cfg
.kokoro/publish-docs.sh
.kokoro/release.sh
.kokoro/release/common.cfg
.kokoro/release/release.cfg
.kokoro/samples/lint/common.cfg
.kokoro/samples/lint/continuous.cfg
.kokoro/samples/lint/periodic.cfg
.kokoro/samples/lint/presubmit.cfg
.kokoro/samples/python3.6/common.cfg
.kokoro/samples/python3.6/continuous.cfg
.kokoro/samples/python3.6/periodic.cfg
.kokoro/samples/python3.6/presubmit.cfg
.kokoro/samples/python3.7/common.cfg
.kokoro/samples/python3.7/continuous.cfg
.kokoro/samples/python3.7/periodic.cfg
.kokoro/samples/python3.7/presubmit.cfg
.kokoro/samples/python3.8/common.cfg
.kokoro/samples/python3.8/continuous.cfg
.kokoro/samples/python3.8/periodic.cfg
.kokoro/samples/python3.8/presubmit.cfg
.kokoro/test-samples.sh
.kokoro/trampoline.sh
.kokoro/trampoline_v2.sh
.trampolinerc
CODE_OF_CONDUCT.md
CONTRIBUTING.rst
LICENSE
MANIFEST.in
docs/_static/custom.css
docs/_templates/layout.html
docs/conf.py.j2
docs/multiprocessing.rst
noxfile.py.j2
renovate.json
Skipping: samples/AUTHORING_GUIDE.md
Skipping: samples/CONTRIBUTING.md
scripts/decrypt-secrets.sh
scripts/readme-gen/readme_gen.py.j2
scripts/readme-gen/templates/README.tmpl.rst
scripts/readme-gen/templates/auth.tmpl.rst
scripts/readme-gen/templates/auth_api_key.tmpl.rst
scripts/readme-gen/templates/install_deps.tmpl.rst
scripts/readme-gen/templates/install_portaudio.tmpl.rst
setup.cfg
testing/.gitignore
nox > Running session blacken
nox > Session blacken skipped: Python interpreter 3.8 not found.
2020-08-29 05:17:11,754 synthtool [DEBUG] > Wrote metadata to synth.metadata.
2020-08-29 05:17:11,796 autosynth [INFO] > Changed files:
2020-08-29 05:17:11,796 autosynth [INFO] > M synth.metadata
2020-08-29 05:17:11,797 autosynth [DEBUG] > Running: git log 80f46100c047bc47efe0025ee537dc8ee413ad04 -1 --no-decorate --pretty=%s
2020-08-29 05:17:11,800 autosynth [DEBUG] > Running: git log 80f46100c047bc47efe0025ee537dc8ee413ad04 -1 --no-decorate --pretty=%b%n%nSource-Author: %an <%ae>%nSource-Date: %ad
2020-08-29 05:17:11,804 autosynth [DEBUG] > Running: git add -A
2020-08-29 05:17:11,807 autosynth [DEBUG] > Running: git status --porcelain
2020-08-29 05:17:11,811 autosynth [DEBUG] > Running: git commit -m chore: remove monolith nodejs autosynth
Final step in sharding nodejs autosynth.
fixes https://github.com/googleapis/synthtool/issues/697
Source-Author: Jeffrey Rennie <[email protected]>
Source-Date: Fri Aug 28 09:43:32 2020 -0700
Source-Repo: googleapis/synthtool
Source-Sha: 80f46100c047bc47efe0025ee537dc8ee413ad04
Source-Link: https://github.com/googleapis/synthtool/commit/80f46100c047bc47efe0025ee537dc8ee413ad04
[autosynth-30 3edef6e] chore: remove monolith nodejs autosynth
1 file changed, 40 insertions(+), 2 deletions(-)
2020-08-29 05:17:11,817 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 3edef6e chore: remove monolith nodejs autosynth
2020-08-29 05:17:11,821 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-08-29 05:17:11,825 autosynth [DEBUG] > Running: git checkout autosynth
Already on 'autosynth'
2020-08-29 05:17:11,829 autosynth [DEBUG] > Running: git checkout autosynth-30
Switched to branch 'autosynth-30'
2020-08-29 05:17:11,833 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-08-29 05:17:11,837 autosynth [DEBUG] > Running: git merge --squash autosynth-30
Updating 0902df1..3edef6e
Fast-forward
Squash commit -- not updating HEAD
synth.metadata | 42 ++++++++++++++++++++++++++++++++++++++++--
1 file changed, 40 insertions(+), 2 deletions(-)
2020-08-29 05:17:11,841 autosynth [DEBUG] > Running: git commit -m chore: start tracking obsolete files
[autosynth 2d0ab38] chore: start tracking obsolete files
1 file changed, 40 insertions(+), 2 deletions(-)
2020-08-29 05:17:11,847 autosynth [DEBUG] > Running: git push --force origin autosynth
To https://github.com/googleapis/google-resumable-media-python.git
+ ec2e32e...2d0ab38 autosynth -> autosynth (forced update)
2020-08-29 05:17:15,099 autosynth [DEBUG] > Running: git log -1 --pretty=%b
2020-08-29 05:17:15,656 autosynth [ERROR] > Error making request (422): Validation Failed
2020-08-29 05:17:15,656 autosynth [DEBUG] > {'message': 'Validation Failed', 'errors': [{'resource': 'PullRequest', 'code': 'custom', 'message': 'A pull request already exists for googleapis:autosynth.'}], 'documentation_url': 'https://docs.github.com/rest/reference/pulls#create-a-pull-request'}
2020-08-29 05:17:15,656 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing google/__pycache__/
Traceback (most recent call last):
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 690, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 539, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 670, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 388, in synthesize_loop
pr = change_pusher.push_changes(1, toolbox.branch, pr_title)
File "/tmpfs/src/github/synthtool/autosynth/change_pusher.py", line 103, in push_changes
self._repository, branch=branch, title=pr_title, body=new_body,
File "/tmpfs/src/github/synthtool/autosynth/github.py", line 94, in create_pull_request
return cast(Dict, _get_json_or_raise_exception(response))
File "/tmpfs/src/github/synthtool/autosynth/github.py", line 488, in _get_json_or_raise_exception
response.raise_for_status()
File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/requests/models.py", line 941, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 422 Client Error: Unprocessable Entity for url: https://api.github.com/repos/googleapis/google-resumable-media-python/pulls
Google internal developers can see the full log here.
type: bug priority: p2 autosynth failure