Comments (33)
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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
:
2021-12-11 06:33:36,949 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2021-12-11 06:33:37,481 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2021-12-11 06:33:37,484 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2021-12-11 06:33:37,488 autosynth [DEBUG] > Running: git config user.email [email protected]
2021-12-11 06:33:37,490 autosynth [DEBUG] > Running: git config push.default simple
2021-12-11 06:33:37,493 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2021-12-11 06:33:37,496 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2021-12-11 06:33:37,716 autosynth [INFO] > Running synthtool
2021-12-11 06:33:37,716 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2021-12-11 06:33:37,716 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2021-12-11 06:33:37,719 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2021-12-11 06:33:37,956 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2021-12-11 06:33:40,306 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpr2jn6o4v/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpr2jn6o4v/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 IDS
/workspace /workspace
Removing clients/ids/
�[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.7.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 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app
14:34:13.120 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:34:13.469 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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
2021-12-11 06:34:14,150 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpr2jn6o4v/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpr2jn6o4v/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 IDS:
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/tmpr2jn6o4v/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', 'IDS']' returned non-zero exit status 1.
2021-12-11 06:34:14,694 autosynth [ERROR] > Synthesis failed
2021-12-11 06:34:14,694 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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
:
2021-12-12 06:29:27,166 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2021-12-12 06:29:27,700 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2021-12-12 06:29:27,703 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2021-12-12 06:29:27,706 autosynth [DEBUG] > Running: git config user.email [email protected]
2021-12-12 06:29:27,708 autosynth [DEBUG] > Running: git config push.default simple
2021-12-12 06:29:27,711 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2021-12-12 06:29:27,715 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2021-12-12 06:29:27,902 autosynth [INFO] > Running synthtool
2021-12-12 06:29:27,902 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2021-12-12 06:29:27,902 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2021-12-12 06:29:27,905 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2021-12-12 06:29:28,140 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2021-12-12 06:29:30,499 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpiok129l5/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpiok129l5/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 IDS
/workspace /workspace
Removing clients/ids/
�[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.7.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 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app
14:30:01.491 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:30:01.838 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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
2021-12-12 06:30:02,506 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpiok129l5/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpiok129l5/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 IDS:
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/tmpiok129l5/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', 'IDS']' returned non-zero exit status 1.
2021-12-12 06:30:03,046 autosynth [ERROR] > Synthesis failed
2021-12-12 06:30:03,046 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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
:
2021-12-13 06:42:25,766 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2021-12-13 06:42:26,380 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2021-12-13 06:42:26,384 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2021-12-13 06:42:26,388 autosynth [DEBUG] > Running: git config user.email [email protected]
2021-12-13 06:42:26,393 autosynth [DEBUG] > Running: git config push.default simple
2021-12-13 06:42:26,397 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2021-12-13 06:42:26,402 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2021-12-13 06:42:26,617 autosynth [INFO] > Running synthtool
2021-12-13 06:42:26,617 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2021-12-13 06:42:26,617 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2021-12-13 06:42:26,620 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2021-12-13 06:42:26,878 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2021-12-13 06:42:29,359 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpofebhfgl/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpofebhfgl/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 IDS
/workspace /workspace
Removing clients/ids/
�[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.7.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 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app
14:43:07.410 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:43:07.802 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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
2021-12-13 06:43:08,529 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpofebhfgl/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpofebhfgl/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 IDS:
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/tmpofebhfgl/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', 'IDS']' returned non-zero exit status 1.
2021-12-13 06:43:09,105 autosynth [ERROR] > Synthesis failed
2021-12-13 06:43:09,105 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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
:
2021-12-14 06:32:53,281 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2021-12-14 06:32:54,134 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2021-12-14 06:32:54,137 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2021-12-14 06:32:54,140 autosynth [DEBUG] > Running: git config user.email [email protected]
2021-12-14 06:32:54,143 autosynth [DEBUG] > Running: git config push.default simple
2021-12-14 06:32:54,145 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2021-12-14 06:32:54,149 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2021-12-14 06:32:54,339 autosynth [INFO] > Running synthtool
2021-12-14 06:32:54,339 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2021-12-14 06:32:54,341 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2021-12-14 06:32:54,343 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2021-12-14 06:32:54,582 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2021-12-14 06:32:57,055 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpc2ler3_6/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpc2ler3_6/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 IDS
/workspace /workspace
Removing clients/ids/
�[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.7.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 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app
14:33:28.729 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:33:29.085 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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
2021-12-14 06:33:29,789 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpc2ler3_6/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpc2ler3_6/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 IDS:
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/tmpc2ler3_6/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', 'IDS']' returned non-zero exit status 1.
2021-12-14 06:33:30,338 autosynth [ERROR] > Synthesis failed
2021-12-14 06:33:30,339 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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
:
2021-12-16 06:31:58,697 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2021-12-16 06:31:59,264 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2021-12-16 06:31:59,267 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2021-12-16 06:31:59,271 autosynth [DEBUG] > Running: git config user.email [email protected]
2021-12-16 06:31:59,274 autosynth [DEBUG] > Running: git config push.default simple
2021-12-16 06:31:59,276 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2021-12-16 06:31:59,280 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2021-12-16 06:31:59,479 autosynth [INFO] > Running synthtool
2021-12-16 06:31:59,479 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2021-12-16 06:31:59,479 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2021-12-16 06:31:59,481 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2021-12-16 06:31:59,723 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2021-12-16 06:32:02,128 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpbl9ybijw/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpbl9ybijw/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 IDS
/workspace /workspace
Removing clients/ids/
�[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.7.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 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app
14:32:34.600 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:32:34.952 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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
2021-12-16 06:32:35,656 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpbl9ybijw/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpbl9ybijw/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 IDS:
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/tmpbl9ybijw/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', 'IDS']' returned non-zero exit status 1.
2021-12-16 06:32:36,204 autosynth [ERROR] > Synthesis failed
2021-12-16 06:32:36,204 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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
:
2021-12-17 06:31:25,859 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2021-12-17 06:31:26,392 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2021-12-17 06:31:26,395 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2021-12-17 06:31:26,398 autosynth [DEBUG] > Running: git config user.email [email protected]
2021-12-17 06:31:26,401 autosynth [DEBUG] > Running: git config push.default simple
2021-12-17 06:31:26,404 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2021-12-17 06:31:26,407 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2021-12-17 06:31:26,603 autosynth [INFO] > Running synthtool
2021-12-17 06:31:26,603 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2021-12-17 06:31:26,603 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2021-12-17 06:31:26,605 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2021-12-17 06:31:26,846 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2021-12-17 06:31:29,234 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpllyws8xk/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpllyws8xk/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 IDS
/workspace /workspace
Removing clients/ids/
�[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.7.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 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app
14:32:00.685 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:32:01.030 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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
2021-12-17 06:32:01,721 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpllyws8xk/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpllyws8xk/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 IDS:
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/tmpllyws8xk/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', 'IDS']' returned non-zero exit status 1.
2021-12-17 06:32:02,268 autosynth [ERROR] > Synthesis failed
2021-12-17 06:32:02,268 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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
:
2021-12-18 06:33:29,381 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2021-12-18 06:33:29,910 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2021-12-18 06:33:29,913 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2021-12-18 06:33:29,916 autosynth [DEBUG] > Running: git config user.email [email protected]
2021-12-18 06:33:29,919 autosynth [DEBUG] > Running: git config push.default simple
2021-12-18 06:33:29,922 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2021-12-18 06:33:29,926 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2021-12-18 06:33:30,125 autosynth [INFO] > Running synthtool
2021-12-18 06:33:30,125 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2021-12-18 06:33:30,125 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2021-12-18 06:33:30,128 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2021-12-18 06:33:30,371 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2021-12-18 06:33:32,791 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpoa3_2_ja/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpoa3_2_ja/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 IDS
/workspace /workspace
Removing clients/ids/
�[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.7.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 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app
14:34:06.400 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:34:06.745 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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
2021-12-18 06:34:07,443 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpoa3_2_ja/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpoa3_2_ja/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 IDS:
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/tmpoa3_2_ja/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', 'IDS']' returned non-zero exit status 1.
2021-12-18 06:34:07,989 autosynth [ERROR] > Synthesis failed
2021-12-18 06:34:07,989 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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
:
2021-12-19 06:32:28,225 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2021-12-19 06:32:28,756 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2021-12-19 06:32:28,760 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2021-12-19 06:32:28,763 autosynth [DEBUG] > Running: git config user.email [email protected]
2021-12-19 06:32:28,766 autosynth [DEBUG] > Running: git config push.default simple
2021-12-19 06:32:28,768 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2021-12-19 06:32:28,772 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2021-12-19 06:32:28,962 autosynth [INFO] > Running synthtool
2021-12-19 06:32:28,962 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2021-12-19 06:32:28,963 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2021-12-19 06:32:28,965 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2021-12-19 06:32:29,210 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2021-12-19 06:32:31,592 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpoaswjpw3/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpoaswjpw3/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 IDS
/workspace /workspace
Removing clients/ids/
�[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.7.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 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app
14:33:02.984 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:33:03.337 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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
2021-12-19 06:33:04,005 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpoaswjpw3/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpoaswjpw3/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 IDS:
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/tmpoaswjpw3/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', 'IDS']' returned non-zero exit status 1.
2021-12-19 06:33:04,547 autosynth [ERROR] > Synthesis failed
2021-12-19 06:33:04,547 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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
:
2021-12-20 06:33:00,534 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2021-12-20 06:33:01,447 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2021-12-20 06:33:01,451 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2021-12-20 06:33:01,454 autosynth [DEBUG] > Running: git config user.email [email protected]
2021-12-20 06:33:01,457 autosynth [DEBUG] > Running: git config push.default simple
2021-12-20 06:33:01,460 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2021-12-20 06:33:01,464 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2021-12-20 06:33:01,730 autosynth [INFO] > Running synthtool
2021-12-20 06:33:01,730 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2021-12-20 06:33:01,730 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2021-12-20 06:33:01,732 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2021-12-20 06:33:01,976 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2021-12-20 06:33:04,388 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpz_67i11n/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpz_67i11n/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 IDS
/workspace /workspace
Removing clients/ids/
�[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.7.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 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app
14:33:37.465 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:33:37.826 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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
2021-12-20 06:33:38,542 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpz_67i11n/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpz_67i11n/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 IDS:
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/tmpz_67i11n/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', 'IDS']' returned non-zero exit status 1.
2021-12-20 06:33:39,097 autosynth [ERROR] > Synthesis failed
2021-12-20 06:33:39,097 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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
:
2021-12-21 06:32:05,663 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2021-12-21 06:32:06,246 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2021-12-21 06:32:06,249 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2021-12-21 06:32:06,253 autosynth [DEBUG] > Running: git config user.email [email protected]
2021-12-21 06:32:06,256 autosynth [DEBUG] > Running: git config push.default simple
2021-12-21 06:32:06,259 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2021-12-21 06:32:06,263 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2021-12-21 06:32:06,462 autosynth [INFO] > Running synthtool
2021-12-21 06:32:06,462 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2021-12-21 06:32:06,462 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2021-12-21 06:32:06,465 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2021-12-21 06:32:06,719 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2021-12-21 06:32:09,129 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpgun0wd2z/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpgun0wd2z/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 IDS
/workspace /workspace
Removing clients/ids/
�[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.7.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 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app
14:32:43.243 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:32:43.610 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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
2021-12-21 06:32:44,324 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpgun0wd2z/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpgun0wd2z/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 IDS:
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/tmpgun0wd2z/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', 'IDS']' returned non-zero exit status 1.
2021-12-21 06:32:44,917 autosynth [ERROR] > Synthesis failed
2021-12-21 06:32:44,918 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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
:
2021-12-22 06:32:00,326 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2021-12-22 06:32:00,897 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2021-12-22 06:32:00,901 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2021-12-22 06:32:00,904 autosynth [DEBUG] > Running: git config user.email [email protected]
2021-12-22 06:32:00,906 autosynth [DEBUG] > Running: git config push.default simple
2021-12-22 06:32:00,909 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2021-12-22 06:32:00,913 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2021-12-22 06:32:01,370 autosynth [INFO] > Running synthtool
2021-12-22 06:32:01,370 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2021-12-22 06:32:01,370 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2021-12-22 06:32:01,373 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2021-12-22 06:32:01,618 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2021-12-22 06:32:04,010 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmp882gzjvz/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmp882gzjvz/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 IDS
/workspace /workspace
Removing clients/ids/
�[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.7.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 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app
14:32:36.880 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:32:37.227 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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
2021-12-22 06:32:37,921 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmp882gzjvz/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmp882gzjvz/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 IDS:
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/tmp882gzjvz/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', 'IDS']' returned non-zero exit status 1.
2021-12-22 06:32:38,475 autosynth [ERROR] > Synthesis failed
2021-12-22 06:32:38,475 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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
:
2021-12-23 06:34:53,159 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2021-12-23 06:34:53,741 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2021-12-23 06:34:53,744 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2021-12-23 06:34:53,748 autosynth [DEBUG] > Running: git config user.email [email protected]
2021-12-23 06:34:53,751 autosynth [DEBUG] > Running: git config push.default simple
2021-12-23 06:34:53,754 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2021-12-23 06:34:53,758 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2021-12-23 06:34:53,961 autosynth [INFO] > Running synthtool
2021-12-23 06:34:53,961 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2021-12-23 06:34:53,961 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2021-12-23 06:34:53,964 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2021-12-23 06:34:54,216 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2021-12-23 06:34:56,664 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmppxegbzvw/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmppxegbzvw/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 IDS
/workspace /workspace
Removing clients/ids/
�[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.7.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 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app
14:35:30.379 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:35:30.735 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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
2021-12-23 06:35:31,446 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmppxegbzvw/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmppxegbzvw/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 IDS:
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/tmppxegbzvw/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', 'IDS']' returned non-zero exit status 1.
2021-12-23 06:35:32,022 autosynth [ERROR] > Synthesis failed
2021-12-23 06:35:32,022 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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
:
2021-12-24 06:29:19,873 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2021-12-24 06:29:20,468 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2021-12-24 06:29:20,472 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2021-12-24 06:29:20,475 autosynth [DEBUG] > Running: git config user.email [email protected]
2021-12-24 06:29:20,478 autosynth [DEBUG] > Running: git config push.default simple
2021-12-24 06:29:20,481 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2021-12-24 06:29:20,485 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2021-12-24 06:29:20,687 autosynth [INFO] > Running synthtool
2021-12-24 06:29:20,687 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2021-12-24 06:29:20,687 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2021-12-24 06:29:20,690 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2021-12-24 06:29:20,932 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2021-12-24 06:29:23,331 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpwiwomku6/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpwiwomku6/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 IDS
/workspace /workspace
Removing clients/ids/
�[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.7.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 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app
14:29:56.725 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:29:57.081 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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
2021-12-24 06:29:57,815 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpwiwomku6/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpwiwomku6/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 IDS:
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/tmpwiwomku6/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', 'IDS']' returned non-zero exit status 1.
2021-12-24 06:29:58,364 autosynth [ERROR] > Synthesis failed
2021-12-24 06:29:58,365 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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
:
2021-12-25 06:29:34,827 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2021-12-25 06:29:35,356 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2021-12-25 06:29:35,360 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2021-12-25 06:29:35,363 autosynth [DEBUG] > Running: git config user.email [email protected]
2021-12-25 06:29:35,366 autosynth [DEBUG] > Running: git config push.default simple
2021-12-25 06:29:35,368 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2021-12-25 06:29:35,372 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2021-12-25 06:29:35,560 autosynth [INFO] > Running synthtool
2021-12-25 06:29:35,560 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2021-12-25 06:29:35,560 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2021-12-25 06:29:35,562 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2021-12-25 06:29:35,805 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2021-12-25 06:29:38,201 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmp_0zsf6do/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmp_0zsf6do/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 IDS
/workspace /workspace
Removing clients/ids/
�[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.7.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 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app
14:30:10.172 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:30:10.524 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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
2021-12-25 06:30:11,209 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmp_0zsf6do/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmp_0zsf6do/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 IDS:
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/tmp_0zsf6do/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', 'IDS']' returned non-zero exit status 1.
2021-12-25 06:30:11,755 autosynth [ERROR] > Synthesis failed
2021-12-25 06:30:11,755 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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
:
2021-12-26 06:28:09,552 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2021-12-26 06:28:10,098 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2021-12-26 06:28:10,101 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2021-12-26 06:28:10,104 autosynth [DEBUG] > Running: git config user.email [email protected]
2021-12-26 06:28:10,107 autosynth [DEBUG] > Running: git config push.default simple
2021-12-26 06:28:10,110 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2021-12-26 06:28:10,113 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2021-12-26 06:28:10,330 autosynth [INFO] > Running synthtool
2021-12-26 06:28:10,330 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2021-12-26 06:28:10,330 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2021-12-26 06:28:10,332 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2021-12-26 06:28:10,576 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2021-12-26 06:28:12,967 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmp1mbhx7x4/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmp1mbhx7x4/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 IDS
/workspace /workspace
Removing clients/ids/
�[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.7.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 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app
14:28:45.371 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:28:45.719 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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
2021-12-26 06:28:46,418 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmp1mbhx7x4/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmp1mbhx7x4/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 IDS:
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/tmp1mbhx7x4/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', 'IDS']' returned non-zero exit status 1.
2021-12-26 06:28:46,957 autosynth [ERROR] > Synthesis failed
2021-12-26 06:28:46,957 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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
:
2021-12-27 06:27:53,102 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2021-12-27 06:27:53,633 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2021-12-27 06:27:53,636 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2021-12-27 06:27:53,639 autosynth [DEBUG] > Running: git config user.email [email protected]
2021-12-27 06:27:53,642 autosynth [DEBUG] > Running: git config push.default simple
2021-12-27 06:27:53,645 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2021-12-27 06:27:53,648 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2021-12-27 06:27:53,840 autosynth [INFO] > Running synthtool
2021-12-27 06:27:53,840 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2021-12-27 06:27:53,840 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2021-12-27 06:27:53,842 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2021-12-27 06:27:54,083 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2021-12-27 06:27:56,465 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmptzwdm0_9/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmptzwdm0_9/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 IDS
/workspace /workspace
Removing clients/ids/
�[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.7.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 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app
14:28:28.020 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:28:28.369 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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
2021-12-27 06:28:29,076 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmptzwdm0_9/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmptzwdm0_9/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 IDS:
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/tmptzwdm0_9/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', 'IDS']' returned non-zero exit status 1.
2021-12-27 06:28:29,622 autosynth [ERROR] > Synthesis failed
2021-12-27 06:28:29,622 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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
:
2021-12-28 06:30:17,602 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2021-12-28 06:30:18,172 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2021-12-28 06:30:18,176 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2021-12-28 06:30:18,179 autosynth [DEBUG] > Running: git config user.email [email protected]
2021-12-28 06:30:18,182 autosynth [DEBUG] > Running: git config push.default simple
2021-12-28 06:30:18,185 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2021-12-28 06:30:18,189 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2021-12-28 06:30:18,382 autosynth [INFO] > Running synthtool
2021-12-28 06:30:18,382 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2021-12-28 06:30:18,382 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2021-12-28 06:30:18,384 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2021-12-28 06:30:18,632 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2021-12-28 06:30:21,051 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpxk5djkdf/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpxk5djkdf/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 IDS
/workspace /workspace
Removing clients/ids/
�[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.7.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 21 files (.ex)
Generated google_api_discovery app
==> google_apis
Compiling 28 files (.ex)
Generated google_apis app
14:30:53.897 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:30:54.250 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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
2021-12-28 06:30:54,935 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpxk5djkdf/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpxk5djkdf/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 IDS:
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/tmpxk5djkdf/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', 'IDS']' returned non-zero exit status 1.
2021-12-28 06:30:55,507 autosynth [ERROR] > Synthesis failed
2021-12-28 06:30:55,507 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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
:
2021-12-29 06:30:32,188 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2021-12-29 06:30:32,788 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2021-12-29 06:30:32,791 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2021-12-29 06:30:32,794 autosynth [DEBUG] > Running: git config user.email [email protected]
2021-12-29 06:30:32,797 autosynth [DEBUG] > Running: git config push.default simple
2021-12-29 06:30:32,800 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2021-12-29 06:30:32,803 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2021-12-29 06:30:32,999 autosynth [INFO] > Running synthtool
2021-12-29 06:30:33,000 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2021-12-29 06:30:33,000 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2021-12-29 06:30:33,002 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2021-12-29 06:30:33,238 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2021-12-29 06:30:35,605 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpccnie12p/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpccnie12p/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 IDS
/workspace /workspace
Removing clients/ids/
�[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
14:31:07.173 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:31:07.520 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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
2021-12-29 06:31:08,190 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpccnie12p/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpccnie12p/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 IDS:
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/tmpccnie12p/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', 'IDS']' returned non-zero exit status 1.
2021-12-29 06:31:08,736 autosynth [ERROR] > Synthesis failed
2021-12-29 06:31:08,737 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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
:
2021-12-30 06:30:57,061 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2021-12-30 06:30:57,589 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2021-12-30 06:30:57,592 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2021-12-30 06:30:57,595 autosynth [DEBUG] > Running: git config user.email [email protected]
2021-12-30 06:30:57,598 autosynth [DEBUG] > Running: git config push.default simple
2021-12-30 06:30:57,601 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2021-12-30 06:30:57,604 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2021-12-30 06:30:57,795 autosynth [INFO] > Running synthtool
2021-12-30 06:30:57,795 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2021-12-30 06:30:57,795 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2021-12-30 06:30:57,797 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2021-12-30 06:30:58,041 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2021-12-30 06:31:00,445 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpq98x_de1/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpq98x_de1/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 IDS
/workspace /workspace
Removing clients/ids/
�[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
14:31:31.920 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:31:32.267 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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
2021-12-30 06:31:32,921 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpq98x_de1/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpq98x_de1/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 IDS:
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/tmpq98x_de1/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', 'IDS']' returned non-zero exit status 1.
2021-12-30 06:31:33,457 autosynth [ERROR] > Synthesis failed
2021-12-30 06:31:33,457 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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
:
2021-12-31 06:31:12,025 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2021-12-31 06:31:12,536 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2021-12-31 06:31:12,539 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2021-12-31 06:31:12,542 autosynth [DEBUG] > Running: git config user.email [email protected]
2021-12-31 06:31:12,545 autosynth [DEBUG] > Running: git config push.default simple
2021-12-31 06:31:12,548 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2021-12-31 06:31:12,551 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2021-12-31 06:31:12,742 autosynth [INFO] > Running synthtool
2021-12-31 06:31:12,742 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2021-12-31 06:31:12,742 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2021-12-31 06:31:12,744 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2021-12-31 06:31:12,991 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2021-12-31 06:31:15,334 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpxaprudcq/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpxaprudcq/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 IDS
/workspace /workspace
Removing clients/ids/
�[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
14:31:47.689 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:31:48.031 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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
2021-12-31 06:31:48,712 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpxaprudcq/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpxaprudcq/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 IDS:
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/tmpxaprudcq/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', 'IDS']' returned non-zero exit status 1.
2021-12-31 06:31:49,248 autosynth [ERROR] > Synthesis failed
2021-12-31 06:31:49,249 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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-01-01 06:32:23,345 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2022-01-01 06:32:23,874 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2022-01-01 06:32:23,878 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2022-01-01 06:32:23,881 autosynth [DEBUG] > Running: git config user.email [email protected]
2022-01-01 06:32:23,884 autosynth [DEBUG] > Running: git config push.default simple
2022-01-01 06:32:23,887 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2022-01-01 06:32:23,891 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2022-01-01 06:32:24,076 autosynth [INFO] > Running synthtool
2022-01-01 06:32:24,077 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2022-01-01 06:32:24,077 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2022-01-01 06:32:24,079 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2022-01-01 06:32:24,330 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2022-01-01 06:32:26,734 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpbheuc98j/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpbheuc98j/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 IDS
/workspace /workspace
Removing clients/ids/
�[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
14:32:59.954 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:33:00.306 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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-01-01 06:33:01,031 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpbheuc98j/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpbheuc98j/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 IDS:
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/tmpbheuc98j/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', 'IDS']' returned non-zero exit status 1.
2022-01-01 06:33:01,582 autosynth [ERROR] > Synthesis failed
2022-01-01 06:33:01,583 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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-01-02 06:34:18,056 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2022-01-02 06:34:18,587 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2022-01-02 06:34:18,590 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2022-01-02 06:34:18,594 autosynth [DEBUG] > Running: git config user.email [email protected]
2022-01-02 06:34:18,597 autosynth [DEBUG] > Running: git config push.default simple
2022-01-02 06:34:18,600 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2022-01-02 06:34:18,604 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2022-01-02 06:34:18,899 autosynth [INFO] > Running synthtool
2022-01-02 06:34:18,900 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2022-01-02 06:34:18,900 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2022-01-02 06:34:18,902 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2022-01-02 06:34:19,149 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2022-01-02 06:34:21,577 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmp_13es62_/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmp_13es62_/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 IDS
/workspace /workspace
Removing clients/ids/
�[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
14:34:54.832 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:34:55.183 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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-01-02 06:34:55,900 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmp_13es62_/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmp_13es62_/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 IDS:
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/tmp_13es62_/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', 'IDS']' returned non-zero exit status 1.
2022-01-02 06:34:56,486 autosynth [ERROR] > Synthesis failed
2022-01-02 06:34:56,487 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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-01-03 06:34:30,130 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2022-01-03 06:34:30,653 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2022-01-03 06:34:30,656 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2022-01-03 06:34:30,659 autosynth [DEBUG] > Running: git config user.email [email protected]
2022-01-03 06:34:30,662 autosynth [DEBUG] > Running: git config push.default simple
2022-01-03 06:34:30,665 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2022-01-03 06:34:30,669 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2022-01-03 06:34:30,868 autosynth [INFO] > Running synthtool
2022-01-03 06:34:30,868 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2022-01-03 06:34:30,868 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2022-01-03 06:34:30,871 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2022-01-03 06:34:31,117 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2022-01-03 06:34:33,508 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmphehc76uu/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmphehc76uu/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 IDS
/workspace /workspace
Removing clients/ids/
�[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
14:35:07.512 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:35:07.881 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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-01-03 06:35:08,589 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmphehc76uu/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmphehc76uu/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 IDS:
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/tmphehc76uu/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', 'IDS']' returned non-zero exit status 1.
2022-01-03 06:35:09,142 autosynth [ERROR] > Synthesis failed
2022-01-03 06:35:09,142 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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-01-04 06:32:31,284 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2022-01-04 06:32:31,841 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2022-01-04 06:32:31,844 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2022-01-04 06:32:31,847 autosynth [DEBUG] > Running: git config user.email [email protected]
2022-01-04 06:32:31,850 autosynth [DEBUG] > Running: git config push.default simple
2022-01-04 06:32:31,853 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2022-01-04 06:32:31,856 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2022-01-04 06:32:32,068 autosynth [INFO] > Running synthtool
2022-01-04 06:32:32,068 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2022-01-04 06:32:32,069 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2022-01-04 06:32:32,071 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2022-01-04 06:32:32,316 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2022-01-04 06:32:34,693 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpwc_p8h_w/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpwc_p8h_w/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 IDS
/workspace /workspace
Removing clients/ids/
�[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
14:33:07.363 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:33:07.713 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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-01-04 06:33:08,375 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpwc_p8h_w/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpwc_p8h_w/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 IDS:
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/tmpwc_p8h_w/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', 'IDS']' returned non-zero exit status 1.
2022-01-04 06:33:08,924 autosynth [ERROR] > Synthesis failed
2022-01-04 06:33:08,925 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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-01-06 06:39:51,680 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2022-01-06 06:39:52,239 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2022-01-06 06:39:52,245 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2022-01-06 06:39:52,277 autosynth [DEBUG] > Running: git config user.email [email protected]
2022-01-06 06:39:52,281 autosynth [DEBUG] > Running: git config push.default simple
2022-01-06 06:39:52,285 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2022-01-06 06:39:52,289 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2022-01-06 06:39:52,483 autosynth [INFO] > Running synthtool
2022-01-06 06:39:52,483 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2022-01-06 06:39:52,483 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2022-01-06 06:39:52,486 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2022-01-06 06:39:52,739 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2022-01-06 06:39:55,172 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmp5cp557f3/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmp5cp557f3/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 IDS
/workspace /workspace
Removing clients/ids/
�[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
14:40:29.997 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:40:30.354 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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-01-06 06:40:31,058 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmp5cp557f3/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmp5cp557f3/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 IDS:
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/tmp5cp557f3/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', 'IDS']' returned non-zero exit status 1.
2022-01-06 06:40:31,633 autosynth [ERROR] > Synthesis failed
2022-01-06 06:40:31,634 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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-01-07 06:36:56,161 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2022-01-07 06:36:56,742 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2022-01-07 06:36:56,750 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2022-01-07 06:36:56,753 autosynth [DEBUG] > Running: git config user.email [email protected]
2022-01-07 06:36:56,775 autosynth [DEBUG] > Running: git config push.default simple
2022-01-07 06:36:56,779 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2022-01-07 06:36:56,784 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2022-01-07 06:36:56,978 autosynth [INFO] > Running synthtool
2022-01-07 06:36:56,978 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2022-01-07 06:36:56,978 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2022-01-07 06:36:56,981 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2022-01-07 06:36:57,233 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2022-01-07 06:36:59,665 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpdmbneulj/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpdmbneulj/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 IDS
/workspace /workspace
Removing clients/ids/
�[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
14:37:35.288 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:37:35.647 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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-01-07 06:37:36,348 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpdmbneulj/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpdmbneulj/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 IDS:
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/tmpdmbneulj/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', 'IDS']' returned non-zero exit status 1.
2022-01-07 06:37:36,910 autosynth [ERROR] > Synthesis failed
2022-01-07 06:37:36,910 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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-01-08 06:26:49,761 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2022-01-08 06:26:50,319 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2022-01-08 06:26:50,321 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2022-01-08 06:26:50,324 autosynth [DEBUG] > Running: git config user.email [email protected]
2022-01-08 06:26:50,327 autosynth [DEBUG] > Running: git config push.default simple
2022-01-08 06:26:50,330 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2022-01-08 06:26:50,333 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2022-01-08 06:26:50,511 autosynth [INFO] > Running synthtool
2022-01-08 06:26:50,511 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2022-01-08 06:26:50,511 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2022-01-08 06:26:50,513 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2022-01-08 06:26:50,743 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2022-01-08 06:26:53,207 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmp6zlbkvt2/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmp6zlbkvt2/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 IDS
/workspace /workspace
Removing clients/ids/
�[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
14:27:23.307 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:27:23.645 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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-01-08 06:27:24,307 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmp6zlbkvt2/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmp6zlbkvt2/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 IDS:
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/tmp6zlbkvt2/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', 'IDS']' returned non-zero exit status 1.
2022-01-08 06:27:24,834 autosynth [ERROR] > Synthesis failed
2022-01-08 06:27:24,834 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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-01-09 06:29:44,547 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2022-01-09 06:29:45,089 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2022-01-09 06:29:45,130 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2022-01-09 06:29:45,134 autosynth [DEBUG] > Running: git config user.email [email protected]
2022-01-09 06:29:45,137 autosynth [DEBUG] > Running: git config push.default simple
2022-01-09 06:29:45,140 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2022-01-09 06:29:45,144 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2022-01-09 06:29:45,354 autosynth [INFO] > Running synthtool
2022-01-09 06:29:45,354 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2022-01-09 06:29:45,354 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2022-01-09 06:29:45,357 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2022-01-09 06:29:45,591 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2022-01-09 06:29:48,078 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmprr192dnm/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmprr192dnm/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 IDS
/workspace /workspace
Removing clients/ids/
�[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
14:30:19.108 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:30:19.453 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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-01-09 06:30:20,146 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmprr192dnm/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmprr192dnm/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 IDS:
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/tmprr192dnm/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', 'IDS']' returned non-zero exit status 1.
2022-01-09 06:30:20,681 autosynth [ERROR] > Synthesis failed
2022-01-09 06:30:20,681 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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-01-10 06:33:13,021 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2022-01-10 06:33:13,638 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2022-01-10 06:33:13,641 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2022-01-10 06:33:13,646 autosynth [DEBUG] > Running: git config user.email [email protected]
2022-01-10 06:33:13,652 autosynth [DEBUG] > Running: git config push.default simple
2022-01-10 06:33:13,656 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2022-01-10 06:33:13,659 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2022-01-10 06:33:13,866 autosynth [INFO] > Running synthtool
2022-01-10 06:33:13,867 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2022-01-10 06:33:13,867 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2022-01-10 06:33:13,869 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2022-01-10 06:33:14,111 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2022-01-10 06:33:16,523 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpb11gzp21/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpb11gzp21/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 IDS
/workspace /workspace
Removing clients/ids/
�[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
14:33:49.240 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:33:49.590 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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-01-10 06:33:50,239 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpb11gzp21/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpb11gzp21/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 IDS:
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/tmpb11gzp21/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', 'IDS']' returned non-zero exit status 1.
2022-01-10 06:33:50,837 autosynth [ERROR] > Synthesis failed
2022-01-10 06:33:50,837 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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-01-11 06:40:24,873 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2022-01-11 06:40:25,430 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2022-01-11 06:40:25,433 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2022-01-11 06:40:25,436 autosynth [DEBUG] > Running: git config user.email [email protected]
2022-01-11 06:40:25,439 autosynth [DEBUG] > Running: git config push.default simple
2022-01-11 06:40:25,442 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2022-01-11 06:40:25,445 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2022-01-11 06:40:25,657 autosynth [INFO] > Running synthtool
2022-01-11 06:40:25,657 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2022-01-11 06:40:25,657 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2022-01-11 06:40:25,659 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2022-01-11 06:40:25,925 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2022-01-11 06:40:28,469 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpe5iivhvm/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpe5iivhvm/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 IDS
/workspace /workspace
Removing clients/ids/
�[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
14:41:03.457 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:41:03.833 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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-01-11 06:41:04,513 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpe5iivhvm/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpe5iivhvm/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 IDS:
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/tmpe5iivhvm/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', 'IDS']' returned non-zero exit status 1.
2022-01-11 06:41:05,116 autosynth [ERROR] > Synthesis failed
2022-01-11 06:41:05,116 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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-01-12 06:33:09,507 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2022-01-12 06:33:10,072 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2022-01-12 06:33:10,076 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2022-01-12 06:33:10,080 autosynth [DEBUG] > Running: git config user.email [email protected]
2022-01-12 06:33:10,083 autosynth [DEBUG] > Running: git config push.default simple
2022-01-12 06:33:10,086 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2022-01-12 06:33:10,090 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2022-01-12 06:33:10,286 autosynth [INFO] > Running synthtool
2022-01-12 06:33:10,286 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2022-01-12 06:33:10,286 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2022-01-12 06:33:10,289 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2022-01-12 06:33:10,544 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2022-01-12 06:33:12,975 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpxf9bwqnn/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpxf9bwqnn/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 IDS
/workspace /workspace
Removing clients/ids/
�[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
14:33:46.601 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:33:46.951 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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-01-12 06:33:47,651 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpxf9bwqnn/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpxf9bwqnn/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 IDS:
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/tmpxf9bwqnn/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', 'IDS']' returned non-zero exit status 1.
2022-01-12 06:33:48,193 autosynth [ERROR] > Synthesis failed
2022-01-12 06:33:48,193 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth is still having trouble generating IDS. 😭
Please investigate and fix this issue within 5 business days. While it remains broken,
this library cannot be updated with changes to the IDS 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-01-13 06:35:50,349 autosynth [INFO] > logs will be written to: /tmpfs/src/logs/elixir-google-api
2022-01-13 06:35:50,997 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2022-01-13 06:35:51,001 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2022-01-13 06:35:51,004 autosynth [DEBUG] > Running: git config user.email [email protected]
2022-01-13 06:35:51,008 autosynth [DEBUG] > Running: git config push.default simple
2022-01-13 06:35:51,012 autosynth [DEBUG] > Running: git branch -f autosynth-ids
2022-01-13 06:35:51,016 autosynth [DEBUG] > Running: git checkout autosynth-ids
Switched to branch 'autosynth-ids'
2022-01-13 06:35:51,228 autosynth [INFO] > Running synthtool
2022-01-13 06:35:51,228 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/ids/synth.metadata', 'synth.py', '--']
2022-01-13 06:35:51,228 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/elixir-google-api/IDS/sponge_log.log
2022-01-13 06:35:51,231 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/ids/synth.metadata synth.py -- IDS
2022-01-13 06:35:51,482 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-ids
nothing to commit, working tree clean
2022-01-13 06:35:53,880 synthtool [DEBUG] > Running: docker run --rm -v/tmpfs/tmp/tmpckp1ggce/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 IDS
DEBUG:synthtool:Running: docker run --rm -v/tmpfs/tmp/tmpckp1ggce/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 IDS
/workspace /workspace
Removing clients/ids/
�[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
14:36:29.132 [info] FETCHING: https://ids.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1
14:36:29.487 [info] FETCHING: https://ids.googleapis.com/$discovery/rest?version=v1
{:error, "All formats failed"}
** (File.Error) could not read file "/workspace/specifications/gdd/IDS-v1.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-01-13 06:36:30,190 synthtool [ERROR] > Failed executing docker run --rm -v/tmpfs/tmp/tmpckp1ggce/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 IDS:
None
ERROR:synthtool:Failed executing docker run --rm -v/tmpfs/tmp/tmpckp1ggce/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 IDS:
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/tmpckp1ggce/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', 'IDS']' returned non-zero exit status 1.
2022-01-13 06:36:30,752 autosynth [ERROR] > Synthesis failed
2022-01-13 06:36:30,752 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing clients/ids/
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/ids/synth.metadata', 'synth.py', '--', 'IDS']' returned non-zero exit status 1.
Google internal developers can see the full log here.
from elixir-google-api.
Autosynth passed, closing! 💚
from elixir-google-api.
Related Issues (20)
- WigWamWoodys HOT 1
- The task "google_apis.auth" could not be found HOT 3
- elixir-google-api broke with latest gcloud pub/sub emulator 0.7.1
- Speech: support v1p1beta1 HOT 2
- The Hex Docs are not being built HOT 2
- STOP GENERATING THOUSANDS OF MODULES!!! HOT 7
- Recommend configuration of Tesla adapter in README
- Copying Object in GCS
- Retail version does not match the doc HOT 5
- google_api_play_integrity package is not available on hex.pm HOT 1
- Version 0.25.0 of `dfa_reporting` is missing on hex.pm
- Unclear attribute, transaction, for GoogleApi.Firestore.V1.Model.CommitRequest
- Struggle integrating FCM Api with phoenix HOT 1
- Is the new Google Identity's API available in this library? HOT 1
- GoogleCloudMlV1_PredictRequest Mount Wrong URL HOT 1
- Empty API References Page for v0.16.1 release for Google API {Spanner, Notebooks, Manufacturers} HOT 1
- Synthesis failed for Transcoder HOT 10
- is batch uploads supported? HOT 1
- dfareporting v4 has been released HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elixir-google-api.