googleapis/python-datastore

Synthesis failed for python-datastore

yoshi-automation opened this issue ยท 21 comments

Hello! Autosynth couldn't regenerate python-datastore. ๐Ÿ’”

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

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

Here's the output from running synth.py:

6:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/v2.6.2.zip) = e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0"
DEBUG: Repository com_google_api_codegen instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:77:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/bazelbuild/rules_python/archive/748aa53d7701e71101dfd15d800e100f6ff8e5d1.zip) = d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf"
DEBUG: Repository rules_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:42:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-python/archive/v0.35.9.zip) = 02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685"
DEBUG: Repository gapic_generator_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:240:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.15.2.tar.gz) = 62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b"
DEBUG: Repository com_googleapis_gapic_generator_go instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:278:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-typescript/archive/v1.1.0.tar.gz) = 37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df
DEBUG: Rule 'gapic_generator_typescript' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df"
DEBUG: Repository gapic_generator_typescript instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:297:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-csharp/archive/v1.3.1.zip) = 1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3
DEBUG: Rule 'gapic_generator_csharp' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3"
DEBUG: Repository gapic_generator_csharp instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:346:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-ruby/archive/9cc95d8f4e05bdfe4ea9c67e6ca670f27c01c8f2.zip) = cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41
DEBUG: Rule 'gapic_generator_ruby' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41"
DEBUG: Repository gapic_generator_ruby instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:360:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
ERROR: /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_api_codegen/rules_gapic/python/py_gapic.bzl:50:46: invalid escape sequence: \*. You can enable unknown escape sequences by passing the flag --incompatible_restrict_string_escapes=false
ERROR: Skipping '//google/datastore/v1:datastore-v1-py': error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic.bzl' has errors
WARNING: Target pattern parsing failed.
ERROR: error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic.bzl' has errors
INFO: Elapsed time: 31.431s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)
FAILED: Build did NOT complete successfully (1 packages loaded)
2021-05-19 05:52:35,929 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/datastore/v1:datastore-v1-py:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1134, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1059, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1401, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 767, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/python-datastore/synth.py", line 25, in <module>
    library = gapic.py_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 52, in py_library
    return self._generate_code(service, version, "python", False, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/datastore/v1:datastore-v1-py']' returned non-zero exit status 1.
2021-05-19 05:52:35,986 autosynth [ERROR] > Synthesis failed
2021-05-19 05:52:35,986 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0da3e22 tests: add coverage for skip < offset case (#165)
2021-05-19 05:52:35,991 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2021-05-19 05:52:35,996 autosynth [ERROR] > Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2021-05-19 05:52:36,392 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-datastore/pull/171
2021-05-19 05:52:36,392 autosynth [DEBUG] > Running: git clean -fdx
Removing .nox/
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 95, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/workspace/autosynth/synth.py", line 138, in synthesize_inner_loop
    if not toolbox.synthesize_version_in_new_branch(
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-datastore. ๐Ÿ˜ญ

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

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

Here's the output from running synth.py:

plevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/v2.6.2.zip) = e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0"
DEBUG: Repository com_google_api_codegen instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:77:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/bazelbuild/rules_python/archive/748aa53d7701e71101dfd15d800e100f6ff8e5d1.zip) = d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf"
DEBUG: Repository rules_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:42:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-python/archive/v0.35.9.zip) = 02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685"
DEBUG: Repository gapic_generator_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:240:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.15.2.tar.gz) = 62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b"
DEBUG: Repository com_googleapis_gapic_generator_go instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:278:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-typescript/archive/v1.1.0.tar.gz) = 37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df
DEBUG: Rule 'gapic_generator_typescript' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df"
DEBUG: Repository gapic_generator_typescript instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:297:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-csharp/archive/v1.3.1.zip) = 1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3
DEBUG: Rule 'gapic_generator_csharp' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3"
DEBUG: Repository gapic_generator_csharp instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:346:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-ruby/archive/9cc95d8f4e05bdfe4ea9c67e6ca670f27c01c8f2.zip) = cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41
DEBUG: Rule 'gapic_generator_ruby' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41"
DEBUG: Repository gapic_generator_ruby instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:360:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
ERROR: /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_api_codegen/rules_gapic/python/py_gapic_pkg.bzl:53:59: invalid escape sequence: \;. You can enable unknown escape sequences by passing the flag --incompatible_restrict_string_escapes=false
ERROR: Skipping '//google/datastore/v1:datastore-v1-py': error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic_pkg.bzl' has errors
WARNING: Target pattern parsing failed.
ERROR: error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic_pkg.bzl' has errors
INFO: Elapsed time: 30.074s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)
FAILED: Build did NOT complete successfully (1 packages loaded)
2021-05-20 05:52:06,187 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/datastore/v1:datastore-v1-py:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/python-datastore/synth.py", line 25, in <module>
    library = gapic.py_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 52, in py_library
    return self._generate_code(service, version, "python", False, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/datastore/v1:datastore-v1-py']' returned non-zero exit status 1.
2021-05-20 05:52:06,247 autosynth [ERROR] > Synthesis failed
2021-05-20 05:52:06,247 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0da3e22 tests: add coverage for skip < offset case (#165)
2021-05-20 05:52:06,253 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2021-05-20 05:52:06,257 autosynth [ERROR] > Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2021-05-20 05:52:06,486 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-datastore/pull/171
2021-05-20 05:52:06,486 autosynth [DEBUG] > Running: git clean -fdx
Removing .nox/
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 95, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/workspace/autosynth/synth.py", line 138, in synthesize_inner_loop
    if not toolbox.synthesize_version_in_new_branch(
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-datastore. ๐Ÿ˜ญ

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

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

Here's the output from running synth.py:

plevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/v2.6.2.zip) = e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0"
DEBUG: Repository com_google_api_codegen instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:77:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/bazelbuild/rules_python/archive/748aa53d7701e71101dfd15d800e100f6ff8e5d1.zip) = d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf"
DEBUG: Repository rules_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:42:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-python/archive/v0.35.9.zip) = 02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685"
DEBUG: Repository gapic_generator_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:240:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.15.2.tar.gz) = 62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b"
DEBUG: Repository com_googleapis_gapic_generator_go instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:278:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-typescript/archive/v1.1.0.tar.gz) = 37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df
DEBUG: Rule 'gapic_generator_typescript' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df"
DEBUG: Repository gapic_generator_typescript instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:297:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-csharp/archive/v1.3.1.zip) = 1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3
DEBUG: Rule 'gapic_generator_csharp' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3"
DEBUG: Repository gapic_generator_csharp instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:346:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-ruby/archive/9cc95d8f4e05bdfe4ea9c67e6ca670f27c01c8f2.zip) = cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41
DEBUG: Rule 'gapic_generator_ruby' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41"
DEBUG: Repository gapic_generator_ruby instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:360:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
ERROR: /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_api_codegen/rules_gapic/python/py_gapic_pkg.bzl:53:59: invalid escape sequence: \;. You can enable unknown escape sequences by passing the flag --incompatible_restrict_string_escapes=false
ERROR: Skipping '//google/datastore/v1:datastore-v1-py': error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic_pkg.bzl' has errors
WARNING: Target pattern parsing failed.
ERROR: error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic_pkg.bzl' has errors
INFO: Elapsed time: 32.887s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)
FAILED: Build did NOT complete successfully (1 packages loaded)
2021-05-21 06:03:45,358 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/datastore/v1:datastore-v1-py:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/python-datastore/synth.py", line 25, in <module>
    library = gapic.py_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 52, in py_library
    return self._generate_code(service, version, "python", False, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/datastore/v1:datastore-v1-py']' returned non-zero exit status 1.
2021-05-21 06:03:45,505 autosynth [ERROR] > Synthesis failed
2021-05-21 06:03:45,506 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0da3e22 tests: add coverage for skip < offset case (#165)
2021-05-21 06:03:45,514 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2021-05-21 06:03:45,522 autosynth [ERROR] > Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2021-05-21 06:03:45,732 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-datastore/pull/171
2021-05-21 06:03:45,732 autosynth [DEBUG] > Running: git clean -fdx
Removing .nox/
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 95, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/workspace/autosynth/synth.py", line 138, in synthesize_inner_loop
    if not toolbox.synthesize_version_in_new_branch(
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-datastore. ๐Ÿ˜ญ

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

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

Here's the output from running synth.py:

6:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/v2.6.2.zip) = e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0"
DEBUG: Repository com_google_api_codegen instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:77:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/bazelbuild/rules_python/archive/748aa53d7701e71101dfd15d800e100f6ff8e5d1.zip) = d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf"
DEBUG: Repository rules_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:42:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-python/archive/v0.35.9.zip) = 02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685"
DEBUG: Repository gapic_generator_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:240:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.15.2.tar.gz) = 62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b"
DEBUG: Repository com_googleapis_gapic_generator_go instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:278:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-typescript/archive/v1.1.0.tar.gz) = 37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df
DEBUG: Rule 'gapic_generator_typescript' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df"
DEBUG: Repository gapic_generator_typescript instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:297:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-csharp/archive/v1.3.1.zip) = 1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3
DEBUG: Rule 'gapic_generator_csharp' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3"
DEBUG: Repository gapic_generator_csharp instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:346:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-ruby/archive/9cc95d8f4e05bdfe4ea9c67e6ca670f27c01c8f2.zip) = cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41
DEBUG: Rule 'gapic_generator_ruby' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41"
DEBUG: Repository gapic_generator_ruby instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:360:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
ERROR: /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_api_codegen/rules_gapic/python/py_gapic.bzl:50:46: invalid escape sequence: \*. You can enable unknown escape sequences by passing the flag --incompatible_restrict_string_escapes=false
ERROR: Skipping '//google/datastore/v1:datastore-v1-py': error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic.bzl' has errors
WARNING: Target pattern parsing failed.
ERROR: error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic.bzl' has errors
INFO: Elapsed time: 32.696s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)
FAILED: Build did NOT complete successfully (1 packages loaded)
2021-05-22 05:57:46,737 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/datastore/v1:datastore-v1-py:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/python-datastore/synth.py", line 25, in <module>
    library = gapic.py_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 52, in py_library
    return self._generate_code(service, version, "python", False, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/datastore/v1:datastore-v1-py']' returned non-zero exit status 1.
2021-05-22 05:57:46,801 autosynth [ERROR] > Synthesis failed
2021-05-22 05:57:46,801 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0da3e22 tests: add coverage for skip < offset case (#165)
2021-05-22 05:57:46,806 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2021-05-22 05:57:46,810 autosynth [ERROR] > Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2021-05-22 05:57:46,998 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-datastore/pull/171
2021-05-22 05:57:46,998 autosynth [DEBUG] > Running: git clean -fdx
Removing .nox/
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 95, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/workspace/autosynth/synth.py", line 138, in synthesize_inner_loop
    if not toolbox.synthesize_version_in_new_branch(
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-datastore. ๐Ÿ˜ญ

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

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

Here's the output from running synth.py:

: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/v2.6.2.zip) = e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0
Loading: 0 packages loaded
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0"
DEBUG: Repository com_google_api_codegen instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:77:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/bazelbuild/rules_python/archive/748aa53d7701e71101dfd15d800e100f6ff8e5d1.zip) = d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf"
DEBUG: Repository rules_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:42:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-python/archive/v0.35.9.zip) = 02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685"
DEBUG: Repository gapic_generator_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:240:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.15.2.tar.gz) = 62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b"
DEBUG: Repository com_googleapis_gapic_generator_go instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:278:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-typescript/archive/v1.1.0.tar.gz) = 37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df
DEBUG: Rule 'gapic_generator_typescript' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df"
DEBUG: Repository gapic_generator_typescript instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:297:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-csharp/archive/v1.3.1.zip) = 1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3
DEBUG: Rule 'gapic_generator_csharp' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3"
DEBUG: Repository gapic_generator_csharp instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:346:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-ruby/archive/9cc95d8f4e05bdfe4ea9c67e6ca670f27c01c8f2.zip) = cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41
DEBUG: Rule 'gapic_generator_ruby' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41"
DEBUG: Repository gapic_generator_ruby instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:360:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
ERROR: /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_api_codegen/rules_gapic/python/py_gapic.bzl:50:46: invalid escape sequence: \*. You can enable unknown escape sequences by passing the flag --incompatible_restrict_string_escapes=false
ERROR: Skipping '//google/datastore/v1:datastore-v1-py': error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic.bzl' has errors
WARNING: Target pattern parsing failed.
ERROR: error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic.bzl' has errors
INFO: Elapsed time: 31.956s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)
FAILED: Build did NOT complete successfully (1 packages loaded)
2021-05-23 05:57:53,854 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/datastore/v1:datastore-v1-py:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/python-datastore/synth.py", line 25, in <module>
    library = gapic.py_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 52, in py_library
    return self._generate_code(service, version, "python", False, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/datastore/v1:datastore-v1-py']' returned non-zero exit status 1.
2021-05-23 05:57:53,920 autosynth [ERROR] > Synthesis failed
2021-05-23 05:57:53,920 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0da3e22 tests: add coverage for skip < offset case (#165)
2021-05-23 05:57:53,925 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2021-05-23 05:57:53,929 autosynth [ERROR] > Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2021-05-23 05:57:54,129 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-datastore/pull/171
2021-05-23 05:57:54,129 autosynth [DEBUG] > Running: git clean -fdx
Removing .nox/
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 95, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/workspace/autosynth/synth.py", line 138, in synthesize_inner_loop
    if not toolbox.synthesize_version_in_new_branch(
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-datastore. ๐Ÿ˜ญ

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

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

Here's the output from running synth.py:

: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/v2.6.2.zip) = e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0"
DEBUG: Repository com_google_api_codegen instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:77:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/bazelbuild/rules_python/archive/748aa53d7701e71101dfd15d800e100f6ff8e5d1.zip) = d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf"
DEBUG: Repository rules_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:42:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-python/archive/v0.35.9.zip) = 02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685"
DEBUG: Repository gapic_generator_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:240:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.15.2.tar.gz) = 62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b"
DEBUG: Repository com_googleapis_gapic_generator_go instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:278:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-typescript/archive/v1.1.0.tar.gz) = 37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df
DEBUG: Rule 'gapic_generator_typescript' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df"
DEBUG: Repository gapic_generator_typescript instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:297:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-csharp/archive/v1.3.1.zip) = 1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3
DEBUG: Rule 'gapic_generator_csharp' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3"
DEBUG: Repository gapic_generator_csharp instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:346:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-ruby/archive/9cc95d8f4e05bdfe4ea9c67e6ca670f27c01c8f2.zip) = cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41
DEBUG: Rule 'gapic_generator_ruby' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41"
DEBUG: Repository gapic_generator_ruby instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:360:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
ERROR: /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_api_codegen/rules_gapic/python/py_gapic.bzl:50:46: invalid escape sequence: \*. You can enable unknown escape sequences by passing the flag --incompatible_restrict_string_escapes=false
ERROR: Skipping '//google/datastore/v1:datastore-v1-py': error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic.bzl' has errors
WARNING: Target pattern parsing failed.
ERROR: error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic.bzl' has errors
INFO: Elapsed time: 30.932s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)
FAILED: Build did NOT complete successfully (1 packages loaded)
2021-05-24 05:57:57,857 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/datastore/v1:datastore-v1-py:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/python-datastore/synth.py", line 25, in <module>
    library = gapic.py_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 52, in py_library
    return self._generate_code(service, version, "python", False, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/datastore/v1:datastore-v1-py']' returned non-zero exit status 1.
2021-05-24 05:57:57,921 autosynth [ERROR] > Synthesis failed
2021-05-24 05:57:57,921 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0da3e22 tests: add coverage for skip < offset case (#165)
2021-05-24 05:57:57,926 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2021-05-24 05:57:57,931 autosynth [ERROR] > Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2021-05-24 05:57:58,145 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-datastore/pull/171
2021-05-24 05:57:58,145 autosynth [DEBUG] > Running: git clean -fdx
Removing .nox/
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 95, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/workspace/autosynth/synth.py", line 138, in synthesize_inner_loop
    if not toolbox.synthesize_version_in_new_branch(
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-datastore. ๐Ÿ˜ญ

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

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

Here's the output from running synth.py:

6:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/v2.6.2.zip) = e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0"
DEBUG: Repository com_google_api_codegen instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:77:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/bazelbuild/rules_python/archive/748aa53d7701e71101dfd15d800e100f6ff8e5d1.zip) = d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf"
DEBUG: Repository rules_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:42:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-python/archive/v0.35.9.zip) = 02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685"
DEBUG: Repository gapic_generator_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:240:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.15.2.tar.gz) = 62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b"
DEBUG: Repository com_googleapis_gapic_generator_go instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:278:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-typescript/archive/v1.1.0.tar.gz) = 37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df
DEBUG: Rule 'gapic_generator_typescript' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df"
DEBUG: Repository gapic_generator_typescript instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:297:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-csharp/archive/v1.3.1.zip) = 1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3
DEBUG: Rule 'gapic_generator_csharp' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3"
DEBUG: Repository gapic_generator_csharp instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:346:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-ruby/archive/9cc95d8f4e05bdfe4ea9c67e6ca670f27c01c8f2.zip) = cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41
DEBUG: Rule 'gapic_generator_ruby' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41"
DEBUG: Repository gapic_generator_ruby instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:360:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
ERROR: /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_api_codegen/rules_gapic/python/py_gapic.bzl:50:46: invalid escape sequence: \*. You can enable unknown escape sequences by passing the flag --incompatible_restrict_string_escapes=false
ERROR: Skipping '//google/datastore/v1:datastore-v1-py': error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic.bzl' has errors
WARNING: Target pattern parsing failed.
ERROR: error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic.bzl' has errors
INFO: Elapsed time: 31.766s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)
FAILED: Build did NOT complete successfully (1 packages loaded)
2021-05-25 05:57:57,522 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/datastore/v1:datastore-v1-py:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/python-datastore/synth.py", line 25, in <module>
    library = gapic.py_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 52, in py_library
    return self._generate_code(service, version, "python", False, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/datastore/v1:datastore-v1-py']' returned non-zero exit status 1.
2021-05-25 05:57:57,579 autosynth [ERROR] > Synthesis failed
2021-05-25 05:57:57,580 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0da3e22 tests: add coverage for skip < offset case (#165)
2021-05-25 05:57:57,584 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2021-05-25 05:57:57,589 autosynth [ERROR] > Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2021-05-25 05:57:57,783 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-datastore/pull/171
2021-05-25 05:57:57,783 autosynth [DEBUG] > Running: git clean -fdx
Removing .nox/
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 95, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/workspace/autosynth/synth.py", line 138, in synthesize_inner_loop
    if not toolbox.synthesize_version_in_new_branch(
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-datastore. ๐Ÿ˜ญ

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

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

Here's the output from running synth.py:

_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/v2.6.2.zip) = e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0"
DEBUG: Repository com_google_api_codegen instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:77:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/bazelbuild/rules_python/archive/748aa53d7701e71101dfd15d800e100f6ff8e5d1.zip) = d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf"
DEBUG: Repository rules_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:42:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-python/archive/v0.35.9.zip) = 02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685"
DEBUG: Repository gapic_generator_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:240:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.15.2.tar.gz) = 62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b"
DEBUG: Repository com_googleapis_gapic_generator_go instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:278:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-typescript/archive/v1.1.0.tar.gz) = 37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df
DEBUG: Rule 'gapic_generator_typescript' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df"
DEBUG: Repository gapic_generator_typescript instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:297:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-csharp/archive/v1.3.1.zip) = 1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3
DEBUG: Rule 'gapic_generator_csharp' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3"
DEBUG: Repository gapic_generator_csharp instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:346:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-ruby/archive/9cc95d8f4e05bdfe4ea9c67e6ca670f27c01c8f2.zip) = cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41
DEBUG: Rule 'gapic_generator_ruby' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41"
DEBUG: Repository gapic_generator_ruby instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:360:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
ERROR: /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_api_codegen/rules_gapic/python/py_gapic.bzl:50:46: invalid escape sequence: \*. You can enable unknown escape sequences by passing the flag --incompatible_restrict_string_escapes=false
ERROR: Skipping '//google/datastore/v1:datastore-v1-py': error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic.bzl' has errors
WARNING: Target pattern parsing failed.
ERROR: error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic.bzl' has errors
INFO: Elapsed time: 31.926s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)
FAILED: Build did NOT complete successfully (1 packages loaded)
2021-05-26 05:57:50,898 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/datastore/v1:datastore-v1-py:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/python-datastore/synth.py", line 25, in <module>
    library = gapic.py_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 52, in py_library
    return self._generate_code(service, version, "python", False, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/datastore/v1:datastore-v1-py']' returned non-zero exit status 1.
2021-05-26 05:57:50,983 autosynth [ERROR] > Synthesis failed
2021-05-26 05:57:50,983 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 4f7bee2 chore: release 2.1.3 (#176)
2021-05-26 05:57:50,988 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2021-05-26 05:57:50,993 autosynth [ERROR] > Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2021-05-26 05:57:51,205 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-datastore/pull/171
2021-05-26 05:57:51,205 autosynth [DEBUG] > Running: git clean -fdx
Removing .nox/
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 95, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/workspace/autosynth/synth.py", line 138, in synthesize_inner_loop
    if not toolbox.synthesize_version_in_new_branch(
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-datastore. ๐Ÿ˜ญ

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

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

Here's the output from running synth.py:

_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/v2.6.2.zip) = e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0"
DEBUG: Repository com_google_api_codegen instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:77:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/bazelbuild/rules_python/archive/748aa53d7701e71101dfd15d800e100f6ff8e5d1.zip) = d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf"
DEBUG: Repository rules_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:42:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-python/archive/v0.35.9.zip) = 02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685"
DEBUG: Repository gapic_generator_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:240:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.15.2.tar.gz) = 62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b"
DEBUG: Repository com_googleapis_gapic_generator_go instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:278:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-typescript/archive/v1.1.0.tar.gz) = 37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df
DEBUG: Rule 'gapic_generator_typescript' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df"
DEBUG: Repository gapic_generator_typescript instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:297:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-csharp/archive/v1.3.1.zip) = 1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3
DEBUG: Rule 'gapic_generator_csharp' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3"
DEBUG: Repository gapic_generator_csharp instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:346:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-ruby/archive/9cc95d8f4e05bdfe4ea9c67e6ca670f27c01c8f2.zip) = cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41
DEBUG: Rule 'gapic_generator_ruby' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41"
DEBUG: Repository gapic_generator_ruby instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:360:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
ERROR: /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_api_codegen/rules_gapic/python/py_gapic.bzl:50:46: invalid escape sequence: \*. You can enable unknown escape sequences by passing the flag --incompatible_restrict_string_escapes=false
ERROR: Skipping '//google/datastore/v1:datastore-v1-py': error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic.bzl' has errors
WARNING: Target pattern parsing failed.
ERROR: error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic.bzl' has errors
INFO: Elapsed time: 30.987s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)
FAILED: Build did NOT complete successfully (1 packages loaded)
2021-05-27 05:57:42,424 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/datastore/v1:datastore-v1-py:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/python-datastore/synth.py", line 25, in <module>
    library = gapic.py_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 52, in py_library
    return self._generate_code(service, version, "python", False, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/datastore/v1:datastore-v1-py']' returned non-zero exit status 1.
2021-05-27 05:57:42,494 autosynth [ERROR] > Synthesis failed
2021-05-27 05:57:42,495 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 4f7bee2 chore: release 2.1.3 (#176)
2021-05-27 05:57:42,500 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2021-05-27 05:57:42,506 autosynth [ERROR] > Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2021-05-27 05:57:42,756 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-datastore/pull/171
2021-05-27 05:57:42,756 autosynth [DEBUG] > Running: git clean -fdx
Removing .nox/
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 95, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/workspace/autosynth/synth.py", line 138, in synthesize_inner_loop
    if not toolbox.synthesize_version_in_new_branch(
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-datastore. ๐Ÿ˜ญ

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

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

Here's the output from running synth.py:

ttp.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/v2.6.2.zip) = e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0
Loading: 0 packages loaded
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0"
DEBUG: Repository com_google_api_codegen instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:77:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/bazelbuild/rules_python/archive/748aa53d7701e71101dfd15d800e100f6ff8e5d1.zip) = d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf"
DEBUG: Repository rules_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:42:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-python/archive/v0.35.9.zip) = 02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685"
DEBUG: Repository gapic_generator_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:240:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.15.2.tar.gz) = 62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b"
DEBUG: Repository com_googleapis_gapic_generator_go instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:278:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-typescript/archive/v1.1.0.tar.gz) = 37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df
DEBUG: Rule 'gapic_generator_typescript' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df"
DEBUG: Repository gapic_generator_typescript instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:297:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-csharp/archive/v1.3.1.zip) = 1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3
DEBUG: Rule 'gapic_generator_csharp' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3"
DEBUG: Repository gapic_generator_csharp instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:346:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-ruby/archive/9cc95d8f4e05bdfe4ea9c67e6ca670f27c01c8f2.zip) = cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41
DEBUG: Rule 'gapic_generator_ruby' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41"
DEBUG: Repository gapic_generator_ruby instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:360:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
ERROR: /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_api_codegen/rules_gapic/python/py_gapic_pkg.bzl:53:59: invalid escape sequence: \;. You can enable unknown escape sequences by passing the flag --incompatible_restrict_string_escapes=false
ERROR: Skipping '//google/datastore/v1:datastore-v1-py': error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic_pkg.bzl' has errors
WARNING: Target pattern parsing failed.
ERROR: error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic_pkg.bzl' has errors
INFO: Elapsed time: 31.065s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)
FAILED: Build did NOT complete successfully (1 packages loaded)
2021-05-28 05:57:27,488 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/datastore/v1:datastore-v1-py:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/python-datastore/synth.py", line 25, in <module>
    library = gapic.py_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 52, in py_library
    return self._generate_code(service, version, "python", False, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/datastore/v1:datastore-v1-py']' returned non-zero exit status 1.
2021-05-28 05:57:27,570 autosynth [ERROR] > Synthesis failed
2021-05-28 05:57:27,570 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 4f7bee2 chore: release 2.1.3 (#176)
2021-05-28 05:57:27,575 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2021-05-28 05:57:27,581 autosynth [ERROR] > Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2021-05-28 05:57:27,798 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-datastore/pull/171
2021-05-28 05:57:27,799 autosynth [DEBUG] > Running: git clean -fdx
Removing .nox/
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 95, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/workspace/autosynth/synth.py", line 138, in synthesize_inner_loop
    if not toolbox.synthesize_version_in_new_branch(
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-datastore. ๐Ÿ˜ญ

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

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

Here's the output from running synth.py:

_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/v2.6.2.zip) = e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0"
DEBUG: Repository com_google_api_codegen instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:77:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/bazelbuild/rules_python/archive/748aa53d7701e71101dfd15d800e100f6ff8e5d1.zip) = d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf"
DEBUG: Repository rules_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:42:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-python/archive/v0.35.9.zip) = 02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685"
DEBUG: Repository gapic_generator_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:240:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.15.2.tar.gz) = 62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b"
DEBUG: Repository com_googleapis_gapic_generator_go instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:278:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-typescript/archive/v1.1.0.tar.gz) = 37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df
DEBUG: Rule 'gapic_generator_typescript' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df"
DEBUG: Repository gapic_generator_typescript instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:297:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-csharp/archive/v1.3.1.zip) = 1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3
DEBUG: Rule 'gapic_generator_csharp' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3"
DEBUG: Repository gapic_generator_csharp instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:346:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-ruby/archive/9cc95d8f4e05bdfe4ea9c67e6ca670f27c01c8f2.zip) = cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41
DEBUG: Rule 'gapic_generator_ruby' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41"
DEBUG: Repository gapic_generator_ruby instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:360:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
ERROR: /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_api_codegen/rules_gapic/python/py_gapic.bzl:50:46: invalid escape sequence: \*. You can enable unknown escape sequences by passing the flag --incompatible_restrict_string_escapes=false
ERROR: Skipping '//google/datastore/v1:datastore-v1-py': error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic.bzl' has errors
WARNING: Target pattern parsing failed.
ERROR: error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic.bzl' has errors
INFO: Elapsed time: 32.719s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)
FAILED: Build did NOT complete successfully (1 packages loaded)
2021-05-29 05:57:41,976 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/datastore/v1:datastore-v1-py:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/python-datastore/synth.py", line 25, in <module>
    library = gapic.py_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 52, in py_library
    return self._generate_code(service, version, "python", False, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/datastore/v1:datastore-v1-py']' returned non-zero exit status 1.
2021-05-29 05:57:42,056 autosynth [ERROR] > Synthesis failed
2021-05-29 05:57:42,057 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 4f7bee2 chore: release 2.1.3 (#176)
2021-05-29 05:57:42,061 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2021-05-29 05:57:42,066 autosynth [ERROR] > Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2021-05-29 05:57:42,266 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-datastore/pull/171
2021-05-29 05:57:42,266 autosynth [DEBUG] > Running: git clean -fdx
Removing .nox/
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 95, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/workspace/autosynth/synth.py", line 138, in synthesize_inner_loop
    if not toolbox.synthesize_version_in_new_branch(
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-datastore. ๐Ÿ˜ญ

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

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

Here's the output from running synth.py:

l>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/v2.6.2.zip) = e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0
Loading: 0 packages loaded
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0"
DEBUG: Repository com_google_api_codegen instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:77:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/bazelbuild/rules_python/archive/748aa53d7701e71101dfd15d800e100f6ff8e5d1.zip) = d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf"
DEBUG: Repository rules_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:42:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-python/archive/v0.35.9.zip) = 02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685"
DEBUG: Repository gapic_generator_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:240:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.15.2.tar.gz) = 62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b"
DEBUG: Repository com_googleapis_gapic_generator_go instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:278:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-typescript/archive/v1.1.0.tar.gz) = 37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df
DEBUG: Rule 'gapic_generator_typescript' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df"
DEBUG: Repository gapic_generator_typescript instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:297:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-csharp/archive/v1.3.1.zip) = 1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3
DEBUG: Rule 'gapic_generator_csharp' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3"
DEBUG: Repository gapic_generator_csharp instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:346:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-ruby/archive/9cc95d8f4e05bdfe4ea9c67e6ca670f27c01c8f2.zip) = cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41
DEBUG: Rule 'gapic_generator_ruby' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41"
DEBUG: Repository gapic_generator_ruby instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:360:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
ERROR: /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_api_codegen/rules_gapic/python/py_gapic_pkg.bzl:53:59: invalid escape sequence: \;. You can enable unknown escape sequences by passing the flag --incompatible_restrict_string_escapes=false
ERROR: Skipping '//google/datastore/v1:datastore-v1-py': error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic_pkg.bzl' has errors
WARNING: Target pattern parsing failed.
ERROR: error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic_pkg.bzl' has errors
INFO: Elapsed time: 32.606s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)
FAILED: Build did NOT complete successfully (1 packages loaded)
2021-05-30 06:03:04,836 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/datastore/v1:datastore-v1-py:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/python-datastore/synth.py", line 25, in <module>
    library = gapic.py_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 52, in py_library
    return self._generate_code(service, version, "python", False, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/datastore/v1:datastore-v1-py']' returned non-zero exit status 1.
2021-05-30 06:03:04,910 autosynth [ERROR] > Synthesis failed
2021-05-30 06:03:04,910 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 4f7bee2 chore: release 2.1.3 (#176)
2021-05-30 06:03:04,915 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2021-05-30 06:03:04,920 autosynth [ERROR] > Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2021-05-30 06:03:05,125 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-datastore/pull/171
2021-05-30 06:03:05,125 autosynth [DEBUG] > Running: git clean -fdx
Removing .nox/
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 95, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/workspace/autosynth/synth.py", line 138, in synthesize_inner_loop
    if not toolbox.synthesize_version_in_new_branch(
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-datastore. ๐Ÿ˜ญ

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

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

Here's the output from running synth.py:

_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/v2.6.2.zip) = e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0"
DEBUG: Repository com_google_api_codegen instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:77:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/bazelbuild/rules_python/archive/748aa53d7701e71101dfd15d800e100f6ff8e5d1.zip) = d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf"
DEBUG: Repository rules_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:42:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-python/archive/v0.35.9.zip) = 02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685"
DEBUG: Repository gapic_generator_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:240:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.15.2.tar.gz) = 62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b"
DEBUG: Repository com_googleapis_gapic_generator_go instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:278:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-typescript/archive/v1.1.0.tar.gz) = 37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df
DEBUG: Rule 'gapic_generator_typescript' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df"
DEBUG: Repository gapic_generator_typescript instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:297:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-csharp/archive/v1.3.1.zip) = 1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3
DEBUG: Rule 'gapic_generator_csharp' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3"
DEBUG: Repository gapic_generator_csharp instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:346:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-ruby/archive/9cc95d8f4e05bdfe4ea9c67e6ca670f27c01c8f2.zip) = cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41
DEBUG: Rule 'gapic_generator_ruby' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41"
DEBUG: Repository gapic_generator_ruby instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:360:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
ERROR: /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_api_codegen/rules_gapic/python/py_gapic.bzl:50:46: invalid escape sequence: \*. You can enable unknown escape sequences by passing the flag --incompatible_restrict_string_escapes=false
ERROR: Skipping '//google/datastore/v1:datastore-v1-py': error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic.bzl' has errors
WARNING: Target pattern parsing failed.
ERROR: error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic.bzl' has errors
INFO: Elapsed time: 31.316s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)
FAILED: Build did NOT complete successfully (1 packages loaded)
2021-05-31 05:57:21,356 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/datastore/v1:datastore-v1-py:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/python-datastore/synth.py", line 25, in <module>
    library = gapic.py_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 52, in py_library
    return self._generate_code(service, version, "python", False, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/datastore/v1:datastore-v1-py']' returned non-zero exit status 1.
2021-05-31 05:57:21,423 autosynth [ERROR] > Synthesis failed
2021-05-31 05:57:21,424 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 4f7bee2 chore: release 2.1.3 (#176)
2021-05-31 05:57:21,428 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2021-05-31 05:57:21,433 autosynth [ERROR] > Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2021-05-31 05:57:21,643 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-datastore/pull/171
2021-05-31 05:57:21,643 autosynth [DEBUG] > Running: git clean -fdx
Removing .nox/
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 95, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/workspace/autosynth/synth.py", line 138, in synthesize_inner_loop
    if not toolbox.synthesize_version_in_new_branch(
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-datastore. ๐Ÿ˜ญ

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

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

Here's the output from running synth.py:

_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/v2.6.2.zip) = e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0
Loading: 0 packages loaded
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0"
DEBUG: Repository com_google_api_codegen instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:77:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/bazelbuild/rules_python/archive/748aa53d7701e71101dfd15d800e100f6ff8e5d1.zip) = d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf"
DEBUG: Repository rules_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:42:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-python/archive/v0.35.9.zip) = 02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685"
DEBUG: Repository gapic_generator_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:240:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.15.2.tar.gz) = 62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b"
DEBUG: Repository com_googleapis_gapic_generator_go instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:278:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-typescript/archive/v1.1.0.tar.gz) = 37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df
DEBUG: Rule 'gapic_generator_typescript' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df"
DEBUG: Repository gapic_generator_typescript instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:297:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-csharp/archive/v1.3.1.zip) = 1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3
DEBUG: Rule 'gapic_generator_csharp' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3"
DEBUG: Repository gapic_generator_csharp instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:346:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-ruby/archive/9cc95d8f4e05bdfe4ea9c67e6ca670f27c01c8f2.zip) = cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41
DEBUG: Rule 'gapic_generator_ruby' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41"
DEBUG: Repository gapic_generator_ruby instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:360:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
ERROR: /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_api_codegen/rules_gapic/python/py_gapic.bzl:50:46: invalid escape sequence: \*. You can enable unknown escape sequences by passing the flag --incompatible_restrict_string_escapes=false
ERROR: Skipping '//google/datastore/v1:datastore-v1-py': error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic.bzl' has errors
WARNING: Target pattern parsing failed.
ERROR: error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic.bzl' has errors
INFO: Elapsed time: 31.701s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)
FAILED: Build did NOT complete successfully (1 packages loaded)
2021-06-01 05:58:02,373 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/datastore/v1:datastore-v1-py:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/python-datastore/synth.py", line 25, in <module>
    library = gapic.py_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 52, in py_library
    return self._generate_code(service, version, "python", False, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/datastore/v1:datastore-v1-py']' returned non-zero exit status 1.
2021-06-01 05:58:02,462 autosynth [ERROR] > Synthesis failed
2021-06-01 05:58:02,463 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 4f7bee2 chore: release 2.1.3 (#176)
2021-06-01 05:58:02,468 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2021-06-01 05:58:02,473 autosynth [ERROR] > Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2021-06-01 05:58:03,163 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-datastore/pull/171
2021-06-01 05:58:03,163 autosynth [DEBUG] > Running: git clean -fdx
Removing .nox/
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 95, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/workspace/autosynth/synth.py", line 138, in synthesize_inner_loop
    if not toolbox.synthesize_version_in_new_branch(
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

This is blocked by bazelbuild/bazel#13414 and its original issue: bazelbuild/bazel#13379

Autosynth is still having trouble generating python-datastore. ๐Ÿ˜ญ

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

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

Here's the output from running synth.py:

l>
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/v2.6.2.zip) = e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0"
DEBUG: Repository com_google_api_codegen instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:77:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/bazelbuild/rules_python/archive/748aa53d7701e71101dfd15d800e100f6ff8e5d1.zip) = d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf"
DEBUG: Repository rules_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:42:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-python/archive/v0.35.9.zip) = 02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685"
DEBUG: Repository gapic_generator_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:240:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.15.2.tar.gz) = 62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b"
DEBUG: Repository com_googleapis_gapic_generator_go instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:278:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-typescript/archive/v1.1.0.tar.gz) = 37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df
DEBUG: Rule 'gapic_generator_typescript' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df"
DEBUG: Repository gapic_generator_typescript instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:297:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-csharp/archive/v1.3.1.zip) = 1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3
DEBUG: Rule 'gapic_generator_csharp' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3"
DEBUG: Repository gapic_generator_csharp instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:346:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-ruby/archive/9cc95d8f4e05bdfe4ea9c67e6ca670f27c01c8f2.zip) = cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41
DEBUG: Rule 'gapic_generator_ruby' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41"
DEBUG: Repository gapic_generator_ruby instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:360:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
ERROR: /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_api_codegen/rules_gapic/python/py_gapic_pkg.bzl:53:59: invalid escape sequence: \;. You can enable unknown escape sequences by passing the flag --incompatible_restrict_string_escapes=false
ERROR: Skipping '//google/datastore/v1:datastore-v1-py': error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic_pkg.bzl' has errors
WARNING: Target pattern parsing failed.
ERROR: error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic_pkg.bzl' has errors
INFO: Elapsed time: 34.502s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)
FAILED: Build did NOT complete successfully (1 packages loaded)
2021-06-02 05:53:31,338 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/datastore/v1:datastore-v1-py:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/python-datastore/synth.py", line 25, in <module>
    library = gapic.py_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 52, in py_library
    return self._generate_code(service, version, "python", False, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/datastore/v1:datastore-v1-py']' returned non-zero exit status 1.
2021-06-02 05:53:31,408 autosynth [ERROR] > Synthesis failed
2021-06-02 05:53:31,408 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 4f7bee2 chore: release 2.1.3 (#176)
2021-06-02 05:53:31,414 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2021-06-02 05:53:31,420 autosynth [ERROR] > Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2021-06-02 05:53:31,731 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-datastore/pull/171
2021-06-02 05:53:31,731 autosynth [DEBUG] > Running: git clean -fdx
Removing .nox/
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 95, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/workspace/autosynth/synth.py", line 138, in synthesize_inner_loop
    if not toolbox.synthesize_version_in_new_branch(
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-datastore. ๐Ÿ˜ญ

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

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

Here's the output from running synth.py:

l>
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/v2.6.2.zip) = e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0"
DEBUG: Repository com_google_api_codegen instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:77:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/bazelbuild/rules_python/archive/748aa53d7701e71101dfd15d800e100f6ff8e5d1.zip) = d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf"
DEBUG: Repository rules_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:42:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-python/archive/v0.35.9.zip) = 02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685"
DEBUG: Repository gapic_generator_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:240:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.15.2.tar.gz) = 62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b"
DEBUG: Repository com_googleapis_gapic_generator_go instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:278:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-typescript/archive/v1.1.0.tar.gz) = 37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df
DEBUG: Rule 'gapic_generator_typescript' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df"
DEBUG: Repository gapic_generator_typescript instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:297:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-csharp/archive/v1.3.1.zip) = 1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3
DEBUG: Rule 'gapic_generator_csharp' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3"
DEBUG: Repository gapic_generator_csharp instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:346:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-ruby/archive/9cc95d8f4e05bdfe4ea9c67e6ca670f27c01c8f2.zip) = cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41
DEBUG: Rule 'gapic_generator_ruby' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41"
DEBUG: Repository gapic_generator_ruby instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:360:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
ERROR: /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_api_codegen/rules_gapic/python/py_gapic_pkg.bzl:53:59: invalid escape sequence: \;. You can enable unknown escape sequences by passing the flag --incompatible_restrict_string_escapes=false
ERROR: Skipping '//google/datastore/v1:datastore-v1-py': error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic_pkg.bzl' has errors
WARNING: Target pattern parsing failed.
ERROR: error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic_pkg.bzl' has errors
INFO: Elapsed time: 30.587s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)
FAILED: Build did NOT complete successfully (1 packages loaded)
2021-06-03 05:52:44,974 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/datastore/v1:datastore-v1-py:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/python-datastore/synth.py", line 25, in <module>
    library = gapic.py_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 52, in py_library
    return self._generate_code(service, version, "python", False, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/datastore/v1:datastore-v1-py']' returned non-zero exit status 1.
2021-06-03 05:52:45,033 autosynth [ERROR] > Synthesis failed
2021-06-03 05:52:45,033 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 4f7bee2 chore: release 2.1.3 (#176)
2021-06-03 05:52:45,038 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2021-06-03 05:52:45,043 autosynth [ERROR] > Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2021-06-03 05:52:45,250 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-datastore/pull/171
2021-06-03 05:52:45,250 autosynth [DEBUG] > Running: git clean -fdx
Removing .nox/
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 95, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/workspace/autosynth/synth.py", line 138, in synthesize_inner_loop
    if not toolbox.synthesize_version_in_new_branch(
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-datastore. ๐Ÿ˜ญ

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

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

Here's the output from running synth.py:

l>
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/v2.6.2.zip) = e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0
Loading: 0 packages loaded
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0"
DEBUG: Repository com_google_api_codegen instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:77:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/bazelbuild/rules_python/archive/748aa53d7701e71101dfd15d800e100f6ff8e5d1.zip) = d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf"
DEBUG: Repository rules_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:42:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-python/archive/v0.35.9.zip) = 02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685"
DEBUG: Repository gapic_generator_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:240:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.15.2.tar.gz) = 62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b"
DEBUG: Repository com_googleapis_gapic_generator_go instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:278:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-typescript/archive/v1.1.0.tar.gz) = 37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df
DEBUG: Rule 'gapic_generator_typescript' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df"
DEBUG: Repository gapic_generator_typescript instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:297:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-csharp/archive/v1.3.1.zip) = 1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3
DEBUG: Rule 'gapic_generator_csharp' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3"
DEBUG: Repository gapic_generator_csharp instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:346:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-ruby/archive/9cc95d8f4e05bdfe4ea9c67e6ca670f27c01c8f2.zip) = cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41
DEBUG: Rule 'gapic_generator_ruby' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41"
DEBUG: Repository gapic_generator_ruby instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:360:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
ERROR: /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_api_codegen/rules_gapic/python/py_gapic_pkg.bzl:53:59: invalid escape sequence: \;. You can enable unknown escape sequences by passing the flag --incompatible_restrict_string_escapes=false
ERROR: Skipping '//google/datastore/v1:datastore-v1-py': error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic_pkg.bzl' has errors
WARNING: Target pattern parsing failed.
ERROR: error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic_pkg.bzl' has errors
INFO: Elapsed time: 30.703s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)
FAILED: Build did NOT complete successfully (1 packages loaded)
2021-06-04 04:27:19,457 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/datastore/v1:datastore-v1-py:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/python-datastore/synth.py", line 25, in <module>
    library = gapic.py_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 52, in py_library
    return self._generate_code(service, version, "python", False, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/datastore/v1:datastore-v1-py']' returned non-zero exit status 1.
2021-06-04 04:27:19,519 autosynth [ERROR] > Synthesis failed
2021-06-04 04:27:19,519 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 4f7bee2 chore: release 2.1.3 (#176)
2021-06-04 04:27:19,524 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2021-06-04 04:27:19,529 autosynth [ERROR] > Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2021-06-04 04:27:19,724 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-datastore/pull/171
2021-06-04 04:27:19,724 autosynth [DEBUG] > Running: git clean -fdx
Removing .nox/
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 95, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/workspace/autosynth/synth.py", line 138, in synthesize_inner_loop
    if not toolbox.synthesize_version_in_new_branch(
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-datastore. ๐Ÿ˜ญ

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

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

Here's the output from running synth.py:

_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/v2.6.2.zip) = e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0"
DEBUG: Repository com_google_api_codegen instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:77:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/bazelbuild/rules_python/archive/748aa53d7701e71101dfd15d800e100f6ff8e5d1.zip) = d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf"
DEBUG: Repository rules_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:42:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-python/archive/v0.35.9.zip) = 02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685"
DEBUG: Repository gapic_generator_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:240:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.15.2.tar.gz) = 62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b"
DEBUG: Repository com_googleapis_gapic_generator_go instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:278:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-typescript/archive/v1.1.0.tar.gz) = 37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df
DEBUG: Rule 'gapic_generator_typescript' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df"
DEBUG: Repository gapic_generator_typescript instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:297:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-csharp/archive/v1.3.1.zip) = 1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3
DEBUG: Rule 'gapic_generator_csharp' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3"
DEBUG: Repository gapic_generator_csharp instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:346:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-ruby/archive/9cc95d8f4e05bdfe4ea9c67e6ca670f27c01c8f2.zip) = cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41
DEBUG: Rule 'gapic_generator_ruby' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41"
DEBUG: Repository gapic_generator_ruby instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:360:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
ERROR: /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_api_codegen/rules_gapic/python/py_gapic.bzl:50:46: invalid escape sequence: \*. You can enable unknown escape sequences by passing the flag --incompatible_restrict_string_escapes=false
ERROR: Skipping '//google/datastore/v1:datastore-v1-py': error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic.bzl' has errors
WARNING: Target pattern parsing failed.
ERROR: error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic.bzl' has errors
INFO: Elapsed time: 31.576s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)
FAILED: Build did NOT complete successfully (1 packages loaded)
2021-06-05 04:42:27,828 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/datastore/v1:datastore-v1-py:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/python-datastore/synth.py", line 25, in <module>
    library = gapic.py_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 52, in py_library
    return self._generate_code(service, version, "python", False, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/datastore/v1:datastore-v1-py']' returned non-zero exit status 1.
2021-06-05 04:42:27,892 autosynth [ERROR] > Synthesis failed
2021-06-05 04:42:27,893 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 4f7bee2 chore: release 2.1.3 (#176)
2021-06-05 04:42:27,897 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2021-06-05 04:42:27,902 autosynth [ERROR] > Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2021-06-05 04:42:28,106 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-datastore/pull/171
2021-06-05 04:42:28,106 autosynth [DEBUG] > Running: git clean -fdx
Removing .nox/
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 95, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/workspace/autosynth/synth.py", line 138, in synthesize_inner_loop
    if not toolbox.synthesize_version_in_new_branch(
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-datastore. ๐Ÿ˜ญ

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

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

Here's the output from running synth.py:

 in <toplevel>
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/v2.6.2.zip) = e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0"
DEBUG: Repository com_google_api_codegen instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:77:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/bazelbuild/rules_python/archive/748aa53d7701e71101dfd15d800e100f6ff8e5d1.zip) = d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf"
DEBUG: Repository rules_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:42:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-python/archive/v0.35.9.zip) = 02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685"
DEBUG: Repository gapic_generator_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:240:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.15.2.tar.gz) = 62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b"
DEBUG: Repository com_googleapis_gapic_generator_go instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:278:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-typescript/archive/v1.1.0.tar.gz) = 37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df
DEBUG: Rule 'gapic_generator_typescript' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df"
DEBUG: Repository gapic_generator_typescript instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:297:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-csharp/archive/v1.3.1.zip) = 1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3
DEBUG: Rule 'gapic_generator_csharp' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3"
DEBUG: Repository gapic_generator_csharp instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:346:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-ruby/archive/9cc95d8f4e05bdfe4ea9c67e6ca670f27c01c8f2.zip) = cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41
DEBUG: Rule 'gapic_generator_ruby' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41"
DEBUG: Repository gapic_generator_ruby instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:360:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
ERROR: /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_api_codegen/rules_gapic/python/py_gapic.bzl:50:46: invalid escape sequence: \*. You can enable unknown escape sequences by passing the flag --incompatible_restrict_string_escapes=false
ERROR: Skipping '//google/datastore/v1:datastore-v1-py': error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic.bzl' has errors
WARNING: Target pattern parsing failed.
ERROR: error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic.bzl' has errors
INFO: Elapsed time: 31.810s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)
FAILED: Build did NOT complete successfully (1 packages loaded)
2021-06-06 04:42:35,629 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/datastore/v1:datastore-v1-py:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/python-datastore/synth.py", line 25, in <module>
    library = gapic.py_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 52, in py_library
    return self._generate_code(service, version, "python", False, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/datastore/v1:datastore-v1-py']' returned non-zero exit status 1.
2021-06-06 04:42:35,697 autosynth [ERROR] > Synthesis failed
2021-06-06 04:42:35,697 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 4f7bee2 chore: release 2.1.3 (#176)
2021-06-06 04:42:35,702 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2021-06-06 04:42:35,706 autosynth [ERROR] > Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2021-06-06 04:42:35,932 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-datastore/pull/171
2021-06-06 04:42:35,932 autosynth [DEBUG] > Running: git clean -fdx
Removing .nox/
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 95, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/workspace/autosynth/synth.py", line 138, in synthesize_inner_loop
    if not toolbox.synthesize_version_in_new_branch(
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-datastore. ๐Ÿ˜ญ

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

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

Here's the output from running synth.py:

l>
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/v2.6.2.zip) = e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "e8f05e7f106d14c30ac3f290d1da8bb64e7774da93b5a47373ac96aec0d83af0"
DEBUG: Repository com_google_api_codegen instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:77:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/bazelbuild/rules_python/archive/748aa53d7701e71101dfd15d800e100f6ff8e5d1.zip) = d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "d3e40ca3b7e00b72d2b1585e0b3396bcce50f0fc692e2b7c91d8b0dc471e3eaf"
DEBUG: Repository rules_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:42:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-python/archive/v0.35.9.zip) = 02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685
DEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "02706f88c0ec491b7ecb012569a5f9acb858e156b896072fd60307280bd2a685"
DEBUG: Repository gapic_generator_python instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:240:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.15.2.tar.gz) = 62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "62faf40306288808913b6229be6b708f70e815fbf3d3d20edc6c553f1e17177b"
DEBUG: Repository com_googleapis_gapic_generator_go instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:278:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-typescript/archive/v1.1.0.tar.gz) = 37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df
DEBUG: Rule 'gapic_generator_typescript' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "37799a8ce876061ffb27d79b69d830f11bf2574616a2d7f9cc1e1530e48686df"
DEBUG: Repository gapic_generator_typescript instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:297:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://github.com/googleapis/gapic-generator-csharp/archive/v1.3.1.zip) = 1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3
DEBUG: Rule 'gapic_generator_csharp' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "1118448d4c3db2a443e0bc3bf240de749adbae3311703e264d14213041b6f1c3"
DEBUG: Repository gapic_generator_csharp instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:346:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-ruby/archive/9cc95d8f4e05bdfe4ea9c67e6ca670f27c01c8f2.zip) = cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41
DEBUG: Rule 'gapic_generator_ruby' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "cfa78149b54f69f991b9f5fd1f5f8c68ead8b8b52679a9bd48afdfb3f5a32e41"
DEBUG: Repository gapic_generator_ruby instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:360:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
ERROR: /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_api_codegen/rules_gapic/python/py_gapic_pkg.bzl:53:59: invalid escape sequence: \;. You can enable unknown escape sequences by passing the flag --incompatible_restrict_string_escapes=false
ERROR: Skipping '//google/datastore/v1:datastore-v1-py': error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic_pkg.bzl' has errors
WARNING: Target pattern parsing failed.
ERROR: error loading package 'google/datastore/v1': in /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/com_google_googleapis_imports/imports.bzl: Extension 'rules_gapic/python/py_gapic_pkg.bzl' has errors
INFO: Elapsed time: 33.474s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)
FAILED: Build did NOT complete successfully (1 packages loaded)
2021-06-07 04:43:00,656 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/datastore/v1:datastore-v1-py:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/python-datastore/synth.py", line 25, in <module>
    library = gapic.py_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 52, in py_library
    return self._generate_code(service, version, "python", False, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/datastore/v1:datastore-v1-py']' returned non-zero exit status 1.
2021-06-07 04:43:00,792 autosynth [ERROR] > Synthesis failed
2021-06-07 04:43:00,792 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 4f7bee2 chore: release 2.1.3 (#176)
2021-06-07 04:43:00,802 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2021-06-07 04:43:00,810 autosynth [ERROR] > Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2021-06-07 04:43:01,039 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-datastore/pull/171
2021-06-07 04:43:01,039 autosynth [DEBUG] > Running: git clean -fdx
Removing .nox/
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 95, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/workspace/autosynth/synth.py", line 138, in synthesize_inner_loop
    if not toolbox.synthesize_version_in_new_branch(
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

This is obsolete as the repo is using owlbot instead of autosynth.