googleapis / python-dialogflow

This library has moved to https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-dialogflow
https://dialogflow.com/
Apache License 2.0
394 stars 140 forks source link

Synthesis failed for dialogflow-python-client-v2 #226

Closed yoshi-automation closed 3 years ago

yoshi-automation commented 4 years ago

Hello! Autosynth couldn't regenerate dialogflow-python-client-v2. :broken_heart:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-09-18 05:18:55,393 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-09-18 05:18:55,394 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-09-18 05:18:55,395 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-09-18 05:18:55,395 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-09-18 05:18:55,396 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-09-18 05:18:55,397 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-09-18 05:18:55,418 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-09-18 05:18:55,424 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-09-18 05:18:55,426 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-09-18 05:18:55,426 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-09-18 05:18:55,427 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-09-18 05:18:55,428 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-09-18 05:18:55,429 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-09-18 05:18:55,430 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-09-18 05:18:55,431 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-09-18 05:18:55,431 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-09-18 05:18:55,433 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-09-18 05:18:55,434 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-09-18 05:18:55,434 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-09-18 05:18:55,435 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-09-18 05:18:55,436 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-09-18 05:18:55,437 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-09-18 05:18:55,438 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-09-18 05:18:55,439 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-09-18 05:18:55,439 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-09-18 05:18:55,440 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-09-18 05:18:55,441 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-09-18 05:18:55,442 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-09-18 05:18:55,462 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-09-18 05:18:55,479 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-09-18 05:18:55,482 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-09-18 05:18:55,484 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-09-18 05:18:55,485 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-09-18 05:18:55,485 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-09-18 05:18:55,486 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-09-18 05:18:55,488 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-09-18 05:18:55,488 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-09-18 05:18:55,496 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-09-18 05:18:55,497 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-09-18 05:18:55,499 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-09-18 05:18:55,502 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-09-18 05:18:55,503 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-09-18 05:18:55,503 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-09-18 05:18:55,511 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-09-18 05:18:55,574 autosynth [ERROR] > Synthesis failed
2020-09-18 05:18:55,574 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 73e0046 chore: start tracking obsolete files (#221)
2020-09-18 05:18:55,596 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-18 05:18:55,610 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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 692, 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 672, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-09-19 05:18:46,871 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-09-19 05:18:46,871 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-09-19 05:18:46,872 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-09-19 05:18:46,873 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-09-19 05:18:46,874 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-09-19 05:18:46,874 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-09-19 05:18:46,893 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-09-19 05:18:46,900 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-09-19 05:18:46,901 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-09-19 05:18:46,902 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-09-19 05:18:46,903 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-09-19 05:18:46,903 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-09-19 05:18:46,904 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-09-19 05:18:46,905 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-09-19 05:18:46,906 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-09-19 05:18:46,906 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-09-19 05:18:46,907 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-09-19 05:18:46,908 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-09-19 05:18:46,909 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-09-19 05:18:46,909 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-09-19 05:18:46,910 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-09-19 05:18:46,910 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-09-19 05:18:46,911 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-09-19 05:18:46,912 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-09-19 05:18:46,913 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-09-19 05:18:46,914 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-09-19 05:18:46,915 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-09-19 05:18:46,915 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-09-19 05:18:46,935 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-09-19 05:18:46,951 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-09-19 05:18:46,954 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-09-19 05:18:46,956 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-09-19 05:18:46,956 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-09-19 05:18:46,957 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-09-19 05:18:46,958 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-09-19 05:18:46,959 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-09-19 05:18:46,960 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-09-19 05:18:46,966 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-09-19 05:18:46,968 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-09-19 05:18:46,970 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-09-19 05:18:46,973 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-09-19 05:18:46,973 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-09-19 05:18:46,974 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-09-19 05:18:46,980 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-09-19 05:18:47,043 autosynth [ERROR] > Synthesis failed
2020-09-19 05:18:47,043 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 73e0046 chore: start tracking obsolete files (#221)
2020-09-19 05:18:47,064 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-19 05:18:47,077 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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 692, 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 672, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-09-20 05:19:08,101 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-09-20 05:19:08,101 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-09-20 05:19:08,102 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-09-20 05:19:08,103 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-09-20 05:19:08,103 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-09-20 05:19:08,105 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-09-20 05:19:08,123 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-09-20 05:19:08,130 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-09-20 05:19:08,131 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-09-20 05:19:08,132 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-09-20 05:19:08,133 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-09-20 05:19:08,134 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-09-20 05:19:08,134 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-09-20 05:19:08,135 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-09-20 05:19:08,136 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-09-20 05:19:08,137 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-09-20 05:19:08,138 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-09-20 05:19:08,138 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-09-20 05:19:08,139 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-09-20 05:19:08,140 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-09-20 05:19:08,141 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-09-20 05:19:08,141 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-09-20 05:19:08,142 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-09-20 05:19:08,143 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-09-20 05:19:08,144 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-09-20 05:19:08,145 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-09-20 05:19:08,146 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-09-20 05:19:08,146 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-09-20 05:19:08,171 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-09-20 05:19:08,187 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-09-20 05:19:08,191 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-09-20 05:19:08,192 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-09-20 05:19:08,193 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-09-20 05:19:08,194 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-09-20 05:19:08,195 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-09-20 05:19:08,196 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-09-20 05:19:08,197 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-09-20 05:19:08,203 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-09-20 05:19:08,205 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-09-20 05:19:08,207 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-09-20 05:19:08,210 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-09-20 05:19:08,210 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-09-20 05:19:08,211 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-09-20 05:19:08,217 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-09-20 05:19:08,277 autosynth [ERROR] > Synthesis failed
2020-09-20 05:19:08,277 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 73e0046 chore: start tracking obsolete files (#221)
2020-09-20 05:19:08,297 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-20 05:19:08,311 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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 692, 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 672, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-09-21 05:19:23,046 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-09-21 05:19:23,047 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-09-21 05:19:23,048 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-09-21 05:19:23,050 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-09-21 05:19:23,051 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-09-21 05:19:23,051 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-09-21 05:19:23,072 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-09-21 05:19:23,079 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-09-21 05:19:23,080 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-09-21 05:19:23,081 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-09-21 05:19:23,083 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-09-21 05:19:23,085 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-09-21 05:19:23,086 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-09-21 05:19:23,087 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-09-21 05:19:23,089 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-09-21 05:19:23,090 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-09-21 05:19:23,091 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-09-21 05:19:23,092 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-09-21 05:19:23,093 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-09-21 05:19:23,094 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-09-21 05:19:23,095 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-09-21 05:19:23,095 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-09-21 05:19:23,096 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-09-21 05:19:23,097 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-09-21 05:19:23,098 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-09-21 05:19:23,099 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-09-21 05:19:23,100 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-09-21 05:19:23,100 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-09-21 05:19:23,121 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-09-21 05:19:23,137 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-09-21 05:19:23,140 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-09-21 05:19:23,142 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-09-21 05:19:23,143 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-09-21 05:19:23,144 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-09-21 05:19:23,144 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-09-21 05:19:23,146 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-09-21 05:19:23,147 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-09-21 05:19:23,154 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-09-21 05:19:23,155 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-09-21 05:19:23,158 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-09-21 05:19:23,161 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-09-21 05:19:23,161 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-09-21 05:19:23,161 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-09-21 05:19:23,168 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-09-21 05:19:23,234 autosynth [ERROR] > Synthesis failed
2020-09-21 05:19:23,234 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 73e0046 chore: start tracking obsolete files (#221)
2020-09-21 05:19:23,255 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-21 05:19:23,270 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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 692, 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 672, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

alogflow_v2/services/agents/transports/base.py.
2020-09-22 05:19:11,332 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-09-22 05:19:11,333 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-09-22 05:19:11,334 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-09-22 05:19:11,335 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-09-22 05:19:11,336 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-09-22 05:19:11,336 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-09-22 05:19:11,356 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-09-22 05:19:11,364 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-09-22 05:19:11,365 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-09-22 05:19:11,366 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-09-22 05:19:11,367 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-09-22 05:19:11,369 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-09-22 05:19:11,369 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-09-22 05:19:11,370 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-09-22 05:19:11,372 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-09-22 05:19:11,372 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-09-22 05:19:11,373 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-09-22 05:19:11,374 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-09-22 05:19:11,375 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-09-22 05:19:11,376 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-09-22 05:19:11,377 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-09-22 05:19:11,377 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-09-22 05:19:11,379 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-09-22 05:19:11,380 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-09-22 05:19:11,381 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-09-22 05:19:11,382 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-09-22 05:19:11,383 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-09-22 05:19:11,383 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-09-22 05:19:11,404 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-09-22 05:19:11,421 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-09-22 05:19:11,425 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-09-22 05:19:11,426 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-09-22 05:19:11,427 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-09-22 05:19:11,428 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-09-22 05:19:11,429 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-09-22 05:19:11,430 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-09-22 05:19:11,431 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-09-22 05:19:11,438 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-09-22 05:19:11,440 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-09-22 05:19:11,442 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-09-22 05:19:11,445 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-09-22 05:19:11,446 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-09-22 05:19:11,446 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-09-22 05:19:11,454 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-09-22 05:19:11,516 autosynth [ERROR] > Synthesis failed
2020-09-22 05:19:11,516 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 73e0046 chore: start tracking obsolete files (#221)
2020-09-22 05:19:11,539 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-22 05:19:11,554 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow-v2-py.tar.gz
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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 692, 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 672, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

 > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-09-23 05:19:34,318 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-09-23 05:19:34,319 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-09-23 05:19:34,320 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-09-23 05:19:34,321 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-09-23 05:19:34,321 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-09-23 05:19:34,322 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-09-23 05:19:34,342 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-09-23 05:19:34,349 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-09-23 05:19:34,350 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-09-23 05:19:34,350 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-09-23 05:19:34,351 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-09-23 05:19:34,352 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-09-23 05:19:34,353 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-09-23 05:19:34,354 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-09-23 05:19:34,355 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-09-23 05:19:34,356 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-09-23 05:19:34,356 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-09-23 05:19:34,357 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-09-23 05:19:34,358 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-09-23 05:19:34,358 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-09-23 05:19:34,359 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-09-23 05:19:34,360 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-09-23 05:19:34,361 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-09-23 05:19:34,362 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-09-23 05:19:34,363 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-09-23 05:19:34,363 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-09-23 05:19:34,364 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-09-23 05:19:34,365 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-09-23 05:19:34,384 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-09-23 05:19:34,401 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-09-23 05:19:34,405 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-09-23 05:19:34,406 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-09-23 05:19:34,407 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-09-23 05:19:34,408 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-09-23 05:19:34,409 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-09-23 05:19:34,410 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-09-23 05:19:34,411 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-09-23 05:19:34,418 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-09-23 05:19:34,420 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-09-23 05:19:34,422 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-09-23 05:19:34,425 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-09-23 05:19:34,425 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-09-23 05:19:34,426 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-09-23 05:19:34,433 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-09-23 05:19:34,502 autosynth [ERROR] > Synthesis failed
2020-09-23 05:19:34,503 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-09-23 05:19:34,524 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-23 05:19:34,538 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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 692, 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 672, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

 > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-09-24 05:19:34,007 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-09-24 05:19:34,008 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-09-24 05:19:34,009 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-09-24 05:19:34,010 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-09-24 05:19:34,011 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-09-24 05:19:34,011 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-09-24 05:19:34,036 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-09-24 05:19:34,044 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-09-24 05:19:34,045 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-09-24 05:19:34,046 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-09-24 05:19:34,047 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-09-24 05:19:34,048 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-09-24 05:19:34,049 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-09-24 05:19:34,050 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-09-24 05:19:34,051 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-09-24 05:19:34,052 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-09-24 05:19:34,053 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-09-24 05:19:34,054 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-09-24 05:19:34,054 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-09-24 05:19:34,056 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-09-24 05:19:34,057 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-09-24 05:19:34,057 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-09-24 05:19:34,059 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-09-24 05:19:34,060 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-09-24 05:19:34,060 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-09-24 05:19:34,061 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-09-24 05:19:34,062 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-09-24 05:19:34,063 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-09-24 05:19:34,087 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-09-24 05:19:34,108 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-09-24 05:19:34,112 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-09-24 05:19:34,113 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-09-24 05:19:34,114 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-09-24 05:19:34,114 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-09-24 05:19:34,116 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-09-24 05:19:34,117 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-09-24 05:19:34,118 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-09-24 05:19:34,126 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-09-24 05:19:34,127 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-09-24 05:19:34,129 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-09-24 05:19:34,132 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-09-24 05:19:34,132 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-09-24 05:19:34,133 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-09-24 05:19:34,140 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-09-24 05:19:34,187 autosynth [ERROR] > Synthesis failed
2020-09-24 05:19:34,187 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-09-24 05:19:34,210 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-24 05:19:34,224 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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 692, 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 672, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

 > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-09-25 05:19:40,613 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-09-25 05:19:40,613 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-09-25 05:19:40,614 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-09-25 05:19:40,615 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-09-25 05:19:40,616 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-09-25 05:19:40,616 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-09-25 05:19:40,637 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-09-25 05:19:40,644 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-09-25 05:19:40,645 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-09-25 05:19:40,646 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-09-25 05:19:40,647 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-09-25 05:19:40,648 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-09-25 05:19:40,649 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-09-25 05:19:40,650 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-09-25 05:19:40,651 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-09-25 05:19:40,652 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-09-25 05:19:40,653 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-09-25 05:19:40,654 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-09-25 05:19:40,654 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-09-25 05:19:40,656 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-09-25 05:19:40,657 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-09-25 05:19:40,657 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-09-25 05:19:40,658 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-09-25 05:19:40,659 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-09-25 05:19:40,660 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-09-25 05:19:40,661 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-09-25 05:19:40,662 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-09-25 05:19:40,662 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-09-25 05:19:40,683 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-09-25 05:19:40,700 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-09-25 05:19:40,703 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-09-25 05:19:40,704 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-09-25 05:19:40,705 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-09-25 05:19:40,707 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-09-25 05:19:40,708 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-09-25 05:19:40,709 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-09-25 05:19:40,710 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-09-25 05:19:40,717 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-09-25 05:19:40,719 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-09-25 05:19:40,721 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-09-25 05:19:40,724 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-09-25 05:19:40,724 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-09-25 05:19:40,725 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-09-25 05:19:40,732 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-09-25 05:19:40,792 autosynth [ERROR] > Synthesis failed
2020-09-25 05:19:40,793 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-09-25 05:19:40,823 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-25 05:19:40,838 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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 692, 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 672, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

 > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-09-26 05:19:27,302 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-09-26 05:19:27,303 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-09-26 05:19:27,304 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-09-26 05:19:27,305 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-09-26 05:19:27,305 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-09-26 05:19:27,307 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-09-26 05:19:27,327 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-09-26 05:19:27,334 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-09-26 05:19:27,335 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-09-26 05:19:27,337 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-09-26 05:19:27,338 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-09-26 05:19:27,339 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-09-26 05:19:27,340 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-09-26 05:19:27,342 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-09-26 05:19:27,343 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-09-26 05:19:27,344 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-09-26 05:19:27,345 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-09-26 05:19:27,346 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-09-26 05:19:27,346 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-09-26 05:19:27,347 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-09-26 05:19:27,348 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-09-26 05:19:27,349 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-09-26 05:19:27,350 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-09-26 05:19:27,351 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-09-26 05:19:27,352 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-09-26 05:19:27,353 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-09-26 05:19:27,354 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-09-26 05:19:27,355 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-09-26 05:19:27,376 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-09-26 05:19:27,393 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-09-26 05:19:27,397 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-09-26 05:19:27,398 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-09-26 05:19:27,399 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-09-26 05:19:27,400 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-09-26 05:19:27,401 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-09-26 05:19:27,403 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-09-26 05:19:27,404 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-09-26 05:19:27,411 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-09-26 05:19:27,413 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-09-26 05:19:27,415 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-09-26 05:19:27,418 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-09-26 05:19:27,419 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-09-26 05:19:27,419 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-09-26 05:19:27,426 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-09-26 05:19:27,494 autosynth [ERROR] > Synthesis failed
2020-09-26 05:19:27,494 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-09-26 05:19:27,521 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-26 05:19:27,536 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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 692, 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 672, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

 > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-09-27 05:18:49,579 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-09-27 05:18:49,580 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-09-27 05:18:49,580 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-09-27 05:18:49,581 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-09-27 05:18:49,581 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-09-27 05:18:49,582 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-09-27 05:18:49,601 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-09-27 05:18:49,607 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-09-27 05:18:49,608 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-09-27 05:18:49,609 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-09-27 05:18:49,610 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-09-27 05:18:49,611 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-09-27 05:18:49,611 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-09-27 05:18:49,612 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-09-27 05:18:49,613 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-09-27 05:18:49,613 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-09-27 05:18:49,614 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-09-27 05:18:49,615 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-09-27 05:18:49,615 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-09-27 05:18:49,616 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-09-27 05:18:49,617 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-09-27 05:18:49,617 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-09-27 05:18:49,619 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-09-27 05:18:49,619 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-09-27 05:18:49,620 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-09-27 05:18:49,621 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-09-27 05:18:49,622 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-09-27 05:18:49,622 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-09-27 05:18:49,641 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-09-27 05:18:49,657 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-09-27 05:18:49,661 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-09-27 05:18:49,662 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-09-27 05:18:49,663 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-09-27 05:18:49,663 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-09-27 05:18:49,664 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-09-27 05:18:49,665 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-09-27 05:18:49,666 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-09-27 05:18:49,672 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-09-27 05:18:49,674 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-09-27 05:18:49,676 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-09-27 05:18:49,678 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-09-27 05:18:49,679 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-09-27 05:18:49,679 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-09-27 05:18:49,686 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-09-27 05:18:49,724 autosynth [ERROR] > Synthesis failed
2020-09-27 05:18:49,725 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-09-27 05:18:49,746 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-27 05:18:49,760 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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 692, 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 672, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

 > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-09-28 05:19:28,581 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-09-28 05:19:28,582 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-09-28 05:19:28,583 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-09-28 05:19:28,584 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-09-28 05:19:28,585 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-09-28 05:19:28,586 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-09-28 05:19:28,609 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-09-28 05:19:28,617 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-09-28 05:19:28,617 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-09-28 05:19:28,618 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-09-28 05:19:28,619 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-09-28 05:19:28,620 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-09-28 05:19:28,621 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-09-28 05:19:28,622 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-09-28 05:19:28,623 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-09-28 05:19:28,623 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-09-28 05:19:28,624 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-09-28 05:19:28,625 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-09-28 05:19:28,625 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-09-28 05:19:28,627 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-09-28 05:19:28,628 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-09-28 05:19:28,628 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-09-28 05:19:28,629 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-09-28 05:19:28,630 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-09-28 05:19:28,631 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-09-28 05:19:28,632 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-09-28 05:19:28,633 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-09-28 05:19:28,634 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-09-28 05:19:28,657 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-09-28 05:19:28,677 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-09-28 05:19:28,681 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-09-28 05:19:28,682 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-09-28 05:19:28,683 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-09-28 05:19:28,684 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-09-28 05:19:28,685 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-09-28 05:19:28,686 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-09-28 05:19:28,687 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-09-28 05:19:28,694 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-09-28 05:19:28,695 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-09-28 05:19:28,698 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-09-28 05:19:28,700 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-09-28 05:19:28,701 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-09-28 05:19:28,701 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-09-28 05:19:28,708 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-09-28 05:19:28,750 autosynth [ERROR] > Synthesis failed
2020-09-28 05:19:28,750 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-09-28 05:19:28,770 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-28 05:19:28,784 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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 692, 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 672, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

 > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-09-29 05:19:33,033 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-09-29 05:19:33,033 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-09-29 05:19:33,034 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-09-29 05:19:33,035 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-09-29 05:19:33,036 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-09-29 05:19:33,036 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-09-29 05:19:33,056 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-09-29 05:19:33,064 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-09-29 05:19:33,065 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-09-29 05:19:33,066 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-09-29 05:19:33,067 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-09-29 05:19:33,068 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-09-29 05:19:33,069 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-09-29 05:19:33,070 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-09-29 05:19:33,072 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-09-29 05:19:33,072 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-09-29 05:19:33,073 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-09-29 05:19:33,074 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-09-29 05:19:33,075 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-09-29 05:19:33,076 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-09-29 05:19:33,077 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-09-29 05:19:33,078 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-09-29 05:19:33,079 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-09-29 05:19:33,080 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-09-29 05:19:33,080 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-09-29 05:19:33,082 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-09-29 05:19:33,083 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-09-29 05:19:33,083 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-09-29 05:19:33,104 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-09-29 05:19:33,121 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-09-29 05:19:33,125 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-09-29 05:19:33,126 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-09-29 05:19:33,128 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-09-29 05:19:33,128 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-09-29 05:19:33,129 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-09-29 05:19:33,130 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-09-29 05:19:33,131 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-09-29 05:19:33,138 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-09-29 05:19:33,140 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-09-29 05:19:33,142 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-09-29 05:19:33,145 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-09-29 05:19:33,146 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-09-29 05:19:33,146 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-09-29 05:19:33,154 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-09-29 05:19:33,217 autosynth [ERROR] > Synthesis failed
2020-09-29 05:19:33,218 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-09-29 05:19:33,245 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-29 05:19:33,260 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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 692, 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 672, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

 > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-09-30 05:19:35,372 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-09-30 05:19:35,373 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-09-30 05:19:35,374 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-09-30 05:19:35,375 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-09-30 05:19:35,375 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-09-30 05:19:35,376 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-09-30 05:19:35,400 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-09-30 05:19:35,408 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-09-30 05:19:35,409 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-09-30 05:19:35,409 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-09-30 05:19:35,411 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-09-30 05:19:35,412 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-09-30 05:19:35,412 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-09-30 05:19:35,414 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-09-30 05:19:35,415 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-09-30 05:19:35,415 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-09-30 05:19:35,416 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-09-30 05:19:35,417 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-09-30 05:19:35,418 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-09-30 05:19:35,419 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-09-30 05:19:35,420 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-09-30 05:19:35,421 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-09-30 05:19:35,422 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-09-30 05:19:35,423 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-09-30 05:19:35,424 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-09-30 05:19:35,425 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-09-30 05:19:35,426 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-09-30 05:19:35,427 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-09-30 05:19:35,453 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-09-30 05:19:35,474 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-09-30 05:19:35,478 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-09-30 05:19:35,479 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-09-30 05:19:35,480 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-09-30 05:19:35,481 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-09-30 05:19:35,482 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-09-30 05:19:35,483 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-09-30 05:19:35,484 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-09-30 05:19:35,491 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-09-30 05:19:35,492 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-09-30 05:19:35,494 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-09-30 05:19:35,497 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-09-30 05:19:35,498 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-09-30 05:19:35,498 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-09-30 05:19:35,506 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-09-30 05:19:35,549 autosynth [ERROR] > Synthesis failed
2020-09-30 05:19:35,549 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-09-30 05:19:35,574 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-30 05:19:35,588 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

 > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-01 05:22:58,864 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-01 05:22:58,864 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-01 05:22:58,865 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-01 05:22:58,866 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-01 05:22:58,867 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-01 05:22:58,867 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-01 05:22:58,886 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-01 05:22:58,893 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-01 05:22:58,894 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-01 05:22:58,895 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-01 05:22:58,896 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-01 05:22:58,897 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-01 05:22:58,897 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-01 05:22:58,898 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-01 05:22:58,899 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-01 05:22:58,900 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-01 05:22:58,901 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-01 05:22:58,901 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-01 05:22:58,902 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-01 05:22:58,905 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-01 05:22:58,906 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-01 05:22:58,906 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-01 05:22:58,908 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-01 05:22:58,908 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-01 05:22:58,909 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-01 05:22:58,910 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-01 05:22:58,911 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-01 05:22:58,912 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-01 05:22:58,931 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-01 05:22:58,948 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-01 05:22:58,951 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-01 05:22:58,952 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-01 05:22:58,953 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-01 05:22:58,954 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-01 05:22:58,955 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-01 05:22:58,956 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-01 05:22:58,957 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-01 05:22:58,964 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-01 05:22:58,965 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-01 05:22:58,967 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-01 05:22:58,970 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-01 05:22:58,970 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-01 05:22:58,971 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-01 05:22:58,978 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-01 05:22:59,030 autosynth [ERROR] > Synthesis failed
2020-10-01 05:22:59,031 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-01 05:22:59,054 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-01 05:22:59,067 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

 > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-02 05:19:33,584 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-02 05:19:33,584 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-02 05:19:33,585 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-02 05:19:33,586 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-02 05:19:33,587 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-02 05:19:33,587 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-02 05:19:33,607 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-02 05:19:33,615 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-02 05:19:33,616 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-02 05:19:33,616 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-02 05:19:33,618 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-02 05:19:33,619 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-02 05:19:33,619 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-02 05:19:33,620 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-02 05:19:33,621 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-02 05:19:33,622 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-02 05:19:33,623 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-02 05:19:33,623 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-02 05:19:33,624 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-02 05:19:33,625 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-02 05:19:33,626 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-02 05:19:33,626 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-02 05:19:33,628 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-02 05:19:33,628 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-02 05:19:33,629 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-02 05:19:33,630 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-02 05:19:33,631 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-02 05:19:33,631 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-02 05:19:33,652 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-02 05:19:33,669 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-02 05:19:33,673 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-02 05:19:33,674 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-02 05:19:33,675 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-02 05:19:33,676 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-02 05:19:33,676 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-02 05:19:33,678 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-02 05:19:33,678 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-02 05:19:33,686 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-02 05:19:33,687 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-02 05:19:33,689 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-02 05:19:33,692 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-02 05:19:33,693 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-02 05:19:33,693 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-02 05:19:33,701 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-02 05:19:33,765 autosynth [ERROR] > Synthesis failed
2020-10-02 05:19:33,765 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-02 05:19:33,790 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-02 05:19:33,804 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

 > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-03 05:20:00,993 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-03 05:20:00,993 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-03 05:20:00,994 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-03 05:20:00,995 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-03 05:20:00,996 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-03 05:20:00,997 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-03 05:20:01,023 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-03 05:20:01,032 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-03 05:20:01,033 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-03 05:20:01,034 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-03 05:20:01,036 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-03 05:20:01,037 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-03 05:20:01,038 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-03 05:20:01,039 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-03 05:20:01,040 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-03 05:20:01,041 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-03 05:20:01,042 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-03 05:20:01,043 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-03 05:20:01,044 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-03 05:20:01,045 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-03 05:20:01,046 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-03 05:20:01,047 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-03 05:20:01,048 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-03 05:20:01,049 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-03 05:20:01,049 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-03 05:20:01,051 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-03 05:20:01,052 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-03 05:20:01,053 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-03 05:20:01,078 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-03 05:20:01,100 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-03 05:20:01,103 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-03 05:20:01,105 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-03 05:20:01,106 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-03 05:20:01,107 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-03 05:20:01,108 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-03 05:20:01,110 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-03 05:20:01,111 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-03 05:20:01,118 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-03 05:20:01,121 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-03 05:20:01,123 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-03 05:20:01,127 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-03 05:20:01,127 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-03 05:20:01,128 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-03 05:20:01,136 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-03 05:20:01,217 autosynth [ERROR] > Synthesis failed
2020-10-03 05:20:01,217 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-03 05:20:01,241 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-03 05:20:01,257 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

 > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-04 05:19:40,015 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-04 05:19:40,015 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-04 05:19:40,016 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-04 05:19:40,018 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-04 05:19:40,018 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-04 05:19:40,019 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-04 05:19:40,045 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-04 05:19:40,053 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-04 05:19:40,054 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-04 05:19:40,055 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-04 05:19:40,057 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-04 05:19:40,058 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-04 05:19:40,058 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-04 05:19:40,060 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-04 05:19:40,061 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-04 05:19:40,062 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-04 05:19:40,063 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-04 05:19:40,064 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-04 05:19:40,065 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-04 05:19:40,067 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-04 05:19:40,068 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-04 05:19:40,068 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-04 05:19:40,070 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-04 05:19:40,071 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-04 05:19:40,072 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-04 05:19:40,073 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-04 05:19:40,074 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-04 05:19:40,075 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-04 05:19:40,100 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-04 05:19:40,122 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-04 05:19:40,126 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-04 05:19:40,127 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-04 05:19:40,128 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-04 05:19:40,129 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-04 05:19:40,130 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-04 05:19:40,132 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-04 05:19:40,133 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-04 05:19:40,140 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-04 05:19:40,142 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-04 05:19:40,144 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-04 05:19:40,147 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-04 05:19:40,147 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-04 05:19:40,148 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-04 05:19:40,155 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-04 05:19:40,205 autosynth [ERROR] > Synthesis failed
2020-10-04 05:19:40,206 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-04 05:19:40,229 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-04 05:19:40,243 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

 > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-05 05:19:09,870 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-05 05:19:09,871 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-05 05:19:09,871 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-05 05:19:09,872 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-05 05:19:09,873 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-05 05:19:09,873 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-05 05:19:09,894 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-05 05:19:09,902 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-05 05:19:09,904 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-05 05:19:09,904 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-05 05:19:09,905 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-05 05:19:09,906 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-05 05:19:09,907 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-05 05:19:09,908 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-05 05:19:09,909 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-05 05:19:09,909 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-05 05:19:09,910 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-05 05:19:09,911 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-05 05:19:09,911 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-05 05:19:09,913 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-05 05:19:09,913 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-05 05:19:09,914 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-05 05:19:09,915 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-05 05:19:09,915 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-05 05:19:09,916 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-05 05:19:09,917 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-05 05:19:09,918 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-05 05:19:09,919 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-05 05:19:09,938 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-05 05:19:09,953 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-05 05:19:09,957 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-05 05:19:09,958 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-05 05:19:09,959 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-05 05:19:09,960 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-05 05:19:09,960 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-05 05:19:09,962 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-05 05:19:09,962 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-05 05:19:09,969 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-05 05:19:09,970 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-05 05:19:09,972 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-05 05:19:09,975 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-05 05:19:09,975 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-05 05:19:09,976 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-05 05:19:09,983 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-05 05:19:10,039 autosynth [ERROR] > Synthesis failed
2020-10-05 05:19:10,039 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-05 05:19:10,059 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-05 05:19:10,073 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

 > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-06 05:19:26,708 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-06 05:19:26,708 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-06 05:19:26,709 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-06 05:19:26,710 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-06 05:19:26,711 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-06 05:19:26,712 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-06 05:19:26,730 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-06 05:19:26,737 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-06 05:19:26,738 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-06 05:19:26,739 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-06 05:19:26,740 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-06 05:19:26,741 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-06 05:19:26,742 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-06 05:19:26,743 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-06 05:19:26,744 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-06 05:19:26,744 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-06 05:19:26,745 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-06 05:19:26,746 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-06 05:19:26,747 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-06 05:19:26,748 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-06 05:19:26,749 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-06 05:19:26,749 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-06 05:19:26,751 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-06 05:19:26,752 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-06 05:19:26,752 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-06 05:19:26,753 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-06 05:19:26,754 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-06 05:19:26,754 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-06 05:19:26,774 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-06 05:19:26,790 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-06 05:19:26,793 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-06 05:19:26,795 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-06 05:19:26,796 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-06 05:19:26,796 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-06 05:19:26,797 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-06 05:19:26,798 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-06 05:19:26,799 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-06 05:19:26,806 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-06 05:19:26,807 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-06 05:19:26,809 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-06 05:19:26,812 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-06 05:19:26,812 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-06 05:19:26,813 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-06 05:19:26,819 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-06 05:19:26,879 autosynth [ERROR] > Synthesis failed
2020-10-06 05:19:26,880 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-06 05:19:26,901 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-06 05:19:26,915 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

 > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-07 05:19:08,646 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-07 05:19:08,646 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-07 05:19:08,647 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-07 05:19:08,648 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-07 05:19:08,649 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-07 05:19:08,649 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-07 05:19:08,668 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-07 05:19:08,674 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-07 05:19:08,675 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-07 05:19:08,675 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-07 05:19:08,676 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-07 05:19:08,677 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-07 05:19:08,678 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-07 05:19:08,679 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-07 05:19:08,679 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-07 05:19:08,680 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-07 05:19:08,681 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-07 05:19:08,682 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-07 05:19:08,683 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-07 05:19:08,684 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-07 05:19:08,685 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-07 05:19:08,685 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-07 05:19:08,686 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-07 05:19:08,687 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-07 05:19:08,688 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-07 05:19:08,689 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-07 05:19:08,690 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-07 05:19:08,690 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-07 05:19:08,709 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-07 05:19:08,725 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-07 05:19:08,728 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-07 05:19:08,729 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-07 05:19:08,730 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-07 05:19:08,731 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-07 05:19:08,731 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-07 05:19:08,733 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-07 05:19:08,733 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-07 05:19:08,740 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-07 05:19:08,741 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-07 05:19:08,743 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-07 05:19:08,746 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-07 05:19:08,746 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-07 05:19:08,747 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-07 05:19:08,754 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-07 05:19:08,803 autosynth [ERROR] > Synthesis failed
2020-10-07 05:19:08,803 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-07 05:19:08,823 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-07 05:19:08,836 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

 > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-08 05:19:44,595 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-08 05:19:44,595 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-08 05:19:44,596 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-08 05:19:44,597 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-08 05:19:44,597 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-08 05:19:44,598 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-08 05:19:44,617 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-08 05:19:44,624 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-08 05:19:44,625 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-08 05:19:44,626 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-08 05:19:44,627 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-08 05:19:44,628 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-08 05:19:44,628 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-08 05:19:44,629 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-08 05:19:44,630 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-08 05:19:44,631 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-08 05:19:44,632 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-08 05:19:44,633 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-08 05:19:44,633 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-08 05:19:44,634 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-08 05:19:44,635 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-08 05:19:44,635 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-08 05:19:44,636 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-08 05:19:44,637 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-08 05:19:44,638 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-08 05:19:44,639 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-08 05:19:44,640 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-08 05:19:44,640 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-08 05:19:44,660 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-08 05:19:44,677 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-08 05:19:44,680 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-08 05:19:44,682 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-08 05:19:44,682 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-08 05:19:44,683 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-08 05:19:44,684 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-08 05:19:44,685 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-08 05:19:44,686 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-08 05:19:44,693 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-08 05:19:44,694 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-08 05:19:44,697 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-08 05:19:44,699 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-08 05:19:44,700 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-08 05:19:44,700 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-08 05:19:44,707 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-08 05:19:44,763 autosynth [ERROR] > Synthesis failed
2020-10-08 05:19:44,763 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-08 05:19:44,785 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-08 05:19:44,800 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

 > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-09 05:19:18,562 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-09 05:19:18,563 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-09 05:19:18,564 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-09 05:19:18,565 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-09 05:19:18,565 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-09 05:19:18,566 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-09 05:19:18,590 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-09 05:19:18,598 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-09 05:19:18,599 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-09 05:19:18,599 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-09 05:19:18,601 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-09 05:19:18,602 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-09 05:19:18,602 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-09 05:19:18,603 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-09 05:19:18,605 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-09 05:19:18,605 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-09 05:19:18,607 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-09 05:19:18,608 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-09 05:19:18,608 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-09 05:19:18,609 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-09 05:19:18,610 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-09 05:19:18,611 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-09 05:19:18,612 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-09 05:19:18,613 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-09 05:19:18,614 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-09 05:19:18,615 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-09 05:19:18,616 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-09 05:19:18,616 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-09 05:19:18,641 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-09 05:19:18,660 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-09 05:19:18,664 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-09 05:19:18,665 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-09 05:19:18,666 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-09 05:19:18,666 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-09 05:19:18,668 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-09 05:19:18,669 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-09 05:19:18,669 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-09 05:19:18,676 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-09 05:19:18,678 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-09 05:19:18,680 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-09 05:19:18,682 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-09 05:19:18,683 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-09 05:19:18,683 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-09 05:19:18,690 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-09 05:19:18,742 autosynth [ERROR] > Synthesis failed
2020-10-09 05:19:18,742 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-09 05:19:18,764 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-09 05:19:18,777 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

 > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-10 05:18:52,887 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-10 05:18:52,888 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-10 05:18:52,889 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-10 05:18:52,890 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-10 05:18:52,890 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-10 05:18:52,891 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-10 05:18:52,911 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-10 05:18:52,918 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-10 05:18:52,919 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-10 05:18:52,920 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-10 05:18:52,921 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-10 05:18:52,922 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-10 05:18:52,923 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-10 05:18:52,924 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-10 05:18:52,925 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-10 05:18:52,925 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-10 05:18:52,926 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-10 05:18:52,927 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-10 05:18:52,928 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-10 05:18:52,929 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-10 05:18:52,929 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-10 05:18:52,930 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-10 05:18:52,931 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-10 05:18:52,932 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-10 05:18:52,932 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-10 05:18:52,933 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-10 05:18:52,934 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-10 05:18:52,935 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-10 05:18:52,955 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-10 05:18:52,972 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-10 05:18:52,976 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-10 05:18:52,977 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-10 05:18:52,978 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-10 05:18:52,979 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-10 05:18:52,980 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-10 05:18:52,981 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-10 05:18:52,982 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-10 05:18:52,989 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-10 05:18:52,991 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-10 05:18:52,993 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-10 05:18:52,996 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-10 05:18:52,996 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-10 05:18:52,997 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-10 05:18:53,004 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-10 05:18:53,067 autosynth [ERROR] > Synthesis failed
2020-10-10 05:18:53,068 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-10 05:18:53,090 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-10 05:18:53,105 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

 > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-11 05:18:28,989 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-11 05:18:28,989 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-11 05:18:28,990 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-11 05:18:28,991 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-11 05:18:28,991 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-11 05:18:28,992 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-11 05:18:29,011 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-11 05:18:29,017 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-11 05:18:29,018 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-11 05:18:29,018 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-11 05:18:29,020 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-11 05:18:29,021 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-11 05:18:29,021 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-11 05:18:29,022 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-11 05:18:29,023 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-11 05:18:29,024 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-11 05:18:29,025 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-11 05:18:29,025 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-11 05:18:29,026 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-11 05:18:29,026 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-11 05:18:29,027 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-11 05:18:29,028 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-11 05:18:29,029 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-11 05:18:29,029 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-11 05:18:29,030 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-11 05:18:29,031 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-11 05:18:29,032 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-11 05:18:29,032 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-11 05:18:29,051 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-11 05:18:29,067 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-11 05:18:29,071 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-11 05:18:29,072 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-11 05:18:29,072 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-11 05:18:29,073 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-11 05:18:29,074 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-11 05:18:29,075 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-11 05:18:29,076 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-11 05:18:29,083 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-11 05:18:29,084 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-11 05:18:29,086 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-11 05:18:29,089 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-11 05:18:29,089 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-11 05:18:29,090 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-11 05:18:29,097 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-11 05:18:29,152 autosynth [ERROR] > Synthesis failed
2020-10-11 05:18:29,152 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-11 05:18:29,172 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-11 05:18:29,185 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

' in dialogflow_v2/services/agents/transports/base.py.
2020-10-12 05:19:21,836 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-12 05:19:21,836 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-12 05:19:21,837 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-12 05:19:21,838 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-12 05:19:21,838 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-12 05:19:21,839 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-12 05:19:21,858 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-12 05:19:21,865 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-12 05:19:21,866 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-12 05:19:21,867 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-12 05:19:21,867 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-12 05:19:21,868 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-12 05:19:21,869 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-12 05:19:21,870 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-12 05:19:21,871 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-12 05:19:21,871 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-12 05:19:21,872 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-12 05:19:21,873 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-12 05:19:21,874 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-12 05:19:21,875 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-12 05:19:21,876 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-12 05:19:21,877 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-12 05:19:21,878 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-12 05:19:21,879 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-12 05:19:21,879 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-12 05:19:21,880 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-12 05:19:21,881 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-12 05:19:21,882 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-12 05:19:21,903 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-12 05:19:21,919 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-12 05:19:21,923 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-12 05:19:21,924 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-12 05:19:21,925 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-12 05:19:21,926 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-12 05:19:21,927 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-12 05:19:21,928 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-12 05:19:21,928 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-12 05:19:21,935 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-12 05:19:21,936 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-12 05:19:21,939 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-12 05:19:21,941 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-12 05:19:21,942 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-12 05:19:21,942 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-12 05:19:21,949 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-12 05:19:21,990 autosynth [ERROR] > Synthesis failed
2020-10-12 05:19:21,991 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-12 05:19:22,011 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-12 05:19:22,022 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow-v2-py.tar.gz
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

 > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-13 05:19:22,859 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-13 05:19:22,860 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-13 05:19:22,861 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-13 05:19:22,862 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-13 05:19:22,863 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-13 05:19:22,863 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-13 05:19:22,882 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-13 05:19:22,889 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-13 05:19:22,890 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-13 05:19:22,891 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-13 05:19:22,892 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-13 05:19:22,893 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-13 05:19:22,893 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-13 05:19:22,894 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-13 05:19:22,895 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-13 05:19:22,896 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-13 05:19:22,897 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-13 05:19:22,898 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-13 05:19:22,898 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-13 05:19:22,899 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-13 05:19:22,900 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-13 05:19:22,900 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-13 05:19:22,901 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-13 05:19:22,902 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-13 05:19:22,903 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-13 05:19:22,904 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-13 05:19:22,905 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-13 05:19:22,906 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-13 05:19:22,925 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-13 05:19:22,941 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-13 05:19:22,945 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-13 05:19:22,946 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-13 05:19:22,947 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-13 05:19:22,948 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-13 05:19:22,949 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-13 05:19:22,950 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-13 05:19:22,951 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-13 05:19:22,957 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-13 05:19:22,959 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-13 05:19:22,961 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-13 05:19:22,963 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-13 05:19:22,964 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-13 05:19:22,964 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-13 05:19:22,971 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-13 05:19:23,030 autosynth [ERROR] > Synthesis failed
2020-10-13 05:19:23,031 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-13 05:19:23,054 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-13 05:19:23,068 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

 > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-14 05:18:36,887 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-14 05:18:36,888 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-14 05:18:36,888 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-14 05:18:36,890 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-14 05:18:36,890 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-14 05:18:36,891 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-14 05:18:36,912 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-14 05:18:36,919 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-14 05:18:36,920 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-14 05:18:36,920 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-14 05:18:36,921 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-14 05:18:36,922 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-14 05:18:36,923 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-14 05:18:36,924 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-14 05:18:36,925 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-14 05:18:36,925 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-14 05:18:36,926 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-14 05:18:36,927 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-14 05:18:36,928 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-14 05:18:36,929 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-14 05:18:36,929 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-14 05:18:36,930 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-14 05:18:36,931 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-14 05:18:36,932 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-14 05:18:36,932 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-14 05:18:36,933 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-14 05:18:36,934 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-14 05:18:36,935 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-14 05:18:36,956 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-14 05:18:36,973 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-14 05:18:36,977 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-14 05:18:36,978 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-14 05:18:36,979 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-14 05:18:36,979 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-14 05:18:36,980 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-14 05:18:36,982 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-14 05:18:36,982 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-14 05:18:36,989 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-14 05:18:36,990 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-14 05:18:36,992 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-14 05:18:36,995 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-14 05:18:36,995 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-14 05:18:36,996 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-14 05:18:37,003 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-14 05:18:37,054 autosynth [ERROR] > Synthesis failed
2020-10-14 05:18:37,054 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-14 05:18:37,075 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-14 05:18:37,089 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

 > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-15 05:18:33,552 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-15 05:18:33,553 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-15 05:18:33,553 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-15 05:18:33,554 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-15 05:18:33,555 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-15 05:18:33,556 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-15 05:18:33,575 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-15 05:18:33,582 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-15 05:18:33,582 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-15 05:18:33,583 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-15 05:18:33,584 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-15 05:18:33,585 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-15 05:18:33,585 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-15 05:18:33,586 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-15 05:18:33,587 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-15 05:18:33,588 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-15 05:18:33,589 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-15 05:18:33,589 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-15 05:18:33,590 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-15 05:18:33,591 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-15 05:18:33,592 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-15 05:18:33,592 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-15 05:18:33,593 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-15 05:18:33,594 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-15 05:18:33,594 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-15 05:18:33,595 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-15 05:18:33,596 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-15 05:18:33,597 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-15 05:18:33,616 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-15 05:18:33,633 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-15 05:18:33,636 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-15 05:18:33,637 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-15 05:18:33,638 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-15 05:18:33,638 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-15 05:18:33,640 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-15 05:18:33,640 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-15 05:18:33,641 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-15 05:18:33,648 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-15 05:18:33,650 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-15 05:18:33,652 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-15 05:18:33,654 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-15 05:18:33,655 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-15 05:18:33,655 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-15 05:18:33,662 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-15 05:18:33,714 autosynth [ERROR] > Synthesis failed
2020-10-15 05:18:33,714 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-15 05:18:33,735 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-15 05:18:33,748 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-16 05:18:51,815 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-16 05:18:51,816 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-16 05:18:51,817 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-16 05:18:51,817 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-16 05:18:51,818 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-16 05:18:51,818 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-16 05:18:51,837 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-16 05:18:51,844 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-16 05:18:51,844 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-16 05:18:51,845 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-16 05:18:51,846 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-16 05:18:51,847 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-16 05:18:51,847 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-16 05:18:51,848 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-16 05:18:51,849 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-16 05:18:51,850 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-16 05:18:51,851 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-16 05:18:51,851 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-16 05:18:51,852 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-16 05:18:51,853 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-16 05:18:51,854 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-16 05:18:51,854 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-16 05:18:51,855 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-16 05:18:51,856 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-16 05:18:51,856 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-16 05:18:51,857 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-16 05:18:51,858 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-16 05:18:51,859 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-16 05:18:51,877 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-16 05:18:51,893 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-16 05:18:51,896 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-16 05:18:51,897 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-16 05:18:51,898 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-16 05:18:51,899 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-16 05:18:51,900 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-16 05:18:51,901 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-16 05:18:51,901 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-16 05:18:51,908 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-16 05:18:51,909 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-16 05:18:51,911 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-16 05:18:51,914 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-16 05:18:51,914 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-16 05:18:51,915 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-16 05:18:51,921 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-16 05:18:51,970 autosynth [ERROR] > Synthesis failed
2020-10-16 05:18:51,970 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-16 05:18:51,993 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-16 05:18:52,006 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-17 05:19:19,157 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-17 05:19:19,158 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-17 05:19:19,159 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-17 05:19:19,160 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-17 05:19:19,160 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-17 05:19:19,161 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-17 05:19:19,182 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-17 05:19:19,189 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-17 05:19:19,191 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-17 05:19:19,191 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-17 05:19:19,192 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-17 05:19:19,193 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-17 05:19:19,194 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-17 05:19:19,195 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-17 05:19:19,196 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-17 05:19:19,197 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-17 05:19:19,198 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-17 05:19:19,199 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-17 05:19:19,200 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-17 05:19:19,201 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-17 05:19:19,202 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-17 05:19:19,202 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-17 05:19:19,203 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-17 05:19:19,204 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-17 05:19:19,205 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-17 05:19:19,206 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-17 05:19:19,207 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-17 05:19:19,207 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-17 05:19:19,229 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-17 05:19:19,247 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-17 05:19:19,250 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-17 05:19:19,251 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-17 05:19:19,252 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-17 05:19:19,253 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-17 05:19:19,254 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-17 05:19:19,256 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-17 05:19:19,256 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-17 05:19:19,263 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-17 05:19:19,265 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-17 05:19:19,267 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-17 05:19:19,270 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-17 05:19:19,271 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-17 05:19:19,271 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-17 05:19:19,279 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-17 05:19:19,342 autosynth [ERROR] > Synthesis failed
2020-10-17 05:19:19,342 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-17 05:19:19,366 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-17 05:19:19,381 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-18 05:18:46,902 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-18 05:18:46,903 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-18 05:18:46,904 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-18 05:18:46,904 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-18 05:18:46,905 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-18 05:18:46,906 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-18 05:18:46,925 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-18 05:18:46,931 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-18 05:18:46,932 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-18 05:18:46,933 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-18 05:18:46,934 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-18 05:18:46,935 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-18 05:18:46,935 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-18 05:18:46,936 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-18 05:18:46,937 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-18 05:18:46,938 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-18 05:18:46,939 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-18 05:18:46,939 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-18 05:18:46,940 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-18 05:18:46,941 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-18 05:18:46,942 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-18 05:18:46,942 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-18 05:18:46,943 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-18 05:18:46,945 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-18 05:18:46,945 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-18 05:18:46,946 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-18 05:18:46,947 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-18 05:18:46,948 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-18 05:18:46,967 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-18 05:18:46,983 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-18 05:18:46,987 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-18 05:18:46,988 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-18 05:18:46,989 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-18 05:18:46,990 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-18 05:18:46,991 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-18 05:18:46,992 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-18 05:18:46,993 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-18 05:18:47,000 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-18 05:18:47,001 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-18 05:18:47,003 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-18 05:18:47,006 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-18 05:18:47,006 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-18 05:18:47,007 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-18 05:18:47,014 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-18 05:18:47,072 autosynth [ERROR] > Synthesis failed
2020-10-18 05:18:47,072 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-18 05:18:47,092 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-18 05:18:47,107 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-19 05:18:57,078 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-19 05:18:57,078 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-19 05:18:57,079 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-19 05:18:57,080 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-19 05:18:57,081 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-19 05:18:57,081 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-19 05:18:57,101 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-19 05:18:57,108 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-19 05:18:57,110 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-19 05:18:57,110 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-19 05:18:57,111 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-19 05:18:57,112 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-19 05:18:57,113 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-19 05:18:57,114 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-19 05:18:57,115 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-19 05:18:57,115 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-19 05:18:57,116 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-19 05:18:57,117 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-19 05:18:57,118 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-19 05:18:57,119 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-19 05:18:57,120 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-19 05:18:57,121 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-19 05:18:57,122 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-19 05:18:57,123 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-19 05:18:57,124 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-19 05:18:57,125 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-19 05:18:57,126 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-19 05:18:57,127 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-19 05:18:57,147 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-19 05:18:57,164 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-19 05:18:57,167 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-19 05:18:57,169 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-19 05:18:57,169 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-19 05:18:57,170 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-19 05:18:57,171 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-19 05:18:57,172 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-19 05:18:57,173 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-19 05:18:57,180 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-19 05:18:57,182 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-19 05:18:57,184 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-19 05:18:57,187 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-19 05:18:57,187 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-19 05:18:57,188 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-19 05:18:57,195 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-19 05:18:57,253 autosynth [ERROR] > Synthesis failed
2020-10-19 05:18:57,253 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-19 05:18:57,277 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-19 05:18:57,291 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-20 05:18:48,848 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-20 05:18:48,849 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-20 05:18:48,850 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-20 05:18:48,850 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-20 05:18:48,851 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-20 05:18:48,852 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-20 05:18:48,871 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-20 05:18:48,877 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-20 05:18:48,878 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-20 05:18:48,879 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-20 05:18:48,880 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-20 05:18:48,881 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-20 05:18:48,882 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-20 05:18:48,882 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-20 05:18:48,883 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-20 05:18:48,884 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-20 05:18:48,885 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-20 05:18:48,886 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-20 05:18:48,886 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-20 05:18:48,887 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-20 05:18:48,888 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-20 05:18:48,889 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-20 05:18:48,890 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-20 05:18:48,890 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-20 05:18:48,891 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-20 05:18:48,892 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-20 05:18:48,893 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-20 05:18:48,894 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-20 05:18:48,913 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-20 05:18:48,929 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-20 05:18:48,932 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-20 05:18:48,934 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-20 05:18:48,935 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-20 05:18:48,936 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-20 05:18:48,936 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-20 05:18:48,937 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-20 05:18:48,938 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-20 05:18:48,945 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-20 05:18:48,946 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-20 05:18:48,948 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-20 05:18:48,951 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-20 05:18:48,951 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-20 05:18:48,952 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-20 05:18:48,959 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-20 05:18:49,010 autosynth [ERROR] > Synthesis failed
2020-10-20 05:18:49,010 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-20 05:18:49,031 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-20 05:18:49,045 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-21 05:19:04,768 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-21 05:19:04,769 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-21 05:19:04,770 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-21 05:19:04,771 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-21 05:19:04,771 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-21 05:19:04,772 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-21 05:19:04,790 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-21 05:19:04,796 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-21 05:19:04,797 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-21 05:19:04,798 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-21 05:19:04,799 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-21 05:19:04,800 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-21 05:19:04,800 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-21 05:19:04,802 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-21 05:19:04,802 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-21 05:19:04,803 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-21 05:19:04,804 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-21 05:19:04,805 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-21 05:19:04,805 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-21 05:19:04,806 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-21 05:19:04,807 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-21 05:19:04,808 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-21 05:19:04,809 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-21 05:19:04,809 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-21 05:19:04,810 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-21 05:19:04,811 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-21 05:19:04,812 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-21 05:19:04,812 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-21 05:19:04,831 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-21 05:19:04,847 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-21 05:19:04,850 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-21 05:19:04,852 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-21 05:19:04,852 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-21 05:19:04,853 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-21 05:19:04,854 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-21 05:19:04,855 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-21 05:19:04,856 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-21 05:19:04,862 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-21 05:19:04,864 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-21 05:19:04,866 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-21 05:19:04,868 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-21 05:19:04,869 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-21 05:19:04,869 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-21 05:19:04,876 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-21 05:19:04,931 autosynth [ERROR] > Synthesis failed
2020-10-21 05:19:04,931 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-21 05:19:04,953 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-21 05:19:04,966 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-22 05:19:35,103 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-22 05:19:35,104 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-22 05:19:35,105 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-22 05:19:35,106 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-22 05:19:35,106 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-22 05:19:35,107 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-22 05:19:35,130 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-22 05:19:35,137 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-22 05:19:35,139 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-22 05:19:35,140 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-22 05:19:35,141 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-22 05:19:35,142 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-22 05:19:35,142 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-22 05:19:35,143 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-22 05:19:35,144 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-22 05:19:35,145 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-22 05:19:35,146 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-22 05:19:35,147 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-22 05:19:35,148 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-22 05:19:35,149 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-22 05:19:35,150 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-22 05:19:35,150 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-22 05:19:35,152 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-22 05:19:35,152 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-22 05:19:35,153 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-22 05:19:35,154 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-22 05:19:35,155 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-22 05:19:35,156 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-22 05:19:35,176 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-22 05:19:35,193 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-22 05:19:35,197 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-22 05:19:35,198 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-22 05:19:35,199 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-22 05:19:35,201 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-22 05:19:35,201 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-22 05:19:35,203 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-22 05:19:35,203 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-22 05:19:35,211 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-22 05:19:35,212 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-22 05:19:35,215 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-22 05:19:35,218 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-22 05:19:35,218 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-22 05:19:35,219 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-22 05:19:35,226 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-22 05:19:35,289 autosynth [ERROR] > Synthesis failed
2020-10-22 05:19:35,289 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-22 05:19:35,312 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-22 05:19:35,327 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-23 05:19:38,573 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-23 05:19:38,574 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-23 05:19:38,574 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-23 05:19:38,575 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-23 05:19:38,576 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-23 05:19:38,576 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-23 05:19:38,596 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-23 05:19:38,603 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-23 05:19:38,603 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-23 05:19:38,604 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-23 05:19:38,605 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-23 05:19:38,606 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-23 05:19:38,607 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-23 05:19:38,608 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-23 05:19:38,608 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-23 05:19:38,609 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-23 05:19:38,610 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-23 05:19:38,611 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-23 05:19:38,611 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-23 05:19:38,612 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-23 05:19:38,613 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-23 05:19:38,614 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-23 05:19:38,614 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-23 05:19:38,615 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-23 05:19:38,616 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-23 05:19:38,617 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-23 05:19:38,617 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-23 05:19:38,618 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-23 05:19:38,637 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-23 05:19:38,654 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-23 05:19:38,657 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-23 05:19:38,658 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-23 05:19:38,659 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-23 05:19:38,660 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-23 05:19:38,661 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-23 05:19:38,662 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-23 05:19:38,663 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-23 05:19:38,670 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-23 05:19:38,671 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-23 05:19:38,673 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-23 05:19:38,676 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-23 05:19:38,677 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-23 05:19:38,677 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-23 05:19:38,684 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-23 05:19:38,735 autosynth [ERROR] > Synthesis failed
2020-10-23 05:19:38,735 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-23 05:19:38,757 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-23 05:19:38,771 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-24 05:19:28,422 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-24 05:19:28,422 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-24 05:19:28,423 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-24 05:19:28,424 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-24 05:19:28,424 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-24 05:19:28,425 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-24 05:19:28,445 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-24 05:19:28,452 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-24 05:19:28,453 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-24 05:19:28,454 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-24 05:19:28,455 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-24 05:19:28,456 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-24 05:19:28,456 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-24 05:19:28,457 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-24 05:19:28,458 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-24 05:19:28,459 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-24 05:19:28,460 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-24 05:19:28,461 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-24 05:19:28,461 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-24 05:19:28,462 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-24 05:19:28,463 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-24 05:19:28,463 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-24 05:19:28,464 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-24 05:19:28,465 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-24 05:19:28,466 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-24 05:19:28,467 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-24 05:19:28,468 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-24 05:19:28,468 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-24 05:19:28,488 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-24 05:19:28,505 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-24 05:19:28,509 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-24 05:19:28,510 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-24 05:19:28,511 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-24 05:19:28,512 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-24 05:19:28,513 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-24 05:19:28,514 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-24 05:19:28,515 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-24 05:19:28,522 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-24 05:19:28,523 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-24 05:19:28,525 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-24 05:19:28,528 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-24 05:19:28,529 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-24 05:19:28,529 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-24 05:19:28,536 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-24 05:19:28,592 autosynth [ERROR] > Synthesis failed
2020-10-24 05:19:28,592 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-24 05:19:28,614 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-24 05:19:28,629 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-25 05:19:40,054 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-25 05:19:40,054 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-25 05:19:40,055 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-25 05:19:40,056 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-25 05:19:40,056 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-25 05:19:40,057 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-25 05:19:40,076 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-25 05:19:40,082 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-25 05:19:40,083 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-25 05:19:40,084 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-25 05:19:40,085 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-25 05:19:40,086 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-25 05:19:40,087 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-25 05:19:40,088 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-25 05:19:40,089 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-25 05:19:40,089 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-25 05:19:40,091 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-25 05:19:40,091 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-25 05:19:40,092 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-25 05:19:40,093 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-25 05:19:40,094 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-25 05:19:40,094 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-25 05:19:40,096 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-25 05:19:40,096 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-25 05:19:40,097 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-25 05:19:40,098 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-25 05:19:40,099 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-25 05:19:40,099 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-25 05:19:40,119 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-25 05:19:40,135 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-25 05:19:40,139 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-25 05:19:40,140 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-25 05:19:40,141 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-25 05:19:40,142 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-25 05:19:40,142 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-25 05:19:40,143 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-25 05:19:40,144 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-25 05:19:40,151 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-25 05:19:40,152 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-25 05:19:40,155 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-25 05:19:40,157 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-25 05:19:40,158 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-25 05:19:40,158 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-25 05:19:40,165 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-25 05:19:40,218 autosynth [ERROR] > Synthesis failed
2020-10-25 05:19:40,219 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-25 05:19:40,239 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-25 05:19:40,252 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-26 05:18:59,237 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-26 05:18:59,238 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-26 05:18:59,239 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-26 05:18:59,240 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-26 05:18:59,240 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-26 05:18:59,241 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-26 05:18:59,259 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-26 05:18:59,265 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-26 05:18:59,266 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-26 05:18:59,267 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-26 05:18:59,268 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-26 05:18:59,269 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-26 05:18:59,269 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-26 05:18:59,271 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-26 05:18:59,271 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-26 05:18:59,272 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-26 05:18:59,273 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-26 05:18:59,273 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-26 05:18:59,274 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-26 05:18:59,275 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-26 05:18:59,275 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-26 05:18:59,276 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-26 05:18:59,277 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-26 05:18:59,278 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-26 05:18:59,278 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-26 05:18:59,279 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-26 05:18:59,280 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-26 05:18:59,281 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-26 05:18:59,300 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-26 05:18:59,316 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-26 05:18:59,320 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-26 05:18:59,321 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-26 05:18:59,322 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-26 05:18:59,322 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-26 05:18:59,323 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-26 05:18:59,324 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-26 05:18:59,325 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-26 05:18:59,332 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-26 05:18:59,333 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-26 05:18:59,335 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-26 05:18:59,337 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-26 05:18:59,338 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-26 05:18:59,338 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-26 05:18:59,345 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-26 05:18:59,400 autosynth [ERROR] > Synthesis failed
2020-10-26 05:18:59,401 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-26 05:18:59,420 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-26 05:18:59,434 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-27 05:19:34,733 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-27 05:19:34,734 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-27 05:19:34,734 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-27 05:19:34,736 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-27 05:19:34,736 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-27 05:19:34,737 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-27 05:19:34,759 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-27 05:19:34,767 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-27 05:19:34,768 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-27 05:19:34,769 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-27 05:19:34,770 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-27 05:19:34,771 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-27 05:19:34,772 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-27 05:19:34,773 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-27 05:19:34,774 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-27 05:19:34,774 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-27 05:19:34,775 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-27 05:19:34,776 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-27 05:19:34,776 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-27 05:19:34,777 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-27 05:19:34,779 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-27 05:19:34,779 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-27 05:19:34,780 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-27 05:19:34,781 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-27 05:19:34,781 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-27 05:19:34,782 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-27 05:19:34,783 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-27 05:19:34,784 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-27 05:19:34,804 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-27 05:19:34,820 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-27 05:19:34,824 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-27 05:19:34,825 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-27 05:19:34,826 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-27 05:19:34,826 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-27 05:19:34,827 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-27 05:19:34,828 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-27 05:19:34,829 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-27 05:19:34,836 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-27 05:19:34,839 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-27 05:19:34,842 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-27 05:19:34,844 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-27 05:19:34,844 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-27 05:19:34,845 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-27 05:19:34,852 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-27 05:19:34,910 autosynth [ERROR] > Synthesis failed
2020-10-27 05:19:34,910 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-27 05:19:34,932 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-27 05:19:34,946 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-28 05:20:36,420 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-28 05:20:36,421 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-28 05:20:36,422 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-28 05:20:36,423 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-28 05:20:36,424 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-28 05:20:36,425 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-28 05:20:36,449 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-28 05:20:36,458 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-28 05:20:36,458 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-28 05:20:36,459 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-28 05:20:36,460 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-28 05:20:36,461 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-28 05:20:36,462 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-28 05:20:36,463 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-28 05:20:36,464 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-28 05:20:36,465 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-28 05:20:36,466 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-28 05:20:36,467 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-28 05:20:36,468 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-28 05:20:36,469 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-28 05:20:36,470 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-28 05:20:36,471 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-28 05:20:36,472 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-28 05:20:36,473 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-28 05:20:36,474 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-28 05:20:36,475 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-28 05:20:36,476 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-28 05:20:36,477 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-28 05:20:36,502 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-28 05:20:36,523 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-28 05:20:36,526 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-28 05:20:36,527 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-28 05:20:36,529 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-28 05:20:36,529 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-28 05:20:36,530 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-28 05:20:36,531 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-28 05:20:36,532 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-28 05:20:36,539 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-28 05:20:36,541 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-28 05:20:36,543 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-28 05:20:36,545 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-28 05:20:36,546 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-28 05:20:36,546 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-28 05:20:36,553 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-28 05:20:36,603 autosynth [ERROR] > Synthesis failed
2020-10-28 05:20:36,604 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-28 05:20:36,627 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-28 05:20:36,641 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-29 05:19:16,094 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-29 05:19:16,095 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-29 05:19:16,096 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-29 05:19:16,097 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-29 05:19:16,097 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-29 05:19:16,098 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-29 05:19:16,117 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-29 05:19:16,124 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-29 05:19:16,125 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-29 05:19:16,126 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-29 05:19:16,127 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-29 05:19:16,128 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-29 05:19:16,128 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-29 05:19:16,130 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-29 05:19:16,130 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-29 05:19:16,131 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-29 05:19:16,132 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-29 05:19:16,133 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-29 05:19:16,133 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-29 05:19:16,134 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-29 05:19:16,135 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-29 05:19:16,135 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-29 05:19:16,136 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-29 05:19:16,137 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-29 05:19:16,138 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-29 05:19:16,139 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-29 05:19:16,139 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-29 05:19:16,140 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-29 05:19:16,160 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-29 05:19:16,177 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-29 05:19:16,180 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-29 05:19:16,182 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-29 05:19:16,182 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-29 05:19:16,183 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-29 05:19:16,184 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-29 05:19:16,185 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-29 05:19:16,186 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-29 05:19:16,193 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-29 05:19:16,194 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-29 05:19:16,196 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-29 05:19:16,199 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-29 05:19:16,200 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-29 05:19:16,200 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-29 05:19:16,207 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-29 05:19:16,266 autosynth [ERROR] > Synthesis failed
2020-10-29 05:19:16,266 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-29 05:19:16,290 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-29 05:19:16,304 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

tool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/client.py.
2020-10-29 22:26:43,622 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/pagers.py.
2020-10-29 22:26:43,623 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/async_client.py.
2020-10-29 22:26:43,623 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-29 22:26:43,624 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-29 22:26:43,624 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-29 22:26:43,625 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-29 22:26:43,626 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-29 22:26:43,627 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-29 22:26:43,627 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-29 22:26:43,649 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-29 22:26:43,657 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-29 22:26:43,658 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-29 22:26:43,658 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-29 22:26:43,659 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-29 22:26:43,661 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-29 22:26:43,661 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-29 22:26:43,662 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-29 22:26:43,663 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-29 22:26:43,664 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-29 22:26:43,665 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-29 22:26:43,665 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-29 22:26:43,666 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-29 22:26:43,667 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-29 22:26:43,667 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-29 22:26:43,668 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-29 22:26:43,669 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-29 22:26:43,670 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-29 22:26:43,670 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-29 22:26:43,672 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-29 22:26:43,672 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-29 22:26:43,673 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-29 22:26:43,694 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-29 22:26:43,711 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-29 22:26:43,714 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-29 22:26:43,716 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-29 22:26:43,716 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-29 22:26:43,717 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-29 22:26:43,718 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-29 22:26:43,719 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-29 22:26:43,720 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-29 22:26:43,727 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-29 22:26:43,728 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-29 22:26:43,731 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-29 22:26:43,733 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-29 22:26:43,734 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-29 22:26:43,734 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-29 22:26:43,741 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/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 "/root/.cache/synthtool/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-29 22:26:43,797 autosynth [ERROR] > Synthesis failed
2020-10-29 22:26:43,797 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-29 22:26:43,821 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-29 22:26:43,834 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/synthtool/autosynth/synth.py", line 354, in <module>
    main()
  File "/synthtool/autosynth/synth.py", line 189, in main
    return _inner_main(temp_dir)
  File "/synthtool/autosynth/synth.py", line 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/usr/local/bin/python', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-30 05:20:02,047 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-30 05:20:02,047 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-30 05:20:02,048 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-30 05:20:02,049 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-30 05:20:02,050 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-30 05:20:02,050 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-30 05:20:02,070 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-30 05:20:02,077 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-30 05:20:02,078 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-30 05:20:02,079 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-30 05:20:02,080 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-30 05:20:02,081 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-30 05:20:02,082 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-30 05:20:02,083 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-30 05:20:02,084 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-30 05:20:02,084 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-30 05:20:02,086 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-30 05:20:02,087 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-30 05:20:02,087 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-30 05:20:02,089 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-30 05:20:02,089 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-30 05:20:02,090 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-30 05:20:02,091 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-30 05:20:02,092 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-30 05:20:02,093 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-30 05:20:02,094 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-30 05:20:02,095 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-30 05:20:02,096 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-30 05:20:02,116 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-30 05:20:02,133 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-30 05:20:02,136 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-30 05:20:02,137 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-30 05:20:02,139 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-30 05:20:02,139 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-30 05:20:02,140 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-30 05:20:02,141 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-30 05:20:02,142 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-30 05:20:02,149 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-30 05:20:02,150 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-30 05:20:02,152 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-30 05:20:02,155 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-30 05:20:02,156 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-30 05:20:02,156 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-30 05:20:02,163 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-30 05:20:02,221 autosynth [ERROR] > Synthesis failed
2020-10-30 05:20:02,222 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-30 05:20:02,243 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-30 05:20:02,257 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-10-31 05:19:41,097 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-10-31 05:19:41,097 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-10-31 05:19:41,098 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-10-31 05:19:41,099 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-10-31 05:19:41,100 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-10-31 05:19:41,100 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-10-31 05:19:41,120 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-10-31 05:19:41,127 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-10-31 05:19:41,128 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-10-31 05:19:41,129 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-10-31 05:19:41,130 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-10-31 05:19:41,131 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-10-31 05:19:41,131 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-10-31 05:19:41,132 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-10-31 05:19:41,133 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-10-31 05:19:41,134 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-10-31 05:19:41,135 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-10-31 05:19:41,136 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-10-31 05:19:41,136 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-10-31 05:19:41,137 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-10-31 05:19:41,138 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-10-31 05:19:41,139 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-10-31 05:19:41,140 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-10-31 05:19:41,141 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-10-31 05:19:41,141 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-10-31 05:19:41,142 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-10-31 05:19:41,143 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-10-31 05:19:41,144 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-10-31 05:19:41,165 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-10-31 05:19:41,181 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-10-31 05:19:41,185 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-10-31 05:19:41,186 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-10-31 05:19:41,187 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-10-31 05:19:41,188 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-10-31 05:19:41,189 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-10-31 05:19:41,190 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-10-31 05:19:41,191 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-10-31 05:19:41,198 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-10-31 05:19:41,199 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-10-31 05:19:41,201 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-10-31 05:19:41,204 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-10-31 05:19:41,205 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-10-31 05:19:41,205 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-10-31 05:19:41,212 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-10-31 05:19:41,268 autosynth [ERROR] > Synthesis failed
2020-10-31 05:19:41,269 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-10-31 05:19:41,289 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-31 05:19:41,303 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-11-01 05:19:14,916 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-01 05:19:14,917 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-01 05:19:14,918 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-01 05:19:14,919 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-01 05:19:14,920 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-01 05:19:14,920 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-01 05:19:14,940 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-11-01 05:19:14,947 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-01 05:19:14,948 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-01 05:19:14,949 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-01 05:19:14,950 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-01 05:19:14,951 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-01 05:19:14,952 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-01 05:19:14,953 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-01 05:19:14,954 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-01 05:19:14,954 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-01 05:19:14,956 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-01 05:19:14,957 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-01 05:19:14,957 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-01 05:19:14,958 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-01 05:19:14,959 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-01 05:19:14,960 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-01 05:19:14,961 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-01 05:19:14,962 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-01 05:19:14,962 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-01 05:19:14,964 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-01 05:19:14,964 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-01 05:19:14,965 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-01 05:19:14,986 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-01 05:19:15,004 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-11-01 05:19:15,007 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-11-01 05:19:15,009 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-01 05:19:15,010 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-01 05:19:15,010 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-01 05:19:15,011 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-01 05:19:15,013 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-11-01 05:19:15,014 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-11-01 05:19:15,022 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-01 05:19:15,024 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-01 05:19:15,026 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-01 05:19:15,029 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-01 05:19:15,030 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-01 05:19:15,030 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-01 05:19:15,038 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-11-01 05:19:15,092 autosynth [ERROR] > Synthesis failed
2020-11-01 05:19:15,092 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-01 05:19:15,116 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-01 05:19:15,130 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-11-02 05:20:13,989 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-02 05:20:13,989 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-02 05:20:13,990 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-02 05:20:13,991 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-02 05:20:13,991 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-02 05:20:13,992 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-02 05:20:14,012 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-11-02 05:20:14,019 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-02 05:20:14,020 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-02 05:20:14,021 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-02 05:20:14,022 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-02 05:20:14,023 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-02 05:20:14,023 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-02 05:20:14,025 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-02 05:20:14,026 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-02 05:20:14,026 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-02 05:20:14,028 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-02 05:20:14,028 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-02 05:20:14,029 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-02 05:20:14,030 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-02 05:20:14,031 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-02 05:20:14,031 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-02 05:20:14,033 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-02 05:20:14,033 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-02 05:20:14,034 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-02 05:20:14,035 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-02 05:20:14,036 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-02 05:20:14,037 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-02 05:20:14,057 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-02 05:20:14,074 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-11-02 05:20:14,077 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-11-02 05:20:14,078 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-02 05:20:14,080 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-02 05:20:14,080 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-02 05:20:14,081 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-02 05:20:14,082 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-11-02 05:20:14,083 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-11-02 05:20:14,090 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-02 05:20:14,092 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-02 05:20:14,094 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-02 05:20:14,097 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-02 05:20:14,097 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-02 05:20:14,098 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-02 05:20:14,105 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-11-02 05:20:14,146 autosynth [ERROR] > Synthesis failed
2020-11-02 05:20:14,147 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-02 05:20:14,170 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-02 05:20:14,184 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-11-03 05:22:07,254 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-03 05:22:07,255 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-03 05:22:07,256 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-03 05:22:07,259 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-03 05:22:07,260 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-03 05:22:07,261 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-03 05:22:07,284 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-11-03 05:22:07,292 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-03 05:22:07,294 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-03 05:22:07,296 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-03 05:22:07,297 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-03 05:22:07,299 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-03 05:22:07,300 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-03 05:22:07,301 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-03 05:22:07,303 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-03 05:22:07,304 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-03 05:22:07,305 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-03 05:22:07,307 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-03 05:22:07,308 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-03 05:22:07,310 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-03 05:22:07,311 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-03 05:22:07,312 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-03 05:22:07,314 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-03 05:22:07,316 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-03 05:22:07,318 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-03 05:22:07,320 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-03 05:22:07,322 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-03 05:22:07,324 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-03 05:22:07,350 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-03 05:22:07,371 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-11-03 05:22:07,375 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-11-03 05:22:07,377 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-03 05:22:07,378 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-03 05:22:07,380 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-03 05:22:07,381 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-03 05:22:07,384 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-11-03 05:22:07,385 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-11-03 05:22:07,392 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-03 05:22:07,394 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-03 05:22:07,396 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-03 05:22:07,400 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-03 05:22:07,401 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-03 05:22:07,401 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-03 05:22:07,409 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-11-03 05:22:07,498 autosynth [ERROR] > Synthesis failed
2020-11-03 05:22:07,498 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-03 05:22:07,525 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-03 05:22:07,543 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-11-04 05:21:20,526 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-04 05:21:20,527 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-04 05:21:20,528 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-04 05:21:20,529 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-04 05:21:20,529 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-04 05:21:20,530 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-04 05:21:20,555 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-11-04 05:21:20,563 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-04 05:21:20,565 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-04 05:21:20,565 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-04 05:21:20,567 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-04 05:21:20,568 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-04 05:21:20,569 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-04 05:21:20,570 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-04 05:21:20,571 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-04 05:21:20,572 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-04 05:21:20,573 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-04 05:21:20,573 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-04 05:21:20,574 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-04 05:21:20,575 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-04 05:21:20,577 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-04 05:21:20,577 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-04 05:21:20,579 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-04 05:21:20,580 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-04 05:21:20,581 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-04 05:21:20,582 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-04 05:21:20,583 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-04 05:21:20,583 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-04 05:21:20,609 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-04 05:21:20,631 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-11-04 05:21:20,635 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-11-04 05:21:20,636 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-04 05:21:20,637 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-04 05:21:20,638 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-04 05:21:20,639 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-04 05:21:20,640 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-11-04 05:21:20,641 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-11-04 05:21:20,648 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-04 05:21:20,650 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-04 05:21:20,652 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-04 05:21:20,655 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-04 05:21:20,655 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-04 05:21:20,656 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-04 05:21:20,663 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-11-04 05:21:20,718 autosynth [ERROR] > Synthesis failed
2020-11-04 05:21:20,719 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-04 05:21:20,741 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-04 05:21:20,755 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-11-05 05:19:58,304 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-05 05:19:58,304 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-05 05:19:58,305 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-05 05:19:58,306 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-05 05:19:58,307 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-05 05:19:58,307 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-05 05:19:58,327 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-11-05 05:19:58,334 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-05 05:19:58,335 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-05 05:19:58,336 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-05 05:19:58,337 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-05 05:19:58,338 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-05 05:19:58,338 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-05 05:19:58,339 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-05 05:19:58,340 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-05 05:19:58,341 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-05 05:19:58,342 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-05 05:19:58,343 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-05 05:19:58,344 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-05 05:19:58,345 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-05 05:19:58,345 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-05 05:19:58,346 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-05 05:19:58,347 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-05 05:19:58,348 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-05 05:19:58,349 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-05 05:19:58,350 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-05 05:19:58,351 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-05 05:19:58,351 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-05 05:19:58,371 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-05 05:19:58,388 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-11-05 05:19:58,391 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-11-05 05:19:58,392 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-05 05:19:58,393 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-05 05:19:58,394 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-05 05:19:58,395 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-05 05:19:58,396 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-11-05 05:19:58,397 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-11-05 05:19:58,404 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-05 05:19:58,405 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-05 05:19:58,407 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-05 05:19:58,410 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-05 05:19:58,411 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-05 05:19:58,411 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-05 05:19:58,418 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-11-05 05:19:58,480 autosynth [ERROR] > Synthesis failed
2020-11-05 05:19:58,480 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-05 05:19:58,502 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-05 05:19:58,516 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.

yoshi-automation commented 3 years ago

Autosynth is still having trouble generating dialogflow-python-client-v2. :sob:

Here's the output from running synth.py:

aced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/base.py.
2020-11-06 05:20:02,882 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-06 05:20:02,882 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-06 05:20:02,883 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-06 05:20:02,884 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-06 05:20:02,885 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-06 05:20:02,885 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-06 05:20:02,905 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern from google.cloud import, maybe replacement is no longer needed?
2020-11-06 05:20:02,912 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-06 05:20:02,912 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-06 05:20:02,913 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-06 05:20:02,914 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-06 05:20:02,915 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-06 05:20:02,916 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-06 05:20:02,917 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-06 05:20:02,918 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-06 05:20:02,918 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-06 05:20:02,919 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-06 05:20:02,920 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-06 05:20:02,921 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-06 05:20:02,921 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-06 05:20:02,922 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-06 05:20:02,923 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-06 05:20:02,924 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-06 05:20:02,925 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-06 05:20:02,925 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-06 05:20:02,926 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-06 05:20:02,927 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-06 05:20:02,928 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-06 05:20:02,948 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-06 05:20:02,964 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern (Returns:
\s+)([a-zA-Z]+Client:), maybe replacement is no longer needed?
2020-11-06 05:20:02,968 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern (\s+).. raw:: html\s+<pre>curl, maybe replacement is no longer needed?
2020-11-06 05:20:02,969 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-06 05:20:02,970 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-06 05:20:02,970 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-06 05:20:02,972 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-06 05:20:02,973 synthtool [WARNING] > No replacements made in ['dialogflow_v2beta1/gapic/intents_client.py', 'dialogflow_v2beta1/gapic/sessions_client.py', 'dialogflow_v2/gapic/intents_client.py'] for pattern # Copyright 2018 Google LLC, maybe replacement is no longer needed?
2020-11-06 05:20:02,974 synthtool [WARNING] > No replacements made in dialogflow_v2/gapic/agents_client.py for pattern }\\\" [\\]\n(\s+retry \(Optional), maybe replacement is no longer needed?
2020-11-06 05:20:02,981 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-06 05:20:02,982 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-06 05:20:02,984 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-06 05:20:02,987 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-06 05:20:02,988 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-06 05:20:02,988 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-06 05:20:02,995 synthtool [WARNING] > No replacements made in dialogflow_*/**/agents_client.py for pattern (\s+)def export_agent\(
(\s+)self,
\s+parent,
\s+agent_uri,, maybe replacement is no longer needed?
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/dialogflow-python-client-v2/synth.py", line 140, in <module>
    raise Exception("Required replacement not made.")
Exception: Required replacement not made.
2020-11-06 05:20:03,051 autosynth [ERROR] > Synthesis failed
2020-11-06 05:20:03,052 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-06 05:20:03,074 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-06 05:20:03,088 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing docs/dialogflow_v2/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
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.