[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.Bigtable.V2 #6948

Closed
yoshi-automation opened this issue Aug 11, 2021 · 2 comments
Closed

Synthesis failed for Google.Cloud.Bigtable.V2 #6948

yoshi-automation opened this issue Aug 11, 2021 · 2 comments
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.Bigtable.V2. 馃挃

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.Bigtable.V2 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:

ning: git log -1 --pretty=%at ff6688b87126708cf54148eb78a27e66c4823bff
2021-08-11 08:39:43,325 autosynth [DEBUG] > Running: git log -1 --pretty=%at 2efb6951f151116fb7b5766fb4e377db465d49e9
2021-08-11 08:39:43,327 autosynth [DEBUG] > Running: git log -1 --pretty=%at 23b8cadd202d567fc3994544de85b2a8ef9175b7
2021-08-11 08:39:43,330 autosynth [DEBUG] > Running: git log -1 --pretty=%at f642cc61dfae622ba8fe5f7addcdaeece2f6e5a3
2021-08-11 08:39:43,333 autosynth [DEBUG] > Running: git log -1 --pretty=%at 9a7d19079b5e3c22a5a08eaa94273f5d1eebb317
2021-08-11 08:39:43,337 autosynth [DEBUG] > Running: git log -1 --pretty=%at 2c1c2ac112b63ae304226b90dfbb9462a6418864
2021-08-11 08:39:43,340 autosynth [DEBUG] > Running: git log -1 --pretty=%at a739464cacb3aa6d375683aefe16b79c21da1bb0
2021-08-11 08:39:43,343 autosynth [DEBUG] > Running: git log -1 --pretty=%at 2802dd5d6b84574dd567241ea9abc2b682d54cf6
2021-08-11 08:39:43,346 autosynth [DEBUG] > Running: git log -1 --pretty=%at 10185d07a4db1d76a888a119aeab1f2287b35105
2021-08-11 08:39:43,349 autosynth [DEBUG] > Running: git log -1 --pretty=%at 411e51eea221af5b77f809cef2c6592df45f73d5
2021-08-11 08:39:43,352 autosynth [DEBUG] > Running: git log -1 --pretty=%at 7b6a2ceed6cacf676b3918b1703b3ddd6322444c
2021-08-11 08:39:43,355 autosynth [DEBUG] > Running: git log -1 --pretty=%at 4c984f3be8e1bd85eb8fe78a2911a83b9785a7ea
2021-08-11 08:39:43,358 autosynth [DEBUG] > Running: git log -1 --pretty=%at 114b1416f8f2725e1272b0bf2be74676cff0ed2c
2021-08-11 08:39:43,361 autosynth [DEBUG] > Running: git log -1 --pretty=%at 626df528c5ae8839254f28b1f8daa1bac75be3a4
2021-08-11 08:39:43,365 autosynth [DEBUG] > Running: git log -1 --pretty=%at e41be609f1e2ae7618bf323748871c591f44742a
2021-08-11 08:39:43,368 autosynth [DEBUG] > Running: git log -1 --pretty=%at e932524ec49b16571834457aef007406075c3a56
2021-08-11 08:39:43,371 autosynth [DEBUG] > Running: git log -1 --pretty=%at f5e39a2f7e6e228238824f7117c9e7b5b7010249
2021-08-11 08:39:43,374 autosynth [DEBUG] > Running: git log -1 --pretty=%at eb7c9d1c3915851dd8b357ee950e0467490bce34
2021-08-11 08:39:43,378 autosynth [DEBUG] > Running: git checkout 992c71192aa475d854f99e9a8a6c4ccbfaeca5be
Note: switching to '992c71192aa475d854f99e9a8a6c4ccbfaeca5be'.

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 switching back to a branch.

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

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 992c71192 feat: added support for DLP templates; expose `Locations` service to get/list avaliable locations of Dialogflow products
2021-08-11 08:39:43,401 autosynth [DEBUG] > Running: git checkout eb7c9d1c3915851dd8b357ee950e0467490bce34
Note: switching to 'eb7c9d1c3915851dd8b357ee950e0467490bce34'.

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 switching back to a branch.

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

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at eb7c9d1c chore: regenerate API index
2021-08-11 08:39:43,416 autosynth [DEBUG] > Running: git branch -f autosynth-Google.Cloud.Bigtable.V2-628
2021-08-11 08:39:43,419 autosynth [DEBUG] > Running: git checkout autosynth-Google.Cloud.Bigtable.V2-628
Switched to branch 'autosynth-Google.Cloud.Bigtable.V2-628'
2021-08-11 08:39:43,442 autosynth [INFO] > Running synthtool
2021-08-11 08:39:43,442 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-08-11 08:39:43,442 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/Google.Cloud.Bigtable.V2/628/sponge_log.log
2021-08-11 08:39:43,444 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-08-11 08:39:43,669 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-cloud-dotnet/apis/Google.Cloud.Bigtable.V2/synth.py.
On branch autosynth-Google.Cloud.Bigtable.V2-628
nothing to commit, working tree clean
Skipping microgenerator fetch/build: already built, and running on Kokoro
Building existing version of Google.Cloud.Bigtable.V2 for compatibility checking
Generating Google.Cloud.Bigtable.V2
Running mid-micro-generation script for Google.Cloud.Bigtable.V2
Running post-generation script for Google.Cloud.Bigtable.V2
Updated 1 path from the index
Updated 1 path from the index
/home/kbuilder/.cache/synthtool/google-cloud-dotnet/apis/Google.Cloud.Bigtable.V2/Google.Cloud.Bigtable.V2.GenerateClient/Google.Cloud.Bigtable.V2.GenerateClient.csproj : error NU1107: Version conflict detected for Microsoft.CodeAnalysis.Common. Install/reference Microsoft.CodeAnalysis.Common 3.11.0 directly to project Google.Cloud.Bigtable.V2.GenerateClient to resolve this issue. 
/home/kbuilder/.cache/synthtool/google-cloud-dotnet/apis/Google.Cloud.Bigtable.V2/Google.Cloud.Bigtable.V2.GenerateClient/Google.Cloud.Bigtable.V2.GenerateClient.csproj : error NU1107:  Google.Cloud.Bigtable.V2.GenerateClient -> Google.Cloud.Tools.SourceManipulation -> Microsoft.CodeAnalysis.CSharp 3.11.0 -> Microsoft.CodeAnalysis.Common (= 3.11.0) 
/home/kbuilder/.cache/synthtool/google-cloud-dotnet/apis/Google.Cloud.Bigtable.V2/Google.Cloud.Bigtable.V2.GenerateClient/Google.Cloud.Bigtable.V2.GenerateClient.csproj : error NU1107:  Google.Cloud.Bigtable.V2.GenerateClient -> Microsoft.CodeAnalysis.CSharp.Workspaces 3.10.0 -> Microsoft.CodeAnalysis.Common (= 3.10.0).

The build failed. Fix the build errors and run again.
2021-08-11 08:39:53,687 synthtool [ERROR] > Failed executing /bin/bash generateapis.sh --check_compatibility Google.Cloud.Bigtable.V2:

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 1137, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 763, 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.Bigtable.V2/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.Bigtable.V2')' returned non-zero exit status 1.
2021-08-11 08:39:53,714 autosynth [ERROR] > Synthesis failed
2021-08-11 08:39:53,715 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 992c71192 feat: added support for DLP templates; expose `Locations` service to get/list avaliable locations of Dialogflow products
2021-08-11 08:39:53,748 autosynth [DEBUG] > Running: git checkout autosynth-Google.Cloud.Bigtable.V2
Switched to branch 'autosynth-Google.Cloud.Bigtable.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 356, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 68, 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 Aug 11, 2021
@jskeet
Copy link
Collaborator
jskeet commented Aug 11, 2021

This should be fixed by #6943, which was waiting for a rebase. Now submitted, so I'll rerun Kokoro.

@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

2 participants