[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synthesis failed for Google.Cloud.Dialogflow.Cx.V3 #6066

Closed
yoshi-automation opened this issue Mar 16, 2021 · 1 comment
Closed

Synthesis failed for Google.Cloud.Dialogflow.Cx.V3 #6066

yoshi-automation opened this issue Mar 16, 2021 · 1 comment
Labels
autosynth failure priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@yoshi-automation
Copy link
Contributor

Hello! Autosynth couldn't regenerate Google.Cloud.Dialogflow.Cx.V3. 馃挃

Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the Google.Cloud.Dialogflow.Cx.V3 API, and the library grows
stale.

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

Here's the output from running synth.py:

2021-03-15 22:49:09,908 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/Google.Cloud.Dialogflow.Cx.V3
2021-03-15 22:49:10,381 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2021-03-15 22:49:10,384 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2021-03-15 22:49:10,387 autosynth [DEBUG] > Running: git config user.email yoshi-automation@google.com
2021-03-15 22:49:10,389 autosynth [DEBUG] > Running: git config push.default simple
2021-03-15 22:49:10,392 autosynth [DEBUG] > Running: git branch -f autosynth-Google.Cloud.Dialogflow.Cx.V3
2021-03-15 22:49:10,395 autosynth [DEBUG] > Running: git checkout autosynth-Google.Cloud.Dialogflow.Cx.V3
Switched to branch 'autosynth-Google.Cloud.Dialogflow.Cx.V3'
2021-03-15 22:49:10,621 autosynth [DEBUG] > Running: git rev-parse --show-toplevel
2021-03-15 22:49:10,626 autosynth [DEBUG] > Running: git log -1 --pretty=%H
2021-03-15 22:49:10,629 autosynth [DEBUG] > Running: git remote get-url origin
2021-03-15 22:49:11,861 autosynth [DEBUG] > Running: git log 4b16c60a8fffe213d3a5002f85696fef2b6a8172..HEAD --pretty=%H --no-decorate
2021-03-15 22:49:11,865 autosynth [DEBUG] > Running: git log -1 --pretty=%at 4b16c60a8fffe213d3a5002f85696fef2b6a8172
2021-03-15 22:49:11,868 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3efec25aa7e225dac913be6d759cacfe7898fa8c
2021-03-15 22:49:11,871 autosynth [DEBUG] > Running: git log -1 --pretty=%at d652c6370bf66e325da6ac9ad82989fe7ee7bb4b
2021-03-15 22:49:11,875 autosynth [DEBUG] > Running: git log -1 --pretty=%at b6ebac16c3aecb798d4f25443d96df2f42a965ca
2021-03-15 22:49:11,878 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3e9b231b098d514c9a51ba8c59e416f45837b195
2021-03-15 22:49:11,881 autosynth [DEBUG] > Running: git log -1 --pretty=%at d7559898a37485bf9de44a6e2d22d66d1bad2eb0
2021-03-15 22:49:11,884 autosynth [DEBUG] > Running: git log -1 --pretty=%at 4112ccbe6566f63d5b1008ca52eee54cc2896aa9
2021-03-15 22:49:11,887 autosynth [DEBUG] > Running: git log -1 --pretty=%at a0d282daa691e95ec51131c81c3777fc95abf7f8
2021-03-15 22:49:11,890 autosynth [DEBUG] > Running: git log -1 --pretty=%at 1305ca41d554eb0725237561e34129373bb8cbc1
2021-03-15 22:49:11,893 autosynth [DEBUG] > Running: git log -1 --pretty=%at 81e30251959461b6220ed3121747e86d7b17bb5a
2021-03-15 22:49:11,896 autosynth [DEBUG] > Running: git log -1 --pretty=%at 72326861be446be27d53af95c87e6e313367c371
2021-03-15 22:49:11,899 autosynth [DEBUG] > Running: git log -1 --pretty=%at cb631dd3ffe0d6f77f7b01c5168e357771c74b51
2021-03-15 22:49:11,902 autosynth [DEBUG] > Running: git log -1 --pretty=%at a1ba4568e228b25124f9a6689cfe3bcab75498a6
2021-03-15 22:49:11,905 autosynth [DEBUG] > Running: git log -1 --pretty=%at 0dafa3963ef6fcb8a7f5daaa4bec12adb04de518
2021-03-15 22:49:11,908 autosynth [DEBUG] > Running: git log -1 --pretty=%at a4ee234c9499483cc966669669e7900b3b781192
2021-03-15 22:49:11,911 autosynth [DEBUG] > Running: git log -1 --pretty=%at e1654206ff59f3a2a226828f9c9f354c253b36e4
2021-03-15 22:49:11,914 autosynth [DEBUG] > Running: git checkout 1b5aa430660e3309246f48476f70efe6905046c9
Note: checking out '1b5aa430660e3309246f48476f70efe6905046c9'.

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 1b5aa4306 chore: remove obsolete configuration file
2021-03-15 22:49:11,934 autosynth [DEBUG] > Running: git checkout e1654206ff59f3a2a226828f9c9f354c253b36e4
Note: checking out 'e1654206ff59f3a2a226828f9c9f354c253b36e4'.

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 e1654206 chore: Use correct markdown for code block
2021-03-15 22:49:11,947 autosynth [DEBUG] > Running: git branch -f autosynth-Google.Cloud.Dialogflow.Cx.V3-16
2021-03-15 22:49:11,951 autosynth [DEBUG] > Running: git checkout autosynth-Google.Cloud.Dialogflow.Cx.V3-16
Switched to branch 'autosynth-Google.Cloud.Dialogflow.Cx.V3-16'
2021-03-15 22:49:11,971 autosynth [INFO] > Running synthtool
2021-03-15 22:49:11,971 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-03-15 22:49:11,971 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/Google.Cloud.Dialogflow.Cx.V3/16/sponge_log.log
2021-03-15 22:49:11,973 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-03-15 22:49:12,217 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-cloud-dotnet/apis/Google.Cloud.Dialogflow.Cx.V3/synth.py.
On branch autosynth-Google.Cloud.Dialogflow.Cx.V3-16
nothing to commit, working tree clean
Skipping microgenerator fetch/build: already built, and running on Kokoro
Building existing version of Google.Cloud.Dialogflow.Cx.V3 for compatibility checking
Generating Google.Cloud.Dialogflow.Cx.V3
Stack overflow.
--gapic_out: protoc-gen-gapic: Plugin killed by signal 6.
rm: missing operand
Try 'rm --help' for more information.
2021-03-15 22:49:26,119 synthtool [ERROR] > Failed executing /bin/bash generateapis.sh --check_compatibility Google.Cloud.Dialogflow.Cx.V3:

None
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/google-cloud-dotnet/apis/Google.Cloud.Dialogflow.Cx.V3/synth.py", line 26, in <module>
    hide_output = False)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '('/bin/bash', 'generateapis.sh', '--check_compatibility', 'Google.Cloud.Dialogflow.Cx.V3')' returned non-zero exit status 1.
2021-03-15 22:49:26,145 autosynth [ERROR] > Synthesis failed
2021-03-15 22:49:26,146 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1b5aa4306 chore: remove obsolete configuration file
2021-03-15 22:49:26,205 autosynth [DEBUG] > Running: git checkout autosynth-Google.Cloud.Dialogflow.Cx.V3
Switched to branch 'autosynth-Google.Cloud.Dialogflow.Cx.V3'
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 yoshi-automation added autosynth failure priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Mar 16, 2021
@yoshi-automation
Copy link
Contributor Author

Autosynth passed, closing! 馃挌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosynth failure priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

1 participant