Skip to content

Synthesis failed for python-api-core #34

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

Closed
yoshi-automation opened this issue May 27, 2020 · 1 comment · Fixed by #44
Closed

Synthesis failed for python-api-core #34

yoshi-automation opened this issue May 27, 2020 · 1 comment · Fixed by #44
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 python-api-core. 💔

Here's the output from running synth.py:

b'2020-05-27 09:47:58,720 autosynth [INFO] > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/python-api-core\n2020-05-27 09:47:59,238 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore\n2020-05-27 09:47:59,242 autosynth [DEBUG] > Running: git config user.name yoshi-automation\n2020-05-27 09:47:59,245 autosynth [DEBUG] > Running: git config user.email yoshi-automation@google.com\n2020-05-27 09:47:59,248 autosynth [DEBUG] > Running: git config push.default simple\n2020-05-27 09:47:59,251 autosynth [DEBUG] > Running: git branch -f autosynth\n2020-05-27 09:47:59,254 autosynth [DEBUG] > Running: git checkout autosynth\nSwitched to branch \'autosynth\'\n2020-05-27 09:47:59,262 autosynth [DEBUG] > Running: git rev-parse --show-toplevel\n2020-05-27 09:47:59,265 autosynth [DEBUG] > Running: git log -1 --pretty=%H\n2020-05-27 09:47:59,269 autosynth [DEBUG] > Running: git remote get-url origin\n2020-05-27 09:47:59,278 synthtool [ERROR] > Failed executing git clone --single-branch rpc://devrel/cloud/libraries/tools/autosynth /home/kbuilder/.cache/synthtool/autosynth:\n\nCloning into \'/home/kbuilder/.cache/synthtool/autosynth\'...\nfatal: unable to find remote helper for \'rpc\'\n\n2020-05-27 09:47:59,278 autosynth [DEBUG] > Running: git clean -fdx\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 576, in _inner_main\n    git_source.enumerate_versions(sources, pathlib.Path(temp_dir))\n  File "/tmpfs/src/github/synthtool/autosynth/git_source.py", line 166, in enumerate_versions\n    source_versions = enumerate_versions_for_source(git_source, temp_dir)\n  File "/tmpfs/src/github/synthtool/autosynth/git_source.py", line 131, in enumerate_versions_for_source\n    local_repo_dir = str(synthtool_git.clone(remote))\n  File "/tmpfs/src/github/synthtool/synthtool/sources/git.py", line 83, in clone\n    shell.run(cmd, check=True)\n  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run\n    raise exc\n  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run\n    encoding="utf-8",\n  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run\n    output=stdout, stderr=stderr)\nsubprocess.CalledProcessError: Command \'[\'git\', \'clone\', \'--single-branch\', \'rpc://devrel/cloud/libraries/tools/autosynth\', PosixPath(\'/home/kbuilder/.cache/synthtool/autosynth\')]\' returned non-zero exit status 128.\n'

Google internal developers can see the full log here.

@yoshi-automation yoshi-automation added 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. autosynth failure labels May 27, 2020
@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

Successfully merging a pull request may close this issue.

1 participant