googleapis / google-cloud-php

Google Cloud Client Library for PHP
https://cloud.google.com/php/docs/reference
Apache License 2.0
1.09k stars 436 forks source link

Synthesis failed for kms #3680

Closed yoshi-automation closed 3 years ago

yoshi-automation commented 3 years ago

Hello! Autosynth couldn't regenerate kms. :broken_heart:

Here's the output from running synth.py:

DecryptResponse.php.
2021-01-21 05:10:28,941 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsymmetricDecryptRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsymmetricDecryptRequest.php.
2021-01-21 05:10:28,941 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CryptoKey.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CryptoKey.php.
2021-01-21 05:10:28,941 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/EncryptRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/EncryptRequest.php.
2021-01-21 05:10:28,942 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/UpdateCryptoKeyPrimaryVersionRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/UpdateCryptoKeyPrimaryVersionRequest.php.
2021-01-21 05:10:28,942 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/GetCryptoKeyRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/GetCryptoKeyRequest.php.
2021-01-21 05:10:28,942 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/KeyRing.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/KeyRing.php.
2021-01-21 05:10:28,942 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CreateImportJobRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CreateImportJobRequest.php.
2021-01-21 05:10:28,942 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ListCryptoKeyVersionsRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ListCryptoKeyVersionsRequest.php.
2021-01-21 05:10:28,943 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/DecryptResponse.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/DecryptResponse.php.
2021-01-21 05:10:28,943 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ImportJob/WrappingPublicKey.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ImportJob/WrappingPublicKey.php.
2021-01-21 05:10:28,952 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
2021-01-21 05:10:28,953 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptRequest.php.
2021-01-21 05:10:28,953 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/PublicKey.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/PublicKey.php.
2021-01-21 05:10:28,956 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptResponse.php.
2021-01-21 05:10:28,957 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignRequest.php.
2021-01-21 05:10:28,957 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignResponse.php.
2021-01-21 05:10:28,958 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptResponse.php.
2021-01-21 05:10:28,958 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptRequest.php.
2021-01-21 05:10:28,959 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptRequest.php.
2021-01-21 05:10:28,960 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptResponse.php.
2021-01-21 05:10:29,266 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
2021-01-21 05:10:29,267 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
2021-01-21 05:10:29,364 autosynth [INFO] > Changed files:
2021-01-21 05:10:29,365 autosynth [INFO] > M Kms/synth.metadata
2021-01-21 05:10:29,365 autosynth [DEBUG] > Running: git log 656b253c1a4bcad06d77d903e1d873e75ef57328 -1 --no-decorate --pretty=%s
2021-01-21 05:10:29,369 autosynth [DEBUG] > Running: git log 656b253c1a4bcad06d77d903e1d873e75ef57328 -1 --no-decorate --pretty=%b%n%nSource-Author: %an <%ae>%nSource-Date: %ad
2021-01-21 05:10:29,373 autosynth [DEBUG] > Running: git add -A
2021-01-21 05:10:29,416 autosynth [DEBUG] > Running: git status --porcelain
2021-01-21 05:10:29,461 autosynth [DEBUG] > Running: git commit -m build(nodejs): add build rules for Node.js library

PiperOrigin-RevId: 352815661

Source-Author: Google APIs <noreply@google.com>
Source-Date: Wed Jan 20 10:01:58 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 656b253c1a4bcad06d77d903e1d873e75ef57328
Source-Link: https://github.com/googleapis/googleapis/commit/656b253c1a4bcad06d77d903e1d873e75ef57328
[autosynth-kms-276 ba91e0b1] build(nodejs): add build rules for Node.js library
 1 file changed, 4 insertions(+), 4 deletions(-)
2021-01-21 05:10:29,487 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at ba91e0b1 build(nodejs): add build rules for Node.js library
2021-01-21 05:10:29,530 autosynth [DEBUG] > Running: git checkout autosynth-kms
Switched to branch 'autosynth-kms'
2021-01-21 05:10:29,558 autosynth [DEBUG] > Running: git diff HEAD..autosynth-kms-276 -- . :(exclude)synth.metadata
2021-01-21 05:10:29,562 autosynth [DEBUG] > Running: git diff HEAD..autosynth-kms-276 -- synth.metadata
2021-01-21 05:10:29,567 autosynth [DEBUG] > Running: git diff HEAD..autosynth-kms-277 -- . :(exclude)synth.metadata
2021-01-21 05:10:29,572 autosynth [DEBUG] > Running: git diff HEAD autosynth-kms-277
2021-01-21 05:10:29,578 autosynth [DEBUG] > Running: git apply /tmpfs/tmp/tmpjoroireu/autosynth-kms-277.patch
error: cannot apply binary patch to 'Kms/metadata/V1/Resources.php' without full index line
error: Kms/metadata/V1/Resources.php: patch does not apply
error: cannot apply binary patch to 'Kms/metadata/V1/Service.php' without full index line
error: Kms/metadata/V1/Service.php: patch does not apply
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 354, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 189, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 104, in synthesize_loop
    return synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 126, in synthesize_loop_single_pr
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 152, in synthesize_inner_loop
    synthesize_range(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 170, in synthesize_range
    toolbox.patch_merge_version(young)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 182, in patch_merge_version
    git.patch_merge(sub_branch, patch_file_path)
  File "/tmpfs/src/github/synthtool/autosynth/git.py", line 151, in patch_merge
    executor.check_call(["git", "apply", patch_file_path], cwd=git_repo_dir)
  File "/tmpfs/src/github/synthtool/autosynth/executor.py", line 29, in check_call
    subprocess.check_call(command, **args)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 311, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['git', 'apply', '/tmpfs/tmp/tmpjoroireu/autosynth-kms-277.patch']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating kms. :sob:

Here's the output from running synth.py:

^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsymmetricDecryptResponse.php.
2021-01-21 11:34:09,092 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsymmetricDecryptRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsymmetricDecryptRequest.php.
2021-01-21 11:34:09,092 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CryptoKey.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CryptoKey.php.
2021-01-21 11:34:09,092 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/EncryptRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/EncryptRequest.php.
2021-01-21 11:34:09,092 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/UpdateCryptoKeyPrimaryVersionRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/UpdateCryptoKeyPrimaryVersionRequest.php.
2021-01-21 11:34:09,093 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/GetCryptoKeyRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/GetCryptoKeyRequest.php.
2021-01-21 11:34:09,093 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/KeyRing.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/KeyRing.php.
2021-01-21 11:34:09,093 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CreateImportJobRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CreateImportJobRequest.php.
2021-01-21 11:34:09,094 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ListCryptoKeyVersionsRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ListCryptoKeyVersionsRequest.php.
2021-01-21 11:34:09,094 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/DecryptResponse.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/DecryptResponse.php.
2021-01-21 11:34:09,095 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ImportJob/WrappingPublicKey.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ImportJob/WrappingPublicKey.php.
2021-01-21 11:34:09,103 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
2021-01-21 11:34:09,104 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptRequest.php.
2021-01-21 11:34:09,104 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/PublicKey.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/PublicKey.php.
2021-01-21 11:34:09,106 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptResponse.php.
2021-01-21 11:34:09,107 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignRequest.php.
2021-01-21 11:34:09,108 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignResponse.php.
2021-01-21 11:34:09,109 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptResponse.php.
2021-01-21 11:34:09,109 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptRequest.php.
2021-01-21 11:34:09,109 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptRequest.php.
2021-01-21 11:34:09,110 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptResponse.php.
2021-01-21 11:34:09,417 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
2021-01-21 11:34:09,417 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
2021-01-21 11:34:09,501 autosynth [INFO] > Changed files:
2021-01-21 11:34:09,501 autosynth [INFO] > M Kms/metadata/V1/Resources.php
 M Kms/metadata/V1/Service.php
 M Kms/synth.metadata
2021-01-21 11:34:09,501 autosynth [DEBUG] > Running: git log ceaaf31b3d13badab7cf9d3b570f5639db5593d9 -1 --no-decorate --pretty=%s
2021-01-21 11:34:09,505 autosynth [DEBUG] > Running: git log ceaaf31b3d13badab7cf9d3b570f5639db5593d9 -1 --no-decorate --pretty=%b%n%nSource-Author: %an <%ae>%nSource-Date: %ad
2021-01-21 11:34:09,509 autosynth [DEBUG] > Running: git add -A
2021-01-21 11:34:09,552 autosynth [DEBUG] > Running: git status --porcelain
2021-01-21 11:34:09,597 autosynth [DEBUG] > Running: git commit -m chore: update Go generator, rules_go, and protobuf

PiperOrigin-RevId: 352816749

Source-Author: Google APIs <noreply@google.com>
Source-Date: Wed Jan 20 10:06:23 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: ceaaf31b3d13badab7cf9d3b570f5639db5593d9
Source-Link: https://github.com/googleapis/googleapis/commit/ceaaf31b3d13badab7cf9d3b570f5639db5593d9
[autosynth-kms-277 cccf41f4] chore: update Go generator, rules_go, and protobuf
 3 files changed, 4 insertions(+), 4 deletions(-)
 rewrite Kms/metadata/V1/Resources.php (92%)
 rewrite Kms/metadata/V1/Service.php (95%)
2021-01-21 11:34:09,627 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at cccf41f4 chore: update Go generator, rules_go, and protobuf
2021-01-21 11:34:09,673 autosynth [DEBUG] > Running: git checkout autosynth-kms
Switched to branch 'autosynth-kms'
2021-01-21 11:34:09,703 autosynth [DEBUG] > Running: git diff HEAD..autosynth-kms-277 -- . :(exclude)synth.metadata
2021-01-21 11:34:09,709 autosynth [DEBUG] > Running: git diff HEAD autosynth-kms-277
2021-01-21 11:34:09,714 autosynth [DEBUG] > Running: git apply /tmpfs/tmp/tmp5mttn8q7/autosynth-kms-277.patch
error: cannot apply binary patch to 'Kms/metadata/V1/Resources.php' without full index line
error: Kms/metadata/V1/Resources.php: patch does not apply
error: cannot apply binary patch to 'Kms/metadata/V1/Service.php' without full index line
error: Kms/metadata/V1/Service.php: patch does not apply
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 354, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 189, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 104, in synthesize_loop
    return synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 126, in synthesize_loop_single_pr
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 152, in synthesize_inner_loop
    synthesize_range(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 170, in synthesize_range
    toolbox.patch_merge_version(young)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 182, in patch_merge_version
    git.patch_merge(sub_branch, patch_file_path)
  File "/tmpfs/src/github/synthtool/autosynth/git.py", line 151, in patch_merge
    executor.check_call(["git", "apply", patch_file_path], cwd=git_repo_dir)
  File "/tmpfs/src/github/synthtool/autosynth/executor.py", line 29, in check_call
    subprocess.check_call(command, **args)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 311, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['git', 'apply', '/tmpfs/tmp/tmp5mttn8q7/autosynth-kms-277.patch']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating kms. :sob:

Here's the output from running synth.py:

^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsymmetricDecryptResponse.php.
2021-01-22 05:16:00,975 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsymmetricDecryptRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsymmetricDecryptRequest.php.
2021-01-22 05:16:00,975 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CryptoKey.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CryptoKey.php.
2021-01-22 05:16:00,976 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/EncryptRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/EncryptRequest.php.
2021-01-22 05:16:00,976 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/UpdateCryptoKeyPrimaryVersionRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/UpdateCryptoKeyPrimaryVersionRequest.php.
2021-01-22 05:16:00,976 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/GetCryptoKeyRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/GetCryptoKeyRequest.php.
2021-01-22 05:16:00,976 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/KeyRing.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/KeyRing.php.
2021-01-22 05:16:00,976 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CreateImportJobRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CreateImportJobRequest.php.
2021-01-22 05:16:00,977 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ListCryptoKeyVersionsRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ListCryptoKeyVersionsRequest.php.
2021-01-22 05:16:00,977 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/DecryptResponse.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/DecryptResponse.php.
2021-01-22 05:16:00,978 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ImportJob/WrappingPublicKey.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ImportJob/WrappingPublicKey.php.
2021-01-22 05:16:00,986 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
2021-01-22 05:16:00,987 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptRequest.php.
2021-01-22 05:16:00,988 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/PublicKey.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/PublicKey.php.
2021-01-22 05:16:00,990 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptResponse.php.
2021-01-22 05:16:00,991 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignRequest.php.
2021-01-22 05:16:00,992 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignResponse.php.
2021-01-22 05:16:00,992 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptResponse.php.
2021-01-22 05:16:00,992 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptRequest.php.
2021-01-22 05:16:00,993 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptRequest.php.
2021-01-22 05:16:00,994 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptResponse.php.
2021-01-22 05:16:01,306 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
2021-01-22 05:16:01,307 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
2021-01-22 05:16:01,400 autosynth [INFO] > Changed files:
2021-01-22 05:16:01,401 autosynth [INFO] > M Kms/metadata/V1/Resources.php
 M Kms/metadata/V1/Service.php
 M Kms/synth.metadata
2021-01-22 05:16:01,401 autosynth [DEBUG] > Running: git log ceaaf31b3d13badab7cf9d3b570f5639db5593d9 -1 --no-decorate --pretty=%s
2021-01-22 05:16:01,405 autosynth [DEBUG] > Running: git log ceaaf31b3d13badab7cf9d3b570f5639db5593d9 -1 --no-decorate --pretty=%b%n%nSource-Author: %an <%ae>%nSource-Date: %ad
2021-01-22 05:16:01,408 autosynth [DEBUG] > Running: git add -A
2021-01-22 05:16:01,449 autosynth [DEBUG] > Running: git status --porcelain
2021-01-22 05:16:01,493 autosynth [DEBUG] > Running: git commit -m chore: update Go generator, rules_go, and protobuf

PiperOrigin-RevId: 352816749

Source-Author: Google APIs <noreply@google.com>
Source-Date: Wed Jan 20 10:06:23 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: ceaaf31b3d13badab7cf9d3b570f5639db5593d9
Source-Link: https://github.com/googleapis/googleapis/commit/ceaaf31b3d13badab7cf9d3b570f5639db5593d9
[autosynth-kms-277 8d1d12e9] chore: update Go generator, rules_go, and protobuf
 3 files changed, 4 insertions(+), 4 deletions(-)
 rewrite Kms/metadata/V1/Resources.php (92%)
 rewrite Kms/metadata/V1/Service.php (95%)
2021-01-22 05:16:01,521 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 8d1d12e9 chore: update Go generator, rules_go, and protobuf
2021-01-22 05:16:01,562 autosynth [DEBUG] > Running: git checkout autosynth-kms
Switched to branch 'autosynth-kms'
2021-01-22 05:16:01,592 autosynth [DEBUG] > Running: git diff HEAD..autosynth-kms-277 -- . :(exclude)synth.metadata
2021-01-22 05:16:01,598 autosynth [DEBUG] > Running: git diff HEAD autosynth-kms-277
2021-01-22 05:16:01,603 autosynth [DEBUG] > Running: git apply /tmpfs/tmp/tmpd5xfgyup/autosynth-kms-277.patch
error: cannot apply binary patch to 'Kms/metadata/V1/Resources.php' without full index line
error: Kms/metadata/V1/Resources.php: patch does not apply
error: cannot apply binary patch to 'Kms/metadata/V1/Service.php' without full index line
error: Kms/metadata/V1/Service.php: patch does not apply
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 354, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 189, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 104, in synthesize_loop
    return synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 126, in synthesize_loop_single_pr
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 152, in synthesize_inner_loop
    synthesize_range(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 170, in synthesize_range
    toolbox.patch_merge_version(young)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 182, in patch_merge_version
    git.patch_merge(sub_branch, patch_file_path)
  File "/tmpfs/src/github/synthtool/autosynth/git.py", line 151, in patch_merge
    executor.check_call(["git", "apply", patch_file_path], cwd=git_repo_dir)
  File "/tmpfs/src/github/synthtool/autosynth/executor.py", line 29, in check_call
    subprocess.check_call(command, **args)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 311, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['git', 'apply', '/tmpfs/tmp/tmpd5xfgyup/autosynth-kms-277.patch']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating kms. :sob:

Here's the output from running synth.py:

^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsymmetricDecryptResponse.php.
2021-01-23 05:20:33,566 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsymmetricDecryptRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsymmetricDecryptRequest.php.
2021-01-23 05:20:33,566 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CryptoKey.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CryptoKey.php.
2021-01-23 05:20:33,566 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/EncryptRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/EncryptRequest.php.
2021-01-23 05:20:33,566 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/UpdateCryptoKeyPrimaryVersionRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/UpdateCryptoKeyPrimaryVersionRequest.php.
2021-01-23 05:20:33,567 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/GetCryptoKeyRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/GetCryptoKeyRequest.php.
2021-01-23 05:20:33,567 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/KeyRing.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/KeyRing.php.
2021-01-23 05:20:33,567 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CreateImportJobRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CreateImportJobRequest.php.
2021-01-23 05:20:33,567 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ListCryptoKeyVersionsRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ListCryptoKeyVersionsRequest.php.
2021-01-23 05:20:33,567 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/DecryptResponse.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/DecryptResponse.php.
2021-01-23 05:20:33,568 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ImportJob/WrappingPublicKey.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ImportJob/WrappingPublicKey.php.
2021-01-23 05:20:33,577 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
2021-01-23 05:20:33,578 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptRequest.php.
2021-01-23 05:20:33,578 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/PublicKey.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/PublicKey.php.
2021-01-23 05:20:33,580 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptResponse.php.
2021-01-23 05:20:33,581 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignRequest.php.
2021-01-23 05:20:33,582 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignResponse.php.
2021-01-23 05:20:33,582 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptResponse.php.
2021-01-23 05:20:33,583 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptRequest.php.
2021-01-23 05:20:33,583 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptRequest.php.
2021-01-23 05:20:33,584 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptResponse.php.
2021-01-23 05:20:33,891 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
2021-01-23 05:20:33,892 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
2021-01-23 05:20:33,987 autosynth [INFO] > Changed files:
2021-01-23 05:20:33,987 autosynth [INFO] > M Kms/metadata/V1/Resources.php
 M Kms/metadata/V1/Service.php
 M Kms/synth.metadata
2021-01-23 05:20:33,987 autosynth [DEBUG] > Running: git log ceaaf31b3d13badab7cf9d3b570f5639db5593d9 -1 --no-decorate --pretty=%s
2021-01-23 05:20:33,991 autosynth [DEBUG] > Running: git log ceaaf31b3d13badab7cf9d3b570f5639db5593d9 -1 --no-decorate --pretty=%b%n%nSource-Author: %an <%ae>%nSource-Date: %ad
2021-01-23 05:20:33,995 autosynth [DEBUG] > Running: git add -A
2021-01-23 05:20:34,041 autosynth [DEBUG] > Running: git status --porcelain
2021-01-23 05:20:34,078 autosynth [DEBUG] > Running: git commit -m chore: update Go generator, rules_go, and protobuf

PiperOrigin-RevId: 352816749

Source-Author: Google APIs <noreply@google.com>
Source-Date: Wed Jan 20 10:06:23 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: ceaaf31b3d13badab7cf9d3b570f5639db5593d9
Source-Link: https://github.com/googleapis/googleapis/commit/ceaaf31b3d13badab7cf9d3b570f5639db5593d9
[autosynth-kms-277 6f915786] chore: update Go generator, rules_go, and protobuf
 3 files changed, 4 insertions(+), 4 deletions(-)
 rewrite Kms/metadata/V1/Resources.php (92%)
 rewrite Kms/metadata/V1/Service.php (95%)
2021-01-23 05:20:34,106 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 6f915786 chore: update Go generator, rules_go, and protobuf
2021-01-23 05:20:34,149 autosynth [DEBUG] > Running: git checkout autosynth-kms
Switched to branch 'autosynth-kms'
2021-01-23 05:20:34,178 autosynth [DEBUG] > Running: git diff HEAD..autosynth-kms-277 -- . :(exclude)synth.metadata
2021-01-23 05:20:34,183 autosynth [DEBUG] > Running: git diff HEAD autosynth-kms-277
2021-01-23 05:20:34,190 autosynth [DEBUG] > Running: git apply /tmpfs/tmp/tmpxz8ps2wa/autosynth-kms-277.patch
error: cannot apply binary patch to 'Kms/metadata/V1/Resources.php' without full index line
error: Kms/metadata/V1/Resources.php: patch does not apply
error: cannot apply binary patch to 'Kms/metadata/V1/Service.php' without full index line
error: Kms/metadata/V1/Service.php: patch does not apply
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 354, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 189, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 104, in synthesize_loop
    return synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 126, in synthesize_loop_single_pr
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 152, in synthesize_inner_loop
    synthesize_range(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 170, in synthesize_range
    toolbox.patch_merge_version(young)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 182, in patch_merge_version
    git.patch_merge(sub_branch, patch_file_path)
  File "/tmpfs/src/github/synthtool/autosynth/git.py", line 151, in patch_merge
    executor.check_call(["git", "apply", patch_file_path], cwd=git_repo_dir)
  File "/tmpfs/src/github/synthtool/autosynth/executor.py", line 29, in check_call
    subprocess.check_call(command, **args)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 311, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['git', 'apply', '/tmpfs/tmp/tmpxz8ps2wa/autosynth-kms-277.patch']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating kms. :sob:

Here's the output from running synth.py:

^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsymmetricDecryptResponse.php.
2021-01-24 05:19:25,529 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsymmetricDecryptRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsymmetricDecryptRequest.php.
2021-01-24 05:19:25,529 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CryptoKey.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CryptoKey.php.
2021-01-24 05:19:25,530 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/EncryptRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/EncryptRequest.php.
2021-01-24 05:19:25,530 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/UpdateCryptoKeyPrimaryVersionRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/UpdateCryptoKeyPrimaryVersionRequest.php.
2021-01-24 05:19:25,530 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/GetCryptoKeyRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/GetCryptoKeyRequest.php.
2021-01-24 05:19:25,530 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/KeyRing.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/KeyRing.php.
2021-01-24 05:19:25,531 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CreateImportJobRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CreateImportJobRequest.php.
2021-01-24 05:19:25,531 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ListCryptoKeyVersionsRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ListCryptoKeyVersionsRequest.php.
2021-01-24 05:19:25,531 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/DecryptResponse.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/DecryptResponse.php.
2021-01-24 05:19:25,532 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ImportJob/WrappingPublicKey.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ImportJob/WrappingPublicKey.php.
2021-01-24 05:19:25,540 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
2021-01-24 05:19:25,541 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptRequest.php.
2021-01-24 05:19:25,542 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/PublicKey.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/PublicKey.php.
2021-01-24 05:19:25,544 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptResponse.php.
2021-01-24 05:19:25,545 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignRequest.php.
2021-01-24 05:19:25,546 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignResponse.php.
2021-01-24 05:19:25,546 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptResponse.php.
2021-01-24 05:19:25,547 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptRequest.php.
2021-01-24 05:19:25,547 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptRequest.php.
2021-01-24 05:19:25,548 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptResponse.php.
2021-01-24 05:19:25,852 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
2021-01-24 05:19:25,853 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
2021-01-24 05:19:25,944 autosynth [INFO] > Changed files:
2021-01-24 05:19:25,944 autosynth [INFO] > M Kms/metadata/V1/Resources.php
 M Kms/metadata/V1/Service.php
 M Kms/synth.metadata
2021-01-24 05:19:25,944 autosynth [DEBUG] > Running: git log ceaaf31b3d13badab7cf9d3b570f5639db5593d9 -1 --no-decorate --pretty=%s
2021-01-24 05:19:25,948 autosynth [DEBUG] > Running: git log ceaaf31b3d13badab7cf9d3b570f5639db5593d9 -1 --no-decorate --pretty=%b%n%nSource-Author: %an <%ae>%nSource-Date: %ad
2021-01-24 05:19:25,952 autosynth [DEBUG] > Running: git add -A
2021-01-24 05:19:25,998 autosynth [DEBUG] > Running: git status --porcelain
2021-01-24 05:19:26,045 autosynth [DEBUG] > Running: git commit -m chore: update Go generator, rules_go, and protobuf

PiperOrigin-RevId: 352816749

Source-Author: Google APIs <noreply@google.com>
Source-Date: Wed Jan 20 10:06:23 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: ceaaf31b3d13badab7cf9d3b570f5639db5593d9
Source-Link: https://github.com/googleapis/googleapis/commit/ceaaf31b3d13badab7cf9d3b570f5639db5593d9
[autosynth-kms-277 5fd0dd4d] chore: update Go generator, rules_go, and protobuf
 3 files changed, 4 insertions(+), 4 deletions(-)
 rewrite Kms/metadata/V1/Resources.php (92%)
 rewrite Kms/metadata/V1/Service.php (95%)
2021-01-24 05:19:26,073 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 5fd0dd4d chore: update Go generator, rules_go, and protobuf
2021-01-24 05:19:26,115 autosynth [DEBUG] > Running: git checkout autosynth-kms
Switched to branch 'autosynth-kms'
2021-01-24 05:19:26,144 autosynth [DEBUG] > Running: git diff HEAD..autosynth-kms-277 -- . :(exclude)synth.metadata
2021-01-24 05:19:26,150 autosynth [DEBUG] > Running: git diff HEAD autosynth-kms-277
2021-01-24 05:19:26,156 autosynth [DEBUG] > Running: git apply /tmpfs/tmp/tmpcetygbxf/autosynth-kms-277.patch
error: cannot apply binary patch to 'Kms/metadata/V1/Resources.php' without full index line
error: Kms/metadata/V1/Resources.php: patch does not apply
error: cannot apply binary patch to 'Kms/metadata/V1/Service.php' without full index line
error: Kms/metadata/V1/Service.php: patch does not apply
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 354, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 189, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 104, in synthesize_loop
    return synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 126, in synthesize_loop_single_pr
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 152, in synthesize_inner_loop
    synthesize_range(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 170, in synthesize_range
    toolbox.patch_merge_version(young)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 182, in patch_merge_version
    git.patch_merge(sub_branch, patch_file_path)
  File "/tmpfs/src/github/synthtool/autosynth/git.py", line 151, in patch_merge
    executor.check_call(["git", "apply", patch_file_path], cwd=git_repo_dir)
  File "/tmpfs/src/github/synthtool/autosynth/executor.py", line 29, in check_call
    subprocess.check_call(command, **args)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 311, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['git', 'apply', '/tmpfs/tmp/tmpcetygbxf/autosynth-kms-277.patch']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating kms. :sob:

Here's the output from running synth.py:

^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsymmetricDecryptResponse.php.
2021-01-25 05:11:41,195 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsymmetricDecryptRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsymmetricDecryptRequest.php.
2021-01-25 05:11:41,195 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CryptoKey.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CryptoKey.php.
2021-01-25 05:11:41,196 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/EncryptRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/EncryptRequest.php.
2021-01-25 05:11:41,196 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/UpdateCryptoKeyPrimaryVersionRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/UpdateCryptoKeyPrimaryVersionRequest.php.
2021-01-25 05:11:41,196 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/GetCryptoKeyRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/GetCryptoKeyRequest.php.
2021-01-25 05:11:41,196 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/KeyRing.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/KeyRing.php.
2021-01-25 05:11:41,196 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CreateImportJobRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CreateImportJobRequest.php.
2021-01-25 05:11:41,197 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ListCryptoKeyVersionsRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ListCryptoKeyVersionsRequest.php.
2021-01-25 05:11:41,197 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/DecryptResponse.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/DecryptResponse.php.
2021-01-25 05:11:41,198 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ImportJob/WrappingPublicKey.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ImportJob/WrappingPublicKey.php.
2021-01-25 05:11:41,206 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
2021-01-25 05:11:41,207 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptRequest.php.
2021-01-25 05:11:41,207 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/PublicKey.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/PublicKey.php.
2021-01-25 05:11:41,209 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptResponse.php.
2021-01-25 05:11:41,210 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignRequest.php.
2021-01-25 05:11:41,211 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignResponse.php.
2021-01-25 05:11:41,212 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptResponse.php.
2021-01-25 05:11:41,212 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptRequest.php.
2021-01-25 05:11:41,212 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptRequest.php.
2021-01-25 05:11:41,213 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptResponse.php.
2021-01-25 05:11:41,517 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
2021-01-25 05:11:41,518 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
2021-01-25 05:11:41,605 autosynth [INFO] > Changed files:
2021-01-25 05:11:41,605 autosynth [INFO] > M Kms/metadata/V1/Resources.php
 M Kms/metadata/V1/Service.php
 M Kms/synth.metadata
2021-01-25 05:11:41,605 autosynth [DEBUG] > Running: git log ceaaf31b3d13badab7cf9d3b570f5639db5593d9 -1 --no-decorate --pretty=%s
2021-01-25 05:11:41,609 autosynth [DEBUG] > Running: git log ceaaf31b3d13badab7cf9d3b570f5639db5593d9 -1 --no-decorate --pretty=%b%n%nSource-Author: %an <%ae>%nSource-Date: %ad
2021-01-25 05:11:41,612 autosynth [DEBUG] > Running: git add -A
2021-01-25 05:11:41,659 autosynth [DEBUG] > Running: git status --porcelain
2021-01-25 05:11:41,704 autosynth [DEBUG] > Running: git commit -m chore: update Go generator, rules_go, and protobuf

PiperOrigin-RevId: 352816749

Source-Author: Google APIs <noreply@google.com>
Source-Date: Wed Jan 20 10:06:23 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: ceaaf31b3d13badab7cf9d3b570f5639db5593d9
Source-Link: https://github.com/googleapis/googleapis/commit/ceaaf31b3d13badab7cf9d3b570f5639db5593d9
[autosynth-kms-277 2587373b] chore: update Go generator, rules_go, and protobuf
 3 files changed, 4 insertions(+), 4 deletions(-)
 rewrite Kms/metadata/V1/Resources.php (92%)
 rewrite Kms/metadata/V1/Service.php (95%)
2021-01-25 05:11:41,734 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 2587373b chore: update Go generator, rules_go, and protobuf
2021-01-25 05:11:41,781 autosynth [DEBUG] > Running: git checkout autosynth-kms
Switched to branch 'autosynth-kms'
2021-01-25 05:11:41,813 autosynth [DEBUG] > Running: git diff HEAD..autosynth-kms-277 -- . :(exclude)synth.metadata
2021-01-25 05:11:41,818 autosynth [DEBUG] > Running: git diff HEAD autosynth-kms-277
2021-01-25 05:11:41,824 autosynth [DEBUG] > Running: git apply /tmpfs/tmp/tmpfh8wlsf9/autosynth-kms-277.patch
error: cannot apply binary patch to 'Kms/metadata/V1/Resources.php' without full index line
error: Kms/metadata/V1/Resources.php: patch does not apply
error: cannot apply binary patch to 'Kms/metadata/V1/Service.php' without full index line
error: Kms/metadata/V1/Service.php: patch does not apply
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 354, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 189, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 104, in synthesize_loop
    return synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 126, in synthesize_loop_single_pr
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 152, in synthesize_inner_loop
    synthesize_range(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 170, in synthesize_range
    toolbox.patch_merge_version(young)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 182, in patch_merge_version
    git.patch_merge(sub_branch, patch_file_path)
  File "/tmpfs/src/github/synthtool/autosynth/git.py", line 151, in patch_merge
    executor.check_call(["git", "apply", patch_file_path], cwd=git_repo_dir)
  File "/tmpfs/src/github/synthtool/autosynth/executor.py", line 29, in check_call
    subprocess.check_call(command, **args)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 311, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['git', 'apply', '/tmpfs/tmp/tmpfh8wlsf9/autosynth-kms-277.patch']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating kms. :sob:

Here's the output from running synth.py:

DecryptResponse.php.
2021-01-26 05:17:10,146 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsymmetricDecryptRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsymmetricDecryptRequest.php.
2021-01-26 05:17:10,146 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CryptoKey.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CryptoKey.php.
2021-01-26 05:17:10,146 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/EncryptRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/EncryptRequest.php.
2021-01-26 05:17:10,147 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/UpdateCryptoKeyPrimaryVersionRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/UpdateCryptoKeyPrimaryVersionRequest.php.
2021-01-26 05:17:10,147 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/GetCryptoKeyRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/GetCryptoKeyRequest.php.
2021-01-26 05:17:10,147 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/KeyRing.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/KeyRing.php.
2021-01-26 05:17:10,147 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CreateImportJobRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CreateImportJobRequest.php.
2021-01-26 05:17:10,148 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ListCryptoKeyVersionsRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ListCryptoKeyVersionsRequest.php.
2021-01-26 05:17:10,148 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/DecryptResponse.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/DecryptResponse.php.
2021-01-26 05:17:10,149 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ImportJob/WrappingPublicKey.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ImportJob/WrappingPublicKey.php.
2021-01-26 05:17:10,157 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
2021-01-26 05:17:10,158 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptRequest.php.
2021-01-26 05:17:10,158 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/PublicKey.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/PublicKey.php.
2021-01-26 05:17:10,161 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptResponse.php.
2021-01-26 05:17:10,162 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignRequest.php.
2021-01-26 05:17:10,162 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignResponse.php.
2021-01-26 05:17:10,163 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptResponse.php.
2021-01-26 05:17:10,163 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptRequest.php.
2021-01-26 05:17:10,164 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptRequest.php.
2021-01-26 05:17:10,164 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptResponse.php.
2021-01-26 05:17:10,482 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
2021-01-26 05:17:10,483 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
2021-01-26 05:17:10,576 autosynth [INFO] > Changed files:
2021-01-26 05:17:10,576 autosynth [INFO] > M Kms/synth.metadata
2021-01-26 05:17:10,577 autosynth [DEBUG] > Running: git log 656b253c1a4bcad06d77d903e1d873e75ef57328 -1 --no-decorate --pretty=%s
2021-01-26 05:17:10,581 autosynth [DEBUG] > Running: git log 656b253c1a4bcad06d77d903e1d873e75ef57328 -1 --no-decorate --pretty=%b%n%nSource-Author: %an <%ae>%nSource-Date: %ad
2021-01-26 05:17:10,584 autosynth [DEBUG] > Running: git add -A
2021-01-26 05:17:10,630 autosynth [DEBUG] > Running: git status --porcelain
2021-01-26 05:17:10,679 autosynth [DEBUG] > Running: git commit -m build(nodejs): add build rules for Node.js library

PiperOrigin-RevId: 352815661

Source-Author: Google APIs <noreply@google.com>
Source-Date: Wed Jan 20 10:01:58 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 656b253c1a4bcad06d77d903e1d873e75ef57328
Source-Link: https://github.com/googleapis/googleapis/commit/656b253c1a4bcad06d77d903e1d873e75ef57328
[autosynth-kms-276 0a7e667c] build(nodejs): add build rules for Node.js library
 1 file changed, 4 insertions(+), 4 deletions(-)
2021-01-26 05:17:10,713 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0a7e667c build(nodejs): add build rules for Node.js library
2021-01-26 05:17:10,760 autosynth [DEBUG] > Running: git checkout autosynth-kms
Switched to branch 'autosynth-kms'
2021-01-26 05:17:10,794 autosynth [DEBUG] > Running: git diff HEAD..autosynth-kms-276 -- . :(exclude)synth.metadata
2021-01-26 05:17:10,799 autosynth [DEBUG] > Running: git diff HEAD..autosynth-kms-276 -- synth.metadata
2021-01-26 05:17:10,804 autosynth [DEBUG] > Running: git diff HEAD..autosynth-kms-277 -- . :(exclude)synth.metadata
2021-01-26 05:17:10,810 autosynth [DEBUG] > Running: git diff HEAD autosynth-kms-277
2021-01-26 05:17:10,816 autosynth [DEBUG] > Running: git apply /tmpfs/tmp/tmp6ur5wrls/autosynth-kms-277.patch
error: cannot apply binary patch to 'Kms/metadata/V1/Resources.php' without full index line
error: Kms/metadata/V1/Resources.php: patch does not apply
error: cannot apply binary patch to 'Kms/metadata/V1/Service.php' without full index line
error: Kms/metadata/V1/Service.php: patch does not apply
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 354, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 189, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 104, in synthesize_loop
    return synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 126, in synthesize_loop_single_pr
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 152, in synthesize_inner_loop
    synthesize_range(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 170, in synthesize_range
    toolbox.patch_merge_version(young)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 182, in patch_merge_version
    git.patch_merge(sub_branch, patch_file_path)
  File "/tmpfs/src/github/synthtool/autosynth/git.py", line 151, in patch_merge
    executor.check_call(["git", "apply", patch_file_path], cwd=git_repo_dir)
  File "/tmpfs/src/github/synthtool/autosynth/executor.py", line 29, in check_call
    subprocess.check_call(command, **args)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 311, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['git', 'apply', '/tmpfs/tmp/tmp6ur5wrls/autosynth-kms-277.patch']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating kms. :sob:

Here's the output from running synth.py:

^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsymmetricDecryptResponse.php.
2021-01-27 05:11:33,938 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsymmetricDecryptRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AsymmetricDecryptRequest.php.
2021-01-27 05:11:33,938 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CryptoKey.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CryptoKey.php.
2021-01-27 05:11:33,939 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/EncryptRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/EncryptRequest.php.
2021-01-27 05:11:33,939 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/UpdateCryptoKeyPrimaryVersionRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/UpdateCryptoKeyPrimaryVersionRequest.php.
2021-01-27 05:11:33,939 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/GetCryptoKeyRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/GetCryptoKeyRequest.php.
2021-01-27 05:11:33,939 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/KeyRing.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/KeyRing.php.
2021-01-27 05:11:33,940 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CreateImportJobRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CreateImportJobRequest.php.
2021-01-27 05:11:33,940 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ListCryptoKeyVersionsRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ListCryptoKeyVersionsRequest.php.
2021-01-27 05:11:33,940 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/DecryptResponse.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/DecryptResponse.php.
2021-01-27 05:11:33,941 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ImportJob/WrappingPublicKey.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ImportJob/WrappingPublicKey.php.
2021-01-27 05:11:33,949 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
2021-01-27 05:11:33,950 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptRequest.php.
2021-01-27 05:11:33,950 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/PublicKey.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/PublicKey.php.
2021-01-27 05:11:33,952 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptResponse.php.
2021-01-27 05:11:33,953 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignRequest.php.
2021-01-27 05:11:33,954 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricSignResponse.php.
2021-01-27 05:11:33,954 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptResponse.php.
2021-01-27 05:11:33,955 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/AsymmetricDecryptRequest.php.
2021-01-27 05:11:33,955 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptRequest.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/EncryptRequest.php.
2021-01-27 05:11:33,956 synthtool [INFO] > Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptResponse.php.
INFO:synthtool:Replaced 'public function ([s|g]\\w{3,})Unwrapped' in src/V1/DecryptResponse.php.
2021-01-27 05:11:34,253 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
2021-01-27 05:11:34,254 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
2021-01-27 05:11:34,332 autosynth [INFO] > Changed files:
2021-01-27 05:11:34,333 autosynth [INFO] > M Kms/metadata/V1/Resources.php
 M Kms/metadata/V1/Service.php
 M Kms/synth.metadata
2021-01-27 05:11:34,333 autosynth [DEBUG] > Running: git log ceaaf31b3d13badab7cf9d3b570f5639db5593d9 -1 --no-decorate --pretty=%s
2021-01-27 05:11:34,336 autosynth [DEBUG] > Running: git log ceaaf31b3d13badab7cf9d3b570f5639db5593d9 -1 --no-decorate --pretty=%b%n%nSource-Author: %an <%ae>%nSource-Date: %ad
2021-01-27 05:11:34,340 autosynth [DEBUG] > Running: git add -A
2021-01-27 05:11:34,378 autosynth [DEBUG] > Running: git status --porcelain
2021-01-27 05:11:34,418 autosynth [DEBUG] > Running: git commit -m chore: update Go generator, rules_go, and protobuf

PiperOrigin-RevId: 352816749

Source-Author: Google APIs <noreply@google.com>
Source-Date: Wed Jan 20 10:06:23 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: ceaaf31b3d13badab7cf9d3b570f5639db5593d9
Source-Link: https://github.com/googleapis/googleapis/commit/ceaaf31b3d13badab7cf9d3b570f5639db5593d9
[autosynth-kms-277 cc55c7c6] chore: update Go generator, rules_go, and protobuf
 3 files changed, 4 insertions(+), 4 deletions(-)
 rewrite Kms/metadata/V1/Resources.php (92%)
 rewrite Kms/metadata/V1/Service.php (95%)
2021-01-27 05:11:34,445 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at cc55c7c6 chore: update Go generator, rules_go, and protobuf
2021-01-27 05:11:34,483 autosynth [DEBUG] > Running: git checkout autosynth-kms
Switched to branch 'autosynth-kms'
2021-01-27 05:11:34,510 autosynth [DEBUG] > Running: git diff HEAD..autosynth-kms-277 -- . :(exclude)synth.metadata
2021-01-27 05:11:34,515 autosynth [DEBUG] > Running: git diff HEAD autosynth-kms-277
2021-01-27 05:11:34,520 autosynth [DEBUG] > Running: git apply /tmpfs/tmp/tmpn7dydnnb/autosynth-kms-277.patch
error: cannot apply binary patch to 'Kms/metadata/V1/Resources.php' without full index line
error: Kms/metadata/V1/Resources.php: patch does not apply
error: cannot apply binary patch to 'Kms/metadata/V1/Service.php' without full index line
error: Kms/metadata/V1/Service.php: patch does not apply
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 354, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 189, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 104, in synthesize_loop
    return synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 126, in synthesize_loop_single_pr
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 152, in synthesize_inner_loop
    synthesize_range(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 170, in synthesize_range
    toolbox.patch_merge_version(young)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 182, in patch_merge_version
    git.patch_merge(sub_branch, patch_file_path)
  File "/tmpfs/src/github/synthtool/autosynth/git.py", line 151, in patch_merge
    executor.check_call(["git", "apply", patch_file_path], cwd=git_repo_dir)
  File "/tmpfs/src/github/synthtool/autosynth/executor.py", line 29, in check_call
    subprocess.check_call(command, **args)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 311, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['git', 'apply', '/tmpfs/tmp/tmpn7dydnnb/autosynth-kms-277.patch']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 3 years ago

Autosynth passed, closing! :green_heart: