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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synthesis failed for datalabeling #4887

Closed
yoshi-automation opened this issue Apr 3, 2019 · 1 comment
Closed

Synthesis failed for datalabeling #4887

yoshi-automation opened this issue Apr 3, 2019 · 1 comment
Assignees
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 datalabeling. 💔

Here's the output from running synth.py:

Cloning into 'working_repo'...
Switched to branch 'autosynth-datalabeling'
Running synthtool
['/tmpfs/src/git/autosynth/env/bin/python3', '-m', 'synthtool', 'synth.py', '--']
synthtool > Executing /tmpfs/src/git/autosynth/working_repo/google-cloud-clients/google-cloud-datalabeling/synth.py.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:e7f9554322a8aa1416c122c918fdc4cdec8cfe816f027fc948dec0be7edef320
Status: Image is up to date for googleapis/artman:latest
synthtool > Cloning googleapis.
synthtool > Running generator for google/cloud/datalabeling/artman_datalabeling_v1beta1.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java.
synthtool > Running java formatter on 10 files
synthtool > Running java formatter on 1 files
synthtool > Running java formatter on 227 files
synthtool > Cleaned up 0 temporary directories.
synthtool > Wrote metadata to synth.metadata.

Changed files:
?? google-cloud-clients/google-cloud-datalabeling/synth.metadata
[autosynth-datalabeling 67c307b] Regenerate datalabeling client
 1 file changed, 32 insertions(+)
 create mode 100644 google-cloud-clients/google-cloud-datalabeling/synth.metadata
remote: 
remote: GitHub found 1 vulnerability on googleapis/google-cloud-java's default branch (1 moderate). To find out more, visit:        
remote:      https://github.com/googleapis/google-cloud-java/network/alerts        
remote: 
To https://github.com/googleapis/google-cloud-java.git
 + 4bdde1f...67c307b autosynth-datalabeling -> autosynth-datalabeling (forced update)
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.1/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.1/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/git/autosynth/autosynth/synth.py", line 223, in <module>
    main()
  File "/tmpfs/src/git/autosynth/autosynth/synth.py", line 211, in main
    args.repository, branch=branch, title=pr_title, body=pr_body
  File "/tmpfs/src/git/autosynth/autosynth/github.py", line 65, in create_pull_request
    response.raise_for_status()
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/requests/models.py", line 940, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 422 Client Error: Unprocessable Entity for url: https://api.github.com/repos/googleapis/google-cloud-java/pulls

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 Apr 3, 2019
@kolea2
Copy link
Contributor

kolea2 commented Apr 3, 2019

This was generated successfully after: #4883

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