Closed yoshi-automation closed 3 years ago
Hello! Autosynth couldn't regenerate WorkflowExecutions. :broken_heart:
Here's the output from running synth.py:
synth.py
2020-11-20 07:08:47,139 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api 2020-11-20 07:08:47,652 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore 2020-11-20 07:08:47,656 autosynth [DEBUG] > Running: git config user.name yoshi-automation 2020-11-20 07:08:47,659 autosynth [DEBUG] > Running: git config user.email yoshi-automation@google.com 2020-11-20 07:08:47,663 autosynth [DEBUG] > Running: git config push.default simple 2020-11-20 07:08:47,667 autosynth [DEBUG] > Running: git branch -f autosynth-workflowexecutions 2020-11-20 07:08:47,671 autosynth [DEBUG] > Running: git checkout autosynth-workflowexecutions Switched to branch 'autosynth-workflowexecutions' 2020-11-20 07:08:47,906 autosynth [INFO] > Running synthtool 2020-11-20 07:08:47,906 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/workflow_executions/synth.metadata', 'synth.py', '--'] 2020-11-20 07:08:47,906 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/WorkflowExecutions/sponge_log.log 2020-11-20 07:08:47,909 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/workflow_executions/synth.metadata synth.py -- WorkflowExecutions 2020-11-20 07:08:48,138 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py. On branch autosynth-workflowexecutions nothing to commit, working tree clean 2020-11-20 07:08:49,969 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpwmhnh3nu/repo:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh WorkflowExecutions DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpwmhnh3nu/repo:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh WorkflowExecutions /workspace /workspace [33mThe mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.[0m Resolving Hex dependencies... Dependency resolution completed: Unchanged: certifi 2.5.1 google_api_discovery 0.7.0 google_gax 0.3.2 hackney 1.15.2 idna 6.0.0 jason 1.2.1 metrics 1.0.1 mime 1.3.1 mimerl 1.2.0 oauth2 0.9.4 parse_trans 3.3.0 poison 3.1.0 ssl_verify_fun 1.1.5 temp 0.4.7 tesla 1.3.3 unicode_util_compat 0.4.1 * Getting google_api_discovery (Hex package) * Getting tesla (Hex package) * Getting oauth2 (Hex package) * Getting temp (Hex package) * Getting jason (Hex package) * Getting poison (Hex package) * Getting hackney (Hex package) * Getting certifi (Hex package) * Getting idna (Hex package) * Getting metrics (Hex package) * Getting mimerl (Hex package) * Getting ssl_verify_fun (Hex package) * Getting unicode_util_compat (Hex package) * Getting parse_trans (Hex package) * Getting mime (Hex package) * Getting google_gax (Hex package) [33mThe mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.[0m ==> temp Compiling 3 files (.ex) Generated temp app ===> Compiling parse_trans ===> Compiling mimerl ===> Compiling metrics ===> Compiling unicode_util_compat ===> Compiling idna ==> jason Compiling 8 files (.ex) Generated jason app warning: String.strip/1 is deprecated. Use String.trim/1 instead /workspace/deps/poison/mix.exs:4 ==> poison Compiling 4 files (.ex) warning: Integer.to_char_list/2 is deprecated. Use Integer.to_charlist/2 instead lib/poison/encoder.ex:173 Generated poison app ==> ssl_verify_fun Compiling 7 files (.erl) Generated ssl_verify_fun app ===> Compiling certifi ===> Compiling hackney ==> oauth2 Compiling 13 files (.ex) Generated oauth2 app ==> mime Compiling 2 files (.ex) Generated mime app ==> tesla Compiling 26 files (.ex) Generated tesla app ==> google_gax Compiling 5 files (.ex) Generated google_gax app ==> google_api_discovery Compiling 21 files (.ex) Generated google_api_discovery app ==> google_apis Compiling 28 files (.ex) Generated google_apis app 15:09:23.303 [info] FETCHING: https://workflowexecutions.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1beta 15:09:23.431 [info] FETCHING: https://workflowexecutions.googleapis.com/$discovery/rest?version=v1beta {:error, "All formats failed"} ** (File.Error) could not read file "/workspace/specifications/gdd/WorkflowExecutions-v1beta.json": no such file or directory (elixir) lib/file.ex:353: File.read!/1 lib/google_apis/generator/elixir_generator/token.ex:79: GoogleApis.Generator.ElixirGenerator.Token.build/1 lib/google_apis/generator/elixir_generator.ex:40: GoogleApis.Generator.ElixirGenerator.generate_client/1 lib/mix/tasks/google_apis.generate.ex:33: anonymous fn/1 in Mix.Tasks.GoogleApis.Generate.builder/1 (elixir) lib/enum.ex:783: Enum."-each/2-lists^foreach/1-0-"/2 (elixir) lib/enum.ex:783: Enum.each/2 lib/mix/tasks/google_apis.generate.ex:31: Mix.Tasks.GoogleApis.Generate.builder/1 (mix) lib/mix/task.ex:331: Mix.Task.run_task/3 fixing file permissions 2020-11-20 07:09:23,904 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpwmhnh3nu/repo:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh WorkflowExecutions: None ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpwmhnh3nu/repo:/workspace -v/var/run/docker.sock:/var/run/docker.sock -e USER_GROUP=1000:1000 -w /workspace gcr.io/cloud-devrel-public-resources/elixir19 scripts/generate_client.sh WorkflowExecutions: 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/elixir-google-api/synth.py", line 59, in <module> shell.run(command, cwd=repository, 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 '['docker', 'run', '--rm', '-v/tmpfs/tmp/tmpwmhnh3nu/repo:/workspace', '-v/var/run/docker.sock:/var/run/docker.sock', '-e', 'USER_GROUP=1000:1000', '-w', '/workspace', 'gcr.io/cloud-devrel-public-resources/elixir19', 'scripts/generate_client.sh', 'WorkflowExecutions']' returned non-zero exit status 1. 2020-11-20 07:09:24,349 autosynth [ERROR] > Synthesis failed 2020-11-20 07:09:24,349 autosynth [DEBUG] > Running: git clean -fdx Removing __pycache__/ 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 291, in _inner_main ).synthesize(synth_log_path / "sponge_log.log") 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', 'clients/workflow_executions/synth.metadata', 'synth.py', '--', 'WorkflowExecutions']' returned non-zero exit status 1.
Google internal developers can see the full log here.
Autosynth passed, closing! :green_heart:
Hello! Autosynth couldn't regenerate WorkflowExecutions. :broken_heart:
Here's the output from running
synth.py
:Google internal developers can see the full log here.