Title: Synthesis failed for python-asset · Issue #136 · googleapis/python-asset · GitHub
Open Graph Title: Synthesis failed for python-asset · Issue #136 · googleapis/python-asset
X Title: Synthesis failed for python-asset · Issue #136 · googleapis/python-asset
Description: Hello! Autosynth couldn't regenerate python-asset. 💔 Here's the output from running synth.py: autosynth [DEBUG] > Running: git log -1 --pretty=%at 69629b64b83c6421d616be2b8e11795738ec8a6c 2020-12-12 05:33:35,059 autosynth [DEBUG] > Runni...
Open Graph Description: Hello! Autosynth couldn't regenerate python-asset. 💔 Here's the output from running synth.py: autosynth [DEBUG] > Running: git log -1 --pretty=%at 69629b64b83c6421d616be2b8e11795738ec8a6c 2020-12-1...
X Description: Hello! Autosynth couldn't regenerate python-asset. 💔 Here's the output from running synth.py: autosynth [DEBUG] > Running: git log -1 --pretty=%at 69629b64b83c6421d616be2b8e11795738ec8a6...
Opengraph URL: https://github.com/googleapis/python-asset/issues/136
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Synthesis failed for python-asset","articleBody":"Hello! Autosynth couldn't regenerate python-asset. :broken_heart:\n\nHere's the output from running `synth.py`:\n\n```\nautosynth [DEBUG] > Running: git log -1 --pretty=%at 69629b64b83c6421d616be2b8e11795738ec8a6c\n2020-12-12 05:33:35,059 autosynth [DEBUG] > Running: git log -1 --pretty=%at f94318521f63085b9ccb43d42af89f153fb39f15\n2020-12-12 05:33:35,062 autosynth [DEBUG] > Running: git log -1 --pretty=%at 18c5dbdb4ac8cf75d4d8174e7b4558f48e76f8a1\n2020-12-12 05:33:35,065 autosynth [DEBUG] > Running: git log -1 --pretty=%at 5d11bd2888c38ce1fb6fa6bf25494a4219a73928\n2020-12-12 05:33:35,068 autosynth [DEBUG] > Running: git log -1 --pretty=%at 3559dd8cb634347737632776ef4089443eacdb4f\n2020-12-12 05:33:35,071 autosynth [DEBUG] > Running: git log -1 --pretty=%at 7d1ee3207371ef72a1ca931a0964c4007e687280\n2020-12-12 05:33:35,074 autosynth [DEBUG] > Running: git log -1 --pretty=%at 352f25621c28d2fa0784984ea0ed5ea697aa1525\n2020-12-12 05:33:35,077 autosynth [DEBUG] > Running: git log -1 --pretty=%at 996775eca5fd934edac3c2ae34b80ff0395b1717\n2020-12-12 05:33:35,081 autosynth [DEBUG] > Running: git checkout e5d67ecf628c13b3fa7b89aadb95a41c9405fee0\nNote: checking out 'e5d67ecf628c13b3fa7b89aadb95a41c9405fee0'.\n\nYou are in 'detached HEAD' state. You can look around, make experimental\nchanges and commit them, and you can discard any commits you make in this\nstate without impacting any branches by performing another checkout.\n\nIf you want to create a new branch to retain commits you create, you may\ndo so (now or later) by using -b with the checkout command again. Example:\n\n git checkout -b \u003cnew-branch-name>\n\nHEAD is now at e5d67ec chore(deps): update dependency google-cloud-storage to v1.34.0 (#135)\n2020-12-12 05:33:35,092 autosynth [DEBUG] > Running: git checkout dd372aa22ded7a8ba6f0e03a80e06358a3fa0907\nNote: checking out 'dd372aa22ded7a8ba6f0e03a80e06358a3fa0907'.\n\nYou are in 'detached HEAD' state. You can look around, make experimental\nchanges and commit them, and you can discard any commits you make in this\nstate without impacting any branches by performing another checkout.\n\nIf you want to create a new branch to retain commits you create, you may\ndo so (now or later) by using -b with the checkout command again. Example:\n\n git checkout -b \u003cnew-branch-name>\n\nHEAD is now at dd372aa2 fix: remove client recv msg limit fix: add enums to `types/__init__.py`\n2020-12-12 05:33:35,106 autosynth [DEBUG] > Running: git checkout 996775eca5fd934edac3c2ae34b80ff0395b1717\nNote: checking out '996775eca5fd934edac3c2ae34b80ff0395b1717'.\n\nYou are in 'detached HEAD' state. You can look around, make experimental\nchanges and commit them, and you can discard any commits you make in this\nstate without impacting any branches by performing another checkout.\n\nIf you want to create a new branch to retain commits you create, you may\ndo so (now or later) by using -b with the checkout command again. Example:\n\n git checkout -b \u003cnew-branch-name>\n\nHEAD is now at 996775e fix(python): skip samples readmegen in synthtool (#875)\n2020-12-12 05:33:35,113 autosynth [DEBUG] > Running: git branch -f autosynth-162\n2020-12-12 05:33:35,116 autosynth [DEBUG] > Running: git checkout autosynth-162\nSwitched to branch 'autosynth-162'\n2020-12-12 05:33:35,121 autosynth [INFO] > Running synthtool\n2020-12-12 05:33:35,121 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']\n2020-12-12 05:33:35,121 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-asset/162/sponge_log.log\n2020-12-12 05:33:35,123 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --\n2020-12-12 05:33:35,344 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-asset/synth.py.\nOn branch autosynth-162\nnothing to commit, working tree clean\n2020-12-12 05:33:35,482 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool\n2020-12-12 05:33:35,487 synthtool [DEBUG] > Ensuring dependencies.\n2020-12-12 05:33:35,497 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool\n2020-12-12 05:33:35,502 synthtool [DEBUG] > Cloning googleapis.\n2020-12-12 05:33:35,502 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis\n2020-12-12 05:33:35,505 synthtool [DEBUG] > Generating code for: //google/cloud/asset/v1beta1:asset-v1beta1-py.\n2020-12-12 05:33:48,488 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/cloud/asset/v1beta1:asset-v1beta1-py:\n\nLoading: \nLoading: 0 packages loaded\nINFO: SHA256 (https://github.com/googleapis/gapic-generator-python/archive/v0.37.1.zip) = b9a321eaa612c69ad98850fde896b79702707d27d15b40224ab6312f28b09b60\nDEBUG: Rule 'gapic_generator_python' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = \"b9a321eaa612c69ad98850fde896b79702707d27d15b40224ab6312f28b09b60\"\nDEBUG: Call stack for the definition of repository 'gapic_generator_python' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):\n - \u003cbuiltin>\n - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:241:1\nLoading: 0 packages loaded\nLoading: 0 packages loaded\nERROR: Skipping '//google/cloud/asset/v1beta1:asset-v1beta1-py': no such package 'google/cloud/asset/v1beta1': BUILD file not found in any of the following directories. Add a BUILD file to a directory to mark it as a package.\n - /home/kbuilder/.cache/synthtool/googleapis/google/cloud/asset/v1beta1\nWARNING: Target pattern parsing failed.\nERROR: no such package 'google/cloud/asset/v1beta1': BUILD file not found in any of the following directories. Add a BUILD file to a directory to mark it as a package.\n - /home/kbuilder/.cache/synthtool/googleapis/google/cloud/asset/v1beta1\nINFO: Elapsed time: 12.974s\nINFO: 0 processes.\nFAILED: Build did NOT complete successfully (0 packages loaded)\nFAILED: Build did NOT complete successfully (0 packages loaded)\n\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/synthtool/__main__.py\", line 102, in \u003cmodule>\n main()\n File \"/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py\", line 829, in __call__\n return self.main(*args, **kwargs)\n File \"/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py\", line 782, in main\n rv = self.invoke(ctx)\n File \"/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py\", line 1066, in invoke\n return ctx.invoke(self.callback, **ctx.params)\n File \"/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py\", line 610, in invoke\n return callback(*args, **kwargs)\n File \"/tmpfs/src/github/synthtool/synthtool/__main__.py\", line 94, in main\n spec.loader.exec_module(synth_module) # type: ignore\n File \"\u003cfrozen importlib._bootstrap_external>\", line 678, in exec_module\n File \"\u003cfrozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n File \"/home/kbuilder/.cache/synthtool/python-asset/synth.py\", line 36, in \u003cmodule>\n bazel_target=f\"//google/cloud/asset/{version}:asset-{version}-py\",\n File \"/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py\", line 52, in py_library\n return self._generate_code(service, version, \"python\", **kwargs)\n File \"/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py\", line 193, in _generate_code\n shell.run(bazel_run_args)\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 '['bazel', '--max_idle_secs=240', 'build', '//google/cloud/asset/v1beta1:asset-v1beta1-py']' returned non-zero exit status 1.\n2020-12-12 05:33:48,551 autosynth [ERROR] > Synthesis failed\n2020-12-12 05:33:48,552 autosynth [DEBUG] > Running: git reset --hard HEAD\nHEAD is now at e5d67ec chore(deps): update dependency google-cloud-storage to v1.34.0 (#135)\n2020-12-12 05:33:48,558 autosynth [DEBUG] > Running: git checkout autosynth\nSwitched to branch 'autosynth'\n2020-12-12 05:33:48,563 autosynth [DEBUG] > Running: git clean -fdx\nRemoving __pycache__/\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 354, in \u003cmodule>\n main()\n File \"/tmpfs/src/github/synthtool/autosynth/synth.py\", line 189, in main\n return _inner_main(temp_dir)\n File \"/tmpfs/src/github/synthtool/autosynth/synth.py\", line 334, in _inner_main\n commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)\n File \"/tmpfs/src/github/synthtool/autosynth/synth.py\", line 65, in synthesize_loop\n has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)\n File \"/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py\", line 259, in synthesize_version_in_new_branch\n synthesizer.synthesize(synth_log_path, self.environ)\n File \"/tmpfs/src/github/synthtool/autosynth/synthesizer.py\", line 120, in synthesize\n synth_proc.check_returncode() # Raise an exception.\n File \"/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py\", line 389, in check_returncode\n self.stderr)\nsubprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.\n\n```\n\nGoogle internal developers can see the full log [here](http://sponge2/results/invocations/71c982aa-fc95-4efe-80a5-77a98b67742a/targets/github%2Fsynthtool;config=default/tests;query=python-asset;failed=false).\n","author":{"url":"https://github.com/yoshi-automation","@type":"Person","name":"yoshi-automation"},"datePublished":"2020-12-12T13:33:50Z","url":"https://github.com/googleapis/python-asset/issues/136"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f440f795-e291-c87b-a882-c80905b1fa1d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B524:10A573:1ECBA4F:286C8E6:6B098F5C |
| html-safe-nonce | f46de5cc02a6f3468f74967b23e768c1e062c9d6d581600be7f5c3427955bd74 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTI0OjEwQTU3MzoxRUNCQTRGOjI4NkM4RTY6NkIwOThGNUMiLCJ2aXNpdG9yX2lkIjoiOTAwNzQ2MDAyMTE4MTE4OTk4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 36249ea6c7fba878554a472fcae1409fc4eb43addfdeb90206d798a5fb1626a0 |
| hovercard-subject-tag | issue:763829190 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/python-asset/136/issue_layout |
| twitter:image | https://opengraph.githubassets.com/70ae554f449f1a8ddc2844e26c5c0d5671bc583332d3aa208ddc00e2a8be9df3/googleapis/python-asset/issues/136 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/70ae554f449f1a8ddc2844e26c5c0d5671bc583332d3aa208ddc00e2a8be9df3/googleapis/python-asset/issues/136 |
| og:image:alt | Hello! Autosynth couldn't regenerate python-asset. 💔 Here's the output from running synth.py: autosynth [DEBUG] > Running: git log -1 --pretty=%at 69629b64b83c6421d616be2b8e11795738ec8a6c 2020-12-1... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | yoshi-automation |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7979c7f5a22f0d2888cd797df0df5d946c8c8609941ab6be35588d3fff39c86e |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-asset git https://github.com/googleapis/python-asset.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992466 |
| octolytics-dimension-repository_nwo | googleapis/python-asset |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992466 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-asset |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d82818ecaa19047a8735708a7f4ba2ab4eb8df16 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width