Closed yoshi-automation closed 4 years ago
Autosynth is still having trouble generating python-firestore. :sob:
Here's the output from running synth.py
:
oogle/cloud/firestore_v1/proto/firestore_pb2_grpc.py
reformatted /home/kbuilder/.cache/synthtool/python-firestore/google/cloud/firestore_v1/proto/query_pb2_grpc.py
reformatted /home/kbuilder/.cache/synthtool/python-firestore/google/cloud/firestore_v1/proto/document_pb2.py
reformatted /home/kbuilder/.cache/synthtool/python-firestore/google/cloud/firestore_v1/proto/write_pb2_grpc.py
reformatted /home/kbuilder/.cache/synthtool/python-firestore/google/cloud/firestore_v1beta1/gapic/enums.py
reformatted /home/kbuilder/.cache/synthtool/python-firestore/google/cloud/firestore_v1/proto/query_pb2.py
reformatted /home/kbuilder/.cache/synthtool/python-firestore/google/cloud/firestore_v1/proto/write_pb2.py
reformatted /home/kbuilder/.cache/synthtool/python-firestore/google/cloud/firestore_v1beta1/gapic/firestore_client.py
reformatted /home/kbuilder/.cache/synthtool/python-firestore/google/cloud/firestore_v1beta1/gapic/firestore_client_config.py
reformatted /home/kbuilder/.cache/synthtool/python-firestore/google/cloud/firestore_v1beta1/proto/common_pb2_grpc.py
reformatted /home/kbuilder/.cache/synthtool/python-firestore/google/cloud/firestore_v1beta1/gapic/transports/firestore_grpc_transport.py
reformatted /home/kbuilder/.cache/synthtool/python-firestore/google/cloud/firestore_v1beta1/proto/document_pb2_grpc.py
reformatted /home/kbuilder/.cache/synthtool/python-firestore/google/cloud/firestore_v1beta1/proto/common_pb2.py
reformatted /home/kbuilder/.cache/synthtool/python-firestore/google/cloud/firestore_v1beta1/proto/firestore_pb2_grpc.py
reformatted /home/kbuilder/.cache/synthtool/python-firestore/google/cloud/firestore_v1beta1/proto/document_pb2.py
reformatted /home/kbuilder/.cache/synthtool/python-firestore/google/cloud/firestore_v1beta1/proto/query_pb2_grpc.py
reformatted /home/kbuilder/.cache/synthtool/python-firestore/google/cloud/firestore_v1beta1/proto/write_pb2.py
reformatted /home/kbuilder/.cache/synthtool/python-firestore/google/cloud/firestore_v1beta1/proto/write_pb2_grpc.py
reformatted /home/kbuilder/.cache/synthtool/python-firestore/google/cloud/firestore_v1beta1/proto/query_pb2.py
reformatted /home/kbuilder/.cache/synthtool/python-firestore/noxfile.py
reformatted /home/kbuilder/.cache/synthtool/python-firestore/google/cloud/firestore_v1/proto/firestore_pb2.py
reformatted /home/kbuilder/.cache/synthtool/python-firestore/tests/unit/gapic/v1/test_firestore_admin_client_v1.py
reformatted /home/kbuilder/.cache/synthtool/python-firestore/tests/unit/gapic/v1/test_firestore_client_v1.py
reformatted /home/kbuilder/.cache/synthtool/python-firestore/tests/unit/gapic/v1beta1/test_firestore_client_v1beta1.py
reformatted /home/kbuilder/.cache/synthtool/python-firestore/google/cloud/firestore_v1beta1/proto/firestore_pb2.py
All done! ✨ 🍰 ✨
49 files reformatted, 80 files left unchanged.
Session blacken was successful.
2020-05-15 05:23:22,296 synthtool [DEBUG] > Wrote metadata to synth.metadata.
2020-05-15 05:23:22,354 autosynth [INFO] > Changed files:
2020-05-15 05:23:22,354 autosynth [INFO] > M .kokoro/publish-docs.sh
M google/cloud/firestore_admin_v1/gapic/enums.py
M google/cloud/firestore_admin_v1/gapic/firestore_admin_client.py
M google/cloud/firestore_admin_v1/gapic/firestore_admin_client_config.py
M google/cloud/firestore_admin_v1/gapic/transports/firestore_admin_grpc_transport.py
M google/cloud/firestore_admin_v1/proto/field_pb2.py
M google/cloud/firestore_admin_v1/proto/firestore_admin_pb2.py
M google/cloud/firestore_admin_v1/proto/firestore_admin_pb2_grpc.py
M google/cloud/firestore_admin_v1/proto/index_pb2.py
M google/cloud/firestore_admin_v1/proto/location_pb2.py
M google/cloud/firestore_admin_v1/proto/operation_pb2.py
M google/cloud/firestore_v1/gapic/enums.py
M google/cloud/firestore_v1/gapic/firestore_client.py
M google/cloud/firestore_v1/gapic/firestore_client_config.py
M google/cloud/firestore_v1/proto/common.proto
M google/cloud/firestore_v1/proto/common_pb2.py
M google/cloud/firestore_v1/proto/document.proto
M google/cloud/firestore_v1/proto/document_pb2.py
M google/cloud/firestore_v1/proto/firestore.proto
M google/cloud/firestore_v1/proto/firestore_pb2.py
M google/cloud/firestore_v1/proto/firestore_pb2_grpc.py
M google/cloud/firestore_v1/proto/query.proto
M google/cloud/firestore_v1/proto/query_pb2.py
M google/cloud/firestore_v1/proto/write.proto
M google/cloud/firestore_v1/proto/write_pb2.py
M google/cloud/firestore_v1beta1/gapic/enums.py
M google/cloud/firestore_v1beta1/gapic/firestore_client.py
M google/cloud/firestore_v1beta1/gapic/firestore_client_config.py
M google/cloud/firestore_v1beta1/gapic/transports/firestore_grpc_transport.py
M google/cloud/firestore_v1beta1/proto/common_pb2.py
M google/cloud/firestore_v1beta1/proto/document_pb2.py
M google/cloud/firestore_v1beta1/proto/firestore_pb2.py
M google/cloud/firestore_v1beta1/proto/query_pb2.py
M google/cloud/firestore_v1beta1/proto/write_pb2.py
M synth.metadata
M tests/unit/gapic/v1/test_firestore_admin_client_v1.py
M tests/unit/gapic/v1/test_firestore_client_v1.py
M tests/unit/gapic/v1beta1/test_firestore_client_v1beta1.py
?? docs/multiprocessing.rst
2020-05-15 05:23:22,354 autosynth [DEBUG] > Running: git log 7482e79a82e353248769d819788adc1213e8c207 -1 --no-decorate --pretty=%B%n%nSource-Author: %an <%ae>%nSource-Date: %ad
2020-05-15 05:23:22,359 autosynth [DEBUG] > Running: git add -A
2020-05-15 05:23:22,371 autosynth [DEBUG] > Running: git commit -m chore(python): remove extra #!/bin/bash (#538)
Co-authored-by: Jeffrey Rennie <rennie@google.com>
Source-Author: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
Source-Date: Tue May 12 09:51:12 2020 -0700
Source-Repo: googleapis/synthtool
Source-Sha: 7482e79a82e353248769d819788adc1213e8c207
Source-Link: https://github.com/googleapis/synthtool/commit/7482e79a82e353248769d819788adc1213e8c207
[autosynth-52 50e5dbb] chore(python): remove extra #!/bin/bash (#538)
39 files changed, 2863 insertions(+), 3099 deletions(-)
create mode 100644 docs/multiprocessing.rst
2020-05-15 05:23:22,411 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 50e5dbb chore(python): remove extra #!/bin/bash (#538)
2020-05-15 05:23:22,420 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-05-15 05:23:22,428 autosynth [DEBUG] > Running: git diff HEAD..autosynth-52 -- . :(exclude)synth.metadata
2020-05-15 05:23:22,433 autosynth [DEBUG] > Running: git diff HEAD autosynth-52
2020-05-15 05:23:22,438 autosynth [DEBUG] > Running: git apply /tmpfs/tmp/tmp4at9a7zu/autosynth-52.patch
2020-05-15 05:23:22,441 autosynth [DEBUG] > Running: git add -A
2020-05-15 05:23:22,448 autosynth [DEBUG] > Running: git commit -m chore(python): remove extra #!/bin/bash (#538)
Co-authored-by: Jeffrey Rennie <rennie@google.com>
Source-Author: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
Source-Date: Tue May 12 09:51:12 2020 -0700
Source-Repo: googleapis/synthtool
Source-Sha: 7482e79a82e353248769d819788adc1213e8c207
Source-Link: https://github.com/googleapis/synthtool/commit/7482e79a82e353248769d819788adc1213e8c207
[autosynth 529f411] chore(python): remove extra #!/bin/bash (#538)
2 files changed, 3 insertions(+), 5 deletions(-)
2020-05-15 05:23:22,458 autosynth [DEBUG] > Running: git diff autosynth-52..autosynth-54 -- . :(exclude)synth.metadata
2020-05-15 05:23:22,463 autosynth [DEBUG] > Running: git diff autosynth-52..autosynth-54 -- synth.metadata
2020-05-15 05:23:22,467 autosynth [DEBUG] > Running: git diff autosynth-54..autosynth-73 -- . :(exclude)synth.metadata
2020-05-15 05:23:22,471 autosynth [DEBUG] > Running: git diff autosynth-54..autosynth-73 -- synth.metadata
2020-05-15 05:23:22,475 autosynth [DEBUG] > Running: git push --force origin autosynth
To https://github.com/googleapis/python-firestore.git
+ de2e9c7...529f411 autosynth -> autosynth (forced update)
2020-05-15 05:23:26,264 autosynth [DEBUG] > Running: git log -3 --pretty=%b
2020-05-15 05:23:26,673 autosynth [ERROR] > Error making request (422): Validation Failed
2020-05-15 05:23:26,673 autosynth [DEBUG] > {'message': 'Validation Failed', 'errors': [{'resource': 'PullRequest', 'code': 'custom', 'message': 'A pull request already exists for googleapis:autosynth.'}], 'documentation_url': 'https://developer.github.com/v3/pulls/#create-a-pull-request'}
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 601, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 473, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 591, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 369, in synthesize_loop
toolbox.push_changes(change_pusher)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 293, in push_changes
pr = change_pusher.push_changes(self.commit_count, self.branch, pr_title)
File "/tmpfs/src/github/synthtool/autosynth/change_pusher.py", line 92, in push_changes
body=build_pr_body(synth_log, trailers),
File "/tmpfs/src/github/synthtool/autosynth/github.py", line 84, in create_pull_request
return cast(Dict, _get_json_or_raise_exception(response))
File "/tmpfs/src/github/synthtool/autosynth/github.py", line 389, 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/python-firestore/pulls
Google internal developers can see the full log here.
Open Synth PR #44
Hello! Autosynth couldn't regenerate python-firestore. :broken_heart:
Here's the output from running
synth.py
:Google internal developers can see the full log here.