Skip to content

Synthesis failed for all #509

@yoshi-automation

Description

@yoshi-automation

Hello! Autosynth couldn't regenerate all. 💔

Here's the output from running synth.py:

b'ebasehosting-gen.go\n M firebaseml/v1beta2/firebaseml-gen.go\n M firebaserules/v1/firebaserules-gen.go\n M firestore/v1/firestore-gen.go\n M firestore/v1beta1/firestore-gen.go\n M firestore/v1beta2/firestore-gen.go\n M fitness/v1/fitness-api.json\n M fitness/v1/fitness-gen.go\n M games/v1/games-gen.go\n M gamesconfiguration/v1configuration/gamesconfiguration-api.json\n M gamesconfiguration/v1configuration/gamesconfiguration-gen.go\n M gameservices/v1beta/gameservices-gen.go\n M gamesmanagement/v1management/gamesmanagement-api.json\n M gamesmanagement/v1management/gamesmanagement-gen.go\n M genomics/v1/genomics-gen.go\n M genomics/v1alpha2/genomics-gen.go\n M genomics/v2alpha1/genomics-gen.go\n M gmail/v1/gmail-gen.go\n M groupsmigration/v1/groupsmigration-gen.go\n M groupssettings/v1/groupssettings-gen.go\n M healthcare/v1/healthcare-api.json\n M healthcare/v1/healthcare-gen.go\n M healthcare/v1beta1/healthcare-api.json\n M healthcare/v1beta1/healthcare-gen.go\n M homegraph/v1/homegraph-api.json\n M homegraph/v1/homegraph-gen.go\n M iam/v1/iam-gen.go\n M iamcredentials/v1/iamcredentials-api.json\n M iamcredentials/v1/iamcredentials-gen.go\n M iap/v1/iap-gen.go\n M iap/v1beta1/iap-gen.go\n M identitytoolkit/v3/identitytoolkit-gen.go\n M indexing/v3/indexing-gen.go\n M internal/version/version.go\n M jobs/v2/jobs-gen.go\n M jobs/v3/jobs-gen.go\n M jobs/v3p1beta1/jobs-gen.go\n M kgsearch/v1/kgsearch-gen.go\n M language/v1/language-gen.go\n M language/v1beta1/language-gen.go\n M language/v1beta2/language-gen.go\n M libraryagent/v1/libraryagent-gen.go\n M licensing/v1/licensing-gen.go\n M lifesciences/v2beta/lifesciences-gen.go\n M logging/v2/logging-gen.go\n M managedidentities/v1/managedidentities-gen.go\n M managedidentities/v1alpha1/managedidentities-gen.go\n M managedidentities/v1beta1/managedidentities-gen.go\n M manufacturers/v1/manufacturers-gen.go\n M memcache/v1beta2/memcache-gen.go\n M ml/v1/ml-gen.go\n M monitoring/v1/monitoring-gen.go\n M monitoring/v3/monitoring-gen.go\n M networkmanagement/v1beta1/networkmanagement-gen.go\n M oauth2/v2/oauth2-gen.go\n M osconfig/v1/osconfig-gen.go\n M osconfig/v1beta/osconfig-gen.go\n M oslogin/v1/oslogin-gen.go\n M oslogin/v1alpha/oslogin-gen.go\n M oslogin/v1beta/oslogin-gen.go\n M pagespeedonline/v5/pagespeedonline-gen.go\n M people/v1/people-gen.go\n M playcustomapp/v1/playcustomapp-gen.go\n M plus/v1/plus-gen.go\n M policytroubleshooter/v1/policytroubleshooter-gen.go\n M policytroubleshooter/v1beta/policytroubleshooter-gen.go\n M poly/v1/poly-gen.go\n M prod_tt_sasportal/v1alpha1/prod_tt_sasportal-gen.go\n M pubsub/v1/pubsub-gen.go\n M pubsub/v1beta1a/pubsub-gen.go\n M pubsub/v1beta2/pubsub-gen.go\n M recommender/v1beta1/recommender-gen.go\n M redis/v1/redis-gen.go\n M redis/v1beta1/redis-gen.go\n M remotebuildexecution/v1/remotebuildexecution-api.json\n M remotebuildexecution/v1/remotebuildexecution-gen.go\n M remotebuildexecution/v1alpha/remotebuildexecution-api.json\n M remotebuildexecution/v1alpha/remotebuildexecution-gen.go\n M remotebuildexecution/v2/remotebuildexecution-api.json\n M remotebuildexecution/v2/remotebuildexecution-gen.go\n M reseller/v1/reseller-gen.go\n M run/v1/run-gen.go\n M run/v1alpha1/run-gen.go\n M run/v1beta1/run-gen.go\n M runtimeconfig/v1/runtimeconfig-gen.go\n M runtimeconfig/v1beta1/runtimeconfig-gen.go\n M safebrowsing/v4/safebrowsing-gen.go\n M sasportal/v1alpha1/sasportal-gen.go\n M script/v1/script-gen.go\n M searchconsole/v1/searchconsole-gen.go\n M secretmanager/v1/secretmanager-gen.go\n M secretmanager/v1beta1/secretmanager-gen.go\n M securitycenter/v1/securitycenter-api.json\n M securitycenter/v1/securitycenter-gen.go\n M securitycenter/v1beta1/securitycenter-api.json\n M securitycenter/v1beta1/securitycenter-gen.go\n M securitycenter/v1p1alpha1/securitycenter-gen.go\n M securitycenter/v1p1beta1/securitycenter-api.json\n M securitycenter/v1p1beta1/securitycenter-gen.go\n M serviceconsumermanagement/v1/serviceconsumermanagement-api.json\n M serviceconsumermanagement/v1/serviceconsumermanagement-gen.go\n M serviceconsumermanagement/v1beta1/serviceconsumermanagement-api.json\n M serviceconsumermanagement/v1beta1/serviceconsumermanagement-gen.go\n M servicecontrol/v1/servicecontrol-gen.go\n M servicedirectory/v1beta1/servicedirectory-gen.go\n M servicemanagement/v1/servicemanagement-api.json\n M servicemanagement/v1/servicemanagement-gen.go\n M servicenetworking/v1/servicenetworking-api.json\n M servicenetworking/v1/servicenetworking-gen.go\n M servicenetworking/v1beta/servicenetworking-api.json\n M servicenetworking/v1beta/servicenetworking-gen.go\n M serviceusage/v1/serviceusage-api.json\n M serviceusage/v1/serviceusage-gen.go\n M serviceusage/v1beta1/serviceusage-api.json\n M serviceusage/v1beta1/serviceusage-gen.go\n M sheets/v4/sheets-gen.go\n M siteverification/v1/siteverification-gen.go\n M slides/v1/slides-gen.go\n M sourcerepo/v1/sourcerepo-gen.go\n M spanner/v1/spanner-api.json\n M spanner/v1/spanner-gen.go\n M speech/v1/speech-gen.go\n M speech/v1p1beta1/speech-gen.go\n M speech/v2beta1/speech-gen.go\n M sqladmin/v1beta4/sqladmin-gen.go\n M storage/v1/storage-gen.go\n M storage/v1beta2/storage-gen.go\n M storagetransfer/v1/storagetransfer-gen.go\n M streetviewpublish/v1/streetviewpublish-gen.go\n M tagmanager/v1/tagmanager-gen.go\n M tagmanager/v2/tagmanager-gen.go\n M tasks/v1/tasks-api.json\n M tasks/v1/tasks-gen.go\n M testing/v1/testing-gen.go\n M texttospeech/v1/texttospeech-gen.go\n M texttospeech/v1beta1/texttospeech-gen.go\n M tpu/v1/tpu-gen.go\n M tpu/v1alpha1/tpu-gen.go\n M translate/v2/translate-gen.go\n M translate/v3/translate-api.json\n M translate/v3/translate-gen.go\n M translate/v3beta1/translate-gen.go\n M vault/v1/vault-gen.go\n M verifiedaccess/v1/verifiedaccess-api.json\n M verifiedaccess/v1/verifiedaccess-gen.go\n M videointelligence/v1/videointelligence-gen.go\n M videointelligence/v1beta2/videointelligence-gen.go\n M videointelligence/v1p1beta1/videointelligence-gen.go\n M videointelligence/v1p2beta1/videointelligence-gen.go\n M videointelligence/v1p3beta1/videointelligence-gen.go\n M vision/v1/vision-gen.go\n M vision/v1p1beta1/vision-gen.go\n M vision/v1p2beta1/vision-gen.go\n M webfonts/v1/webfonts-gen.go\n M webmasters/v3/webmasters-gen.go\n M websecurityscanner/v1/websecurityscanner-api.json\n M websecurityscanner/v1/websecurityscanner-gen.go\n M websecurityscanner/v1alpha/websecurityscanner-api.json\n M websecurityscanner/v1alpha/websecurityscanner-gen.go\n M websecurityscanner/v1beta/websecurityscanner-api.json\n M websecurityscanner/v1beta/websecurityscanner-gen.go\n M youtube/v3/youtube-api.json\n M youtube/v3/youtube-gen.go\n M youtubeanalytics/v2/youtubeanalytics-gen.go\n M youtubereporting/v1/youtubereporting-gen.go\n?? artifactregistry/\n?? dialogflow/v3alpha1/\n?? firebaseml/v1/\n?? networkmanagement/v1/\n?? synth.metadata\n2020-05-27 04:41:56,932 autosynth [DEBUG] > Running: git add -A\n2020-05-27 04:41:58,582 autosynth [DEBUG] > Running: git commit -m [CHANGE ME] Re-generated  to pick up changes in the API or client library generator.\n[synth-update 2aa4c9851] [CHANGE ME] Re-generated  to pick up changes in the API or client library generator.\n 346 files changed, 52939 insertions(+), 19643 deletions(-)\n create mode 100644 artifactregistry/v1beta1/artifactregistry-api.json\n create mode 100644 artifactregistry/v1beta1/artifactregistry-gen.go\n create mode 100644 dialogflow/v3alpha1/dialogflow-api.json\n create mode 100644 dialogflow/v3alpha1/dialogflow-gen.go\n create mode 100644 firebaseml/v1/firebaseml-api.json\n create mode 100644 firebaseml/v1/firebaseml-gen.go\n create mode 100644 networkmanagement/v1/networkmanagement-api.json\n create mode 100644 networkmanagement/v1/networkmanagement-gen.go\n create mode 100644 synth.metadata\n2020-05-27 04:42:00,499 autosynth [DEBUG] > Running: git push --force origin autosynth-regen\nremote: \nremote: Create a pull request for \'autosynth-regen\' on GitHub by visiting:        \nremote:      https://github.com/googleapis/google-api-go-client/pull/new/autosynth-regen        \nremote: \nTo https://github.com/googleapis/google-api-go-client.git\n * [new branch]          autosynth-regen -> autosynth-regen\n2020-05-27 04:42:04,515 autosynth [DEBUG] > Running: git log -1 --pretty=%b\n2020-05-27 04:42:05,014 autosynth [ERROR] > Error making request (422): Validation Failed\n2020-05-27 04:42:05,014 autosynth [DEBUG] > {\'message\': \'Validation Failed\', \'errors\': [{\'resource\': \'PullRequest\', \'code\': \'custom\', \'message\': \'No commits between master and autosynth-regen\'}], \'documentation_url\': \'https://developer.github.com/v3/pulls/#create-a-pull-request\'}\n2020-05-27 04:42:05,014 autosynth [DEBUG] > Running: git clean -fdx\nRemoving __pycache__/\nRemoving google-api-go-generator/google-api-go-generator\nTraceback (most recent call last):\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main\n    "__main__", mod_spec)\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code\n    exec(code, run_globals)\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 615, in <module>\n    main()\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main\n    return _inner_main(temp_dir)\n  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 562, in _inner_main\n    change_pusher.push_changes(1, branch, pr_title, synth_log)\n  File "/tmpfs/src/github/synthtool/autosynth/change_pusher.py", line 92, in push_changes\n    body=build_pr_body(synth_log, trailers),\n  File "/tmpfs/src/github/synthtool/autosynth/github.py", line 84, in create_pull_request\n    return cast(Dict, _get_json_or_raise_exception(response))\n  File "/tmpfs/src/github/synthtool/autosynth/github.py", line 389, in _get_json_or_raise_exception\n    response.raise_for_status()\n  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/requests/models.py", line 941, in raise_for_status\n    raise HTTPError(http_error_msg, response=self)\nrequests.exceptions.HTTPError: 422 Client Error: Unprocessable Entity for url: https://api.github.com/repos/googleapis/google-api-go-client/pulls\n'

Google internal developers can see the full log here.

Metadata

Metadata

Assignees

Labels

autosynth failurepriority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions