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 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-07 05:19:50,222 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-07 05:19:50,222 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-07 05:19:50,223 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-07 05:19:50,224 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-07 05:19:50,225 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-07 05:19:50,226 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-07 05:19:50,248 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-07 05:19:50,255 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-07 05:19:50,257 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-07 05:19:50,257 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-07 05:19:50,259 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-07 05:19:50,260 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-07 05:19:50,260 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-07 05:19:50,261 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-07 05:19:50,262 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-07 05:19:50,263 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-07 05:19:50,264 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-07 05:19:50,265 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-07 05:19:50,265 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-07 05:19:50,266 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-07 05:19:50,267 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-07 05:19:50,268 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-07 05:19:50,269 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-07 05:19:50,270 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-07 05:19:50,271 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-07 05:19:50,272 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-07 05:19:50,272 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-07 05:19:50,273 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-07 05:19:50,295 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-07 05:19:50,314 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-07 05:19:50,318 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-07 05:19:50,319 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-07 05:19:50,320 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-07 05:19:50,321 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-07 05:19:50,322 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-07 05:19:50,323 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-07 05:19:50,324 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-07 05:19:50,331 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-07 05:19:50,332 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-07 05:19:50,335 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-07 05:19:50,337 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-07 05:19:50,338 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-07 05:19:50,338 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-07 05:19:50,346 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-07 05:19:50,406 autosynth [ERROR] > Synthesis failed
2020-11-07 05:19:50,406 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-07 05:19:50,429 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-07 05:19:50,443 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-08 05:19:47,958 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-08 05:19:47,958 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-08 05:19:47,959 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-08 05:19:47,960 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-08 05:19:47,961 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-08 05:19:47,962 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-08 05:19:47,982 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-08 05:19:47,989 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-08 05:19:47,990 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-08 05:19:47,991 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-08 05:19:47,992 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-08 05:19:47,993 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-08 05:19:47,993 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-08 05:19:47,994 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-08 05:19:47,995 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-08 05:19:47,996 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-08 05:19:47,997 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-08 05:19:47,998 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-08 05:19:47,998 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-08 05:19:48,000 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-08 05:19:48,001 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-08 05:19:48,001 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-08 05:19:48,002 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-08 05:19:48,003 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-08 05:19:48,004 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-08 05:19:48,005 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-08 05:19:48,006 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-08 05:19:48,007 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-08 05:19:48,028 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-08 05:19:48,045 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-08 05:19:48,049 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-08 05:19:48,050 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-08 05:19:48,051 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-08 05:19:48,051 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-08 05:19:48,052 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-08 05:19:48,053 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-08 05:19:48,054 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-08 05:19:48,061 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-08 05:19:48,063 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-08 05:19:48,065 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-08 05:19:48,068 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-08 05:19:48,068 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-08 05:19:48,069 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-08 05:19:48,076 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-08 05:19:48,128 autosynth [ERROR] > Synthesis failed
2020-11-08 05:19:48,128 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-08 05:19:48,155 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-08 05:19:48,169 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-09 05:20:03,245 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-09 05:20:03,246 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-09 05:20:03,246 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-09 05:20:03,248 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-09 05:20:03,248 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-09 05:20:03,249 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-09 05:20:03,269 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-09 05:20:03,276 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-09 05:20:03,277 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-09 05:20:03,278 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-09 05:20:03,279 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-09 05:20:03,280 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-09 05:20:03,281 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-09 05:20:03,283 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-09 05:20:03,284 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-09 05:20:03,284 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-09 05:20:03,285 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-09 05:20:03,286 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-09 05:20:03,287 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-09 05:20:03,288 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-09 05:20:03,289 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-09 05:20:03,290 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-09 05:20:03,291 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-09 05:20:03,292 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-09 05:20:03,292 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-09 05:20:03,294 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-09 05:20:03,295 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-09 05:20:03,295 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-09 05:20:03,315 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-09 05:20:03,331 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-09 05:20:03,335 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-09 05:20:03,336 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-09 05:20:03,337 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-09 05:20:03,338 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-09 05:20:03,340 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-09 05:20:03,342 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-09 05:20:03,342 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-09 05:20:03,349 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-09 05:20:03,351 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-09 05:20:03,353 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-09 05:20:03,356 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-09 05:20:03,356 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-09 05:20:03,357 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-09 05:20:03,364 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-09 05:20:03,422 autosynth [ERROR] > Synthesis failed
2020-11-09 05:20:03,423 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-09 05:20:03,443 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-09 05:20:03,457 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-10 05:19:43,855 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-10 05:19:43,855 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-10 05:19:43,856 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-10 05:19:43,857 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-10 05:19:43,858 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-10 05:19:43,858 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-10 05:19:43,878 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-10 05:19:43,885 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-10 05:19:43,886 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-10 05:19:43,887 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-10 05:19:43,888 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-10 05:19:43,889 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-10 05:19:43,890 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-10 05:19:43,891 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-10 05:19:43,892 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-10 05:19:43,892 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-10 05:19:43,894 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-10 05:19:43,894 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-10 05:19:43,895 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-10 05:19:43,896 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-10 05:19:43,897 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-10 05:19:43,897 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-10 05:19:43,899 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-10 05:19:43,899 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-10 05:19:43,900 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-10 05:19:43,901 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-10 05:19:43,902 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-10 05:19:43,902 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-10 05:19:43,923 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-10 05:19:43,940 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-10 05:19:43,943 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-10 05:19:43,944 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-10 05:19:43,945 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-10 05:19:43,946 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-10 05:19:43,947 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-10 05:19:43,948 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-10 05:19:43,949 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-10 05:19:43,956 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-10 05:19:43,957 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-10 05:19:43,960 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-10 05:19:43,962 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-10 05:19:43,963 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-10 05:19:43,963 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-10 05:19:43,970 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-10 05:19:44,030 autosynth [ERROR] > Synthesis failed
2020-11-10 05:19:44,030 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-10 05:19:44,055 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-10 05:19:44,069 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-11 05:20:11,653 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-11 05:20:11,654 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-11 05:20:11,655 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-11 05:20:11,655 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-11 05:20:11,656 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-11 05:20:11,657 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-11 05:20:11,677 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-11 05:20:11,684 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-11 05:20:11,685 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-11 05:20:11,686 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-11 05:20:11,687 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-11 05:20:11,688 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-11 05:20:11,688 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-11 05:20:11,690 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-11 05:20:11,690 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-11 05:20:11,691 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-11 05:20:11,692 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-11 05:20:11,693 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-11 05:20:11,693 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-11 05:20:11,695 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-11 05:20:11,695 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-11 05:20:11,696 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-11 05:20:11,697 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-11 05:20:11,697 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-11 05:20:11,698 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-11 05:20:11,699 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-11 05:20:11,700 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-11 05:20:11,701 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-11 05:20:11,720 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-11 05:20:11,738 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-11 05:20:11,741 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-11 05:20:11,742 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-11 05:20:11,743 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-11 05:20:11,744 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-11 05:20:11,745 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-11 05:20:11,746 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-11 05:20:11,747 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-11 05:20:11,754 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-11 05:20:11,755 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-11 05:20:11,758 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-11 05:20:11,761 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-11 05:20:11,761 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-11 05:20:11,762 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-11 05:20:11,769 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-11 05:20:11,833 autosynth [ERROR] > Synthesis failed
2020-11-11 05:20:11,833 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-11 05:20:11,855 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-11 05:20:11,870 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-12 05:21:14,326 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-12 05:21:14,327 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-12 05:21:14,328 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-12 05:21:14,329 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-12 05:21:14,330 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-12 05:21:14,331 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-12 05:21:14,351 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-12 05:21:14,358 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-12 05:21:14,359 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-12 05:21:14,359 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-12 05:21:14,361 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-12 05:21:14,362 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-12 05:21:14,362 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-12 05:21:14,364 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-12 05:21:14,366 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-12 05:21:14,367 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-12 05:21:14,368 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-12 05:21:14,369 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-12 05:21:14,370 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-12 05:21:14,371 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-12 05:21:14,372 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-12 05:21:14,373 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-12 05:21:14,375 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-12 05:21:14,376 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-12 05:21:14,377 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-12 05:21:14,379 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-12 05:21:14,380 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-12 05:21:14,380 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-12 05:21:14,401 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-12 05:21:14,418 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-12 05:21:14,422 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-12 05:21:14,423 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-12 05:21:14,424 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-12 05:21:14,425 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-12 05:21:14,427 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-12 05:21:14,428 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-12 05:21:14,429 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-12 05:21:14,436 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-12 05:21:14,437 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-12 05:21:14,439 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-12 05:21:14,443 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-12 05:21:14,444 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-12 05:21:14,444 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-12 05:21:14,451 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-12 05:21:14,518 autosynth [ERROR] > Synthesis failed
2020-11-12 05:21:14,518 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-12 05:21:14,540 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-12 05:21:14,554 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-13 05:19:06,181 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-13 05:19:06,182 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-13 05:19:06,182 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-13 05:19:06,183 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-13 05:19:06,183 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-13 05:19:06,184 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-13 05:19:06,203 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-13 05:19:06,210 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-13 05:19:06,211 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-13 05:19:06,212 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-13 05:19:06,213 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-13 05:19:06,213 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-13 05:19:06,214 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-13 05:19:06,215 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-13 05:19:06,216 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-13 05:19:06,217 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-13 05:19:06,218 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-13 05:19:06,218 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-13 05:19:06,219 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-13 05:19:06,220 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-13 05:19:06,221 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-13 05:19:06,221 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-13 05:19:06,222 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-13 05:19:06,223 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-13 05:19:06,223 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-13 05:19:06,225 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-13 05:19:06,225 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-13 05:19:06,226 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-13 05:19:06,245 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-13 05:19:06,261 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-13 05:19:06,264 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-13 05:19:06,266 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-13 05:19:06,266 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-13 05:19:06,267 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-13 05:19:06,268 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-13 05:19:06,269 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-13 05:19:06,270 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-13 05:19:06,276 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-13 05:19:06,278 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-13 05:19:06,280 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-13 05:19:06,282 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-13 05:19:06,283 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-13 05:19:06,283 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-13 05:19:06,290 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-13 05:19:06,330 autosynth [ERROR] > Synthesis failed
2020-11-13 05:19:06,330 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-13 05:19:06,361 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-13 05:19:06,375 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-14 05:20:41,987 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-14 05:20:41,987 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-14 05:20:41,989 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-14 05:20:41,990 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-14 05:20:41,990 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-14 05:20:41,991 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-14 05:20:42,013 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-14 05:20:42,021 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-14 05:20:42,022 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-14 05:20:42,023 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-14 05:20:42,024 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-14 05:20:42,025 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-14 05:20:42,026 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-14 05:20:42,027 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-14 05:20:42,028 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-14 05:20:42,029 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-14 05:20:42,030 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-14 05:20:42,031 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-14 05:20:42,032 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-14 05:20:42,033 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-14 05:20:42,034 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-14 05:20:42,034 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-14 05:20:42,036 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-14 05:20:42,036 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-14 05:20:42,037 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-14 05:20:42,039 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-14 05:20:42,040 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-14 05:20:42,041 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-14 05:20:42,063 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-14 05:20:42,083 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-14 05:20:42,087 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-14 05:20:42,088 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-14 05:20:42,089 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-14 05:20:42,090 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-14 05:20:42,091 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-14 05:20:42,092 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-14 05:20:42,093 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-14 05:20:42,100 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-14 05:20:42,101 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-14 05:20:42,103 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-14 05:20:42,106 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-14 05:20:42,106 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-14 05:20:42,107 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-14 05:20:42,114 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-14 05:20:42,150 autosynth [ERROR] > Synthesis failed
2020-11-14 05:20:42,151 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-14 05:20:42,173 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-14 05:20:42,186 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:

alogflow_v2/services/agents/transports/base.py.
2020-11-15 05:20:10,032 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-15 05:20:10,033 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-15 05:20:10,034 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-15 05:20:10,035 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-15 05:20:10,036 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-15 05:20:10,036 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-15 05:20:10,060 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-15 05:20:10,068 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-15 05:20:10,069 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-15 05:20:10,070 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-15 05:20:10,071 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-15 05:20:10,072 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-15 05:20:10,073 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-15 05:20:10,074 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-15 05:20:10,075 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-15 05:20:10,076 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-15 05:20:10,077 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-15 05:20:10,078 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-15 05:20:10,079 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-15 05:20:10,080 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-15 05:20:10,081 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-15 05:20:10,082 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-15 05:20:10,083 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-15 05:20:10,084 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-15 05:20:10,085 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-15 05:20:10,086 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-15 05:20:10,087 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-15 05:20:10,087 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-15 05:20:10,112 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-15 05:20:10,132 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-15 05:20:10,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-11-15 05:20:10,137 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-15 05:20:10,138 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-15 05:20:10,139 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-15 05:20:10,140 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-15 05:20:10,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-11-15 05:20:10,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-11-15 05:20:10,149 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-15 05:20:10,151 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-15 05:20:10,153 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-15 05:20:10,156 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-15 05:20:10,156 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-15 05:20:10,157 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-15 05:20:10,164 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-15 05:20:10,202 autosynth [ERROR] > Synthesis failed
2020-11-15 05:20:10,203 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-15 05:20:10,225 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-15 05:20:10,239 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 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-16 05:21:04,473 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-16 05:21:04,473 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-16 05:21:04,475 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-16 05:21:04,475 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-16 05:21:04,476 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-16 05:21:04,477 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-16 05:21:04,498 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-16 05:21:04,505 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-16 05:21:04,506 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-16 05:21:04,507 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-16 05:21:04,508 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-16 05:21:04,509 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-16 05:21:04,510 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-16 05:21:04,511 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-16 05:21:04,512 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-16 05:21:04,512 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-16 05:21:04,514 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-16 05:21:04,514 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-16 05:21:04,515 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-16 05:21:04,516 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-16 05:21:04,516 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-16 05:21:04,517 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-16 05:21:04,518 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-16 05:21:04,519 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-16 05:21:04,520 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-16 05:21:04,521 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-16 05:21:04,522 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-16 05:21:04,523 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-16 05:21:04,544 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-16 05:21:04,561 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-16 05:21:04,565 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-16 05:21:04,566 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-16 05:21:04,567 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-16 05:21:04,568 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-16 05:21:04,569 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-16 05:21:04,570 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-16 05:21:04,571 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-16 05:21:04,579 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-16 05:21:04,580 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-16 05:21:04,583 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-16 05:21:04,586 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-16 05:21:04,586 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-16 05:21:04,587 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-16 05:21:04,594 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-16 05:21:04,654 autosynth [ERROR] > Synthesis failed
2020-11-16 05:21:04,655 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-16 05:21:04,678 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-16 05:21:04,693 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-17 05:19:34,337 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-17 05:19:34,338 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-17 05:19:34,338 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-17 05:19:34,339 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-17 05:19:34,340 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-17 05:19:34,340 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-17 05:19:34,359 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-17 05:19:34,366 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-17 05:19:34,367 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-17 05:19:34,368 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-17 05:19:34,369 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-17 05:19:34,370 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-17 05:19:34,370 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-17 05:19:34,371 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-17 05:19:34,372 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-17 05:19:34,373 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-17 05:19:34,374 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-17 05:19:34,374 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-17 05:19:34,375 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-17 05:19:34,376 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-17 05:19:34,377 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-17 05:19:34,377 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-17 05:19:34,378 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-17 05:19:34,379 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-17 05:19:34,380 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-17 05:19:34,381 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-17 05:19:34,382 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-17 05:19:34,382 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-17 05:19:34,402 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-17 05:19:34,418 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-17 05:19:34,421 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-17 05:19:34,423 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-17 05:19:34,424 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-17 05:19:34,425 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-17 05:19:34,425 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-17 05:19:34,426 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-17 05:19:34,427 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-17 05:19:34,434 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-17 05:19:34,435 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-17 05:19:34,437 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-17 05:19:34,440 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-17 05:19:34,440 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-17 05:19:34,441 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-17 05:19:34,447 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-17 05:19:34,507 autosynth [ERROR] > Synthesis failed
2020-11-17 05:19:34,507 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-17 05:19:34,528 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-17 05:19:34,541 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-18 05:19:39,765 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-18 05:19:39,765 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-18 05:19:39,766 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-18 05:19:39,767 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-18 05:19:39,767 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-18 05:19:39,768 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-18 05:19:39,787 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-18 05:19:39,794 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-18 05:19:39,795 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-18 05:19:39,796 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-18 05:19:39,797 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-18 05:19:39,798 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-18 05:19:39,798 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-18 05:19:39,800 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-18 05:19:39,800 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-18 05:19:39,801 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-18 05:19:39,802 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-18 05:19:39,803 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-18 05:19:39,803 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-18 05:19:39,805 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-18 05:19:39,805 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-18 05:19:39,806 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-18 05:19:39,807 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-18 05:19:39,808 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-18 05:19:39,809 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-18 05:19:39,810 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-18 05:19:39,810 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-18 05:19:39,811 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-18 05:19:39,831 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-18 05:19:39,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-11-18 05:19:39,851 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-18 05:19:39,852 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-18 05:19:39,853 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-18 05:19:39,854 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-18 05:19:39,855 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-18 05:19:39,856 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-18 05:19:39,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-11-18 05:19:39,863 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-18 05:19:39,865 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-18 05:19:39,867 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-18 05:19:39,869 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-18 05:19:39,870 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-18 05:19:39,870 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-18 05:19:39,877 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-18 05:19:39,930 autosynth [ERROR] > Synthesis failed
2020-11-18 05:19:39,930 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-18 05:19:39,950 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-18 05:19:39,965 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-19 05:19:11,154 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-19 05:19:11,155 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-19 05:19:11,155 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-19 05:19:11,156 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-19 05:19:11,157 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-19 05:19:11,157 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-19 05:19:11,175 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-19 05:19:11,181 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-19 05:19:11,182 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-19 05:19:11,182 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-19 05:19:11,183 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-19 05:19:11,184 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-19 05:19:11,185 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-19 05:19:11,189 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-19 05:19:11,189 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-19 05:19:11,193 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-19 05:19:11,194 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-19 05:19:11,195 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-19 05:19:11,195 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-19 05:19:11,196 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-19 05:19:11,197 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-19 05:19:11,198 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-19 05:19:11,199 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-19 05:19:11,200 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-19 05:19:11,200 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-19 05:19:11,201 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-19 05:19:11,202 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-19 05:19:11,203 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-19 05:19:11,222 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-19 05:19:11,238 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-19 05:19:11,242 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-19 05:19:11,243 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-19 05:19:11,243 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-19 05:19:11,244 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-19 05:19:11,245 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-19 05:19:11,246 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-19 05:19:11,247 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-19 05:19:11,253 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-19 05:19:11,254 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-19 05:19:11,256 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-19 05:19:11,258 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-19 05:19:11,259 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-19 05:19:11,259 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-19 05:19:11,266 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-19 05:19:11,317 autosynth [ERROR] > Synthesis failed
2020-11-19 05:19:11,318 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-19 05:19:11,339 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-19 05:19:11,352 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-20 05:19:53,888 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-20 05:19:53,888 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-20 05:19:53,889 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-20 05:19:53,890 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-20 05:19:53,891 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-20 05:19:53,891 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-20 05:19:53,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-11-20 05:19:53,917 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-20 05:19:53,918 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-20 05:19:53,919 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-20 05:19:53,920 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-20 05:19:53,921 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-20 05:19:53,922 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-20 05:19:53,922 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-20 05:19:53,923 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-20 05:19:53,924 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-20 05:19:53,925 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-20 05:19:53,926 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-20 05:19:53,926 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-20 05:19:53,927 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-20 05:19:53,928 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-20 05:19:53,929 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-20 05:19:53,930 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-20 05:19:53,931 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-20 05:19:53,931 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-20 05:19:53,932 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-20 05:19:53,933 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-20 05:19:53,934 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-20 05:19:53,953 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-20 05:19:53,970 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-20 05:19:53,973 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-20 05:19:53,974 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-20 05:19:53,975 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-20 05:19:53,976 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-20 05:19:53,977 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-20 05:19:53,978 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-20 05:19:53,978 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-20 05:19:53,986 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-20 05:19:53,987 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-20 05:19:53,989 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-20 05:19:53,992 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-20 05:19:53,992 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-20 05:19:53,993 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-20 05:19:54,000 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-20 05:19:54,044 autosynth [ERROR] > Synthesis failed
2020-11-20 05:19:54,045 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-20 05:19:54,066 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-20 05:19:54,079 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-21 05:19:22,181 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-21 05:19:22,181 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-21 05:19:22,182 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-21 05:19:22,183 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-21 05:19:22,184 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-21 05:19:22,184 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-21 05:19:22,203 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-21 05:19:22,209 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-21 05:19:22,210 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-21 05:19:22,211 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-21 05:19:22,212 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-21 05:19:22,213 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-21 05:19:22,213 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-21 05:19:22,214 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-21 05:19:22,215 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-21 05:19:22,216 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-21 05:19:22,217 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-21 05:19:22,217 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-21 05:19:22,218 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-21 05:19:22,219 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-21 05:19:22,220 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-21 05:19:22,220 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-21 05:19:22,221 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-21 05:19:22,222 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-21 05:19:22,222 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-21 05:19:22,223 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-21 05:19:22,224 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-21 05:19:22,225 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-21 05:19:22,244 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-21 05:19:22,260 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-21 05:19:22,263 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-21 05:19:22,264 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-21 05:19:22,265 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-21 05:19:22,266 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-21 05:19:22,267 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-21 05:19:22,268 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-21 05:19:22,269 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-21 05:19:22,275 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-21 05:19:22,277 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-21 05:19:22,279 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-21 05:19:22,281 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-21 05:19:22,282 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-21 05:19:22,282 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-21 05:19:22,289 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-21 05:19:22,342 autosynth [ERROR] > Synthesis failed
2020-11-21 05:19:22,342 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-21 05:19:22,363 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-21 05:19:22,376 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-22 05:19:21,338 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-22 05:19:21,339 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-22 05:19:21,340 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-22 05:19:21,340 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-22 05:19:21,341 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-22 05:19:21,342 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-22 05:19:21,361 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-22 05:19:21,367 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-22 05:19:21,368 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-22 05:19:21,369 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-22 05:19:21,370 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-22 05:19:21,371 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-22 05:19:21,372 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-22 05:19:21,373 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-22 05:19:21,373 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-22 05:19:21,374 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-22 05:19:21,375 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-22 05:19:21,376 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-22 05:19:21,376 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-22 05:19:21,377 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-22 05:19:21,378 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-22 05:19:21,379 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-22 05:19:21,380 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-22 05:19:21,381 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-22 05:19:21,381 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-22 05:19:21,382 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-22 05:19:21,383 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-22 05:19:21,384 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-22 05:19:21,404 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-22 05:19:21,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-11-22 05:19:21,424 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-22 05:19:21,426 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-22 05:19:21,426 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-22 05:19:21,427 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-22 05:19:21,428 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-22 05:19:21,429 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-22 05:19:21,429 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-22 05:19:21,437 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-22 05:19:21,438 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-22 05:19:21,440 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-22 05:19:21,443 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-22 05:19:21,443 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-22 05:19:21,444 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-22 05:19:21,450 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-22 05:19:21,500 autosynth [ERROR] > Synthesis failed
2020-11-22 05:19:21,500 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-22 05:19:21,522 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-22 05:19:21,537 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-23 05:19:41,356 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-23 05:19:41,357 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-23 05:19:41,358 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-23 05:19:41,359 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-23 05:19:41,359 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-23 05:19:41,360 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-23 05:19:41,380 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-23 05:19:41,388 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-23 05:19:41,389 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-23 05:19:41,390 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-23 05:19:41,391 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-23 05:19:41,392 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-23 05:19:41,392 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-23 05:19:41,393 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-23 05:19:41,395 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-23 05:19:41,396 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-23 05:19:41,397 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-23 05:19:41,398 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-23 05:19:41,399 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-23 05:19:41,400 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-23 05:19:41,401 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-23 05:19:41,402 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-23 05:19:41,402 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-23 05:19:41,404 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-23 05:19:41,405 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-23 05:19:41,407 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-23 05:19:41,408 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-23 05:19:41,409 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-23 05:19:41,443 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-23 05:19:41,470 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-23 05:19:41,473 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-23 05:19:41,475 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-23 05:19:41,475 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-23 05:19:41,476 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-23 05:19:41,478 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-23 05:19:41,479 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-23 05:19:41,479 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-23 05:19:41,487 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-23 05:19:41,488 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-23 05:19:41,490 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-23 05:19:41,493 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-23 05:19:41,494 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-23 05:19:41,494 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-23 05:19:41,502 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-23 05:19:41,564 autosynth [ERROR] > Synthesis failed
2020-11-23 05:19:41,565 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-23 05:19:41,592 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-23 05:19:41,607 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-24 05:20:14,413 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-24 05:20:14,413 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-24 05:20:14,414 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-24 05:20:14,415 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-24 05:20:14,416 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-24 05:20:14,416 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-24 05:20:14,435 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-24 05:20:14,441 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-24 05:20:14,442 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-24 05:20:14,443 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-24 05:20:14,444 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-24 05:20:14,445 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-24 05:20:14,445 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-24 05:20:14,446 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-24 05:20:14,447 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-24 05:20:14,447 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-24 05:20:14,448 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-24 05:20:14,449 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-24 05:20:14,450 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-24 05:20:14,450 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-24 05:20:14,451 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-24 05:20:14,451 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-24 05:20:14,453 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-24 05:20:14,453 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-24 05:20:14,454 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-24 05:20:14,455 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-24 05:20:14,456 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-24 05:20:14,456 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-24 05:20:14,475 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-24 05:20:14,491 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-24 05:20:14,494 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-24 05:20:14,495 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-24 05:20:14,496 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-24 05:20:14,497 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-24 05:20:14,498 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-24 05:20:14,499 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-24 05:20:14,500 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-24 05:20:14,506 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-24 05:20:14,507 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-24 05:20:14,510 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-24 05:20:14,512 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-24 05:20:14,512 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-24 05:20:14,513 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-24 05:20:14,519 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-24 05:20:14,576 autosynth [ERROR] > Synthesis failed
2020-11-24 05:20:14,576 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-24 05:20:14,597 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-24 05:20:14,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 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-25 05:20:11,661 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-25 05:20:11,661 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-25 05:20:11,662 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-25 05:20:11,663 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-25 05:20:11,664 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-25 05:20:11,665 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-25 05:20:11,684 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-25 05:20:11,692 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-25 05:20:11,693 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-25 05:20:11,693 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-25 05:20:11,695 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-25 05:20:11,696 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-25 05:20:11,696 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-25 05:20:11,697 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-25 05:20:11,698 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-25 05:20:11,699 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-25 05:20:11,700 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-25 05:20:11,701 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-25 05:20:11,702 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-25 05:20:11,703 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-25 05:20:11,704 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-25 05:20:11,704 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-25 05:20:11,705 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-25 05:20:11,706 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-25 05:20:11,707 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-25 05:20:11,708 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-25 05:20:11,709 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-25 05:20:11,709 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-25 05:20:11,730 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-25 05:20:11,748 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-25 05:20:11,751 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-25 05:20:11,752 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-25 05:20:11,754 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-25 05:20:11,755 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-25 05:20:11,756 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-25 05:20:11,757 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-25 05:20:11,758 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-25 05:20:11,765 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-25 05:20:11,767 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-25 05:20:11,769 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-25 05:20:11,772 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-25 05:20:11,772 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-25 05:20:11,773 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-25 05:20:11,780 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-25 05:20:11,835 autosynth [ERROR] > Synthesis failed
2020-11-25 05:20:11,835 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-25 05:20:11,856 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-25 05:20:11,870 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:

alogflow_v2/services/agents/transports/base.py.
2020-11-26 05:19:56,142 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-26 05:19:56,142 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-26 05:19:56,143 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-26 05:19:56,144 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-26 05:19:56,145 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-26 05:19:56,146 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-26 05:19:56,167 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-26 05:19:56,175 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-26 05:19:56,176 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-26 05:19:56,177 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-26 05:19:56,178 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-26 05:19:56,179 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-26 05:19:56,180 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-26 05:19:56,182 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-26 05:19:56,183 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-26 05:19:56,183 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-26 05:19:56,185 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-26 05:19:56,186 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-26 05:19:56,186 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-26 05:19:56,187 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-26 05:19:56,189 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-26 05:19:56,189 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-26 05:19:56,190 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-26 05:19:56,191 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-26 05:19:56,192 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-26 05:19:56,193 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-26 05:19:56,194 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-26 05:19:56,195 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-26 05:19:56,215 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-26 05:19:56,231 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-26 05:19:56,235 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-26 05:19:56,236 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-26 05:19:56,237 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-26 05:19:56,238 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-26 05:19:56,240 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-26 05:19:56,241 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-26 05:19:56,241 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-26 05:19:56,248 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-26 05:19:56,250 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-26 05:19:56,252 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-26 05:19:56,255 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-26 05:19:56,255 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-26 05:19:56,256 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-26 05:19:56,262 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-26 05:19:56,317 autosynth [ERROR] > Synthesis failed
2020-11-26 05:19:56,317 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-26 05:19:56,341 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-26 05:19:56,355 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 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-27 05:19:05,534 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-27 05:19:05,534 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-27 05:19:05,535 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-27 05:19:05,536 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-27 05:19:05,536 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-27 05:19:05,537 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-27 05:19:05,557 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-27 05:19:05,563 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-27 05:19:05,564 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-27 05:19:05,565 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-27 05:19:05,566 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-27 05:19:05,567 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-27 05:19:05,567 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-27 05:19:05,569 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-27 05:19:05,569 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-27 05:19:05,570 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-27 05:19:05,571 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-27 05:19:05,572 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-27 05:19:05,572 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-27 05:19:05,573 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-27 05:19:05,574 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-27 05:19:05,574 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-27 05:19:05,575 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-27 05:19:05,576 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-27 05:19:05,577 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-27 05:19:05,578 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-27 05:19:05,579 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-27 05:19:05,579 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-27 05:19:05,599 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-27 05:19:05,615 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-27 05:19:05,619 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-27 05:19:05,620 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-27 05:19:05,621 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-27 05:19:05,621 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-27 05:19:05,622 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-27 05:19:05,624 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-27 05:19:05,624 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-27 05:19:05,632 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-27 05:19:05,633 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-27 05:19:05,635 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-27 05:19:05,638 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-27 05:19:05,638 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-27 05:19:05,639 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-27 05:19:05,646 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-27 05:19:05,698 autosynth [ERROR] > Synthesis failed
2020-11-27 05:19:05,698 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-27 05:19:05,722 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-27 05:19:05,735 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-28 05:19:11,185 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-28 05:19:11,185 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-28 05:19:11,186 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-28 05:19:11,187 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-28 05:19:11,187 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-28 05:19:11,188 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-28 05:19:11,208 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-28 05:19:11,215 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-28 05:19:11,216 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-28 05:19:11,216 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-28 05:19:11,217 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-28 05:19:11,218 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-28 05:19:11,219 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-28 05:19:11,220 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-28 05:19:11,221 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-28 05:19:11,221 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-28 05:19:11,222 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-28 05:19:11,223 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-28 05:19:11,224 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-28 05:19:11,225 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-28 05:19:11,226 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-28 05:19:11,226 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-28 05:19:11,227 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-28 05:19:11,228 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-28 05:19:11,229 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-28 05:19:11,229 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-28 05:19:11,231 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-28 05:19:11,231 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-28 05:19:11,251 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-28 05:19:11,268 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-28 05:19:11,272 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-28 05:19:11,273 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-28 05:19:11,274 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-28 05:19:11,275 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-28 05:19:11,276 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-28 05:19:11,276 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-28 05:19:11,277 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-28 05:19:11,284 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-28 05:19:11,286 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-28 05:19:11,288 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-28 05:19:11,291 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-28 05:19:11,291 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-28 05:19:11,291 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-28 05:19:11,299 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-28 05:19:11,346 autosynth [ERROR] > Synthesis failed
2020-11-28 05:19:11,346 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-28 05:19:11,389 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-28 05:19:11,404 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-29 05:19:24,365 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-29 05:19:24,365 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-29 05:19:24,366 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-29 05:19:24,367 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-29 05:19:24,368 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-29 05:19:24,369 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-29 05:19:24,388 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-29 05:19:24,394 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-29 05:19:24,395 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-29 05:19:24,396 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-29 05:19:24,397 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-29 05:19:24,398 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-29 05:19:24,398 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-29 05:19:24,399 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-29 05:19:24,400 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-29 05:19:24,400 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-29 05:19:24,401 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-29 05:19:24,402 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-29 05:19:24,402 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-29 05:19:24,403 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-29 05:19:24,404 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-29 05:19:24,404 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-29 05:19:24,405 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-29 05:19:24,406 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-29 05:19:24,407 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-29 05:19:24,407 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-29 05:19:24,409 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-29 05:19:24,409 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-29 05:19:24,429 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-29 05:19:24,445 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-29 05:19:24,448 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-29 05:19:24,450 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-29 05:19:24,450 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-29 05:19:24,451 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-29 05:19:24,452 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-29 05:19:24,453 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-29 05:19:24,454 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-29 05:19:24,461 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-29 05:19:24,462 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-29 05:19:24,464 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-29 05:19:24,467 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-29 05:19:24,468 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-29 05:19:24,468 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-29 05:19:24,475 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-29 05:19:24,524 autosynth [ERROR] > Synthesis failed
2020-11-29 05:19:24,525 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-29 05:19:24,550 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-29 05:19:24,563 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-30 05:19:46,453 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc_asyncio.py.
2020-11-30 05:19:46,454 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-11-30 05:19:46,454 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-11-30 05:19:46,455 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-11-30 05:19:46,456 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-11-30 05:19:46,457 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-11-30 05:19:46,476 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-30 05:19:46,483 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-11-30 05:19:46,484 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-11-30 05:19:46,485 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-11-30 05:19:46,486 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-11-30 05:19:46,486 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-11-30 05:19:46,487 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-11-30 05:19:46,488 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-11-30 05:19:46,490 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-11-30 05:19:46,490 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-11-30 05:19:46,491 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-11-30 05:19:46,492 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-11-30 05:19:46,493 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-11-30 05:19:46,494 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-11-30 05:19:46,495 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-11-30 05:19:46,495 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-11-30 05:19:46,496 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-11-30 05:19:46,497 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-11-30 05:19:46,498 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-11-30 05:19:46,499 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-11-30 05:19:46,499 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-11-30 05:19:46,500 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-11-30 05:19:46,520 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-11-30 05:19:46,536 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-30 05:19:46,539 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-30 05:19:46,540 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-11-30 05:19:46,542 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-11-30 05:19:46,542 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-11-30 05:19:46,543 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-11-30 05:19:46,544 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-30 05:19:46,545 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-30 05:19:46,551 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-11-30 05:19:46,553 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-11-30 05:19:46,555 synthtool [INFO] > Replaced '\\s*\\<\\>`__' in dialogflow_v2beta1/proto/audio_config_pb2.py.
2020-11-30 05:19:46,558 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-11-30 05:19:46,558 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-11-30 05:19:46,559 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-11-30 05:19:46,566 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-30 05:19:46,620 autosynth [ERROR] > Synthesis failed
2020-11-30 05:19:46,621 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-11-30 05:19:46,643 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-30 05:19:46,656 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:

loud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-12-01 05:18:23,821 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-12-01 05:18:23,822 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-12-01 05:18:23,823 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-12-01 05:18:23,823 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-12-01 05:18:23,845 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-12-01 05:18:23,853 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-12-01 05:18:23,855 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-12-01 05:18:23,855 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-12-01 05:18:23,856 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-12-01 05:18:23,857 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-12-01 05:18:23,858 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-12-01 05:18:23,859 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-12-01 05:18:23,860 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-12-01 05:18:23,860 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-12-01 05:18:23,861 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-12-01 05:18:23,862 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-12-01 05:18:23,863 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-12-01 05:18:23,864 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-12-01 05:18:23,865 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-12-01 05:18:23,865 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-12-01 05:18:23,866 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-12-01 05:18:23,867 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-12-01 05:18:23,868 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-12-01 05:18:23,869 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-12-01 05:18:23,870 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-12-01 05:18:23,870 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-12-01 05:18:23,895 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-12-01 05:18:23,915 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-12-01 05:18:23,918 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-12-01 05:18:23,920 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-12-01 05:18:23,921 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-12-01 05:18:23,921 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-12-01 05:18:23,923 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-12-01 05:18:23,924 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-12-01 05:18:23,925 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-12-01 05:18:23,937 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-12-01 05:18:23,939 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-12-01 05:18:23,944 synthtool [WARNING] > No replacements made in dialogflow_*/proto/audio_config_pb2.py for pattern \s*\<\>`__, maybe replacement is no longer needed?
2020-12-01 05:18:23,944 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-12-01 05:18:23,945 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-12-01 05:18:23,945 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-12-01 05:18:23,953 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-12-01 05:18:23,997 autosynth [ERROR] > Synthesis failed
2020-12-01 05:18:23,997 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-12-01 05:18:24,010 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-01 05:18:24,018 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow-v2beta1-py.tar.gz
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing dialogflow_v2beta1/py.typed
Removing dialogflow_v2beta1/services/
Removing dialogflow_v2beta1/types/
Removing docs/dialogflow_v2/
Removing docs/dialogflow_v2beta1/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
Removing tests/unit/gapic/dialogflow_v2beta1/
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:

htool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-12-02 05:18:51,100 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-12-02 05:18:51,101 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-12-02 05:18:51,101 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-12-02 05:18:51,102 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-12-02 05:18:51,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-12-02 05:18:51,131 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-12-02 05:18:51,132 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-12-02 05:18:51,133 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-12-02 05:18:51,134 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-12-02 05:18:51,135 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-12-02 05:18:51,136 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-12-02 05:18:51,138 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-12-02 05:18:51,139 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-12-02 05:18:51,139 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-12-02 05:18:51,141 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-12-02 05:18:51,141 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-12-02 05:18:51,142 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-12-02 05:18:51,143 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-12-02 05:18:51,144 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-12-02 05:18:51,145 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-12-02 05:18:51,146 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-12-02 05:18:51,147 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-12-02 05:18:51,148 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-12-02 05:18:51,149 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-12-02 05:18:51,150 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-12-02 05:18:51,151 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-12-02 05:18:51,175 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-12-02 05:18:51,195 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-12-02 05:18:51,198 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-12-02 05:18:51,199 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-12-02 05:18:51,201 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-12-02 05:18:51,202 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-12-02 05:18:51,203 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-12-02 05:18:51,205 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-12-02 05:18:51,205 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-12-02 05:18:51,217 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-12-02 05:18:51,219 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-12-02 05:18:51,223 synthtool [WARNING] > No replacements made in dialogflow_*/proto/audio_config_pb2.py for pattern \s*\<\>`__, maybe replacement is no longer needed?
2020-12-02 05:18:51,224 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-12-02 05:18:51,224 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-12-02 05:18:51,225 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-12-02 05:18:51,232 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-12-02 05:18:51,277 autosynth [ERROR] > Synthesis failed
2020-12-02 05:18:51,278 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-12-02 05:18:51,290 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-02 05:18:51,298 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing dialogflow_v2beta1/py.typed
Removing dialogflow_v2beta1/services/
Removing dialogflow_v2beta1/types/
Removing docs/dialogflow_v2/
Removing docs/dialogflow_v2beta1/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
Removing tests/unit/gapic/dialogflow_v2beta1/
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:

htool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-12-03 05:18:06,255 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-12-03 05:18:06,256 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-12-03 05:18:06,257 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-12-03 05:18:06,257 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-12-03 05:18:06,278 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-12-03 05:18:06,286 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-12-03 05:18:06,287 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-12-03 05:18:06,287 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-12-03 05:18:06,288 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-12-03 05:18:06,289 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-12-03 05:18:06,290 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-12-03 05:18:06,291 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-12-03 05:18:06,292 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-12-03 05:18:06,293 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-12-03 05:18:06,294 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-12-03 05:18:06,294 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-12-03 05:18:06,295 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-12-03 05:18:06,296 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-12-03 05:18:06,297 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-12-03 05:18:06,297 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-12-03 05:18:06,298 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-12-03 05:18:06,299 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-12-03 05:18:06,299 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-12-03 05:18:06,300 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-12-03 05:18:06,301 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-12-03 05:18:06,302 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-12-03 05:18:06,322 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-12-03 05:18:06,340 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-12-03 05:18:06,343 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-12-03 05:18:06,345 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-12-03 05:18:06,345 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-12-03 05:18:06,346 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-12-03 05:18:06,347 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-12-03 05:18:06,348 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-12-03 05:18:06,349 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-12-03 05:18:06,361 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-12-03 05:18:06,362 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-12-03 05:18:06,366 synthtool [WARNING] > No replacements made in dialogflow_*/proto/audio_config_pb2.py for pattern \s*\<\>`__, maybe replacement is no longer needed?
2020-12-03 05:18:06,367 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-12-03 05:18:06,367 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-12-03 05:18:06,368 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-12-03 05:18:06,375 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-12-03 05:18:06,424 autosynth [ERROR] > Synthesis failed
2020-12-03 05:18:06,424 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-12-03 05:18:06,436 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-03 05:18:06,444 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing dialogflow_v2beta1/py.typed
Removing dialogflow_v2beta1/services/
Removing dialogflow_v2beta1/types/
Removing docs/dialogflow_v2/
Removing docs/dialogflow_v2beta1/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
Removing tests/unit/gapic/dialogflow_v2beta1/
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:

htool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-12-04 05:18:47,080 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-12-04 05:18:47,081 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-12-04 05:18:47,082 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-12-04 05:18:47,082 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-12-04 05:18:47,103 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-12-04 05:18:47,112 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-12-04 05:18:47,113 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-12-04 05:18:47,114 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-12-04 05:18:47,115 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-12-04 05:18:47,116 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-12-04 05:18:47,117 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-12-04 05:18:47,117 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-12-04 05:18:47,118 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-12-04 05:18:47,119 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-12-04 05:18:47,120 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-12-04 05:18:47,120 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-12-04 05:18:47,121 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-12-04 05:18:47,122 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-12-04 05:18:47,123 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-12-04 05:18:47,123 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-12-04 05:18:47,125 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-12-04 05:18:47,125 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-12-04 05:18:47,126 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-12-04 05:18:47,127 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-12-04 05:18:47,128 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-12-04 05:18:47,128 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-12-04 05:18:47,150 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-12-04 05:18:47,168 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-12-04 05:18:47,172 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-12-04 05:18:47,173 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-12-04 05:18:47,174 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-12-04 05:18:47,175 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-12-04 05:18:47,176 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-12-04 05:18:47,177 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-12-04 05:18:47,178 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-12-04 05:18:47,190 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-12-04 05:18:47,192 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-12-04 05:18:47,196 synthtool [WARNING] > No replacements made in dialogflow_*/proto/audio_config_pb2.py for pattern \s*\<\>`__, maybe replacement is no longer needed?
2020-12-04 05:18:47,197 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-12-04 05:18:47,197 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-12-04 05:18:47,198 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-12-04 05:18:47,205 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-12-04 05:18:47,247 autosynth [ERROR] > Synthesis failed
2020-12-04 05:18:47,247 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-12-04 05:18:47,259 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-04 05:18:47,267 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing dialogflow_v2beta1/py.typed
Removing dialogflow_v2beta1/services/
Removing dialogflow_v2beta1/types/
Removing docs/dialogflow_v2/
Removing docs/dialogflow_v2beta1/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
Removing tests/unit/gapic/dialogflow_v2beta1/
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:

Running: git log -1 --pretty=%at 539f0d44c80ef331ae1a50d92d61b91e77d500dd
2020-12-04 23:42:23,938 autosynth [DEBUG] > Running: git log -1 --pretty=%at b53c4d98aab1eae3dac90b37019dede686782f13
2020-12-04 23:42:23,941 autosynth [DEBUG] > Running: git log -1 --pretty=%at 50586d334050bc726c7d163d9ec5ce559e72dc73
2020-12-04 23:42:23,943 autosynth [DEBUG] > Running: git log -1 --pretty=%at 79c2ec8e89d602d5d6e34cf08387d9de285d5577
2020-12-04 23:42:23,946 autosynth [DEBUG] > Running: git log -1 --pretty=%at 7be2c821dd88109038c55c89f7dd48f092eeab9d
2020-12-04 23:42:23,949 autosynth [DEBUG] > Running: git log -1 --pretty=%at 454e38e273bafb4239edea70801d9e4cc4a651c5
2020-12-04 23:42:23,952 autosynth [DEBUG] > Running: git log -1 --pretty=%at 4141f8da64cad94ee3b1c534dd075a929078f41b
2020-12-04 23:42:23,954 autosynth [DEBUG] > Running: git log -1 --pretty=%at 8677c18a62edf353965bc9d169e6a4f7ada64079
2020-12-04 23:42:23,957 autosynth [DEBUG] > Running: git log -1 --pretty=%at a50e27e41af5ea12e4fdffc338a179d3042dc2e4
2020-12-04 23:42:23,960 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3072509f6fa29e544d758ae811ea9ed57a26674a
2020-12-04 23:42:23,963 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3ed01c2c49b7f716946f8ab311165328446c97a7
2020-12-04 23:42:23,965 autosynth [DEBUG] > Running: git log -1 --pretty=%at be96744d03997d1d2816ab5376491fc6a71276a7
2020-12-04 23:42:23,968 autosynth [DEBUG] > Running: git log -1 --pretty=%at 2f4015d4cbbe0c56333cbc38216b3172ce8116f7
2020-12-04 23:42:23,971 autosynth [DEBUG] > Running: git log -1 --pretty=%at 0a9a8c8a88c1ea9d141ef69fbaeba1ca9dd474ba
2020-12-04 23:42:23,974 autosynth [DEBUG] > Running: git log -1 --pretty=%at a4d732fdc4905a35391ad235a74180ba26d57b0d
2020-12-04 23:42:23,977 autosynth [DEBUG] > Running: git log -1 --pretty=%at 8f945810f3d54aa0b87ea23bd296cb7a5db2ad38
2020-12-04 23:42:23,979 autosynth [DEBUG] > Running: git log -1 --pretty=%at 4a3201d446e911aece3cc78cdb5c611bc063634e
2020-12-04 23:42:23,982 autosynth [DEBUG] > Running: git log -1 --pretty=%at 07027f95bf0a5b2451984c01a87ea86ee715c15d
2020-12-04 23:42:23,985 autosynth [DEBUG] > Running: git log -1 --pretty=%at f8f975c7d43904e90d6c5f1684fdb6804400e641
2020-12-04 23:42:23,988 autosynth [DEBUG] > Running: git log -1 --pretty=%at fcc7482ec4cdd89f4ecc342b1fc06a38c5aa9c30
2020-12-04 23:42:23,990 autosynth [DEBUG] > Running: git log -1 --pretty=%at 1b2c980fc33b497d07d4b04a22229e9c34b72419
2020-12-04 23:42:23,993 autosynth [DEBUG] > Running: git log -1 --pretty=%at a6cbc5fabe30ffce1a46885e80ec552fd2ea6b8d
2020-12-04 23:42:23,996 autosynth [DEBUG] > Running: git log -1 --pretty=%at e67686cf0afd279ebd99af891f7ffd792cce8152
2020-12-04 23:42:23,998 autosynth [DEBUG] > Running: git log -1 --pretty=%at 5e0dcb2b1a86ea25ac2184bbe18aa6e7f2faa393
2020-12-04 23:42:24,001 autosynth [DEBUG] > Running: git log -1 --pretty=%at e5eef86544ae30d01d7266afec16dde0def5816e
2020-12-04 23:42:24,004 autosynth [DEBUG] > Running: git log -1 --pretty=%at 6bf92d7ceaf8841f77fe960163f5c607f4edc59a
2020-12-04 23:42:24,007 autosynth [DEBUG] > Running: git log -1 --pretty=%at d189e871205fea665a9648f7c4676f027495ccaf
2020-12-04 23:42:24,009 autosynth [DEBUG] > Running: git log -1 --pretty=%at 16e91be3603953bcfc0f87aa369e3eb7d1b2cbaf
2020-12-04 23:42:24,012 autosynth [DEBUG] > Running: git log -1 --pretty=%at 2d22118d88946059ab0c3a05588f577a6e82a0c4
2020-12-04 23:42:24,015 autosynth [DEBUG] > Running: git log -1 --pretty=%at 16dd59787d6ce130ab66066c02eeea9dac0c8f0e
2020-12-04 23:42:24,017 autosynth [DEBUG] > Running: git log -1 --pretty=%at e853bf9b647ff3a16adf1b829e1f6ddb3c0f7564
2020-12-04 23:42:24,020 autosynth [DEBUG] > Running: git log -1 --pretty=%at 7c44177f87c457a8184c69a19f4ca60329e48620
2020-12-04 23:42:24,023 autosynth [DEBUG] > Running: git log -1 --pretty=%at 83e97f36370fd2b8948118a3e447c4187ae28700
2020-12-04 23:42:24,025 autosynth [DEBUG] > Running: git log -1 --pretty=%at 519e9dcdff23cc14d48f85e9e00b6214ec57967e
2020-12-04 23:42:24,028 autosynth [DEBUG] > Running: git log -1 --pretty=%at dcef5557d68cc0c95fcad392baac20903c647f72
2020-12-04 23:42:24,031 autosynth [DEBUG] > Running: git log -1 --pretty=%at d3a630b0db63a11420e57c7a0d718e511203f022
2020-12-04 23:42:24,033 autosynth [DEBUG] > Running: git log -1 --pretty=%at 5695950715dd5c6d45e9d7e9129d9cd28d403267
2020-12-04 23:42:24,037 autosynth [DEBUG] > Running: git checkout c1c925d94726f49e549870e087ad79ee491056e2
Note: checking out 'c1c925d94726f49e549870e087ad79ee491056e2'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-12-04 23:42:24,054 autosynth [DEBUG] > Running: git checkout 5695950715dd5c6d45e9d7e9129d9cd28d403267
Note: checking out '5695950715dd5c6d45e9d7e9129d9cd28d403267'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 56959507 chore: migrate remoteworkers to the Java microgenerator
2020-12-04 23:42:24,097 autosynth [DEBUG] > Running: git branch -f autosynth-330
2020-12-04 23:42:24,101 autosynth [DEBUG] > Running: git checkout autosynth-330
Switched to branch 'autosynth-330'
2020-12-04 23:42:24,105 autosynth [INFO] > Running synthtool
2020-12-04 23:42:24,105 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-12-04 23:42:24,106 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/dialogflow-python-client-v2/330/sponge_log.log
2020-12-04 23:42:24,107 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-12-04 23:42:24,287 synthtool [DEBUG] > Executing /root/.cache/synthtool/dialogflow-python-client-v2/synth.py.
On branch autosynth-330
nothing to commit, working tree clean
2020-12-04 23:42:24,418 synthtool [DEBUG] > Ensuring dependencies.
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.9/runpy.py", line 87, 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.9/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.9/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.9/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 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/root/.cache/synthtool/dialogflow-python-client-v2/synth.py", line 20, in <module>
    gapic = gcp.GAPICBazel()
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 39, in __init__
    self._ensure_dependencies_installed()
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 305, in _ensure_dependencies_installed
    raise EnvironmentError(
OSError: Dependencies missing: zip, unzip
2020-12-04 23:42:24,483 autosynth [ERROR] > Synthesis failed
2020-12-04 23:42:24,483 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-12-04 23:42:24,488 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-04 23:42:24,493 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.9/runpy.py", line 87, 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 "/usr/local/lib/python3.9/subprocess.py", line 456, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
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:

ion_from_core.tp_print = 0;
                                                                                    ^~~~~~~~
                                                                                    tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132284:72: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_55__schedule_rpc_coro.tp_print = 0;
                                                                        ^~~~~~~~
                                                                        tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132290:65: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_56__handle_rpc.tp_print = 0;
                                                                 ^~~~~~~~
                                                                 tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132296:67: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_57__request_call.tp_print = 0;
                                                                   ^~~~~~~~
                                                                   tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132302:71: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_58__server_main_loop.tp_print = 0;
                                                                       ^~~~~~~~
                                                                       tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132308:59: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_59_start.tp_print = 0;
                                                           ^~~~~~~~
                                                           tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132314:74: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_60__start_shutting_down.tp_print = 0;
                                                                          ^~~~~~~~
                                                                          tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132320:62: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_61_shutdown.tp_print = 0;
                                                              ^~~~~~~~
                                                              tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132326:74: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_62_wait_for_termination.tp_print = 0;
                                                                          ^~~~~~~~
                                                                          tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp: In function 'PyObject* __Pyx_decode_c_bytes(const char*, Py_ssize_t, Py_ssize_t, Py_ssize_t, const char*, const char*, PyObject* (*)(const char*, Py_ssize_t, const char*))':
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:136866:45: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations]
         return PyUnicode_FromUnicode(NULL, 0);
                                             ^
In file included from bazel-out/host/bin/external/local_config_python/_python3/_python3_include/unicodeobject.h:1026:0,
                 from bazel-out/host/bin/external/local_config_python/_python3/_python3_include/Python.h:97,
                 from bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:4:
bazel-out/host/bin/external/local_config_python/_python3/_python3_include/cpython/unicodeobject.h:551:42: note: declared here
 Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
                                          ^~~~~~~~~~~~~~~~~~~~~
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp: In function 'void __pyx_f_7_cython_6cygrpc__unified_socket_write(int)':
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:72692:3: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
   (void)(write(__pyx_v_fd, ((char *)"1"), 1));
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp: At global scope:
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:144607:1: warning: 'void __Pyx_PyAsyncGen_Fini()' defined but not used [-Wunused-function]
 __Pyx_PyAsyncGen_Fini(void)
 ^~~~~~~~~~~~~~~~~~~~~
Target //google/cloud/dialogflow/v2beta1:dialogflow-v2beta1-py failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 339.892s, Critical Path: 16.19s
INFO: 1134 processes: 1134 linux-sandbox.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.9/runpy.py", line 87, 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.9/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.9/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.9/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 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/root/.cache/synthtool/dialogflow-python-client-v2/synth.py", line 26, in <module>
    library = gapic.py_library(
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 45, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 182, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.9/subprocess.py", line 524, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/cloud/dialogflow/v2beta1:dialogflow-v2beta1-py']' returned non-zero exit status 1.
2020-12-05 00:06:27,311 autosynth [ERROR] > Synthesis failed
2020-12-05 00:06:27,311 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-12-05 00:06:27,317 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-05 00:06:27,322 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.9/runpy.py", line 87, 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 "/usr/local/lib/python3.9/subprocess.py", line 456, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
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:

ion_from_core.tp_print = 0;
                                                                                    ^~~~~~~~
                                                                                    tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132284:72: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_55__schedule_rpc_coro.tp_print = 0;
                                                                        ^~~~~~~~
                                                                        tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132290:65: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_56__handle_rpc.tp_print = 0;
                                                                 ^~~~~~~~
                                                                 tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132296:67: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_57__request_call.tp_print = 0;
                                                                   ^~~~~~~~
                                                                   tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132302:71: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_58__server_main_loop.tp_print = 0;
                                                                       ^~~~~~~~
                                                                       tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132308:59: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_59_start.tp_print = 0;
                                                           ^~~~~~~~
                                                           tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132314:74: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_60__start_shutting_down.tp_print = 0;
                                                                          ^~~~~~~~
                                                                          tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132320:62: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_61_shutdown.tp_print = 0;
                                                              ^~~~~~~~
                                                              tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132326:74: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_62_wait_for_termination.tp_print = 0;
                                                                          ^~~~~~~~
                                                                          tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp: In function 'PyObject* __Pyx_decode_c_bytes(const char*, Py_ssize_t, Py_ssize_t, Py_ssize_t, const char*, const char*, PyObject* (*)(const char*, Py_ssize_t, const char*))':
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:136866:45: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations]
         return PyUnicode_FromUnicode(NULL, 0);
                                             ^
In file included from bazel-out/host/bin/external/local_config_python/_python3/_python3_include/unicodeobject.h:1026:0,
                 from bazel-out/host/bin/external/local_config_python/_python3/_python3_include/Python.h:97,
                 from bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:4:
bazel-out/host/bin/external/local_config_python/_python3/_python3_include/cpython/unicodeobject.h:551:42: note: declared here
 Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
                                          ^~~~~~~~~~~~~~~~~~~~~
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp: In function 'void __pyx_f_7_cython_6cygrpc__unified_socket_write(int)':
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:72692:3: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
   (void)(write(__pyx_v_fd, ((char *)"1"), 1));
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp: At global scope:
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:144607:1: warning: 'void __Pyx_PyAsyncGen_Fini()' defined but not used [-Wunused-function]
 __Pyx_PyAsyncGen_Fini(void)
 ^~~~~~~~~~~~~~~~~~~~~
Target //google/cloud/dialogflow/v2beta1:dialogflow-v2beta1-py failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 310.333s, Critical Path: 15.97s
INFO: 1134 processes: 1134 linux-sandbox.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.9/runpy.py", line 87, 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.9/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.9/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.9/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 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/root/.cache/synthtool/dialogflow-python-client-v2/synth.py", line 26, in <module>
    library = gapic.py_library(
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 45, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 182, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.9/subprocess.py", line 524, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/cloud/dialogflow/v2beta1:dialogflow-v2beta1-py']' returned non-zero exit status 1.
2020-12-05 00:51:25,565 autosynth [ERROR] > Synthesis failed
2020-12-05 00:51:25,566 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-12-05 00:51:25,571 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-05 00:51:25,575 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.9/runpy.py", line 87, 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 "/usr/local/lib/python3.9/subprocess.py", line 456, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
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:

ion_from_core.tp_print = 0;
                                                                                    ^~~~~~~~
                                                                                    tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132284:72: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_55__schedule_rpc_coro.tp_print = 0;
                                                                        ^~~~~~~~
                                                                        tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132290:65: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_56__handle_rpc.tp_print = 0;
                                                                 ^~~~~~~~
                                                                 tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132296:67: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_57__request_call.tp_print = 0;
                                                                   ^~~~~~~~
                                                                   tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132302:71: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_58__server_main_loop.tp_print = 0;
                                                                       ^~~~~~~~
                                                                       tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132308:59: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_59_start.tp_print = 0;
                                                           ^~~~~~~~
                                                           tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132314:74: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_60__start_shutting_down.tp_print = 0;
                                                                          ^~~~~~~~
                                                                          tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132320:62: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_61_shutdown.tp_print = 0;
                                                              ^~~~~~~~
                                                              tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132326:74: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_62_wait_for_termination.tp_print = 0;
                                                                          ^~~~~~~~
                                                                          tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp: In function 'PyObject* __Pyx_decode_c_bytes(const char*, Py_ssize_t, Py_ssize_t, Py_ssize_t, const char*, const char*, PyObject* (*)(const char*, Py_ssize_t, const char*))':
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:136866:45: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations]
         return PyUnicode_FromUnicode(NULL, 0);
                                             ^
In file included from bazel-out/host/bin/external/local_config_python/_python3/_python3_include/unicodeobject.h:1026:0,
                 from bazel-out/host/bin/external/local_config_python/_python3/_python3_include/Python.h:97,
                 from bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:4:
bazel-out/host/bin/external/local_config_python/_python3/_python3_include/cpython/unicodeobject.h:551:42: note: declared here
 Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
                                          ^~~~~~~~~~~~~~~~~~~~~
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp: In function 'void __pyx_f_7_cython_6cygrpc__unified_socket_write(int)':
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:72692:3: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
   (void)(write(__pyx_v_fd, ((char *)"1"), 1));
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp: At global scope:
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:144607:1: warning: 'void __Pyx_PyAsyncGen_Fini()' defined but not used [-Wunused-function]
 __Pyx_PyAsyncGen_Fini(void)
 ^~~~~~~~~~~~~~~~~~~~~
Target //google/cloud/dialogflow/v2beta1:dialogflow-v2beta1-py failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 306.921s, Critical Path: 15.45s
INFO: 1134 processes: 1134 linux-sandbox.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.9/runpy.py", line 87, 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.9/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.9/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.9/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 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/root/.cache/synthtool/dialogflow-python-client-v2/synth.py", line 26, in <module>
    library = gapic.py_library(
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 45, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 182, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.9/subprocess.py", line 524, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/cloud/dialogflow/v2beta1:dialogflow-v2beta1-py']' returned non-zero exit status 1.
2020-12-05 01:21:50,573 autosynth [ERROR] > Synthesis failed
2020-12-05 01:21:50,573 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-12-05 01:21:50,578 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-05 01:21:50,583 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.9/runpy.py", line 87, 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 "/usr/local/lib/python3.9/subprocess.py", line 456, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
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:

ellation_from_core.tp_print = 0;
                                                                                    ^~~~~~~~
                                                                                    tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132284:72: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_55__schedule_rpc_coro.tp_print = 0;
                                                                        ^~~~~~~~
                                                                        tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132290:65: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_56__handle_rpc.tp_print = 0;
                                                                 ^~~~~~~~
                                                                 tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132296:67: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_57__request_call.tp_print = 0;
                                                                   ^~~~~~~~
                                                                   tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132302:71: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_58__server_main_loop.tp_print = 0;
                                                                       ^~~~~~~~
                                                                       tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132308:59: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_59_start.tp_print = 0;
                                                           ^~~~~~~~
                                                           tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132314:74: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_60__start_shutting_down.tp_print = 0;
                                                                          ^~~~~~~~
                                                                          tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132320:62: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_61_shutdown.tp_print = 0;
                                                              ^~~~~~~~
                                                              tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:132326:74: error: 'PyTypeObject {aka struct _typeobject}' has no member named 'tp_print'; did you mean 'tp_dict'?
   __pyx_type_7_cython_6cygrpc___pyx_scope_struct_62_wait_for_termination.tp_print = 0;
                                                                          ^~~~~~~~
                                                                          tp_dict
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp: In function 'PyObject* __Pyx_decode_c_bytes(const char*, Py_ssize_t, Py_ssize_t, Py_ssize_t, const char*, const char*, PyObject* (*)(const char*, Py_ssize_t, const char*))':
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:136866:45: warning: 'PyObject* PyUnicode_FromUnicode(const Py_UNICODE*, Py_ssize_t)' is deprecated [-Wdeprecated-declarations]
         return PyUnicode_FromUnicode(NULL, 0);
                                             ^
In file included from bazel-out/host/bin/external/local_config_python/_python3/_python3_include/unicodeobject.h:1026:0,
                 from bazel-out/host/bin/external/local_config_python/_python3/_python3_include/Python.h:97,
                 from bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:4:
bazel-out/host/bin/external/local_config_python/_python3/_python3_include/cpython/unicodeobject.h:551:42: note: declared here
 Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
                                          ^~~~~~~~~~~~~~~~~~~~~
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp: In function 'void __pyx_f_7_cython_6cygrpc__unified_socket_write(int)':
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:72692:3: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
   (void)(write(__pyx_v_fd, ((char *)"1"), 1));
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp: At global scope:
bazel-out/host/bin/external/com_github_grpc_grpc/src/python/grpcio/grpc/_cython/cygrpc.cpp:144607:1: warning: 'void __Pyx_PyAsyncGen_Fini()' defined but not used [-Wunused-function]
 __Pyx_PyAsyncGen_Fini(void)
 ^~~~~~~~~~~~~~~~~~~~~
Target //google/cloud/dialogflow/v2beta1:dialogflow-v2beta1-py failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 62.101s, Critical Path: 16.38s
INFO: 31 processes: 31 linux-sandbox.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.9/runpy.py", line 87, 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.9/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.9/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.9/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 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/root/.cache/synthtool/dialogflow-python-client-v2/synth.py", line 26, in <module>
    library = gapic.py_library(
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 45, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 182, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.9/subprocess.py", line 524, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/cloud/dialogflow/v2beta1:dialogflow-v2beta1-py']' returned non-zero exit status 1.
2020-12-05 02:56:50,656 autosynth [ERROR] > Synthesis failed
2020-12-05 02:56:50,656 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-12-05 02:56:50,661 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-05 02:56:50,666 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.9/runpy.py", line 87, 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 "/usr/local/lib/python3.9/subprocess.py", line 456, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
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:

htool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-12-05 05:18:45,153 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-12-05 05:18:45,154 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-12-05 05:18:45,155 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-12-05 05:18:45,156 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-12-05 05:18:45,179 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-12-05 05:18:45,188 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-12-05 05:18:45,190 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-12-05 05:18:45,191 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-12-05 05:18:45,192 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-12-05 05:18:45,193 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-12-05 05:18:45,194 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-12-05 05:18:45,195 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-12-05 05:18:45,196 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-12-05 05:18:45,197 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-12-05 05:18:45,198 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-12-05 05:18:45,198 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-12-05 05:18:45,199 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-12-05 05:18:45,200 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-12-05 05:18:45,201 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-12-05 05:18:45,203 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-12-05 05:18:45,204 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-12-05 05:18:45,205 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-12-05 05:18:45,206 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-12-05 05:18:45,207 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-12-05 05:18:45,208 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-12-05 05:18:45,209 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-12-05 05:18:45,230 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-12-05 05:18:45,249 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-12-05 05:18:45,252 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-12-05 05:18:45,254 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-12-05 05:18:45,255 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-12-05 05:18:45,256 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-12-05 05:18:45,257 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-12-05 05:18:45,259 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-12-05 05:18:45,259 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-12-05 05:18:45,271 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-12-05 05:18:45,273 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-12-05 05:18:45,277 synthtool [WARNING] > No replacements made in dialogflow_*/proto/audio_config_pb2.py for pattern \s*\<\>`__, maybe replacement is no longer needed?
2020-12-05 05:18:45,278 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-12-05 05:18:45,278 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-12-05 05:18:45,279 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-12-05 05:18:45,286 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-12-05 05:18:45,346 autosynth [ERROR] > Synthesis failed
2020-12-05 05:18:45,346 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-12-05 05:18:45,358 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-05 05:18:45,366 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing dialogflow_v2beta1/py.typed
Removing dialogflow_v2beta1/services/
Removing dialogflow_v2beta1/types/
Removing docs/dialogflow_v2/
Removing docs/dialogflow_v2beta1/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
Removing tests/unit/gapic/dialogflow_v2beta1/
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:

htool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-12-06 05:18:19,372 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-12-06 05:18:19,373 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-12-06 05:18:19,374 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-12-06 05:18:19,374 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-12-06 05:18:19,395 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-12-06 05:18:19,404 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-12-06 05:18:19,405 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-12-06 05:18:19,405 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-12-06 05:18:19,407 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-12-06 05:18:19,407 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-12-06 05:18:19,408 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-12-06 05:18:19,409 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-12-06 05:18:19,410 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-12-06 05:18:19,411 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-12-06 05:18:19,411 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-12-06 05:18:19,412 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-12-06 05:18:19,413 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-12-06 05:18:19,414 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-12-06 05:18:19,415 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-12-06 05:18:19,415 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-12-06 05:18:19,416 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-12-06 05:18:19,417 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-12-06 05:18:19,418 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-12-06 05:18:19,419 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-12-06 05:18:19,420 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-12-06 05:18:19,420 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-12-06 05:18:19,441 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-12-06 05:18:19,459 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-12-06 05:18:19,463 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-12-06 05:18:19,464 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-12-06 05:18:19,465 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-12-06 05:18:19,465 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-12-06 05:18:19,466 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-12-06 05:18:19,467 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-12-06 05:18:19,468 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-12-06 05:18:19,481 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-12-06 05:18:19,482 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-12-06 05:18:19,487 synthtool [WARNING] > No replacements made in dialogflow_*/proto/audio_config_pb2.py for pattern \s*\<\>`__, maybe replacement is no longer needed?
2020-12-06 05:18:19,487 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-12-06 05:18:19,488 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-12-06 05:18:19,488 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-12-06 05:18:19,496 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-12-06 05:18:19,553 autosynth [ERROR] > Synthesis failed
2020-12-06 05:18:19,554 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-12-06 05:18:19,565 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-06 05:18:19,573 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing dialogflow_v2beta1/py.typed
Removing dialogflow_v2beta1/services/
Removing dialogflow_v2beta1/types/
Removing docs/dialogflow_v2/
Removing docs/dialogflow_v2beta1/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
Removing tests/unit/gapic/dialogflow_v2beta1/
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:

loud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-12-07 05:18:26,550 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-12-07 05:18:26,550 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-12-07 05:18:26,551 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-12-07 05:18:26,552 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-12-07 05:18:26,573 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-12-07 05:18:26,582 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-12-07 05:18:26,582 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-12-07 05:18:26,583 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-12-07 05:18:26,584 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-12-07 05:18:26,585 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-12-07 05:18:26,586 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-12-07 05:18:26,587 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-12-07 05:18:26,588 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-12-07 05:18:26,588 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-12-07 05:18:26,589 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-12-07 05:18:26,590 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-12-07 05:18:26,591 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-12-07 05:18:26,592 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-12-07 05:18:26,593 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-12-07 05:18:26,593 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-12-07 05:18:26,594 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-12-07 05:18:26,595 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-12-07 05:18:26,596 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-12-07 05:18:26,597 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-12-07 05:18:26,598 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-12-07 05:18:26,598 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-12-07 05:18:26,619 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-12-07 05:18:26,637 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-12-07 05:18:26,641 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-12-07 05:18:26,643 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-12-07 05:18:26,643 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-12-07 05:18:26,644 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-12-07 05:18:26,645 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-12-07 05:18:26,646 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-12-07 05:18:26,646 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-12-07 05:18:26,659 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-12-07 05:18:26,661 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-12-07 05:18:26,665 synthtool [WARNING] > No replacements made in dialogflow_*/proto/audio_config_pb2.py for pattern \s*\<\>`__, maybe replacement is no longer needed?
2020-12-07 05:18:26,665 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-12-07 05:18:26,666 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-12-07 05:18:26,666 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-12-07 05:18:26,674 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-12-07 05:18:26,720 autosynth [ERROR] > Synthesis failed
2020-12-07 05:18:26,720 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-12-07 05:18:26,732 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-07 05:18:26,740 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow-v2beta1-py.tar.gz
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing dialogflow_v2beta1/py.typed
Removing dialogflow_v2beta1/services/
Removing dialogflow_v2beta1/types/
Removing docs/dialogflow_v2/
Removing docs/dialogflow_v2beta1/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
Removing tests/unit/gapic/dialogflow_v2beta1/
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:

htool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-12-08 05:18:14,430 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-12-08 05:18:14,430 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-12-08 05:18:14,431 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-12-08 05:18:14,432 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-12-08 05:18:14,453 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-12-08 05:18:14,461 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-12-08 05:18:14,462 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-12-08 05:18:14,463 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-12-08 05:18:14,464 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-12-08 05:18:14,465 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-12-08 05:18:14,466 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-12-08 05:18:14,467 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-12-08 05:18:14,468 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-12-08 05:18:14,468 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-12-08 05:18:14,469 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-12-08 05:18:14,470 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-12-08 05:18:14,471 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-12-08 05:18:14,472 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-12-08 05:18:14,472 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-12-08 05:18:14,473 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-12-08 05:18:14,474 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-12-08 05:18:14,475 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-12-08 05:18:14,476 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-12-08 05:18:14,477 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-12-08 05:18:14,477 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-12-08 05:18:14,478 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-12-08 05:18:14,500 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-12-08 05:18:14,518 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-12-08 05:18:14,522 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-12-08 05:18:14,523 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-12-08 05:18:14,524 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-12-08 05:18:14,525 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-12-08 05:18:14,526 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-12-08 05:18:14,527 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-12-08 05:18:14,528 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-12-08 05:18:14,541 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-12-08 05:18:14,542 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-12-08 05:18:14,547 synthtool [WARNING] > No replacements made in dialogflow_*/proto/audio_config_pb2.py for pattern \s*\<\>`__, maybe replacement is no longer needed?
2020-12-08 05:18:14,547 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-12-08 05:18:14,548 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-12-08 05:18:14,548 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-12-08 05:18:14,556 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-12-08 05:18:14,614 autosynth [ERROR] > Synthesis failed
2020-12-08 05:18:14,614 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-12-08 05:18:14,628 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-08 05:18:14,636 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing dialogflow_v2beta1/py.typed
Removing dialogflow_v2beta1/services/
Removing dialogflow_v2beta1/types/
Removing docs/dialogflow_v2/
Removing docs/dialogflow_v2beta1/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
Removing tests/unit/gapic/dialogflow_v2beta1/
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:

htool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/services/agents/transports/grpc.py.
2020-12-09 05:18:38,756 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/webhook.py.
2020-12-09 05:18:38,756 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session_entity_type.py.
2020-12-09 05:18:38,757 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/session.py.
2020-12-09 05:18:38,758 synthtool [INFO] > Replaced 'from google.cloud\\.' in dialogflow_v2/types/intent.py.
2020-12-09 05:18:38,780 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-12-09 05:18:38,788 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/client.py.
2020-12-09 05:18:38,790 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/async_client.py.
2020-12-09 05:18:38,790 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/intents/transports/base.py.
2020-12-09 05:18:38,791 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/client.py.
2020-12-09 05:18:38,793 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/async_client.py.
2020-12-09 05:18:38,793 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/entity_types/transports/base.py.
2020-12-09 05:18:38,794 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/client.py.
2020-12-09 05:18:38,795 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/async_client.py.
2020-12-09 05:18:38,796 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/session_entity_types/transports/base.py.
2020-12-09 05:18:38,797 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/client.py.
2020-12-09 05:18:38,798 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/async_client.py.
2020-12-09 05:18:38,799 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/sessions/transports/base.py.
2020-12-09 05:18:38,800 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/client.py.
2020-12-09 05:18:38,800 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/async_client.py.
2020-12-09 05:18:38,801 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/environments/transports/base.py.
2020-12-09 05:18:38,802 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/client.py.
2020-12-09 05:18:38,803 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/async_client.py.
2020-12-09 05:18:38,804 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/contexts/transports/base.py.
2020-12-09 05:18:38,805 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/client.py.
2020-12-09 05:18:38,806 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/async_client.py.
2020-12-09 05:18:38,806 synthtool [INFO] > Replaced 'google-cloud-dialogflow' in dialogflow_v2/services/agents/transports/base.py.
2020-12-09 05:18:38,828 synthtool [WARNING] > No replacements made in ['tests/unit/gapic/**/*.py', 'dialogflow_v2/**/*.py'] for pattern '-dialogflow', maybe replacement is no longer needed?
2020-12-09 05:18:38,848 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-12-09 05:18:38,851 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-12-09 05:18:38,853 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/session_pb2.py.
2020-12-09 05:18:38,854 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2beta1/proto/intent_pb2_grpc.py.
2020-12-09 05:18:38,854 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/intent_pb2_grpc.py.
2020-12-09 05:18:38,856 synthtool [INFO] > Replaced '# Generated by the .*' in dialogflow_v2/proto/session_pb2.py.
2020-12-09 05:18:38,857 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-12-09 05:18:38,858 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-12-09 05:18:38,871 synthtool [WARNING] > No replacements made in dialogflow_v2beta1/proto/intent_pb2.py for pattern \s+-----------, maybe replacement is no longer needed?
2020-12-09 05:18:38,873 synthtool [WARNING] > No replacements made in dialogflow_*/proto/session_pb2.py for pattern ============================================================================, maybe replacement is no longer needed?
2020-12-09 05:18:38,877 synthtool [WARNING] > No replacements made in dialogflow_*/proto/audio_config_pb2.py for pattern \s*\<\>`__, maybe replacement is no longer needed?
2020-12-09 05:18:38,878 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :math:, maybe replacement is no longer needed?
2020-12-09 05:18:38,878 synthtool [WARNING] > No replacements made in dialogflow_v2/proto/agent_pb2.py for pattern :raw-latex:, maybe replacement is no longer needed?
2020-12-09 05:18:38,879 synthtool [WARNING] > No replacements made in noxfile.py for pattern ['"]-W['"],  # warnings as errors, maybe replacement is no longer needed?
2020-12-09 05:18:38,887 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-12-09 05:18:38,949 autosynth [ERROR] > Synthesis failed
2020-12-09 05:18:38,949 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at c1c925d chore: add default CODEOWNERS (#228)
2020-12-09 05:18:38,961 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-12-09 05:18:38,970 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing dialogflow_v2/py.typed
Removing dialogflow_v2/services/
Removing dialogflow_v2/types/
Removing dialogflow_v2beta1/py.typed
Removing dialogflow_v2beta1/services/
Removing dialogflow_v2beta1/types/
Removing docs/dialogflow_v2/
Removing docs/dialogflow_v2beta1/
Removing mypy.ini
Removing scripts/
Removing tests/unit/gapic/dialogflow_v2/
Removing tests/unit/gapic/dialogflow_v2beta1/
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.