Synthesis failed for python-service-directory

Hello! Autosynth couldn't regenerate python-service-directory. :broken_heart:
Here's the output from running synth.py:
ynth [DEBUG] > Running: git branch -f autosynth-532
2020-10-10 06:03:12,534 autosynth [DEBUG] > Running: git checkout autosynth-532
Switched to branch 'autosynth-532'
2020-10-10 06:03:12,539 autosynth [INFO] > Running synthtool
2020-10-10 06:03:12,539 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-10 06:03:12,539 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-service-directory/532/sponge_log.log
2020-10-10 06:03:12,542 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-10 06:03:12,818 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-service-directory/synth.py.
On branch autosynth-532
nothing to commit, working tree clean
2020-10-10 06:03:12,958 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-10 06:03:12,968 synthtool [DEBUG] > Ensuring dependencies.
2020-10-10 06:03:12,974 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-10 06:03:12,978 synthtool [DEBUG] > Cloning googleapis.
2020-10-10 06:03:12,978 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-10 06:03:12,982 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:49c51ef3987a158fd364837ed097070218c3127fe19a57b74992097fc1282859
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-10 06:03:13,887 synthtool [DEBUG] > Generating code for: google/cloud/servicedirectory/v1beta1.
google/cloud/servicedirectory/v1beta1/endpoint.proto:21:1: warning: Import google/api/annotations.proto is unused.
google/cloud/servicedirectory/v1beta1/service.proto:22:1: warning: Import google/api/annotations.proto is unused.
google/cloud/servicedirectory/v1beta1/namespace.proto:21:1: warning: Import google/api/annotations.proto is unused.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 63, in generate
    res = generator.Generator(opts).get_response(api_schema, opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 100, in get_response
    template_name, api_schema=api_schema, opts=opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 285, in _render_template
    opts=opts,
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 313, in _get_file
    api=api_schema, opts=opts, **context
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1090, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 832, in handle_exception
    reraise(*rewrite_traceback_stack(source=source))
  File "/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 28, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 1, in top-level template code
    {% extends '_base.py.j2' %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/_base.py.j2", line 5, in top-level template code
    {%- block content %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 41, in block "content"
    {% for message in service.resource_messages|sort(attribute="resource_type") -%}
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 471, in getattr
    return getattr(obj, attribute)
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1059, in resource_messages
    for method in self.methods.values()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1067, in <genexpr>
    method.lro.response_type if method.lro else method.output
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1055, in gen_indirect_resources_used
    yield self.visible_resources[resource_type]
  File "/usr/local/lib/python3.7/collections/__init__.py", line 916, in __getitem__
    return self.__missing__(key)            # support subclasses that define __missing__
  File "/usr/local/lib/python3.7/collections/__init__.py", line 908, in __missing__
    raise KeyError(key)
KeyError: 'locations.googleapis.com/Location'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-10 06:03:15,305 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/servicedirectory/v1beta1/,destination=/in/google/cloud/servicedirectory/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpkak7_5c5/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-service-directory/synth.py", line 29, in <module>
    "servicedirectory", "v1beta1"
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/servicedirectory/v1beta1/,destination=/in/google/cloud/servicedirectory/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpkak7_5c5/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-10 06:03:15,367 autosynth [ERROR] > Synthesis failed
2020-10-10 06:03:15,367 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 4461f94 chore: add default CODEOWNERS (#27)
2020-10-10 06:03:15,373 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-10 06:03:15,378 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 706, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 686, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-service-directory. :sob:
Here's the output from running synth.py:
ynth [DEBUG] > Running: git branch -f autosynth-532
2020-10-11 05:57:24,746 autosynth [DEBUG] > Running: git checkout autosynth-532
Switched to branch 'autosynth-532'
2020-10-11 05:57:24,750 autosynth [INFO] > Running synthtool
2020-10-11 05:57:24,750 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-11 05:57:24,750 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-service-directory/532/sponge_log.log
2020-10-11 05:57:24,752 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-11 05:57:25,003 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-service-directory/synth.py.
On branch autosynth-532
nothing to commit, working tree clean
2020-10-11 05:57:25,124 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-11 05:57:25,132 synthtool [DEBUG] > Ensuring dependencies.
2020-10-11 05:57:25,137 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-11 05:57:25,141 synthtool [DEBUG] > Cloning googleapis.
2020-10-11 05:57:25,141 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-11 05:57:25,143 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:49c51ef3987a158fd364837ed097070218c3127fe19a57b74992097fc1282859
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-11 05:57:25,963 synthtool [DEBUG] > Generating code for: google/cloud/servicedirectory/v1beta1.
google/cloud/servicedirectory/v1beta1/endpoint.proto:21:1: warning: Import google/api/annotations.proto is unused.
google/cloud/servicedirectory/v1beta1/service.proto:22:1: warning: Import google/api/annotations.proto is unused.
google/cloud/servicedirectory/v1beta1/namespace.proto:21:1: warning: Import google/api/annotations.proto is unused.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 63, in generate
    res = generator.Generator(opts).get_response(api_schema, opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 100, in get_response
    template_name, api_schema=api_schema, opts=opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 285, in _render_template
    opts=opts,
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 313, in _get_file
    api=api_schema, opts=opts, **context
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1090, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 832, in handle_exception
    reraise(*rewrite_traceback_stack(source=source))
  File "/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 28, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 1, in top-level template code
    {% extends '_base.py.j2' %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/_base.py.j2", line 5, in top-level template code
    {%- block content %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 41, in block "content"
    {% for message in service.resource_messages|sort(attribute="resource_type") -%}
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 471, in getattr
    return getattr(obj, attribute)
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1059, in resource_messages
    for method in self.methods.values()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1067, in <genexpr>
    method.lro.response_type if method.lro else method.output
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1055, in gen_indirect_resources_used
    yield self.visible_resources[resource_type]
  File "/usr/local/lib/python3.7/collections/__init__.py", line 916, in __getitem__
    return self.__missing__(key)            # support subclasses that define __missing__
  File "/usr/local/lib/python3.7/collections/__init__.py", line 908, in __missing__
    raise KeyError(key)
KeyError: 'locations.googleapis.com/Location'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-11 05:57:27,265 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/servicedirectory/v1beta1/,destination=/in/google/cloud/servicedirectory/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmp00b7jhzr/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-service-directory/synth.py", line 29, in <module>
    "servicedirectory", "v1beta1"
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/servicedirectory/v1beta1/,destination=/in/google/cloud/servicedirectory/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmp00b7jhzr/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-11 05:57:27,324 autosynth [ERROR] > Synthesis failed
2020-10-11 05:57:27,324 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 4461f94 chore: add default CODEOWNERS (#27)
2020-10-11 05:57:27,329 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-11 05:57:27,333 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 706, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 686, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-service-directory. :sob:
Here's the output from running synth.py:
ynth [DEBUG] > Running: git branch -f autosynth-532
2020-10-12 06:01:51,209 autosynth [DEBUG] > Running: git checkout autosynth-532
Switched to branch 'autosynth-532'
2020-10-12 06:01:51,213 autosynth [INFO] > Running synthtool
2020-10-12 06:01:51,213 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-12 06:01:51,213 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-service-directory/532/sponge_log.log
2020-10-12 06:01:51,215 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-12 06:01:51,471 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-service-directory/synth.py.
On branch autosynth-532
nothing to commit, working tree clean
2020-10-12 06:01:51,598 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-12 06:01:51,606 synthtool [DEBUG] > Ensuring dependencies.
2020-10-12 06:01:51,611 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-12 06:01:51,615 synthtool [DEBUG] > Cloning googleapis.
2020-10-12 06:01:51,616 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-12 06:01:51,619 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:49c51ef3987a158fd364837ed097070218c3127fe19a57b74992097fc1282859
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-12 06:01:52,467 synthtool [DEBUG] > Generating code for: google/cloud/servicedirectory/v1beta1.
google/cloud/servicedirectory/v1beta1/endpoint.proto:21:1: warning: Import google/api/annotations.proto is unused.
google/cloud/servicedirectory/v1beta1/service.proto:22:1: warning: Import google/api/annotations.proto is unused.
google/cloud/servicedirectory/v1beta1/namespace.proto:21:1: warning: Import google/api/annotations.proto is unused.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 63, in generate
    res = generator.Generator(opts).get_response(api_schema, opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 100, in get_response
    template_name, api_schema=api_schema, opts=opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 285, in _render_template
    opts=opts,
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 313, in _get_file
    api=api_schema, opts=opts, **context
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1090, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 832, in handle_exception
    reraise(*rewrite_traceback_stack(source=source))
  File "/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 28, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 1, in top-level template code
    {% extends '_base.py.j2' %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/_base.py.j2", line 5, in top-level template code
    {%- block content %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 41, in block "content"
    {% for message in service.resource_messages|sort(attribute="resource_type") -%}
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 471, in getattr
    return getattr(obj, attribute)
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1059, in resource_messages
    for method in self.methods.values()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1067, in <genexpr>
    method.lro.response_type if method.lro else method.output
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1055, in gen_indirect_resources_used
    yield self.visible_resources[resource_type]
  File "/usr/local/lib/python3.7/collections/__init__.py", line 916, in __getitem__
    return self.__missing__(key)            # support subclasses that define __missing__
  File "/usr/local/lib/python3.7/collections/__init__.py", line 908, in __missing__
    raise KeyError(key)
KeyError: 'locations.googleapis.com/Location'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-12 06:01:53,774 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/servicedirectory/v1beta1/,destination=/in/google/cloud/servicedirectory/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmp3r2gje0k/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-service-directory/synth.py", line 29, in <module>
    "servicedirectory", "v1beta1"
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/servicedirectory/v1beta1/,destination=/in/google/cloud/servicedirectory/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmp3r2gje0k/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-12 06:01:53,835 autosynth [ERROR] > Synthesis failed
2020-10-12 06:01:53,835 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 4461f94 chore: add default CODEOWNERS (#27)
2020-10-12 06:01:53,840 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-12 06:01:53,845 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 706, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 686, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-service-directory. :sob:
Here's the output from running synth.py:
up
2020-10-13 06:03:29,430 autosynth [DEBUG] > Running: git branch -f autosynth-540
2020-10-13 06:03:29,433 autosynth [DEBUG] > Running: git checkout autosynth-540
Switched to branch 'autosynth-540'
2020-10-13 06:03:29,438 autosynth [INFO] > Running synthtool
2020-10-13 06:03:29,438 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-13 06:03:29,438 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-service-directory/540/sponge_log.log
2020-10-13 06:03:29,439 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-13 06:03:29,693 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-service-directory/synth.py.
On branch autosynth-540
nothing to commit, working tree clean
2020-10-13 06:03:29,823 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-13 06:03:29,831 synthtool [DEBUG] > Ensuring dependencies.
2020-10-13 06:03:29,836 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-13 06:03:29,840 synthtool [DEBUG] > Cloning googleapis.
2020-10-13 06:03:29,840 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-13 06:03:29,843 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:54efc3bca60aef42bd1710668b61e060d8e55da349ad33913dd6f3e04b3ecfbf
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-13 06:03:30,689 synthtool [DEBUG] > Generating code for: google/cloud/servicedirectory/v1beta1.
google/cloud/servicedirectory/v1beta1/endpoint.proto:21:1: warning: Import google/api/annotations.proto is unused.
google/cloud/servicedirectory/v1beta1/service.proto:22:1: warning: Import google/api/annotations.proto is unused.
google/cloud/servicedirectory/v1beta1/namespace.proto:21:1: warning: Import google/api/annotations.proto is unused.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 63, in generate
    res = generator.Generator(opts).get_response(api_schema, opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 100, in get_response
    template_name, api_schema=api_schema, opts=opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 285, in _render_template
    opts=opts,
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 313, in _get_file
    api=api_schema, opts=opts, **context
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1090, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 832, in handle_exception
    reraise(*rewrite_traceback_stack(source=source))
  File "/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 28, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 1, in top-level template code
    {% extends '_base.py.j2' %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/_base.py.j2", line 5, in top-level template code
    {%- block content %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 41, in block "content"
    {% for message in service.resource_messages|sort(attribute="resource_type") -%}
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 471, in getattr
    return getattr(obj, attribute)
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1062, in resource_messages
    for method in self.methods.values()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1070, in <genexpr>
    method.lro.response_type if method.lro else method.output
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1058, in gen_indirect_resources_used
    yield self.visible_resources[resource_type]
  File "/usr/local/lib/python3.7/collections/__init__.py", line 916, in __getitem__
    return self.__missing__(key)            # support subclasses that define __missing__
  File "/usr/local/lib/python3.7/collections/__init__.py", line 908, in __missing__
    raise KeyError(key)
KeyError: '*'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-13 06:03:32,022 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/servicedirectory/v1beta1/,destination=/in/google/cloud/servicedirectory/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmp8zz9_fkc/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-service-directory/synth.py", line 29, in <module>
    "servicedirectory", "v1beta1"
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/servicedirectory/v1beta1/,destination=/in/google/cloud/servicedirectory/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmp8zz9_fkc/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-13 06:03:32,090 autosynth [ERROR] > Synthesis failed
2020-10-13 06:03:32,091 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 4461f94 chore: add default CODEOWNERS (#27)
2020-10-13 06:03:32,096 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-13 06:03:32,101 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 706, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 686, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-service-directory. :sob:
Here's the output from running synth.py:
od
2020-10-14 06:06:49,888 autosynth [DEBUG] > Running: git branch -f autosynth-547
2020-10-14 06:06:49,892 autosynth [DEBUG] > Running: git checkout autosynth-547
Switched to branch 'autosynth-547'
2020-10-14 06:06:49,895 autosynth [INFO] > Running synthtool
2020-10-14 06:06:49,896 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-14 06:06:49,896 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-service-directory/547/sponge_log.log
2020-10-14 06:06:49,897 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-14 06:06:50,148 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-service-directory/synth.py.
On branch autosynth-547
nothing to commit, working tree clean
2020-10-14 06:06:50,272 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-14 06:06:50,280 synthtool [DEBUG] > Ensuring dependencies.
2020-10-14 06:06:50,284 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-14 06:06:50,288 synthtool [DEBUG] > Cloning googleapis.
2020-10-14 06:06:50,288 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-14 06:06:50,291 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:29c1039a52c3a338d574ecdae89ed032a1fcde6f6f95df9794e572d5fdf7ee88
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-14 06:06:51,090 synthtool [DEBUG] > Generating code for: google/cloud/servicedirectory/v1beta1.
google/cloud/servicedirectory/v1beta1/endpoint.proto:21:1: warning: Import google/api/annotations.proto is unused.
google/cloud/servicedirectory/v1beta1/service.proto:22:1: warning: Import google/api/annotations.proto is unused.
google/cloud/servicedirectory/v1beta1/namespace.proto:21:1: warning: Import google/api/annotations.proto is unused.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 63, in generate
    res = generator.Generator(opts).get_response(api_schema, opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 100, in get_response
    template_name, api_schema=api_schema, opts=opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 285, in _render_template
    opts=opts,
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 313, in _get_file
    api=api_schema, opts=opts, **context
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1090, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 832, in handle_exception
    reraise(*rewrite_traceback_stack(source=source))
  File "/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 28, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 1, in top-level template code
    {% extends '_base.py.j2' %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/_base.py.j2", line 5, in top-level template code
    {%- block content %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 41, in block "content"
    {% for message in service.resource_messages|sort(attribute="resource_type") -%}
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 471, in getattr
    return getattr(obj, attribute)
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1078, in resource_messages
    for method in self.methods.values()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1086, in <genexpr>
    method.lro.response_type if method.lro else method.output
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1074, in gen_indirect_resources_used
    yield self.visible_resources[resource_type]
  File "/usr/local/lib/python3.7/collections/__init__.py", line 916, in __getitem__
    return self.__missing__(key)            # support subclasses that define __missing__
  File "/usr/local/lib/python3.7/collections/__init__.py", line 908, in __missing__
    raise KeyError(key)
KeyError: '*'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-14 06:06:52,704 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/servicedirectory/v1beta1/,destination=/in/google/cloud/servicedirectory/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpq3k5zx1f/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-service-directory/synth.py", line 29, in <module>
    "servicedirectory", "v1beta1"
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/servicedirectory/v1beta1/,destination=/in/google/cloud/servicedirectory/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpq3k5zx1f/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-14 06:06:52,762 autosynth [ERROR] > Synthesis failed
2020-10-14 06:06:52,762 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 4461f94 chore: add default CODEOWNERS (#27)
2020-10-14 06:06:52,767 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-14 06:06:52,772 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 706, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 686, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-service-directory. :sob:
Here's the output from running synth.py:
cs
2020-10-15 06:07:42,802 autosynth [DEBUG] > Running: git branch -f autosynth-549
2020-10-15 06:07:42,806 autosynth [DEBUG] > Running: git checkout autosynth-549
Switched to branch 'autosynth-549'
2020-10-15 06:07:42,809 autosynth [INFO] > Running synthtool
2020-10-15 06:07:42,810 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-15 06:07:42,810 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-service-directory/549/sponge_log.log
2020-10-15 06:07:42,812 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-15 06:07:43,074 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-service-directory/synth.py.
On branch autosynth-549
nothing to commit, working tree clean
2020-10-15 06:07:43,203 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-15 06:07:43,211 synthtool [DEBUG] > Ensuring dependencies.
2020-10-15 06:07:43,215 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-15 06:07:43,219 synthtool [DEBUG] > Cloning googleapis.
2020-10-15 06:07:43,219 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-15 06:07:43,222 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:29c1039a52c3a338d574ecdae89ed032a1fcde6f6f95df9794e572d5fdf7ee88
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-15 06:07:44,078 synthtool [DEBUG] > Generating code for: google/cloud/servicedirectory/v1beta1.
google/cloud/servicedirectory/v1beta1/endpoint.proto:21:1: warning: Import google/api/annotations.proto is unused.
google/cloud/servicedirectory/v1beta1/service.proto:22:1: warning: Import google/api/annotations.proto is unused.
google/cloud/servicedirectory/v1beta1/namespace.proto:21:1: warning: Import google/api/annotations.proto is unused.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 63, in generate
    res = generator.Generator(opts).get_response(api_schema, opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 100, in get_response
    template_name, api_schema=api_schema, opts=opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 285, in _render_template
    opts=opts,
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 313, in _get_file
    api=api_schema, opts=opts, **context
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1090, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 832, in handle_exception
    reraise(*rewrite_traceback_stack(source=source))
  File "/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 28, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 1, in top-level template code
    {% extends '_base.py.j2' %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/_base.py.j2", line 5, in top-level template code
    {%- block content %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 41, in block "content"
    {% for message in service.resource_messages|sort(attribute="resource_type") -%}
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 471, in getattr
    return getattr(obj, attribute)
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1078, in resource_messages
    for method in self.methods.values()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1086, in <genexpr>
    method.lro.response_type if method.lro else method.output
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1074, in gen_indirect_resources_used
    yield self.visible_resources[resource_type]
  File "/usr/local/lib/python3.7/collections/__init__.py", line 916, in __getitem__
    return self.__missing__(key)            # support subclasses that define __missing__
  File "/usr/local/lib/python3.7/collections/__init__.py", line 908, in __missing__
    raise KeyError(key)
KeyError: '*'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-15 06:07:45,679 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/servicedirectory/v1beta1/,destination=/in/google/cloud/servicedirectory/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpute0pwk3/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-service-directory/synth.py", line 29, in <module>
    "servicedirectory", "v1beta1"
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/servicedirectory/v1beta1/,destination=/in/google/cloud/servicedirectory/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpute0pwk3/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-15 06:07:45,738 autosynth [ERROR] > Synthesis failed
2020-10-15 06:07:45,738 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 4461f94 chore: add default CODEOWNERS (#27)
2020-10-15 06:07:45,743 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-15 06:07:45,747 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 706, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 541, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 686, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-service-directory. :sob:
Here's the output from running synth.py:
-10-16 06:02:48,720 autosynth [DEBUG] > Running: git branch -f autosynth-557
2020-10-16 06:02:48,723 autosynth [DEBUG] > Running: git checkout autosynth-557
Switched to branch 'autosynth-557'
2020-10-16 06:02:48,727 autosynth [INFO] > Running synthtool
2020-10-16 06:02:48,727 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-16 06:02:48,727 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-service-directory/557/sponge_log.log
2020-10-16 06:02:48,729 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-16 06:02:48,976 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-service-directory/synth.py.
On branch autosynth-557
nothing to commit, working tree clean
2020-10-16 06:02:49,098 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-16 06:02:49,105 synthtool [DEBUG] > Ensuring dependencies.
2020-10-16 06:02:49,110 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-16 06:02:49,113 synthtool [DEBUG] > Cloning googleapis.
2020-10-16 06:02:49,113 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-16 06:02:49,116 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:29c1039a52c3a338d574ecdae89ed032a1fcde6f6f95df9794e572d5fdf7ee88
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-16 06:02:49,946 synthtool [DEBUG] > Generating code for: google/cloud/servicedirectory/v1beta1.
google/cloud/servicedirectory/v1beta1/endpoint.proto:21:1: warning: Import google/api/annotations.proto is unused.
google/cloud/servicedirectory/v1beta1/service.proto:22:1: warning: Import google/api/annotations.proto is unused.
google/cloud/servicedirectory/v1beta1/namespace.proto:21:1: warning: Import google/api/annotations.proto is unused.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 63, in generate
    res = generator.Generator(opts).get_response(api_schema, opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 100, in get_response
    template_name, api_schema=api_schema, opts=opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 285, in _render_template
    opts=opts,
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 313, in _get_file
    api=api_schema, opts=opts, **context
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1090, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 832, in handle_exception
    reraise(*rewrite_traceback_stack(source=source))
  File "/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 28, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 1, in top-level template code
    {% extends '_base.py.j2' %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/_base.py.j2", line 5, in top-level template code
    {%- block content %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 41, in block "content"
    {% for message in service.resource_messages|sort(attribute="resource_type") -%}
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 471, in getattr
    return getattr(obj, attribute)
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1078, in resource_messages
    for method in self.methods.values()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1086, in <genexpr>
    method.lro.response_type if method.lro else method.output
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1074, in gen_indirect_resources_used
    yield self.visible_resources[resource_type]
  File "/usr/local/lib/python3.7/collections/__init__.py", line 916, in __getitem__
    return self.__missing__(key)            # support subclasses that define __missing__
  File "/usr/local/lib/python3.7/collections/__init__.py", line 908, in __missing__
    raise KeyError(key)
KeyError: '*'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-16 06:02:51,496 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/servicedirectory/v1beta1/,destination=/in/google/cloud/servicedirectory/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmp9pazwi8d/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-service-directory/synth.py", line 29, in <module>
    "servicedirectory", "v1beta1"
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/servicedirectory/v1beta1/,destination=/in/google/cloud/servicedirectory/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmp9pazwi8d/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-16 06:02:51,550 autosynth [ERROR] > Synthesis failed
2020-10-16 06:02:51,550 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 4461f94 chore: add default CODEOWNERS (#27)
2020-10-16 06:02:51,555 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-16 06:02:51,559 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 354, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 189, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-service-directory. :sob:
Here's the output from running synth.py:
-10-17 06:36:09,566 autosynth [DEBUG] > Running: git branch -f autosynth-563
2020-10-17 06:36:09,570 autosynth [DEBUG] > Running: git checkout autosynth-563
Switched to branch 'autosynth-563'
2020-10-17 06:36:09,575 autosynth [INFO] > Running synthtool
2020-10-17 06:36:09,575 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-17 06:36:09,575 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-service-directory/563/sponge_log.log
2020-10-17 06:36:09,577 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-17 06:36:09,859 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-service-directory/synth.py.
On branch autosynth-563
nothing to commit, working tree clean
2020-10-17 06:36:09,998 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-17 06:36:10,007 synthtool [DEBUG] > Ensuring dependencies.
2020-10-17 06:36:10,013 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-17 06:36:10,017 synthtool [DEBUG] > Cloning googleapis.
2020-10-17 06:36:10,018 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-17 06:36:10,021 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:4e01de7c8f04c54cb2624f7ae9da2c53aaa7c583aaa852a8d0b81ccf5c8124fb
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-17 06:36:10,925 synthtool [DEBUG] > Generating code for: google/cloud/servicedirectory/v1beta1.
google/cloud/servicedirectory/v1beta1/endpoint.proto:21:1: warning: Import google/api/annotations.proto is unused.
google/cloud/servicedirectory/v1beta1/service.proto:22:1: warning: Import google/api/annotations.proto is unused.
google/cloud/servicedirectory/v1beta1/namespace.proto:21:1: warning: Import google/api/annotations.proto is unused.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 63, in generate
    res = generator.Generator(opts).get_response(api_schema, opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 100, in get_response
    template_name, api_schema=api_schema, opts=opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 285, in _render_template
    opts=opts,
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 313, in _get_file
    api=api_schema, opts=opts, **context
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1090, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 832, in handle_exception
    reraise(*rewrite_traceback_stack(source=source))
  File "/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 28, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 1, in top-level template code
    {% extends '_base.py.j2' %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/_base.py.j2", line 5, in top-level template code
    {%- block content %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 41, in block "content"
    {% for message in service.resource_messages|sort(attribute="resource_type") -%}
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 471, in getattr
    return getattr(obj, attribute)
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1078, in resource_messages
    for method in self.methods.values()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1086, in <genexpr>
    method.lro.response_type if method.lro else method.output
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1074, in gen_indirect_resources_used
    yield self.visible_resources[resource_type]
  File "/usr/local/lib/python3.7/collections/__init__.py", line 916, in __getitem__
    return self.__missing__(key)            # support subclasses that define __missing__
  File "/usr/local/lib/python3.7/collections/__init__.py", line 908, in __missing__
    raise KeyError(key)
KeyError: '*'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-17 06:36:12,411 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/servicedirectory/v1beta1/,destination=/in/google/cloud/servicedirectory/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmp1avcu6mm/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-service-directory/synth.py", line 29, in <module>
    "servicedirectory", "v1beta1"
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/servicedirectory/v1beta1/,destination=/in/google/cloud/servicedirectory/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmp1avcu6mm/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-17 06:36:12,466 autosynth [ERROR] > Synthesis failed
2020-10-17 06:36:12,466 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 4461f94 chore: add default CODEOWNERS (#27)
2020-10-17 06:36:12,472 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-17 06:36:12,476 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 354, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 189, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-service-directory. :sob:
Here's the output from running synth.py:
-10-18 06:00:58,437 autosynth [DEBUG] > Running: git branch -f autosynth-563
2020-10-18 06:00:58,441 autosynth [DEBUG] > Running: git checkout autosynth-563
Switched to branch 'autosynth-563'
2020-10-18 06:00:58,445 autosynth [INFO] > Running synthtool
2020-10-18 06:00:58,445 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-18 06:00:58,445 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-service-directory/563/sponge_log.log
2020-10-18 06:00:58,447 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-18 06:00:58,703 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-service-directory/synth.py.
On branch autosynth-563
nothing to commit, working tree clean
2020-10-18 06:00:58,829 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-18 06:00:58,837 synthtool [DEBUG] > Ensuring dependencies.
2020-10-18 06:00:58,842 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-18 06:00:58,846 synthtool [DEBUG] > Cloning googleapis.
2020-10-18 06:00:58,846 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-18 06:00:58,849 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:4e01de7c8f04c54cb2624f7ae9da2c53aaa7c583aaa852a8d0b81ccf5c8124fb
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-18 06:00:59,768 synthtool [DEBUG] > Generating code for: google/cloud/servicedirectory/v1beta1.
google/cloud/servicedirectory/v1beta1/endpoint.proto:21:1: warning: Import google/api/annotations.proto is unused.
google/cloud/servicedirectory/v1beta1/service.proto:22:1: warning: Import google/api/annotations.proto is unused.
google/cloud/servicedirectory/v1beta1/namespace.proto:21:1: warning: Import google/api/annotations.proto is unused.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 63, in generate
    res = generator.Generator(opts).get_response(api_schema, opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 100, in get_response
    template_name, api_schema=api_schema, opts=opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 285, in _render_template
    opts=opts,
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 313, in _get_file
    api=api_schema, opts=opts, **context
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1090, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 832, in handle_exception
    reraise(*rewrite_traceback_stack(source=source))
  File "/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 28, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 1, in top-level template code
    {% extends '_base.py.j2' %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/_base.py.j2", line 5, in top-level template code
    {%- block content %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 41, in block "content"
    {% for message in service.resource_messages|sort(attribute="resource_type") -%}
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 471, in getattr
    return getattr(obj, attribute)
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1078, in resource_messages
    for method in self.methods.values()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1086, in <genexpr>
    method.lro.response_type if method.lro else method.output
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1074, in gen_indirect_resources_used
    yield self.visible_resources[resource_type]
  File "/usr/local/lib/python3.7/collections/__init__.py", line 916, in __getitem__
    return self.__missing__(key)            # support subclasses that define __missing__
  File "/usr/local/lib/python3.7/collections/__init__.py", line 908, in __missing__
    raise KeyError(key)
KeyError: '*'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-18 06:01:01,382 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/servicedirectory/v1beta1/,destination=/in/google/cloud/servicedirectory/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpwqy_afj0/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-service-directory/synth.py", line 29, in <module>
    "servicedirectory", "v1beta1"
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/servicedirectory/v1beta1/,destination=/in/google/cloud/servicedirectory/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpwqy_afj0/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-18 06:01:01,431 autosynth [ERROR] > Synthesis failed
2020-10-18 06:01:01,432 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 4461f94 chore: add default CODEOWNERS (#27)
2020-10-18 06:01:01,437 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-18 06:01:01,441 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 354, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 189, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-service-directory. :sob:
Here's the output from running synth.py:
-10-19 06:02:07,821 autosynth [DEBUG] > Running: git branch -f autosynth-563
2020-10-19 06:02:07,826 autosynth [DEBUG] > Running: git checkout autosynth-563
Switched to branch 'autosynth-563'
2020-10-19 06:02:07,830 autosynth [INFO] > Running synthtool
2020-10-19 06:02:07,831 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-19 06:02:07,831 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-service-directory/563/sponge_log.log
2020-10-19 06:02:07,833 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-19 06:02:08,103 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-service-directory/synth.py.
On branch autosynth-563
nothing to commit, working tree clean
2020-10-19 06:02:08,235 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-19 06:02:08,244 synthtool [DEBUG] > Ensuring dependencies.
2020-10-19 06:02:08,248 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-19 06:02:08,252 synthtool [DEBUG] > Cloning googleapis.
2020-10-19 06:02:08,252 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-19 06:02:08,256 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:4e01de7c8f04c54cb2624f7ae9da2c53aaa7c583aaa852a8d0b81ccf5c8124fb
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-19 06:02:09,302 synthtool [DEBUG] > Generating code for: google/cloud/servicedirectory/v1beta1.
google/cloud/servicedirectory/v1beta1/endpoint.proto:21:1: warning: Import google/api/annotations.proto is unused.
google/cloud/servicedirectory/v1beta1/service.proto:22:1: warning: Import google/api/annotations.proto is unused.
google/cloud/servicedirectory/v1beta1/namespace.proto:21:1: warning: Import google/api/annotations.proto is unused.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 63, in generate
    res = generator.Generator(opts).get_response(api_schema, opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 100, in get_response
    template_name, api_schema=api_schema, opts=opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 285, in _render_template
    opts=opts,
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 313, in _get_file
    api=api_schema, opts=opts, **context
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1090, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 832, in handle_exception
    reraise(*rewrite_traceback_stack(source=source))
  File "/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 28, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 1, in top-level template code
    {% extends '_base.py.j2' %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/_base.py.j2", line 5, in top-level template code
    {%- block content %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 41, in block "content"
    {% for message in service.resource_messages|sort(attribute="resource_type") -%}
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 471, in getattr
    return getattr(obj, attribute)
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1078, in resource_messages
    for method in self.methods.values()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1086, in <genexpr>
    method.lro.response_type if method.lro else method.output
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1074, in gen_indirect_resources_used
    yield self.visible_resources[resource_type]
  File "/usr/local/lib/python3.7/collections/__init__.py", line 916, in __getitem__
    return self.__missing__(key)            # support subclasses that define __missing__
  File "/usr/local/lib/python3.7/collections/__init__.py", line 908, in __missing__
    raise KeyError(key)
KeyError: '*'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-19 06:02:10,730 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/servicedirectory/v1beta1/,destination=/in/google/cloud/servicedirectory/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmp003ymc8_/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-service-directory/synth.py", line 29, in <module>
    "servicedirectory", "v1beta1"
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/servicedirectory/v1beta1/,destination=/in/google/cloud/servicedirectory/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmp003ymc8_/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-19 06:02:10,793 autosynth [ERROR] > Synthesis failed
2020-10-19 06:02:10,793 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 4461f94 chore: add default CODEOWNERS (#27)
2020-10-19 06:02:10,799 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-19 06:02:10,804 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 354, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 189, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating python-service-directory. :sob:
Here's the output from running synth.py:
-10-20 07:41:43,052 autosynth [DEBUG] > Running: git branch -f autosynth-571
2020-10-20 07:41:43,056 autosynth [DEBUG] > Running: git checkout autosynth-571
Switched to branch 'autosynth-571'
2020-10-20 07:41:43,060 autosynth [INFO] > Running synthtool
2020-10-20 07:41:43,060 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-20 07:41:43,060 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-service-directory/571/sponge_log.log
2020-10-20 07:41:43,062 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-10-20 07:41:43,321 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-service-directory/synth.py.
On branch autosynth-571
nothing to commit, working tree clean
2020-10-20 07:41:43,446 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-20 07:41:43,454 synthtool [DEBUG] > Ensuring dependencies.
2020-10-20 07:41:43,459 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-10-20 07:41:43,462 synthtool [DEBUG] > Cloning googleapis.
2020-10-20 07:41:43,463 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-10-20 07:41:43,466 synthtool [DEBUG] > Pulling Docker image: gapic-generator-python:latest
latest: Pulling from gapic-images/gapic-generator-python
Digest: sha256:497cc767fca1b29c0159350d2c7b6a4444b23607a2506caee54b7da43c7b55d0
Status: Image is up to date for gcr.io/gapic-images/gapic-generator-python:latest
2020-10-20 07:41:44,330 synthtool [DEBUG] > Generating code for: google/cloud/servicedirectory/v1beta1.
google/cloud/servicedirectory/v1beta1/endpoint.proto:21:1: warning: Import google/api/annotations.proto is unused.
google/cloud/servicedirectory/v1beta1/service.proto:22:1: warning: Import google/api/annotations.proto is unused.
google/cloud/servicedirectory/v1beta1/namespace.proto:21:1: warning: Import google/api/annotations.proto is unused.
Traceback (most recent call last):
  File "/usr/local/bin/protoc-gen-python_gapic", line 8, in <module>
    sys.exit(generate())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/gapic/cli/generate.py", line 63, in generate
    res = generator.Generator(opts).get_response(api_schema, opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 100, in get_response
    template_name, api_schema=api_schema, opts=opts)
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 285, in _render_template
    opts=opts,
  File "/usr/local/lib/python3.7/site-packages/gapic/generator/generator.py", line 313, in _get_file
    api=api_schema, opts=opts, **context
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1090, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 832, in handle_exception
    reraise(*rewrite_traceback_stack(source=source))
  File "/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 28, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 1, in top-level template code
    {% extends '_base.py.j2' %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/_base.py.j2", line 5, in top-level template code
    {%- block content %}
  File "/usr/local/lib/python3.7/site-packages/gapic/templates/%namespace/%name_%version/%sub/services/%service/async_client.py.j2", line 41, in block "content"
    {% for message in service.resource_messages|sort(attribute="resource_type") -%}
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 471, in getattr
    return getattr(obj, attribute)
  File "/usr/local/lib/python3.7/site-packages/gapic/utils/cache.py", line 39, in inner
    self._cached_values[fx.__name__] = fx(self)
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1075, in resource_messages
    for method in self.methods.values()
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1083, in <genexpr>
    method.lro.response_type if method.lro else method.output
  File "/usr/local/lib/python3.7/site-packages/gapic/schema/wrappers.py", line 1071, in gen_indirect_resources_used
    yield self.visible_resources[resource_type]
  File "/usr/local/lib/python3.7/collections/__init__.py", line 916, in __getitem__
    return self.__missing__(key)            # support subclasses that define __missing__
  File "/usr/local/lib/python3.7/collections/__init__.py", line 908, in __missing__
    raise KeyError(key)
KeyError: '*'
--python_gapic_out: protoc-gen-python_gapic: Plugin failed with status code 1.
2020-10-20 07:41:46,015 synthtool [ERROR] > Failed executing docker run --mount type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/servicedirectory/v1beta1/,destination=/in/google/cloud/servicedirectory/v1beta1/,readonly --mount type=bind,source=/tmpfs/tmp/tmpn3i_pnm4/,destination=/out/ --rm --user 1000 gcr.io/gapic-images/gapic-generator-python:latest:

None
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-service-directory/synth.py", line 29, in <module>
    "servicedirectory", "v1beta1"
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 57, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_microgenerator.py", line 189, in _generate_code
    shell.run(docker_run_args, hide_output=False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['docker', 'run', '--mount', 'type=bind,source=/home/kbuilder/.cache/synthtool/googleapis/google/cloud/servicedirectory/v1beta1/,destination=/in/google/cloud/servicedirectory/v1beta1/,readonly', '--mount', 'type=bind,source=/tmpfs/tmp/tmpn3i_pnm4/,destination=/out/', '--rm', '--user', '1000', 'gcr.io/gapic-images/gapic-generator-python:latest']' returned non-zero exit status 1.
2020-10-20 07:41:46,069 autosynth [ERROR] > Synthesis failed
2020-10-20 07:41:46,070 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 4461f94 chore: add default CODEOWNERS (#27)
2020-10-20 07:41:46,075 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-20 07:41:46,079 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 354, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 189, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart: