Comments (11)
Autosynth is still having trouble generating python-aiplatform. 😭
Here's the output from running synth.py
:
/schema/predict/prediction/classification.proto google/cloud/aiplatform/v1beta1/schema/predict/prediction/image_object_detection.proto google/cloud/aiplatform/v1beta1/schema/predict/prediction/image_segmentation.proto google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_classification.proto google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_regression.proto google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_extraction.proto google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_sentiment.proto google/cloud/aiplatform/v1beta1/schema/predict/prediction/time_series_forecasting.proto google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_action_recognition.proto google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_classification.proto google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_object_tracking.proto` failed (Exit 1) protoc failed: error executing command bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional '--plugin=protoc-gen-python_gapic=bazel-out/host/bin/external/gapic_generator_python/gapic_plugin' ... (remaining 39 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox
google/cloud/aiplatform/v1beta1/schema/predict/prediction/classification.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/prediction/image_object_detection.proto:20:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/prediction/image_segmentation.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_classification.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_regression.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_extraction.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/prediction/text_sentiment.proto:20:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/prediction/time_series_forecasting.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_action_recognition.proto:21:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_classification.proto:21:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/prediction/video_object_tracking.proto:21:1: warning: Import google/api/annotations.proto is unused.
Traceback (most recent call last):
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1140/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/cli/generate_with_pandoc.py", line 3, in <module>
from gapic.cli import generate
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1140/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/cli/generate.py", line 23, in <module>
from gapic import generator
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1140/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/generator/__init__.py", line 21, in <module>
from .generator import Generator
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1140/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/generator/generator.py", line 24, in <module>
from gapic.samplegen import manifest, samplegen
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1140/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/samplegen/__init__.py", line 15, in <module>
from gapic.samplegen import samplegen
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1140/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/samplegen/samplegen.py", line 27, in <module>
from gapic.schema import wrappers
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1140/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/schema/__init__.py", line 23, in <module>
from gapic.schema.api import API
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1140/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/schema/api.py", line 29, in <module>
from google.api_core import exceptions # type: ignore
ModuleNotFoundError: No module named 'google.api_core'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
Target //google/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 2.341s, Critical Path: 1.63s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
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-aiplatform/synth.py", line 34, in <module>
bazel_target="//google/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py",
File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 52, in py_library
return self._generate_code(service, version, "python", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 193, 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/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py']' returned non-zero exit status 1.
2021-01-21 09:47:57,249 autosynth [ERROR] > Synthesis failed
2021-01-21 09:47:57,250 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 6d3027b chore(deps): update dependency google-cloud-aiplatform to v0.4.0 (#172)
2021-01-21 09:47:57,256 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-21 09:47:57,262 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 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 65, 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-aiplatform.
Autosynth is still having trouble generating python-aiplatform. 😭
Here's the output from running synth.py
:
beta1/schema/predict/params/image_classification.proto -Igoogle/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.proto=google/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.proto -Igoogle/cloud/aiplatform/v1beta1/schema/predict/params/image_segmentation.proto=google/cloud/aiplatform/v1beta1/schema/predict/params/image_segmentation.proto -Igoogle/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.proto=google/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.proto -Igoogle/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.proto=google/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.proto -Igoogle/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.proto=google/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.proto -Igoogle/api/annotations.proto=google/api/annotations.proto -Igoogle/api/http.proto=google/api/http.proto -Igoogle/protobuf/descriptor.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/descriptor_proto/google/protobuf/descriptor.proto google/cloud/aiplatform/v1beta1/schema/predict/params/image_classification.proto google/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.proto google/cloud/aiplatform/v1beta1/schema/predict/params/image_segmentation.proto google/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.proto google/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.proto google/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.proto` failed (Exit 1) protoc failed: error executing command bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional '--plugin=protoc-gen-python_gapic=bazel-out/host/bin/external/gapic_generator_python/gapic_plugin' ... (remaining 17 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox
google/cloud/aiplatform/v1beta1/schema/predict/params/image_classification.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/params/image_segmentation.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.proto:19:1: warning: Import google/api/annotations.proto is unused.
Traceback (most recent call last):
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1142/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/cli/generate_with_pandoc.py", line 3, in <module>
from gapic.cli import generate
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1142/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/cli/generate.py", line 23, in <module>
from gapic import generator
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1142/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/generator/__init__.py", line 21, in <module>
from .generator import Generator
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1142/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/generator/generator.py", line 24, in <module>
from gapic.samplegen import manifest, samplegen
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1142/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/samplegen/__init__.py", line 15, in <module>
from gapic.samplegen import samplegen
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1142/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/samplegen/samplegen.py", line 27, in <module>
from gapic.schema import wrappers
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1142/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/schema/__init__.py", line 23, in <module>
from gapic.schema.api import API
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1142/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/schema/api.py", line 29, in <module>
from google.api_core import exceptions # type: ignore
ModuleNotFoundError: No module named 'google.api_core'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
Target //google/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 2.148s, Critical Path: 1.57s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
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-aiplatform/synth.py", line 34, in <module>
bazel_target="//google/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py",
File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 52, in py_library
return self._generate_code(service, version, "python", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 196, 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/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py']' returned non-zero exit status 1.
2021-01-21 13:18:33,546 autosynth [ERROR] > Synthesis failed
2021-01-21 13:18:33,547 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 6d3027b chore(deps): update dependency google-cloud-aiplatform to v0.4.0 (#172)
2021-01-21 13:18:33,553 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-21 13:18:33,560 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 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 65, 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-aiplatform.
Autosynth is still having trouble generating python-aiplatform. 😭
Here's the output from running synth.py
:
2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1143/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/samplegen/__init__.py", line 15, in <module>
from gapic.samplegen import samplegen
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1143/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/samplegen/samplegen.py", line 27, in <module>
from gapic.schema import wrappers
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1143/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/schema/__init__.py", line 23, in <module>
from gapic.schema.api import API
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1143/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/schema/api.py", line 29, in <module>
from google.api_core import exceptions # type: ignore
ModuleNotFoundError: No module named 'google.api_core'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
[6 / 16] //google/cloud/aiplatform/v1beta1/schema/trainingjob/definition:definition_py_gapic: `bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional --plugin=protoc-gen-python_gapic=bazel-out/host/bin/external/gapic_generator_python/gapic_plugin --python_gapic_out=bazel-out/k8-fastbuild/bin/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/definition_py_gapic.srcjar.zip --python_gapic_opt=python-gapic-namespace=google.cloud.aiplatform.v1beta1.schema.trainingjob,python-gapic-name=definition -Igoogle/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_forecasting.proto=google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_forecasting.proto -Igoogle/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_classification.proto=google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_classification.proto -Igoogle/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_object_detection.proto=google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_object_detection.proto -Igoogle/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_segmentation.proto=google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_segmentation.proto -Igoogle/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_tables.proto=google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_tables.proto -Igoogle/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_classification.proto=google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_classification.proto -Igoogle/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_extraction.proto=google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_extraction.proto -Igoogle/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_sentiment.proto=google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_sentiment.proto -Igoogle/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_action_recognition.proto=google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_action_recognition.proto -Igoogle/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_classification.proto=google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_classification.proto -Igoogle/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_object_tracking.proto=google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_object_tracking.proto -Igoogle/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.proto=google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.proto -Igoogle/api/annotations.proto=google/api/annotations.proto -Igoogle/api/http.proto=google/api/http.proto -Igoogle/protobuf/descriptor.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/descriptor_proto/google/protobuf/descriptor.proto google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_forecasting.proto google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_classification.proto google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_object_detection.proto google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_segmentation.proto google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_tables.proto google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_classification.proto google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_extraction.proto google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_sentiment.proto google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_action_recognition.proto google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_classification.proto google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_object_tracking.proto google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.proto`; 1s linux-sandbox ... (3 actions running)
Target //google/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 2.357s, Critical Path: 1.76s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
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-aiplatform/synth.py", line 34, in <module>
bazel_target="//google/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py",
File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 52, in py_library
return self._generate_code(service, version, "python", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 197, 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/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py']' returned non-zero exit status 1.
2021-01-21 14:26:55,739 autosynth [ERROR] > Synthesis failed
2021-01-21 14:26:55,740 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 6d3027b chore(deps): update dependency google-cloud-aiplatform to v0.4.0 (#172)
2021-01-21 14:26:55,746 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-21 14:26:55,752 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 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 65, 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-aiplatform.
Autosynth is still having trouble generating python-aiplatform. 😭
Here's the output from running synth.py
:
nce/video_classification.proto -Igoogle/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.proto=google/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.proto -Igoogle/api/annotations.proto=google/api/annotations.proto -Igoogle/api/http.proto=google/api/http.proto -Igoogle/protobuf/descriptor.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/descriptor_proto/google/protobuf/descriptor.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/image_classification.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/image_object_detection.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/image_segmentation.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/text_classification.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/text_extraction.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/text_sentiment.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/video_action_recognition.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/video_classification.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.proto` failed (Exit 1) protoc failed: error executing command bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional '--plugin=protoc-gen-python_gapic=bazel-out/host/bin/external/gapic_generator_python/gapic_plugin' ... (remaining 23 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox
google/cloud/aiplatform/v1beta1/schema/predict/instance/image_classification.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/instance/image_object_detection.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/instance/image_segmentation.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/instance/text_classification.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/instance/text_extraction.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/instance/text_sentiment.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/instance/video_action_recognition.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/instance/video_classification.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.proto:19:1: warning: Import google/api/annotations.proto is unused.
Traceback (most recent call last):
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/cli/generate_with_pandoc.py", line 3, in <module>
from gapic.cli import generate
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/cli/generate.py", line 23, in <module>
from gapic import generator
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/generator/__init__.py", line 21, in <module>
from .generator import Generator
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/generator/generator.py", line 24, in <module>
from gapic.samplegen import manifest, samplegen
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/samplegen/__init__.py", line 15, in <module>
from gapic.samplegen import samplegen
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/samplegen/samplegen.py", line 27, in <module>
from gapic.schema import wrappers
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/schema/__init__.py", line 23, in <module>
from gapic.schema.api import API
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/schema/api.py", line 29, in <module>
from google.api_core import exceptions # type: ignore
ModuleNotFoundError: No module named 'google.api_core'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
Target //google/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 2.127s, Critical Path: 1.58s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
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-aiplatform/synth.py", line 34, in <module>
bazel_target="//google/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py",
File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 52, in py_library
return self._generate_code(service, version, "python", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 193, 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/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py']' returned non-zero exit status 1.
2021-01-22 05:21:08,553 autosynth [ERROR] > Synthesis failed
2021-01-22 05:21:08,553 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 6d3027b chore(deps): update dependency google-cloud-aiplatform to v0.4.0 (#172)
2021-01-22 05:21:08,560 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-22 05:21:08,566 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 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 65, 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-aiplatform.
Autosynth is still having trouble generating python-aiplatform. 😭
Here's the output from running synth.py
:
/predict/instance/video_classification.proto -Igoogle/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.proto=google/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.proto -Igoogle/api/annotations.proto=google/api/annotations.proto -Igoogle/api/http.proto=google/api/http.proto -Igoogle/protobuf/descriptor.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/descriptor_proto/google/protobuf/descriptor.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/image_classification.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/image_object_detection.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/image_segmentation.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/text_classification.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/text_extraction.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/text_sentiment.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/video_action_recognition.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/video_classification.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.proto` failed (Exit 1) protoc failed: error executing command bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional '--plugin=protoc-gen-python_gapic=bazel-out/host/bin/external/gapic_generator_python/gapic_plugin' ... (remaining 23 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox
google/cloud/aiplatform/v1beta1/schema/predict/instance/image_classification.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/instance/image_object_detection.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/instance/image_segmentation.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/instance/text_classification.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/instance/text_extraction.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/instance/text_sentiment.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/instance/video_action_recognition.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/instance/video_classification.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.proto:19:1: warning: Import google/api/annotations.proto is unused.
Traceback (most recent call last):
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/cli/generate_with_pandoc.py", line 3, in <module>
from gapic.cli import generate
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/cli/generate.py", line 23, in <module>
from gapic import generator
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/generator/__init__.py", line 21, in <module>
from .generator import Generator
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/generator/generator.py", line 24, in <module>
from gapic.samplegen import manifest, samplegen
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/samplegen/__init__.py", line 15, in <module>
from gapic.samplegen import samplegen
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/samplegen/samplegen.py", line 27, in <module>
from gapic.schema import wrappers
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/schema/__init__.py", line 23, in <module>
from gapic.schema.api import API
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/schema/api.py", line 29, in <module>
from google.api_core import exceptions # type: ignore
ModuleNotFoundError: No module named 'google.api_core'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
Target //google/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 2.452s, Critical Path: 1.88s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
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-aiplatform/synth.py", line 34, in <module>
bazel_target="//google/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py",
File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 52, in py_library
return self._generate_code(service, version, "python", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 193, 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/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py']' returned non-zero exit status 1.
2021-01-23 05:21:09,355 autosynth [ERROR] > Synthesis failed
2021-01-23 05:21:09,356 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 8c0932f chore: Update aiplatform test directory CODEOWNERS (#184)
2021-01-23 05:21:09,365 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-23 05:21:09,373 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 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 65, 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-aiplatform.
Autosynth is still having trouble generating python-aiplatform. 😭
Here's the output from running synth.py
:
form/v1beta1/schema/predict/instance/text_sentiment.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/instance/video_action_recognition.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/instance/video_classification.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.proto:19:1: warning: Import google/api/annotations.proto is unused.
Traceback (most recent call last):
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1143/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/cli/generate_with_pandoc.py", line 3, in <module>
from gapic.cli import generate
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1143/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/cli/generate.py", line 23, in <module>
from gapic import generator
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1143/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/generator/__init__.py", line 21, in <module>
from .generator import Generator
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1143/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/generator/generator.py", line 24, in <module>
from gapic.samplegen import manifest, samplegen
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1143/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/samplegen/__init__.py", line 15, in <module>
from gapic.samplegen import samplegen
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1143/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/samplegen/samplegen.py", line 27, in <module>
from gapic.schema import wrappers
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1143/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/schema/__init__.py", line 23, in <module>
from gapic.schema.api import API
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1143/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/schema/api.py", line 29, in <module>
from google.api_core import exceptions # type: ignore
ModuleNotFoundError: No module named 'google.api_core'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
[6 / 15] //google/cloud/aiplatform/v1beta1/schema/predict/params:params_py_gapic: `bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional --plugin=protoc-gen-python_gapic=bazel-out/host/bin/external/gapic_generator_python/gapic_plugin --python_gapic_out=bazel-out/k8-fastbuild/bin/google/cloud/aiplatform/v1beta1/schema/predict/params/params_py_gapic.srcjar.zip --python_gapic_opt=python-gapic-namespace=google.cloud.aiplatform.v1beta1.schema.predict,python-gapic-name=params -Igoogle/cloud/aiplatform/v1beta1/schema/predict/params/image_classification.proto=google/cloud/aiplatform/v1beta1/schema/predict/params/image_classification.proto -Igoogle/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.proto=google/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.proto -Igoogle/cloud/aiplatform/v1beta1/schema/predict/params/image_segmentation.proto=google/cloud/aiplatform/v1beta1/schema/predict/params/image_segmentation.proto -Igoogle/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.proto=google/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.proto -Igoogle/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.proto=google/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.proto -Igoogle/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.proto=google/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.proto -Igoogle/api/annotations.proto=google/api/annotations.proto -Igoogle/api/http.proto=google/api/http.proto -Igoogle/protobuf/descriptor.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/descriptor_proto/google/protobuf/descriptor.proto google/cloud/aiplatform/v1beta1/schema/predict/params/image_classification.proto google/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.proto google/cloud/aiplatform/v1beta1/schema/predict/params/image_segmentation.proto google/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.proto google/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.proto google/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.proto`; 1s linux-sandbox ... (3 actions running)
Target //google/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 2.332s, Critical Path: 1.76s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
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-aiplatform/synth.py", line 34, in <module>
bazel_target="//google/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py",
File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 52, in py_library
return self._generate_code(service, version, "python", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 193, 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/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py']' returned non-zero exit status 1.
2021-01-24 05:20:39,594 autosynth [ERROR] > Synthesis failed
2021-01-24 05:20:39,594 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 8c0932f chore: Update aiplatform test directory CODEOWNERS (#184)
2021-01-24 05:20:39,600 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-24 05:20:39,606 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 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 65, 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-aiplatform.
Autosynth is still having trouble generating python-aiplatform. 😭
Here's the output from running synth.py
:
al/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/cli/generate_with_pandoc.py", line 3, in <module>
from gapic.cli import generate
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1142/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/cli/generate.py", line 23, in <module>
from gapic import generator
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1142/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/generator/__init__.py", line 21, in <module>
from .generator import Generator
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1142/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/generator/generator.py", line 24, in <module>
from gapic.samplegen import manifest, samplegen
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1142/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/samplegen/__init__.py", line 15, in <module>
from gapic.samplegen import samplegen
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1142/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/samplegen/samplegen.py", line 27, in <module>
from gapic.schema import wrappers
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1142/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/schema/__init__.py", line 23, in <module>
from gapic.schema.api import API
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1142/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/schema/api.py", line 29, in <module>
from google.api_core import exceptions # type: ignore
ModuleNotFoundError: No module named 'google.api_core'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
[7 / 15] //google/cloud/aiplatform/v1beta1/schema/predict/instance:instance_py_gapic: `bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional --plugin=protoc-gen-python_gapic=bazel-out/host/bin/external/gapic_generator_python/gapic_plugin --python_gapic_out=bazel-out/k8-fastbuild/bin/google/cloud/aiplatform/v1beta1/schema/predict/instance/instance_py_gapic.srcjar.zip --python_gapic_opt=python-gapic-namespace=google.cloud.aiplatform.v1beta1.schema.predict,python-gapic-name=instance -Igoogle/cloud/aiplatform/v1beta1/schema/predict/instance/image_classification.proto=google/cloud/aiplatform/v1beta1/schema/predict/instance/image_classification.proto -Igoogle/cloud/aiplatform/v1beta1/schema/predict/instance/image_object_detection.proto=google/cloud/aiplatform/v1beta1/schema/predict/instance/image_object_detection.proto -Igoogle/cloud/aiplatform/v1beta1/schema/predict/instance/image_segmentation.proto=google/cloud/aiplatform/v1beta1/schema/predict/instance/image_segmentation.proto -Igoogle/cloud/aiplatform/v1beta1/schema/predict/instance/text_classification.proto=google/cloud/aiplatform/v1beta1/schema/predict/instance/text_classification.proto -Igoogle/cloud/aiplatform/v1beta1/schema/predict/instance/text_extraction.proto=google/cloud/aiplatform/v1beta1/schema/predict/instance/text_extraction.proto -Igoogle/cloud/aiplatform/v1beta1/schema/predict/instance/text_sentiment.proto=google/cloud/aiplatform/v1beta1/schema/predict/instance/text_sentiment.proto -Igoogle/cloud/aiplatform/v1beta1/schema/predict/instance/video_action_recognition.proto=google/cloud/aiplatform/v1beta1/schema/predict/instance/video_action_recognition.proto -Igoogle/cloud/aiplatform/v1beta1/schema/predict/instance/video_classification.proto=google/cloud/aiplatform/v1beta1/schema/predict/instance/video_classification.proto -Igoogle/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.proto=google/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.proto -Igoogle/api/annotations.proto=google/api/annotations.proto -Igoogle/api/http.proto=google/api/http.proto -Igoogle/protobuf/descriptor.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/descriptor_proto/google/protobuf/descriptor.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/image_classification.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/image_object_detection.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/image_segmentation.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/text_classification.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/text_extraction.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/text_sentiment.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/video_action_recognition.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/video_classification.proto google/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.proto`; 1s linux-sandbox ... (2 actions running)
Target //google/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 2.268s, Critical Path: 1.77s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
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-aiplatform/synth.py", line 34, in <module>
bazel_target="//google/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py",
File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 52, in py_library
return self._generate_code(service, version, "python", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 193, 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/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py']' returned non-zero exit status 1.
2021-01-25 05:20:03,169 autosynth [ERROR] > Synthesis failed
2021-01-25 05:20:03,169 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 8c0932f chore: Update aiplatform test directory CODEOWNERS (#184)
2021-01-25 05:20:03,176 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-25 05:20:03,182 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 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 65, 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-aiplatform.
Autosynth is still having trouble generating python-aiplatform. 😭
Here's the output from running synth.py
:
oogle/cloud/aiplatform/v1beta1/schema/predict/params/image_classification.proto -Igoogle/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.proto=google/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.proto -Igoogle/cloud/aiplatform/v1beta1/schema/predict/params/image_segmentation.proto=google/cloud/aiplatform/v1beta1/schema/predict/params/image_segmentation.proto -Igoogle/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.proto=google/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.proto -Igoogle/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.proto=google/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.proto -Igoogle/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.proto=google/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.proto -Igoogle/api/annotations.proto=google/api/annotations.proto -Igoogle/api/http.proto=google/api/http.proto -Igoogle/protobuf/descriptor.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/descriptor_proto/google/protobuf/descriptor.proto google/cloud/aiplatform/v1beta1/schema/predict/params/image_classification.proto google/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.proto google/cloud/aiplatform/v1beta1/schema/predict/params/image_segmentation.proto google/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.proto google/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.proto google/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.proto` failed (Exit 1) protoc failed: error executing command bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional '--plugin=protoc-gen-python_gapic=bazel-out/host/bin/external/gapic_generator_python/gapic_plugin' ... (remaining 17 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox
google/cloud/aiplatform/v1beta1/schema/predict/params/image_classification.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/params/image_segmentation.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.proto:19:1: warning: Import google/api/annotations.proto is unused.
Traceback (most recent call last):
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/cli/generate_with_pandoc.py", line 3, in <module>
from gapic.cli import generate
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/cli/generate.py", line 23, in <module>
from gapic import generator
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/generator/__init__.py", line 21, in <module>
from .generator import Generator
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/generator/generator.py", line 24, in <module>
from gapic.samplegen import manifest, samplegen
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/samplegen/__init__.py", line 15, in <module>
from gapic.samplegen import samplegen
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/samplegen/samplegen.py", line 27, in <module>
from gapic.schema import wrappers
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/schema/__init__.py", line 23, in <module>
from gapic.schema.api import API
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/schema/api.py", line 29, in <module>
from google.api_core import exceptions # type: ignore
ModuleNotFoundError: No module named 'google.api_core'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
Target //google/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 2.495s, Critical Path: 1.92s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
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-aiplatform/synth.py", line 34, in <module>
bazel_target="//google/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py",
File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 52, in py_library
return self._generate_code(service, version, "python", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 197, 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/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py']' returned non-zero exit status 1.
2021-01-26 05:23:01,536 autosynth [ERROR] > Synthesis failed
2021-01-26 05:23:01,537 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 6589383 fix(deps): remove optional dependencies (#187)
2021-01-26 05:23:01,547 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-26 05:23:01,556 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 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 65, 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-aiplatform.
Autosynth is still having trouble generating python-aiplatform. 😭
Here's the output from running synth.py
:
api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/specialist_pool.proto:21:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/data_labeling_job.proto:28:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/data_labeling_job.proto:21:1: warning: Import google/cloud/aiplatform/v1beta1/accelerator_type.proto is unused.
google/cloud/aiplatform/v1beta1/data_labeling_job.proto:23:1: warning: Import google/cloud/aiplatform/v1beta1/specialist_pool.proto is unused.
google/cloud/aiplatform/v1beta1/dataset.proto:24:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/operation.proto:22:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/deployed_model_ref.proto:21:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/model.proto:27:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/model.proto:21:1: warning: Import google/cloud/aiplatform/v1beta1/dataset.proto is unused.
google/cloud/aiplatform/v1beta1/pipeline_state.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/training_pipeline.proto:29:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/training_pipeline.proto:22:1: warning: Import google/cloud/aiplatform/v1beta1/machine_resources.proto is unused.
google/cloud/aiplatform/v1beta1/training_pipeline.proto:23:1: warning: Import google/cloud/aiplatform/v1beta1/manual_batch_tuning_parameters.proto is unused.
google/cloud/aiplatform/v1beta1/dataset_service.proto:28:1: warning: Import google/cloud/aiplatform/v1beta1/training_pipeline.proto is unused.
google/cloud/aiplatform/v1beta1/endpoint.proto:24:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/study.proto:24:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/study.proto:21:1: warning: Import google/protobuf/duration.proto is unused.
google/cloud/aiplatform/v1beta1/hyperparameter_tuning_job.proto:26:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/migratable_resource.proto:22:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/migration_service.proto:19:1: warning: Import google/cloud/aiplatform/v1beta1/dataset.proto is unused.
google/cloud/aiplatform/v1beta1/migration_service.proto:20:1: warning: Import google/cloud/aiplatform/v1beta1/model.proto is unused.
google/cloud/aiplatform/v1beta1/model_evaluation.proto:24:1: warning: Import google/api/annotations.proto is unused.
google/cloud/aiplatform/v1beta1/model_evaluation_slice.proto:23:1: warning: Import google/api/annotations.proto is unused.
Traceback (most recent call last):
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/cli/generate_with_pandoc.py", line 3, in <module>
from gapic.cli import generate
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/cli/generate.py", line 23, in <module>
from gapic import generator
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/generator/__init__.py", line 21, in <module>
from .generator import Generator
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/generator/generator.py", line 24, in <module>
from gapic.samplegen import manifest, samplegen
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/samplegen/__init__.py", line 15, in <module>
from gapic.samplegen import samplegen
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/samplegen/samplegen.py", line 27, in <module>
from gapic.schema import wrappers
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/schema/__init__.py", line 23, in <module>
from gapic.schema.api import API
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1141/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/schema/api.py", line 29, in <module>
from google.api_core import exceptions # type: ignore
ModuleNotFoundError: No module named 'google.api_core'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
Target //google/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 2.632s, Critical Path: 1.98s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
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-aiplatform/synth.py", line 34, in <module>
bazel_target="//google/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py",
File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 52, in py_library
return self._generate_code(service, version, "python", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 197, 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/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py']' returned non-zero exit status 1.
2021-01-27 07:36:07,118 autosynth [ERROR] > Synthesis failed
2021-01-27 07:36:07,118 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 6589383 fix(deps): remove optional dependencies (#187)
2021-01-27 07:36:07,126 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-27 07:36:07,133 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 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 65, 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-aiplatform.
Autosynth is still having trouble generating python-aiplatform. 😭
Here's the output from running synth.py
:
_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1140/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/samplegen/__init__.py", line 15, in <module>
from gapic.samplegen import samplegen
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1140/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/samplegen/samplegen.py", line 27, in <module>
from gapic.schema import wrappers
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1140/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/schema/__init__.py", line 23, in <module>
from gapic.schema.api import API
File "/home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/sandbox/linux-sandbox/1140/execroot/com_google_googleapis/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/schema/api.py", line 29, in <module>
from google.api_core import exceptions # type: ignore
ModuleNotFoundError: No module named 'google.api_core'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
[7 / 15] //google/cloud/aiplatform/v1beta1/schema/trainingjob/definition:definition_py_gapic: `bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional --plugin=protoc-gen-python_gapic=bazel-out/host/bin/external/gapic_generator_python/gapic_plugin --python_gapic_out=bazel-out/k8-fastbuild/bin/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/definition_py_gapic.srcjar.zip --python_gapic_opt=python-gapic-namespace=google.cloud.aiplatform.v1beta1.schema.trainingjob,python-gapic-name=definition -Igoogle/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_forecasting.proto=google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_forecasting.proto -Igoogle/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_classification.proto=google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_classification.proto -Igoogle/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_object_detection.proto=google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_object_detection.proto -Igoogle/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_segmentation.proto=google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_segmentation.proto -Igoogle/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_tables.proto=google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_tables.proto -Igoogle/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_classification.proto=google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_classification.proto -Igoogle/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_extraction.proto=google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_extraction.proto -Igoogle/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_sentiment.proto=google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_sentiment.proto -Igoogle/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_action_recognition.proto=google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_action_recognition.proto -Igoogle/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_classification.proto=google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_classification.proto -Igoogle/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_object_tracking.proto=google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_object_tracking.proto -Igoogle/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.proto=google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.proto -Igoogle/api/annotations.proto=google/api/annotations.proto -Igoogle/api/http.proto=google/api/http.proto -Igoogle/protobuf/descriptor.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/descriptor_proto/google/protobuf/descriptor.proto google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_forecasting.proto google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_classification.proto google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_object_detection.proto google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_segmentation.proto google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_tables.proto google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_classification.proto google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_extraction.proto google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_sentiment.proto google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_action_recognition.proto google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_classification.proto google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_object_tracking.proto google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.proto`; 1s linux-sandbox ... (2 actions running)
Target //google/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 2.439s, Critical Path: 1.73s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
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-aiplatform/synth.py", line 34, in <module>
bazel_target="//google/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py",
File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 52, in py_library
return self._generate_code(service, version, "python", **kwargs)
File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 197, 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/cloud/aiplatform/v1beta1:aiplatform-v1beta1-py']' returned non-zero exit status 1.
2021-01-27 18:41:08,675 autosynth [ERROR] > Synthesis failed
2021-01-27 18:41:08,675 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 6589383 fix(deps): remove optional dependencies (#187)
2021-01-27 18:41:08,682 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-01-27 18:41:08,689 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 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 65, 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-aiplatform.
Autosynth passed, closing! 💚
from python-aiplatform.
Related Issues (20)
- Internal Server Error 500 when calling vertex context caching w/ v 1.64.0 HOT 1
- The build failed HOT 8
- tests.system.vertexai.test_tokenization.TestTokenization: test_count_tokens_local[_get_tokenizer_for_model_preview-gemini-1.5-pro-udhr-udhr-PROD_ENDPOINT] failed HOT 1
- tests.system.vertexai.test_tokenization.TestTokenization: test_count_tokens_local[_get_tokenizer_for_model_preview-gemini-1.5-flash-udhr-udhr-STAGING_ENDPOINT] failed HOT 1
- tests.system.vertexai.test_tokenization.TestTokenization: test_count_tokens_local[_get_tokenizer_for_model_preview-gemini-1.5-flash-udhr-udhr-PROD_ENDPOINT] failed HOT 1
- tests.system.vertexai.test_tokenization.TestTokenization: test_compute_tokens[get_tokenizer_for_model-gemini-1.5-flash-udhr-udhr-STAGING_ENDPOINT] failed HOT 1
- tests.system.vertexai.test_generative_models.TestGenerativeModels: test_generate_content_model_router[STAGING_ENDPOINT] failed HOT 4
- tests.system.vertexai.test_generative_models.TestGenerativeModels: test_generate_content_model_router[PROD_ENDPOINT] failed HOT 4
- [Policy Bot] found one or more issues with this repository.
- Vertex AI API error: Function Calling incompatible with non-text input (video/audio)
- tests.system.vertex_ray.test_job_submission_dashboard.TestJobSubmissionDashboard: test_job_submission_dashboard[2.9, 2.33] failed
- tests.system.vertex_ray.test_ray_data.TestRayData: test_ray_data[2.33] failed HOT 5
- XGBoost-1.7 container not working with feature attribution "explain"
- tests.system.vertex_ray.test_cluster_management.TestClusterManagement: test_cluster_management[2.33] failed HOT 4
- tests.system.vertexai.test_generative_models.TestGenerativeModels: test_send_message_from_text[PROD_ENDPOINT] failed HOT 1
- tests.system.vertexai.test_generative_models.TestGenerativeModels: test_chat_automatic_function_calling[PROD_ENDPOINT] failed HOT 1
- tests.system.vertex_ray.test_job_submission_dashboard.TestJobSubmissionDashboard: test_job_submission_dashboard[2.9] failed HOT 2
- tests.system.vertex_ray.test_job_submission_dashboard.TestJobSubmissionDashboard: test_job_submission_dashboard[2.33] failed HOT 2
- tests.unit.aiplatform.test_model_evaluation.TestModelEvaluationJob: test_model_evaluation_job_submit_with_caching_disabled[{"pipelineInfo": {"name": "evaluation-default-pipeline"}, "root": {"dag": {"tasks": {"model-evaluation-text-generation": {"taskInfo": {"name": "model-evaluation-text-generation"}, "cachingOptions": {"enableCache": false}}}}, "inputDefinitions": {"parameters": {"batch_predict_gcs_source_uris": {"type": "STRING"}, "dataflow_service_account": {"type": "STRING"}, "batch_predict_instances_format": {"type": "STRING"}, "batch_predict_machine_type": {"type": "STRING"}, "evaluation_class_labels": {"type": "STRING"}, "location": {"type": "STRING"}, "model_name": {"type": "STRING"}, "project": {"type": "STRING"}, "batch_predict_gcs_destination_output_uri": {"type": "STRING"}, "target_field_name": {"type": "STRING"}}}}, "schemaVersion": "2.0.0", "sdkVersion": "kfp-1.8.12", "components": {}}] failed HOT 1
- Update mlflow version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-aiplatform.