googleapis / nodejs-logging

Node.js client for Stackdriver Logging: Store, search, analyze, monitor, and alert on log data and events from Google Cloud Platform and Amazon Web Services (AWS).
https://cloud.google.com/logging/
Apache License 2.0
173 stars 62 forks source link

Synthesis failed for nodejs-logging #866

Closed yoshi-automation closed 4 years ago

yoshi-automation commented 4 years ago

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

Here's the output from running synth.py:

0/common.cfg...
INFO:synthtool:Removing obsolete file .kokoro/continuous/node10/common.cfg...
2020-08-06 04:16:57,317 synthtool [INFO] > Removing obsolete file .kokoro/presubmit/node12/common.cfg...
INFO:synthtool:Removing obsolete file .kokoro/presubmit/node12/common.cfg...
2020-08-06 04:16:57,317 synthtool [INFO] > Removing obsolete file protos/google/logging/v2/logging.proto...
INFO:synthtool:Removing obsolete file protos/google/logging/v2/logging.proto...
2020-08-06 04:16:57,318 synthtool [INFO] > Removing obsolete file .kokoro/release/docs.cfg...
INFO:synthtool:Removing obsolete file .kokoro/release/docs.cfg...
2020-08-06 04:16:57,318 synthtool [INFO] > Removing obsolete file .kokoro/presubmit/node10/common.cfg...
INFO:synthtool:Removing obsolete file .kokoro/presubmit/node10/common.cfg...
2020-08-06 04:16:57,318 synthtool [INFO] > Removing obsolete file protos/protos.js...
INFO:synthtool:Removing obsolete file protos/protos.js...
2020-08-06 04:16:57,318 synthtool [INFO] > Removing obsolete file system-test/install.ts...
INFO:synthtool:Removing obsolete file system-test/install.ts...
2020-08-06 04:16:57,318 synthtool [INFO] > Removing obsolete file .github/workflows/ci.yaml...
INFO:synthtool:Removing obsolete file .github/workflows/ci.yaml...
2020-08-06 04:16:57,318 synthtool [INFO] > Removing obsolete file CODE_OF_CONDUCT.md...
INFO:synthtool:Removing obsolete file CODE_OF_CONDUCT.md...
2020-08-06 04:16:57,318 synthtool [INFO] > Removing obsolete file .kokoro/continuous/node12/common.cfg...
INFO:synthtool:Removing obsolete file .kokoro/continuous/node12/common.cfg...
2020-08-06 04:16:57,318 synthtool [INFO] > Removing obsolete file webpack.config.js...
INFO:synthtool:Removing obsolete file webpack.config.js...
2020-08-06 04:16:57,318 synthtool [INFO] > Removing obsolete file tsconfig.json...
INFO:synthtool:Removing obsolete file tsconfig.json...
2020-08-06 04:16:57,318 synthtool [INFO] > Removing obsolete file .kokoro/continuous/node10/system-test.cfg...
INFO:synthtool:Removing obsolete file .kokoro/continuous/node10/system-test.cfg...
2020-08-06 04:16:57,318 synthtool [INFO] > Removing obsolete file src/v2/config_service_v2_client_config.json...
INFO:synthtool:Removing obsolete file src/v2/config_service_v2_client_config.json...
2020-08-06 04:16:57,318 synthtool [INFO] > Removing obsolete file src/v2/config_service_v2_proto_list.json...
INFO:synthtool:Removing obsolete file src/v2/config_service_v2_proto_list.json...
2020-08-06 04:16:57,319 synthtool [INFO] > Removing obsolete file .kokoro/system-test.sh...
INFO:synthtool:Removing obsolete file .kokoro/system-test.sh...
2020-08-06 04:16:57,319 synthtool [INFO] > Removing obsolete file .kokoro/docs.sh...
INFO:synthtool:Removing obsolete file .kokoro/docs.sh...
2020-08-06 04:16:57,319 synthtool [INFO] > Removing obsolete file .kokoro/samples-test.sh...
INFO:synthtool:Removing obsolete file .kokoro/samples-test.sh...
2020-08-06 04:16:57,319 synthtool [INFO] > Removing obsolete file .kokoro/populate-secrets.sh...
INFO:synthtool:Removing obsolete file .kokoro/populate-secrets.sh...
2020-08-06 04:16:57,319 synthtool [INFO] > Removing obsolete file .gitattributes...
INFO:synthtool:Removing obsolete file .gitattributes...
2020-08-06 04:16:57,319 synthtool [INFO] > Removing obsolete file .gitignore...
INFO:synthtool:Removing obsolete file .gitignore...
2020-08-06 04:16:57,319 synthtool [INFO] > Removing obsolete file .github/ISSUE_TEMPLATE/support_request.md...
INFO:synthtool:Removing obsolete file .github/ISSUE_TEMPLATE/support_request.md...
2020-08-06 04:16:57,319 synthtool [INFO] > Removing obsolete file .github/release-please.yml...
INFO:synthtool:Removing obsolete file .github/release-please.yml...
2020-08-06 04:16:57,319 synthtool [INFO] > Removing obsolete file .kokoro/presubmit/node10/system-test.cfg...
INFO:synthtool:Removing obsolete file .kokoro/presubmit/node10/system-test.cfg...
2020-08-06 04:16:57,319 synthtool [INFO] > Removing obsolete file src/v2/config_service_v2_client.ts...
INFO:synthtool:Removing obsolete file src/v2/config_service_v2_client.ts...
2020-08-06 04:16:57,319 synthtool [INFO] > Removing obsolete file .eslintignore...
INFO:synthtool:Removing obsolete file .eslintignore...
2020-08-06 04:16:57,320 synthtool [INFO] > Removing obsolete file .kokoro/release/publish.cfg...
INFO:synthtool:Removing obsolete file .kokoro/release/publish.cfg...
2020-08-06 04:16:57,320 synthtool [INFO] > Removing obsolete file .kokoro/release/docs.sh...
INFO:synthtool:Removing obsolete file .kokoro/release/docs.sh...
2020-08-06 04:16:57,320 synthtool [INFO] > Removing obsolete file src/v2/logging_service_v2_client_config.json...
INFO:synthtool:Removing obsolete file src/v2/logging_service_v2_client_config.json...
2020-08-06 04:16:57,320 synthtool [INFO] > Removing obsolete file .kokoro/publish.sh...
INFO:synthtool:Removing obsolete file .kokoro/publish.sh...
2020-08-06 04:16:57,320 synthtool [INFO] > Removing obsolete file .nycrc...
INFO:synthtool:Removing obsolete file .nycrc...
2020-08-06 04:16:57,320 synthtool [INFO] > Removing obsolete file samples/README.md...
INFO:synthtool:Removing obsolete file samples/README.md...
2020-08-06 04:16:57,320 synthtool [INFO] > Removing obsolete file .kokoro/continuous/node10/docs.cfg...
INFO:synthtool:Removing obsolete file .kokoro/continuous/node10/docs.cfg...
2020-08-06 04:16:57,320 synthtool [INFO] > Removing obsolete file .github/ISSUE_TEMPLATE/bug_report.md...
INFO:synthtool:Removing obsolete file .github/ISSUE_TEMPLATE/bug_report.md...
2020-08-06 04:16:57,320 synthtool [INFO] > Removing obsolete file CONTRIBUTING.md...
INFO:synthtool:Removing obsolete file CONTRIBUTING.md...
2020-08-06 04:16:57,320 synthtool [INFO] > Removing obsolete file src/v2/logging_service_v2_proto_list.json...
INFO:synthtool:Removing obsolete file src/v2/logging_service_v2_proto_list.json...
2020-08-06 04:16:57,321 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
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/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/nodejs-logging/synth.py", line 32, in <module>
    v2_library = gapic.node_library("logging", version, proto_path=f'google/logging/{version}')
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 52, in node_library
    return self._generate_code(service, version, "nodejs", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 183, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/logging/v2:logging-v2-nodejs']' returned non-zero exit status 1.
2020-08-06 04:16:57,379 autosynth [ERROR] > Synthesis failed
2020-08-06 04:16:57,379 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 75cd541 fix(docs): jsdoc strings were malformed (#864)
2020-08-06 04:16:57,385 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-08-06 04:16:57,390 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 690, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 539, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 670, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 4 years ago

Autosynth passed, closing! :green_heart: