googleapis / nodejs-language

This repository is deprecated. All of its content and history has been moved to googleapis/google-cloud-node.
https://cloud.google.com/natural-language/
Apache License 2.0
127 stars 99 forks source link

Synthesis failed for nodejs-language #522

Closed yoshi-automation closed 3 years ago

yoshi-automation commented 3 years ago

Hello! Autosynth couldn't regenerate nodejs-language. :broken_heart:

Here's the output from running synth.py:

elpers.mjs
 create mode 100644 samples/node_modules/yargs/index.cjs
 create mode 100644 samples/node_modules/yargs/index.mjs
 create mode 100644 samples/node_modules/yargs/lib/platform-shims/browser.mjs
 create mode 100644 samples/node_modules/yargs/lib/platform-shims/esm.mjs
 create mode 100644 samples/node_modules/yargs/locales/be.json
 create mode 100644 samples/node_modules/yargs/locales/de.json
 create mode 100644 samples/node_modules/yargs/locales/en.json
 create mode 100644 samples/node_modules/yargs/locales/es.json
 create mode 100644 samples/node_modules/yargs/locales/fi.json
 create mode 100644 samples/node_modules/yargs/locales/fr.json
 create mode 100644 samples/node_modules/yargs/locales/hi.json
 create mode 100644 samples/node_modules/yargs/locales/hu.json
 create mode 100644 samples/node_modules/yargs/locales/id.json
 create mode 100644 samples/node_modules/yargs/locales/it.json
 create mode 100644 samples/node_modules/yargs/locales/ja.json
 create mode 100644 samples/node_modules/yargs/locales/ko.json
 create mode 100644 samples/node_modules/yargs/locales/nb.json
 create mode 100644 samples/node_modules/yargs/locales/nl.json
 create mode 100644 samples/node_modules/yargs/locales/nn.json
 create mode 100644 samples/node_modules/yargs/locales/pirate.json
 create mode 100644 samples/node_modules/yargs/locales/pl.json
 create mode 100644 samples/node_modules/yargs/locales/pt.json
 create mode 100644 samples/node_modules/yargs/locales/pt_BR.json
 create mode 100644 samples/node_modules/yargs/locales/ru.json
 create mode 100644 samples/node_modules/yargs/locales/th.json
 create mode 100644 samples/node_modules/yargs/locales/tr.json
 create mode 100644 samples/node_modules/yargs/locales/zh_CN.json
 create mode 100644 samples/node_modules/yargs/locales/zh_TW.json
 create mode 100644 samples/node_modules/yargs/node_modules/cliui/CHANGELOG.md
 create mode 100644 samples/node_modules/yargs/node_modules/cliui/LICENSE.txt
 create mode 100644 samples/node_modules/yargs/node_modules/cliui/README.md
 create mode 100644 samples/node_modules/yargs/node_modules/cliui/build/index.cjs
 create mode 100644 samples/node_modules/yargs/node_modules/cliui/build/lib/index.js
 create mode 100644 samples/node_modules/yargs/node_modules/cliui/build/lib/string-utils.js
 create mode 100644 samples/node_modules/yargs/node_modules/cliui/index.mjs
 create mode 100644 samples/node_modules/yargs/node_modules/cliui/package.json
 create mode 100755 samples/node_modules/yargs/node_modules/wrap-ansi/index.js
 create mode 100644 samples/node_modules/yargs/node_modules/wrap-ansi/license
 create mode 100644 samples/node_modules/yargs/node_modules/wrap-ansi/package.json
 create mode 100644 samples/node_modules/yargs/node_modules/wrap-ansi/readme.md
 create mode 100644 samples/node_modules/yargs/node_modules/y18n/CHANGELOG.md
 create mode 100644 samples/node_modules/yargs/node_modules/y18n/LICENSE
 create mode 100644 samples/node_modules/yargs/node_modules/y18n/README.md
 create mode 100644 samples/node_modules/yargs/node_modules/y18n/build/index.cjs
 create mode 100644 samples/node_modules/yargs/node_modules/y18n/build/lib/cjs.js
 create mode 100644 samples/node_modules/yargs/node_modules/y18n/build/lib/index.js
 create mode 100644 samples/node_modules/yargs/node_modules/y18n/build/lib/platform-shims/node.js
 create mode 100644 samples/node_modules/yargs/node_modules/y18n/index.mjs
 create mode 100644 samples/node_modules/yargs/node_modules/y18n/package.json
 create mode 100644 samples/node_modules/yargs/node_modules/yargs-parser/CHANGELOG.md
 create mode 100644 samples/node_modules/yargs/node_modules/yargs-parser/LICENSE.txt
 create mode 100644 samples/node_modules/yargs/node_modules/yargs-parser/README.md
 create mode 100644 samples/node_modules/yargs/node_modules/yargs-parser/browser.js
 create mode 100644 samples/node_modules/yargs/node_modules/yargs-parser/build/index.cjs
 create mode 100644 samples/node_modules/yargs/node_modules/yargs-parser/build/lib/common-types.js
 create mode 100644 samples/node_modules/yargs/node_modules/yargs-parser/build/lib/index.js
 create mode 100644 samples/node_modules/yargs/node_modules/yargs-parser/build/lib/string-utils.js
 create mode 100644 samples/node_modules/yargs/node_modules/yargs-parser/build/lib/tokenize-arg-string.js
 create mode 100644 samples/node_modules/yargs/node_modules/yargs-parser/build/lib/yargs-parser-types.js
 create mode 100644 samples/node_modules/yargs/node_modules/yargs-parser/build/lib/yargs-parser.js
 create mode 100644 samples/node_modules/yargs/node_modules/yargs-parser/package.json
 create mode 100644 samples/node_modules/yargs/package.json
 create mode 100644 samples/node_modules/yargs/yargs
 create mode 100644 samples/package-lock.json
 delete mode 100644 src/v1/index.ts
 delete mode 100644 src/v1/language_service_client.ts
 delete mode 100644 src/v1/language_service_client_config.json
 delete mode 100644 src/v1/language_service_proto_list.json
 delete mode 100644 src/v1beta2/index.ts
 delete mode 100644 src/v1beta2/language_service_client.ts
 delete mode 100644 src/v1beta2/language_service_client_config.json
 delete mode 100644 src/v1beta2/language_service_proto_list.json
 delete mode 100644 system-test/fixtures/sample/src/index.js
 delete mode 100644 system-test/fixtures/sample/src/index.ts
 delete mode 100644 system-test/install.ts
 delete mode 100644 test/gapic_language_service_v1.ts
 delete mode 100644 test/gapic_language_service_v1beta2.ts
 delete mode 100644 tsconfig.json
 delete mode 100644 webpack.config.js
2020-10-23 12:35:51,252 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 5a25ab6b chore: clean up Node.js TOC for cloud-rad
2020-10-23 12:35:52,291 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-23 12:35:52,637 autosynth [DEBUG] > Running: git diff HEAD..autosynth-0 -- . :(exclude)synth.metadata
warning: inexact rename detection was skipped due to too many files.
warning: you may want to set your diff.renameLimit variable to at least 23816 and retry the command.
2020-10-23 12:35:56,329 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing samples/node_modules/
Traceback (most recent call last):
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 95, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 151, in synthesize_inner_loop
    toolbox.patch_merge_version(0, comment)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 180, in patch_merge_version
    if self.git_branches_differ("HEAD", sub_branch):
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 193, in git_branches_differ
    return git_branches_differ(branch_a, branch_b, self._metadata_path)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 342, in git_branches_differ
    proc = executor.run(diff_cmd, stdout=subprocess.PIPE, universal_newlines=True)
  File "/tmpfs/src/github/synthtool/autosynth/executor.py", line 23, in run
    return subprocess.run(command, **args)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 425, in run
    stdout, stderr = process.communicate(input, timeout=timeout)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 850, in communicate
    stdout = self.stdout.read()
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/codecs.py", line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 100860671: invalid start byte

During handling of the above exception, another exception occurred:

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 356, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 103, in synthesize_loop
    synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 129, in synthesize_loop_single_pr
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 151, in synthesize_inner_loop
    toolbox.patch_merge_version(0, comment)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 180, in patch_merge_version
    if self.git_branches_differ("HEAD", sub_branch):
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 193, in git_branches_differ
    return git_branches_differ(branch_a, branch_b, self._metadata_path)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 342, in git_branches_differ
    proc = executor.run(diff_cmd, stdout=subprocess.PIPE, universal_newlines=True)
  File "/tmpfs/src/github/synthtool/autosynth/executor.py", line 23, in run
    return subprocess.run(command, **args)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 425, in run
    stdout, stderr = process.communicate(input, timeout=timeout)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 850, in communicate
    stdout = self.stdout.read()
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/codecs.py", line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 100860671: invalid start byte

Google internal developers can see the full log here.