googleapis / google-cloud-dotnet

Google Cloud Client Libraries for .NET
https://cloud.google.com/dotnet/docs/reference/
Apache License 2.0
938 stars 366 forks source link

Synthesis failed for Google.Cloud.Billing.Budgets.V1Beta1 #6052

Closed yoshi-automation closed 3 years ago

yoshi-automation commented 3 years ago

Hello! Autosynth couldn't regenerate Google.Cloud.Billing.Budgets.V1Beta1. :broken_heart:

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.Billing.Budgets.V1Beta1 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:

89d6b6d394f2c5a15e77112ee42c391033bd5f
2021-03-15 22:43:04,929 autosynth [DEBUG] > Running: git log -1 --pretty=%at 5477122b3e8037a1dc5bc920536158edbd151dc4
2021-03-15 22:43:04,932 autosynth [DEBUG] > Running: git log -1 --pretty=%at 458338f8ca444e43b9df96b984b68f3978852b74
2021-03-15 22:43:04,935 autosynth [DEBUG] > Running: git log -1 --pretty=%at 0e915217fb5261c1e57bfaf0e16ee5c7feaaba89
2021-03-15 22:43:04,938 autosynth [DEBUG] > Running: git log -1 --pretty=%at 65d71a60baf9650404a4d9d65f29e9ba8db490d1
2021-03-15 22:43:04,941 autosynth [DEBUG] > Running: git log -1 --pretty=%at 8e71120af081ab9402669df1f290beeae9629e16
2021-03-15 22:43:04,944 autosynth [DEBUG] > Running: git log -1 --pretty=%at 63a8c9c9f5fc9edf4f7c1a048151f73933f5a080
2021-03-15 22:43:04,947 autosynth [DEBUG] > Running: git log -1 --pretty=%at 0c6dd7aa98ebee634ec62568237f7ee17034ad08
2021-03-15 22:43:04,950 autosynth [DEBUG] > Running: git log -1 --pretty=%at d060a12e9731b05fccb56aee4d4bf176892b7911
2021-03-15 22:43:04,953 autosynth [DEBUG] > Running: git log -1 --pretty=%at 28a591963253d52ce3a25a918cafbdd9928de8cf
2021-03-15 22:43:04,957 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3aeb3a70f66457a9e6b07caff841719bb9873b57
2021-03-15 22:43:04,960 autosynth [DEBUG] > Running: git log -1 --pretty=%at cd6119f83636cf9c0d2bee86db7456dc49c56c47
2021-03-15 22:43:04,963 autosynth [DEBUG] > Running: git log -1 --pretty=%at 32c7223450155807fbad64de1a7a5eded95cfec0
2021-03-15 22:43:04,967 autosynth [DEBUG] > Running: git log -1 --pretty=%at 68fdb1b7dc47ff7a3bda6b7744f5e01887b94d3b
2021-03-15 22:43:04,970 autosynth [DEBUG] > Running: git log -1 --pretty=%at 4b16c60a8fffe213d3a5002f85696fef2b6a8172
2021-03-15 22:43:04,973 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3efec25aa7e225dac913be6d759cacfe7898fa8c
2021-03-15 22:43:04,976 autosynth [DEBUG] > Running: git log -1 --pretty=%at d652c6370bf66e325da6ac9ad82989fe7ee7bb4b
2021-03-15 22:43:04,979 autosynth [DEBUG] > Running: git log -1 --pretty=%at b6ebac16c3aecb798d4f25443d96df2f42a965ca
2021-03-15 22:43:04,983 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3e9b231b098d514c9a51ba8c59e416f45837b195
2021-03-15 22:43:04,986 autosynth [DEBUG] > Running: git log -1 --pretty=%at d7559898a37485bf9de44a6e2d22d66d1bad2eb0
2021-03-15 22:43:04,988 autosynth [DEBUG] > Running: git log -1 --pretty=%at 4112ccbe6566f63d5b1008ca52eee54cc2896aa9
2021-03-15 22:43:04,992 autosynth [DEBUG] > Running: git log -1 --pretty=%at a0d282daa691e95ec51131c81c3777fc95abf7f8
2021-03-15 22:43:04,995 autosynth [DEBUG] > Running: git log -1 --pretty=%at 1305ca41d554eb0725237561e34129373bb8cbc1
2021-03-15 22:43:04,998 autosynth [DEBUG] > Running: git log -1 --pretty=%at 81e30251959461b6220ed3121747e86d7b17bb5a
2021-03-15 22:43:05,001 autosynth [DEBUG] > Running: git log -1 --pretty=%at 72326861be446be27d53af95c87e6e313367c371
2021-03-15 22:43:05,004 autosynth [DEBUG] > Running: git log -1 --pretty=%at cb631dd3ffe0d6f77f7b01c5168e357771c74b51
2021-03-15 22:43:05,008 autosynth [DEBUG] > Running: git log -1 --pretty=%at a1ba4568e228b25124f9a6689cfe3bcab75498a6
2021-03-15 22:43:05,011 autosynth [DEBUG] > Running: git log -1 --pretty=%at 0dafa3963ef6fcb8a7f5daaa4bec12adb04de518
2021-03-15 22:43:05,014 autosynth [DEBUG] > Running: git log -1 --pretty=%at a4ee234c9499483cc966669669e7900b3b781192
2021-03-15 22:43:05,017 autosynth [DEBUG] > Running: git log -1 --pretty=%at e1654206ff59f3a2a226828f9c9f354c253b36e4
2021-03-15 22:43:05,021 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:43:05,041 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:43:05,056 autosynth [DEBUG] > Running: git branch -f autosynth-Google.Cloud.Billing.Budgets.V1Beta1-122
2021-03-15 22:43:05,060 autosynth [DEBUG] > Running: git checkout autosynth-Google.Cloud.Billing.Budgets.V1Beta1-122
Switched to branch 'autosynth-Google.Cloud.Billing.Budgets.V1Beta1-122'
2021-03-15 22:43:05,080 autosynth [INFO] > Running synthtool
2021-03-15 22:43:05,080 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2021-03-15 22:43:05,080 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/Google.Cloud.Billing.Budgets.V1Beta1/122/sponge_log.log
2021-03-15 22:43:05,083 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2021-03-15 22:43:05,331 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-cloud-dotnet/apis/Google.Cloud.Billing.Budgets.V1Beta1/synth.py.
On branch autosynth-Google.Cloud.Billing.Budgets.V1Beta1-122
nothing to commit, working tree clean
Skipping microgenerator fetch/build: already built, and running on Kokoro
Building existing version of Google.Cloud.Billing.Budgets.V1Beta1 for compatibility checking
Generating Google.Cloud.Billing.Budgets.V1Beta1
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:43:10,271 synthtool [ERROR] > Failed executing /bin/bash generateapis.sh --check_compatibility Google.Cloud.Billing.Budgets.V1Beta1:

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.Billing.Budgets.V1Beta1/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.Billing.Budgets.V1Beta1')' returned non-zero exit status 1.
2021-03-15 22:43:10,296 autosynth [ERROR] > Synthesis failed
2021-03-15 22:43:10,296 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1b5aa4306 chore: remove obsolete configuration file
2021-03-15 22:43:10,327 autosynth [DEBUG] > Running: git checkout autosynth-Google.Cloud.Billing.Budgets.V1Beta1
Switched to branch 'autosynth-Google.Cloud.Billing.Budgets.V1Beta1'
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 passed, closing! :green_heart: