GithubHelp home page GithubHelp logo

Comments (5)

yoshi-automation avatar yoshi-automation commented on June 10, 2024

Autosynth is still having trouble generating python-monitoring. 😭

Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the python-monitoring API, and the library grows
stale.

See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.

Here's the output from running synth.py:

1543f189a2a73/external/com_google_api_gax_java/repositories.bzl:60:5
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:217:1
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "47e2d7649bfcef198515f1412853cd1ff784fa65e9543ef80a81ab601e4600c6"
DEBUG: Call stack for the definition of repository 'com_google_api_codegen' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:77:1
DEBUG: Rule 'com_google_protoc_java_resource_names_plugin' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "4b714b35ee04ba90f560ee60e64c7357428efcb6b0f3a298f343f8ec2c6d4a5d"
DEBUG: Call stack for the definition of repository 'com_google_protoc_java_resource_names_plugin' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:234:1
DEBUG: Rule 'protoc_docs_plugin' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "33b387245455775e0de45869c7355cc5a9e98b396a6fc43b02812a63b75fee20"
DEBUG: Call stack for the definition of repository 'protoc_docs_plugin' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:258:1
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "48f7e716f4098b85296ad93f5a133baf712968c13fbc2fdf3a6136158fe86eac"
DEBUG: Call stack for the definition of repository 'rules_python' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:42:1
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "bad076ad037cc7e23978af204d73abc4479a3a9fc40a016ceb4fe94c0153dcc8"
DEBUG: Call stack for the definition of repository 'gapic_generator_python' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:278:1
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "c0d0efba86429cee5e52baf838165b0ed7cafae1748d025abec109d25e006628"
DEBUG: Call stack for the definition of repository 'com_googleapis_gapic_generator_go' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:300:1
DEBUG: Rule 'gapic_generator_php' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "8ba95eb35076a796b1dad2bb424532b7fc2610ae2f8b4e2bebaed0286fcb2a54"
DEBUG: Call stack for the definition of repository 'gapic_generator_php' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:364:1
DEBUG: Rule 'gapic_generator_ruby' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "a14ec475388542f2ea70d16d75579065758acc4b99fdd6d59463d54e1a9e4499"
DEBUG: Call stack for the definition of repository 'gapic_generator_ruby' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:408:1
DEBUG: /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/rules_python/python/pip.bzl:61:5: DEPRECATED: the pip_repositories rule has been replaced with pip_install, please see rules_python 0.1 release notes
DEBUG: Rule 'bazel_skylib' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "1dde365491125a3db70731e25658dfdd3bc5dbdfd11b840b3e987ecf043c7ca0"
DEBUG: Call stack for the definition of repository 'bazel_skylib' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:35:1
Analyzing: target //google/monitoring/v3:monitoring-v3-py (1 packages loaded, 0 targets configured)
ERROR: /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/upb/bazel/upb_proto_library.bzl:257:29: aspect() got unexpected keyword argument 'incompatible_use_toolchain_transition'
ERROR: Analysis of target '//google/monitoring/v3:monitoring-v3-py' failed; build aborted: error loading package '@com_github_grpc_grpc//': in /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/com_github_grpc_grpc/bazel/grpc_build_system.bzl: Extension file 'bazel/upb_proto_library.bzl' has errors
INFO: Elapsed time: 0.421s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (3 packages loaded, 1 target configured)
FAILED: Build did NOT complete successfully (3 packages loaded, 1 target configured)

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/python-monitoring/synth.py", line 38, in <module>
    proto_output_path="google/cloud/monitoring_v3/proto"
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 52, in py_library
    return self._generate_code(service, version, "python", False, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 204, 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/monitoring/v3:monitoring-v3-py']' returned non-zero exit status 1.
2021-05-05 04:22:50,352 autosynth [ERROR] > Synthesis failed
2021-05-05 04:22:50,352 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at af95e7f chore(revert): revert preventing normalization (#126)
2021-05-05 04:22:50,358 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-05-05 04:22:50,364 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 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 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, 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.

from python-monitoring.

yoshi-automation avatar yoshi-automation commented on June 10, 2024

Autosynth is still having trouble generating python-monitoring. 😭

Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the python-monitoring API, and the library grows
stale.

See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.

Here's the output from running synth.py:

/notification_channel_service/async_client.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/query_service/async_client.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/notification_channel_service/client.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/query_service/transports/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/query_service/pagers.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/notification_channel_service/transports/grpc_asyncio.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/query_service/client.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/service_monitoring_service/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/query_service/transports/base.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/query_service/transports/grpc.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/query_service/transports/grpc_asyncio.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/service_monitoring_service/transports/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/service_monitoring_service/pagers.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/service_monitoring_service/transports/base.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/service_monitoring_service/transports/grpc.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/uptime_check_service/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/service_monitoring_service/async_client.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/service_monitoring_service/transports/grpc_asyncio.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/service_monitoring_service/client.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/uptime_check_service/transports/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/uptime_check_service/pagers.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/uptime_check_service/async_client.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/uptime_check_service/transports/base.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/uptime_check_service/transports/grpc.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/uptime_check_service/client.py
error: cannot format /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/common.py: Cannot parse: 53:0:      _pb_options = {'deprecated': True}
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/uptime_check_service/transports/grpc_asyncio.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/dropped_labels.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/group.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/alert_service.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/group_service.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/mutation_record.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/alert.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/metric.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/query_service.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/notification.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/notification_service.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/metric_service.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/span_context.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/service_service.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/uptime_service.py
reformatted /h/.cache/synthtool/python-monitoring/tests/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/service.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/monitoring_v3/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/uptime.py
reformatted /h/.cache/synthtool/python-monitoring/noxfile.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/monitoring_v3/test_alert_policy_service.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/monitoring_v3/test_group_service.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/monitoring_v3/test_metric_service.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/monitoring_v3/test_query_service.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/monitoring_v3/test_notification_channel_service.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/monitoring_v3/test_uptime_check_service.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/monitoring_v3/test_service_monitoring_service.py
Oh no! 💥 💔 💥
88 files reformatted, 8 files left unchanged, 1 file failed to reformat.
nox > Command black docs google tests noxfile.py setup.py failed with exit code 123
nox > Session blacken failed.
2021-05-06 12:23:49,928 synthtool [ERROR] > Failed executing nox -s blacken:

None
ERROR:synthtool:Failed executing nox -s blacken:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/python-monitoring/synth.py", line 111, in <module>
    s.shell.run(["nox", "-s", "blacken"], hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['nox', '-s', 'blacken']' returned non-zero exit status 1.
2021-05-06 12:23:49,998 autosynth [ERROR] > Synthesis failed
2021-05-06 12:23:49,998 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at af95e7f chore(revert): revert preventing normalization (#126)
2021-05-06 12:23:50,020 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-05-06 12:23:50,035 autosynth [DEBUG] > Running: git clean -fdx
Removing .nox/
Removing __pycache__/
Removing examples/
Removing google/cloud/monitoring_v3/gapic_metadata.json
Removing tests/__init__.py
Removing tests/unit/__init__.py
Removing tests/unit/gapic/__init__.py
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/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.

from python-monitoring.

yoshi-automation avatar yoshi-automation commented on June 10, 2024

Autosynth is still having trouble generating python-monitoring. 😭

Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the python-monitoring API, and the library grows
stale.

See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.

Here's the output from running synth.py:

/notification_channel_service/async_client.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/query_service/async_client.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/notification_channel_service/client.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/query_service/transports/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/query_service/pagers.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/query_service/client.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/notification_channel_service/transports/grpc_asyncio.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/service_monitoring_service/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/query_service/transports/base.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/query_service/transports/grpc.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/query_service/transports/grpc_asyncio.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/service_monitoring_service/transports/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/service_monitoring_service/pagers.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/service_monitoring_service/transports/base.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/service_monitoring_service/transports/grpc.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/uptime_check_service/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/service_monitoring_service/async_client.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/service_monitoring_service/transports/grpc_asyncio.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/service_monitoring_service/client.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/uptime_check_service/transports/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/uptime_check_service/async_client.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/uptime_check_service/pagers.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/uptime_check_service/transports/base.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/uptime_check_service/client.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/uptime_check_service/transports/grpc.py
error: cannot format /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/common.py: Cannot parse: 53:0:      _pb_options = {'deprecated': True}
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/dropped_labels.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/alert_service.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/uptime_check_service/transports/grpc_asyncio.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/group.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/alert.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/mutation_record.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/group_service.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/metric.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/notification.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/query_service.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/metric_service.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/span_context.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/notification_service.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/service_service.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/uptime_service.py
reformatted /h/.cache/synthtool/python-monitoring/tests/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/service.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/monitoring_v3/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/uptime.py
reformatted /h/.cache/synthtool/python-monitoring/noxfile.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/monitoring_v3/test_alert_policy_service.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/monitoring_v3/test_group_service.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/monitoring_v3/test_metric_service.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/monitoring_v3/test_query_service.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/monitoring_v3/test_notification_channel_service.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/monitoring_v3/test_uptime_check_service.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/monitoring_v3/test_service_monitoring_service.py
Oh no! 💥 💔 💥
88 files reformatted, 8 files left unchanged, 1 file failed to reformat.
nox > Command black docs google tests noxfile.py setup.py failed with exit code 123
nox > Session blacken failed.
2021-05-06 19:20:52,896 synthtool [ERROR] > Failed executing nox -s blacken:

None
ERROR:synthtool:Failed executing nox -s blacken:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/python-monitoring/synth.py", line 111, in <module>
    s.shell.run(["nox", "-s", "blacken"], hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['nox', '-s', 'blacken']' returned non-zero exit status 1.
2021-05-06 19:20:52,966 autosynth [ERROR] > Synthesis failed
2021-05-06 19:20:52,967 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at af95e7f chore(revert): revert preventing normalization (#126)
2021-05-06 19:20:52,988 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-05-06 19:20:53,004 autosynth [DEBUG] > Running: git clean -fdx
Removing .nox/
Removing __pycache__/
Removing examples/
Removing google/cloud/monitoring_v3/gapic_metadata.json
Removing tests/__init__.py
Removing tests/unit/__init__.py
Removing tests/unit/gapic/__init__.py
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/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.

from python-monitoring.

yoshi-automation avatar yoshi-automation commented on June 10, 2024

Autosynth is still having trouble generating python-monitoring. 😭

Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the python-monitoring API, and the library grows
stale.

See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.

Here's the output from running synth.py:

/notification_channel_service/async_client.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/query_service/async_client.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/notification_channel_service/client.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/query_service/transports/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/query_service/pagers.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/notification_channel_service/transports/grpc_asyncio.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/query_service/client.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/service_monitoring_service/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/query_service/transports/base.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/query_service/transports/grpc.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/query_service/transports/grpc_asyncio.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/service_monitoring_service/transports/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/service_monitoring_service/pagers.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/service_monitoring_service/transports/base.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/service_monitoring_service/transports/grpc.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/uptime_check_service/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/service_monitoring_service/async_client.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/service_monitoring_service/client.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/service_monitoring_service/transports/grpc_asyncio.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/uptime_check_service/transports/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/uptime_check_service/async_client.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/uptime_check_service/pagers.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/uptime_check_service/client.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/uptime_check_service/transports/base.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/uptime_check_service/transports/grpc.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/services/uptime_check_service/transports/grpc_asyncio.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/__init__.py
error: cannot format /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/common.py: Cannot parse: 53:0:      _pb_options = {'deprecated': True}
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/dropped_labels.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/group.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/alert_service.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/alert.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/mutation_record.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/group_service.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/notification.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/query_service.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/metric.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/metric_service.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/notification_service.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/span_context.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/service_service.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/uptime_service.py
reformatted /h/.cache/synthtool/python-monitoring/tests/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/service.py
reformatted /h/.cache/synthtool/python-monitoring/google/cloud/monitoring_v3/types/uptime.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/monitoring_v3/__init__.py
reformatted /h/.cache/synthtool/python-monitoring/noxfile.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/monitoring_v3/test_alert_policy_service.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/monitoring_v3/test_group_service.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/monitoring_v3/test_metric_service.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/monitoring_v3/test_query_service.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/monitoring_v3/test_notification_channel_service.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/monitoring_v3/test_uptime_check_service.py
reformatted /h/.cache/synthtool/python-monitoring/tests/unit/gapic/monitoring_v3/test_service_monitoring_service.py
Oh no! 💥 💔 💥
88 files reformatted, 8 files left unchanged, 1 file failed to reformat.
nox > Command black docs google tests noxfile.py setup.py failed with exit code 123
nox > Session blacken failed.
2021-05-07 11:29:17,239 synthtool [ERROR] > Failed executing nox -s blacken:

None
ERROR:synthtool:Failed executing nox -s blacken:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/python-monitoring/synth.py", line 111, in <module>
    s.shell.run(["nox", "-s", "blacken"], hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['nox', '-s', 'blacken']' returned non-zero exit status 1.
2021-05-07 11:29:17,309 autosynth [ERROR] > Synthesis failed
2021-05-07 11:29:17,310 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at af95e7f chore(revert): revert preventing normalization (#126)
2021-05-07 11:29:17,331 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-05-07 11:29:17,347 autosynth [DEBUG] > Running: git clean -fdx
Removing .nox/
Removing __pycache__/
Removing examples/
Removing google/cloud/monitoring_v3/gapic_metadata.json
Removing tests/__init__.py
Removing tests/unit/__init__.py
Removing tests/unit/gapic/__init__.py
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/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.

from python-monitoring.

yoshi-automation avatar yoshi-automation commented on June 10, 2024

Autosynth passed, closing! 💚

from python-monitoring.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.