GithubHelp home page GithubHelp logo

Comments (10)

yoshi-automation avatar yoshi-automation commented on July 17, 2024

Autosynth is still having trouble generating Transcoder. 😭

Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the Transcoder API, and the library grows
stale.

See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.

Here's the output from running synth.py:

2022-02-02 07:48:34,221 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2022-02-02 07:48:34,833 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2022-02-02 07:48:34,837 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2022-02-02 07:48:34,842 autosynth [DEBUG] > Running: git config user.email [email protected]
2022-02-02 07:48:34,845 autosynth [DEBUG] > Running: git config push.default simple
2022-02-02 07:48:34,850 autosynth [DEBUG] > Running: git branch -f autosynth-transcoder
2022-02-02 07:48:34,855 autosynth [DEBUG] > Running: git checkout autosynth-transcoder
Switched to branch 'autosynth-transcoder'
2022-02-02 07:48:35,096 autosynth [INFO] > Running synthtool
2022-02-02 07:48:35,097 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/transcoder/synth.metadata', 'synth.py', '--']
2022-02-02 07:48:35,097 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/Transcoder/sponge_log.log
2022-02-02 07:48:35,099 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/transcoder/synth.metadata synth.py -- Transcoder
2022-02-02 07:48:35,377 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-transcoder
nothing to commit, working tree clean
2022-02-02 07:48:38,003 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpim7pe5t2/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 Transcoder
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpim7pe5t2/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 Transcoder
/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.8.0
  google_api_discovery 0.12.0
  google_gax 0.4.0
  hackney 1.18.0
  idna 6.1.1
  jason 1.2.2
  metrics 1.0.1
  mime 1.6.0
  mimerl 1.2.0
  oauth2 0.9.4
  parse_trans 3.3.1
  poison 3.1.0
  ssl_verify_fun 1.1.6
  temp 0.4.7
  tesla 1.4.3
  unicode_util_compat 0.7.0
* 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 parse_trans (Hex package)
* Getting ssl_verify_fun (Hex package)
* Getting unicode_util_compat (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
===> Rebar3 detected a lock file from a newer version. It will be loaded in compatibility mode, but important information may be missing or lost. It is recommended to upgrade Rebar3.
===> 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
===> Rebar3 detected a lock file from a newer version. It will be loaded in compatibility mode, but important information may be missing or lost. It is recommended to upgrade Rebar3.
===> Compiling hackney
==> oauth2
Compiling 13 files (.ex)
Generated oauth2 app
==> mime
Compiling 2 files (.ex)
Generated mime app
==> tesla
Compiling 29 files (.ex)
Generated tesla app
==> google_gax
Compiling 5 files (.ex)
Generated google_gax app
==> google_api_discovery
Compiling 22 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app

15:49:16.919 [info]  FETCHING: https://transcoder.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1beta1

15:49:17.056 [info]  FETCHING: https://transcoder.googleapis.com/$discovery/rest?version=v1beta1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/Transcoder-v1beta1.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
2022-02-02 07:49:17,555 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpim7pe5t2/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 Transcoder:

None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpim7pe5t2/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 Transcoder:

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 1128, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 754, 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/tmpim7pe5t2/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', 'Transcoder']' returned non-zero exit status 1.
2022-02-02 07:49:18,181 autosynth [ERROR] > Synthesis failed
2022-02-02 07:49:18,181 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 359, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 296, 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/transcoder/synth.metadata', 'synth.py', '--', 'Transcoder']' returned non-zero exit status 1.

Google internal developers can see the full log here.

from elixir-google-api.

yoshi-automation avatar yoshi-automation commented on July 17, 2024

Autosynth is still having trouble generating Transcoder. 😭

Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the Transcoder API, and the library grows
stale.

See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.

Here's the output from running synth.py:

2022-02-03 07:35:28,338 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2022-02-03 07:35:28,913 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2022-02-03 07:35:28,916 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2022-02-03 07:35:28,919 autosynth [DEBUG] > Running: git config user.email [email protected]
2022-02-03 07:35:28,921 autosynth [DEBUG] > Running: git config push.default simple
2022-02-03 07:35:28,924 autosynth [DEBUG] > Running: git branch -f autosynth-transcoder
2022-02-03 07:35:28,927 autosynth [DEBUG] > Running: git checkout autosynth-transcoder
Switched to branch 'autosynth-transcoder'
2022-02-03 07:35:29,125 autosynth [INFO] > Running synthtool
2022-02-03 07:35:29,126 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/transcoder/synth.metadata', 'synth.py', '--']
2022-02-03 07:35:29,126 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/Transcoder/sponge_log.log
2022-02-03 07:35:29,128 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/transcoder/synth.metadata synth.py -- Transcoder
2022-02-03 07:35:29,379 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-transcoder
nothing to commit, working tree clean
2022-02-03 07:35:31,816 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmp69jkjm2r/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 Transcoder
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmp69jkjm2r/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 Transcoder
/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.8.0
  google_api_discovery 0.12.0
  google_gax 0.4.0
  hackney 1.18.0
  idna 6.1.1
  jason 1.2.2
  metrics 1.0.1
  mime 1.6.0
  mimerl 1.2.0
  oauth2 0.9.4
  parse_trans 3.3.1
  poison 3.1.0
  ssl_verify_fun 1.1.6
  temp 0.4.7
  tesla 1.4.3
  unicode_util_compat 0.7.0
* 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 parse_trans (Hex package)
* Getting ssl_verify_fun (Hex package)
* Getting unicode_util_compat (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
===> Rebar3 detected a lock file from a newer version. It will be loaded in compatibility mode, but important information may be missing or lost. It is recommended to upgrade Rebar3.
===> 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
===> Rebar3 detected a lock file from a newer version. It will be loaded in compatibility mode, but important information may be missing or lost. It is recommended to upgrade Rebar3.
===> Compiling hackney
==> oauth2
Compiling 13 files (.ex)
Generated oauth2 app
==> mime
Compiling 2 files (.ex)
Generated mime app
==> tesla
Compiling 29 files (.ex)
Generated tesla app
==> google_gax
Compiling 5 files (.ex)
Generated google_gax app
==> google_api_discovery
Compiling 22 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app

15:36:03.768 [info]  FETCHING: https://transcoder.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1beta1

15:36:03.880 [info]  FETCHING: https://transcoder.googleapis.com/$discovery/rest?version=v1beta1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/Transcoder-v1beta1.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
2022-02-03 07:36:04,318 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmp69jkjm2r/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 Transcoder:

None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmp69jkjm2r/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 Transcoder:

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 1128, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 754, 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/tmp69jkjm2r/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', 'Transcoder']' returned non-zero exit status 1.
2022-02-03 07:36:04,870 autosynth [ERROR] > Synthesis failed
2022-02-03 07:36:04,870 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 359, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 296, 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/transcoder/synth.metadata', 'synth.py', '--', 'Transcoder']' returned non-zero exit status 1.

Google internal developers can see the full log here.

from elixir-google-api.

yoshi-automation avatar yoshi-automation commented on July 17, 2024

Autosynth is still having trouble generating Transcoder. 😭

Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the Transcoder API, and the library grows
stale.

See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.

Here's the output from running synth.py:

2022-02-04 07:35:24,738 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2022-02-04 07:35:25,439 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2022-02-04 07:35:25,446 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2022-02-04 07:35:25,471 autosynth [DEBUG] > Running: git config user.email [email protected]
2022-02-04 07:35:25,475 autosynth [DEBUG] > Running: git config push.default simple
2022-02-04 07:35:25,487 autosynth [DEBUG] > Running: git branch -f autosynth-transcoder
2022-02-04 07:35:25,491 autosynth [DEBUG] > Running: git checkout autosynth-transcoder
Switched to branch 'autosynth-transcoder'
2022-02-04 07:35:25,716 autosynth [INFO] > Running synthtool
2022-02-04 07:35:25,717 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/transcoder/synth.metadata', 'synth.py', '--']
2022-02-04 07:35:25,717 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/Transcoder/sponge_log.log
2022-02-04 07:35:25,719 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/transcoder/synth.metadata synth.py -- Transcoder
2022-02-04 07:35:25,967 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-transcoder
nothing to commit, working tree clean
2022-02-04 07:35:28,403 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpbfam22ao/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 Transcoder
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpbfam22ao/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 Transcoder
/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.8.0
  google_api_discovery 0.12.0
  google_gax 0.4.0
  hackney 1.18.0
  idna 6.1.1
  jason 1.2.2
  metrics 1.0.1
  mime 1.6.0
  mimerl 1.2.0
  oauth2 0.9.4
  parse_trans 3.3.1
  poison 3.1.0
  ssl_verify_fun 1.1.6
  temp 0.4.7
  tesla 1.4.3
  unicode_util_compat 0.7.0
* 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 parse_trans (Hex package)
* Getting ssl_verify_fun (Hex package)
* Getting unicode_util_compat (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
===> Rebar3 detected a lock file from a newer version. It will be loaded in compatibility mode, but important information may be missing or lost. It is recommended to upgrade Rebar3.
===> 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
===> Rebar3 detected a lock file from a newer version. It will be loaded in compatibility mode, but important information may be missing or lost. It is recommended to upgrade Rebar3.
===> Compiling hackney
==> oauth2
Compiling 13 files (.ex)
Generated oauth2 app
==> mime
Compiling 2 files (.ex)
Generated mime app
==> tesla
Compiling 29 files (.ex)
Generated tesla app
==> google_gax
Compiling 5 files (.ex)
Generated google_gax app
==> google_api_discovery
Compiling 22 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app

15:36:01.180 [info]  FETCHING: https://transcoder.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1beta1

15:36:01.300 [info]  FETCHING: https://transcoder.googleapis.com/$discovery/rest?version=v1beta1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/Transcoder-v1beta1.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
2022-02-04 07:36:01,778 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpbfam22ao/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 Transcoder:

None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpbfam22ao/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 Transcoder:

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 1128, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 754, 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/tmpbfam22ao/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', 'Transcoder']' returned non-zero exit status 1.
2022-02-04 07:36:02,349 autosynth [ERROR] > Synthesis failed
2022-02-04 07:36:02,350 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 359, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 296, 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/transcoder/synth.metadata', 'synth.py', '--', 'Transcoder']' returned non-zero exit status 1.

Google internal developers can see the full log here.

from elixir-google-api.

yoshi-automation avatar yoshi-automation commented on July 17, 2024

Autosynth is still having trouble generating Transcoder. 😭

Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the Transcoder API, and the library grows
stale.

See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.

Here's the output from running synth.py:

2022-02-05 07:36:17,969 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2022-02-05 07:36:18,553 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2022-02-05 07:36:18,556 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2022-02-05 07:36:18,560 autosynth [DEBUG] > Running: git config user.email [email protected]
2022-02-05 07:36:18,563 autosynth [DEBUG] > Running: git config push.default simple
2022-02-05 07:36:18,566 autosynth [DEBUG] > Running: git branch -f autosynth-transcoder
2022-02-05 07:36:18,570 autosynth [DEBUG] > Running: git checkout autosynth-transcoder
Switched to branch 'autosynth-transcoder'
2022-02-05 07:36:18,788 autosynth [INFO] > Running synthtool
2022-02-05 07:36:18,788 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/transcoder/synth.metadata', 'synth.py', '--']
2022-02-05 07:36:18,789 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/Transcoder/sponge_log.log
2022-02-05 07:36:18,791 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/transcoder/synth.metadata synth.py -- Transcoder
2022-02-05 07:36:19,043 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-transcoder
nothing to commit, working tree clean
2022-02-05 07:36:21,508 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpgn8xdd2o/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 Transcoder
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpgn8xdd2o/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 Transcoder
/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.8.0
  google_api_discovery 0.12.0
  google_gax 0.4.0
  hackney 1.18.0
  idna 6.1.1
  jason 1.2.2
  metrics 1.0.1
  mime 1.6.0
  mimerl 1.2.0
  oauth2 0.9.4
  parse_trans 3.3.1
  poison 3.1.0
  ssl_verify_fun 1.1.6
  temp 0.4.7
  tesla 1.4.3
  unicode_util_compat 0.7.0
* 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 parse_trans (Hex package)
* Getting ssl_verify_fun (Hex package)
* Getting unicode_util_compat (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
===> Rebar3 detected a lock file from a newer version. It will be loaded in compatibility mode, but important information may be missing or lost. It is recommended to upgrade Rebar3.
===> 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
===> Rebar3 detected a lock file from a newer version. It will be loaded in compatibility mode, but important information may be missing or lost. It is recommended to upgrade Rebar3.
===> Compiling hackney
==> oauth2
Compiling 13 files (.ex)
Generated oauth2 app
==> mime
Compiling 2 files (.ex)
Generated mime app
==> tesla
Compiling 29 files (.ex)
Generated tesla app
==> google_gax
Compiling 5 files (.ex)
Generated google_gax app
==> google_api_discovery
Compiling 22 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app

15:36:54.353 [info]  FETCHING: https://transcoder.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1beta1

15:36:54.473 [info]  FETCHING: https://transcoder.googleapis.com/$discovery/rest?version=v1beta1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/Transcoder-v1beta1.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
2022-02-05 07:36:54,912 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpgn8xdd2o/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 Transcoder:

None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpgn8xdd2o/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 Transcoder:

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 1128, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 754, 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/tmpgn8xdd2o/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', 'Transcoder']' returned non-zero exit status 1.
2022-02-05 07:36:55,480 autosynth [ERROR] > Synthesis failed
2022-02-05 07:36:55,481 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 359, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 296, 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/transcoder/synth.metadata', 'synth.py', '--', 'Transcoder']' returned non-zero exit status 1.

Google internal developers can see the full log here.

from elixir-google-api.

yoshi-automation avatar yoshi-automation commented on July 17, 2024

Autosynth is still having trouble generating Transcoder. 😭

Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the Transcoder API, and the library grows
stale.

See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.

Here's the output from running synth.py:

2022-02-06 07:30:05,545 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2022-02-06 07:30:06,130 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2022-02-06 07:30:06,134 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2022-02-06 07:30:06,137 autosynth [DEBUG] > Running: git config user.email [email protected]
2022-02-06 07:30:06,141 autosynth [DEBUG] > Running: git config push.default simple
2022-02-06 07:30:06,144 autosynth [DEBUG] > Running: git branch -f autosynth-transcoder
2022-02-06 07:30:06,148 autosynth [DEBUG] > Running: git checkout autosynth-transcoder
Switched to branch 'autosynth-transcoder'
2022-02-06 07:30:06,342 autosynth [INFO] > Running synthtool
2022-02-06 07:30:06,342 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/transcoder/synth.metadata', 'synth.py', '--']
2022-02-06 07:30:06,343 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/Transcoder/sponge_log.log
2022-02-06 07:30:06,345 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/transcoder/synth.metadata synth.py -- Transcoder
2022-02-06 07:30:06,603 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-transcoder
nothing to commit, working tree clean
2022-02-06 07:30:09,058 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpo6rknxc8/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 Transcoder
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpo6rknxc8/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 Transcoder
/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.8.0
  google_api_discovery 0.12.0
  google_gax 0.4.0
  hackney 1.18.0
  idna 6.1.1
  jason 1.2.2
  metrics 1.0.1
  mime 1.6.0
  mimerl 1.2.0
  oauth2 0.9.4
  parse_trans 3.3.1
  poison 3.1.0
  ssl_verify_fun 1.1.6
  temp 0.4.7
  tesla 1.4.3
  unicode_util_compat 0.7.0
* 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 parse_trans (Hex package)
* Getting ssl_verify_fun (Hex package)
* Getting unicode_util_compat (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
===> Rebar3 detected a lock file from a newer version. It will be loaded in compatibility mode, but important information may be missing or lost. It is recommended to upgrade Rebar3.
===> 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
===> Rebar3 detected a lock file from a newer version. It will be loaded in compatibility mode, but important information may be missing or lost. It is recommended to upgrade Rebar3.
===> Compiling hackney
==> oauth2
Compiling 13 files (.ex)
Generated oauth2 app
==> mime
Compiling 2 files (.ex)
Generated mime app
==> tesla
Compiling 29 files (.ex)
Generated tesla app
==> google_gax
Compiling 5 files (.ex)
Generated google_gax app
==> google_api_discovery
Compiling 22 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app

15:30:42.519 [info]  FETCHING: https://transcoder.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1beta1

15:30:42.646 [info]  FETCHING: https://transcoder.googleapis.com/$discovery/rest?version=v1beta1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/Transcoder-v1beta1.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
2022-02-06 07:30:43,119 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpo6rknxc8/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 Transcoder:

None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpo6rknxc8/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 Transcoder:

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 1128, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 754, 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/tmpo6rknxc8/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', 'Transcoder']' returned non-zero exit status 1.
2022-02-06 07:30:43,691 autosynth [ERROR] > Synthesis failed
2022-02-06 07:30:43,691 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 359, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 296, 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/transcoder/synth.metadata', 'synth.py', '--', 'Transcoder']' returned non-zero exit status 1.

Google internal developers can see the full log here.

from elixir-google-api.

yoshi-automation avatar yoshi-automation commented on July 17, 2024

Autosynth is still having trouble generating Transcoder. 😭

Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the Transcoder API, and the library grows
stale.

See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.

Here's the output from running synth.py:

2022-02-07 07:48:55,423 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2022-02-07 07:48:56,031 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2022-02-07 07:48:56,035 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2022-02-07 07:48:56,039 autosynth [DEBUG] > Running: git config user.email [email protected]
2022-02-07 07:48:56,043 autosynth [DEBUG] > Running: git config push.default simple
2022-02-07 07:48:56,047 autosynth [DEBUG] > Running: git branch -f autosynth-transcoder
2022-02-07 07:48:56,052 autosynth [DEBUG] > Running: git checkout autosynth-transcoder
Switched to branch 'autosynth-transcoder'
2022-02-07 07:48:56,260 autosynth [INFO] > Running synthtool
2022-02-07 07:48:56,260 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/transcoder/synth.metadata', 'synth.py', '--']
2022-02-07 07:48:56,260 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/Transcoder/sponge_log.log
2022-02-07 07:48:56,264 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/transcoder/synth.metadata synth.py -- Transcoder
2022-02-07 07:48:56,528 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-transcoder
nothing to commit, working tree clean
2022-02-07 07:48:59,027 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmprvfyiqof/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 Transcoder
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmprvfyiqof/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 Transcoder
/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.8.0
  google_api_discovery 0.12.0
  google_gax 0.4.0
  hackney 1.18.0
  idna 6.1.1
  jason 1.2.2
  metrics 1.0.1
  mime 1.6.0
  mimerl 1.2.0
  oauth2 0.9.4
  parse_trans 3.3.1
  poison 3.1.0
  ssl_verify_fun 1.1.6
  temp 0.4.7
  tesla 1.4.3
  unicode_util_compat 0.7.0
* 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 parse_trans (Hex package)
* Getting ssl_verify_fun (Hex package)
* Getting unicode_util_compat (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
===> Rebar3 detected a lock file from a newer version. It will be loaded in compatibility mode, but important information may be missing or lost. It is recommended to upgrade Rebar3.
===> 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
===> Rebar3 detected a lock file from a newer version. It will be loaded in compatibility mode, but important information may be missing or lost. It is recommended to upgrade Rebar3.
===> Compiling hackney
==> oauth2
Compiling 13 files (.ex)
Generated oauth2 app
==> mime
Compiling 2 files (.ex)
Generated mime app
==> tesla
Compiling 29 files (.ex)
Generated tesla app
==> google_gax
Compiling 5 files (.ex)
Generated google_gax app
==> google_api_discovery
Compiling 22 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app

15:49:35.752 [info]  FETCHING: https://transcoder.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1beta1

15:49:35.899 [info]  FETCHING: https://transcoder.googleapis.com/$discovery/rest?version=v1beta1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/Transcoder-v1beta1.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
2022-02-07 07:49:36,419 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmprvfyiqof/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 Transcoder:

None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmprvfyiqof/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 Transcoder:

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 1128, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 754, 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/tmprvfyiqof/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', 'Transcoder']' returned non-zero exit status 1.
2022-02-07 07:49:37,038 autosynth [ERROR] > Synthesis failed
2022-02-07 07:49:37,039 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 359, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 296, 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/transcoder/synth.metadata', 'synth.py', '--', 'Transcoder']' returned non-zero exit status 1.

Google internal developers can see the full log here.

from elixir-google-api.

yoshi-automation avatar yoshi-automation commented on July 17, 2024

Autosynth is still having trouble generating Transcoder. 😭

Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the Transcoder API, and the library grows
stale.

See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.

Here's the output from running synth.py:

2022-02-08 07:29:25,703 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2022-02-08 07:29:26,334 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2022-02-08 07:29:26,337 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2022-02-08 07:29:26,340 autosynth [DEBUG] > Running: git config user.email [email protected]
2022-02-08 07:29:26,342 autosynth [DEBUG] > Running: git config push.default simple
2022-02-08 07:29:26,345 autosynth [DEBUG] > Running: git branch -f autosynth-transcoder
2022-02-08 07:29:26,349 autosynth [DEBUG] > Running: git checkout autosynth-transcoder
Switched to branch 'autosynth-transcoder'
2022-02-08 07:29:26,565 autosynth [INFO] > Running synthtool
2022-02-08 07:29:26,566 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/transcoder/synth.metadata', 'synth.py', '--']
2022-02-08 07:29:26,566 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/Transcoder/sponge_log.log
2022-02-08 07:29:26,568 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/transcoder/synth.metadata synth.py -- Transcoder
2022-02-08 07:29:26,812 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-transcoder
nothing to commit, working tree clean
2022-02-08 07:29:29,286 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpmo813cjp/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 Transcoder
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpmo813cjp/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 Transcoder
/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.8.0
  google_api_discovery 0.12.0
  google_gax 0.4.0
  hackney 1.18.0
  idna 6.1.1
  jason 1.2.2
  metrics 1.0.1
  mime 1.6.0
  mimerl 1.2.0
  oauth2 0.9.4
  parse_trans 3.3.1
  poison 3.1.0
  ssl_verify_fun 1.1.6
  temp 0.4.7
  tesla 1.4.3
  unicode_util_compat 0.7.0
* 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 parse_trans (Hex package)
* Getting ssl_verify_fun (Hex package)
* Getting unicode_util_compat (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
===> Rebar3 detected a lock file from a newer version. It will be loaded in compatibility mode, but important information may be missing or lost. It is recommended to upgrade Rebar3.
===> 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
===> Rebar3 detected a lock file from a newer version. It will be loaded in compatibility mode, but important information may be missing or lost. It is recommended to upgrade Rebar3.
===> Compiling hackney
==> oauth2
Compiling 13 files (.ex)
Generated oauth2 app
==> mime
Compiling 2 files (.ex)
Generated mime app
==> tesla
Compiling 29 files (.ex)
Generated tesla app
==> google_gax
Compiling 5 files (.ex)
Generated google_gax app
==> google_api_discovery
Compiling 22 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app

15:30:00.314 [info]  FETCHING: https://transcoder.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1beta1

15:30:00.427 [info]  FETCHING: https://transcoder.googleapis.com/$discovery/rest?version=v1beta1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/Transcoder-v1beta1.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
2022-02-08 07:30:00,881 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpmo813cjp/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 Transcoder:

None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpmo813cjp/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 Transcoder:

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 1128, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 754, 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/tmpmo813cjp/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', 'Transcoder']' returned non-zero exit status 1.
2022-02-08 07:30:01,430 autosynth [ERROR] > Synthesis failed
2022-02-08 07:30:01,430 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 359, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 296, 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/transcoder/synth.metadata', 'synth.py', '--', 'Transcoder']' returned non-zero exit status 1.

Google internal developers can see the full log here.

from elixir-google-api.

yoshi-automation avatar yoshi-automation commented on July 17, 2024

Autosynth is still having trouble generating Transcoder. 😭

Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the Transcoder API, and the library grows
stale.

See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.

Here's the output from running synth.py:

2022-02-09 07:30:11,109 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2022-02-09 07:30:11,812 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2022-02-09 07:30:11,815 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2022-02-09 07:30:11,818 autosynth [DEBUG] > Running: git config user.email [email protected]
2022-02-09 07:30:11,821 autosynth [DEBUG] > Running: git config push.default simple
2022-02-09 07:30:11,824 autosynth [DEBUG] > Running: git branch -f autosynth-transcoder
2022-02-09 07:30:11,827 autosynth [DEBUG] > Running: git checkout autosynth-transcoder
Switched to branch 'autosynth-transcoder'
2022-02-09 07:30:12,052 autosynth [INFO] > Running synthtool
2022-02-09 07:30:12,052 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/transcoder/synth.metadata', 'synth.py', '--']
2022-02-09 07:30:12,052 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/Transcoder/sponge_log.log
2022-02-09 07:30:12,054 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/transcoder/synth.metadata synth.py -- Transcoder
2022-02-09 07:30:12,298 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-transcoder
nothing to commit, working tree clean
2022-02-09 07:30:14,679 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmphmk7bx5c/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 Transcoder
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmphmk7bx5c/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 Transcoder
/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.8.0
  google_api_discovery 0.12.0
  google_gax 0.4.0
  hackney 1.18.0
  idna 6.1.1
  jason 1.2.2
  metrics 1.0.1
  mime 1.6.0
  mimerl 1.2.0
  oauth2 0.9.4
  parse_trans 3.3.1
  poison 3.1.0
  ssl_verify_fun 1.1.6
  temp 0.4.7
  tesla 1.4.3
  unicode_util_compat 0.7.0
* 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 parse_trans (Hex package)
* Getting ssl_verify_fun (Hex package)
* Getting unicode_util_compat (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
===> Rebar3 detected a lock file from a newer version. It will be loaded in compatibility mode, but important information may be missing or lost. It is recommended to upgrade Rebar3.
===> 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
===> Rebar3 detected a lock file from a newer version. It will be loaded in compatibility mode, but important information may be missing or lost. It is recommended to upgrade Rebar3.
===> Compiling hackney
==> oauth2
Compiling 13 files (.ex)
Generated oauth2 app
==> mime
Compiling 2 files (.ex)
Generated mime app
==> tesla
Compiling 29 files (.ex)
Generated tesla app
==> google_gax
Compiling 5 files (.ex)
Generated google_gax app
==> google_api_discovery
Compiling 22 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app

15:30:45.538 [info]  FETCHING: https://transcoder.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1beta1

15:30:45.653 [info]  FETCHING: https://transcoder.googleapis.com/$discovery/rest?version=v1beta1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/Transcoder-v1beta1.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
2022-02-09 07:30:46,113 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmphmk7bx5c/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 Transcoder:

None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmphmk7bx5c/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 Transcoder:

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 1128, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 754, 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/tmphmk7bx5c/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', 'Transcoder']' returned non-zero exit status 1.
2022-02-09 07:30:46,662 autosynth [ERROR] > Synthesis failed
2022-02-09 07:30:46,663 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 359, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 296, 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/transcoder/synth.metadata', 'synth.py', '--', 'Transcoder']' returned non-zero exit status 1.

Google internal developers can see the full log here.

from elixir-google-api.

yoshi-automation avatar yoshi-automation commented on July 17, 2024

Autosynth is still having trouble generating Transcoder. 😭

Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the Transcoder API, and the library grows
stale.

See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.

Here's the output from running synth.py:

2022-02-10 07:35:32,537 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2022-02-10 07:35:33,164 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2022-02-10 07:35:33,167 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2022-02-10 07:35:33,170 autosynth [DEBUG] > Running: git config user.email [email protected]
2022-02-10 07:35:33,173 autosynth [DEBUG] > Running: git config push.default simple
2022-02-10 07:35:33,176 autosynth [DEBUG] > Running: git branch -f autosynth-transcoder
2022-02-10 07:35:33,180 autosynth [DEBUG] > Running: git checkout autosynth-transcoder
Switched to branch 'autosynth-transcoder'
2022-02-10 07:35:33,381 autosynth [INFO] > Running synthtool
2022-02-10 07:35:33,381 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/transcoder/synth.metadata', 'synth.py', '--']
2022-02-10 07:35:33,381 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/Transcoder/sponge_log.log
2022-02-10 07:35:33,383 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/transcoder/synth.metadata synth.py -- Transcoder
2022-02-10 07:35:33,637 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-transcoder
nothing to commit, working tree clean
2022-02-10 07:35:36,067 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpvxud2md5/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 Transcoder
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpvxud2md5/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 Transcoder
/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.8.0
  google_api_discovery 0.12.0
  google_gax 0.4.0
  hackney 1.18.0
  idna 6.1.1
  jason 1.2.2
  metrics 1.0.1
  mime 1.6.0
  mimerl 1.2.0
  oauth2 0.9.4
  parse_trans 3.3.1
  poison 3.1.0
  ssl_verify_fun 1.1.6
  temp 0.4.7
  tesla 1.4.3
  unicode_util_compat 0.7.0
* 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 parse_trans (Hex package)
* Getting ssl_verify_fun (Hex package)
* Getting unicode_util_compat (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
===> Rebar3 detected a lock file from a newer version. It will be loaded in compatibility mode, but important information may be missing or lost. It is recommended to upgrade Rebar3.
===> 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
===> Rebar3 detected a lock file from a newer version. It will be loaded in compatibility mode, but important information may be missing or lost. It is recommended to upgrade Rebar3.
===> Compiling hackney
==> oauth2
Compiling 13 files (.ex)
Generated oauth2 app
==> mime
Compiling 2 files (.ex)
Generated mime app
==> tesla
Compiling 29 files (.ex)
Generated tesla app
==> google_gax
Compiling 5 files (.ex)
Generated google_gax app
==> google_api_discovery
Compiling 22 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app

15:36:08.293 [info]  FETCHING: https://transcoder.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1beta1

15:36:08.421 [info]  FETCHING: https://transcoder.googleapis.com/$discovery/rest?version=v1beta1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/Transcoder-v1beta1.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
2022-02-10 07:36:08,909 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpvxud2md5/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 Transcoder:

None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpvxud2md5/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 Transcoder:

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 1128, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 754, 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/tmpvxud2md5/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', 'Transcoder']' returned non-zero exit status 1.
2022-02-10 07:36:09,486 autosynth [ERROR] > Synthesis failed
2022-02-10 07:36:09,486 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 359, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 296, 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/transcoder/synth.metadata', 'synth.py', '--', 'Transcoder']' returned non-zero exit status 1.

Google internal developers can see the full log here.

from elixir-google-api.

yoshi-automation avatar yoshi-automation commented on July 17, 2024

Autosynth passed, closing! 💚

from elixir-google-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.