googleapis / elixir-google-api

Elixir client libraries for accessing Google APIs.
https://hex.pm/users/google-cloud
Apache License 2.0
1.01k stars 459 forks source link

Synthesis failed for GameServices #4905

Closed yoshi-automation closed 4 years ago

yoshi-automation commented 4 years ago

Hello! Autosynth couldn't regenerate GameServices. :broken_heart:

Here's the output from running synth.py:

2020-05-09 05:13:10 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-09 05:13:10,051 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-gameservices'
2020-05-09 05:13:11 [INFO] Running synthtool
2020-05-09 05:13:11,542 autosynth > Running synthtool
2020-05-09 05:13:11 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/game_services/synth.metadata', 'synth.py', '--']
2020-05-09 05:13:11,542 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/game_services/synth.metadata', 'synth.py', '--']
2020-05-09 05:13:11,750 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-gameservices
nothing to commit, working tree clean
2020-05-09 05:13:11,918 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-09 05:13:12,456 synthtool > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/elixir-google-api:/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 GameServices
2020-05-09 05:13:17,496 synthtool > No files in sources /home/kbuilder/.cache/synthtool/elixir-google-api/clients were copied. Does the source contain files?
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "/tmpfs/src/github/synthtool/synthtool/metadata.py", line 180, in __exit__
    write(self.metadata_file_path)
  File "/tmpfs/src/github/synthtool/synthtool/metadata.py", line 112, in write
    with open(outfile, "w") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'clients/game_services/synth.metadata'
2020-05-09 05:13:17 [ERROR] Synthesis failed
2020-05-09 05:13:17,524 autosynth > Synthesis failed
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 599, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 471, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 549, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 118, 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/game_services/synth.metadata', 'synth.py', '--', 'GameServices']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating GameServices. :sob:

Here's the output from running synth.py:

2020-05-11 05:11:44 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-11 05:11:44,635 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-gameservices'
2020-05-11 05:11:46 [INFO] Running synthtool
2020-05-11 05:11:46,545 autosynth > Running synthtool
2020-05-11 05:11:46 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/game_services/synth.metadata', 'synth.py', '--']
2020-05-11 05:11:46,546 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/game_services/synth.metadata', 'synth.py', '--']
2020-05-11 05:11:46,731 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-gameservices
nothing to commit, working tree clean
2020-05-11 05:11:46,853 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-11 05:11:47,806 synthtool > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/elixir-google-api:/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 GameServices
2020-05-11 05:11:52,555 synthtool > No files in sources /home/kbuilder/.cache/synthtool/elixir-google-api/clients were copied. Does the source contain files?
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "/tmpfs/src/github/synthtool/synthtool/metadata.py", line 180, in __exit__
    write(self.metadata_file_path)
  File "/tmpfs/src/github/synthtool/synthtool/metadata.py", line 112, in write
    with open(outfile, "w") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'clients/game_services/synth.metadata'
2020-05-11 05:11:52 [ERROR] Synthesis failed
2020-05-11 05:11:52,579 autosynth > Synthesis failed
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 599, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 471, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 549, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 118, 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/game_services/synth.metadata', 'synth.py', '--', 'GameServices']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating GameServices. :sob:

Here's the output from running synth.py:

2020-05-11 15:14:08 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-11 15:14:08,755 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-gameservices'
2020-05-11 15:14:10 [INFO] Running synthtool
2020-05-11 15:14:10,832 autosynth > Running synthtool
2020-05-11 15:14:10 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/game_services/synth.metadata', 'synth.py', '--']
2020-05-11 15:14:10,833 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/game_services/synth.metadata', 'synth.py', '--']
2020-05-11 15:14:11,046 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-gameservices
nothing to commit, working tree clean
2020-05-11 15:14:11,267 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-11 15:14:11,722 synthtool > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/elixir-google-api:/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 GameServices
/workspace /workspace
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
Resolving Hex dependencies...
Dependency resolution completed:
Unchanged:
  certifi 2.5.1
  google_api_discovery 0.7.0
  google_gax 0.3.2
  hackney 1.15.2
  idna 6.0.0
  jason 1.2.0
  metrics 1.0.1
  mime 1.3.1
  mimerl 1.2.0
  oauth2 0.9.4
  parse_trans 3.3.0
  poison 3.1.0
  ssl_verify_fun 1.1.5
  temp 0.4.7
  tesla 1.3.3
  unicode_util_compat 0.4.1
A new Hex version is available (0.20.1 < 0.20.5), please update with `mix local.hex`
All dependencies are up to date
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.

22:14:15.145 [info]  FETCHING: https://gameservices.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1beta

22:14:15.494 [info]  FETCHING: https://gameservices.googleapis.com/$discovery/rest?version=v1beta

22:14:15.747 [info]  FOUND: https://gameservices.googleapis.com/$discovery/rest?version=v1beta
Revision check: old=20200423, new=20200423, generating=true
Creating leading directories
Writing AuditConfig to clients/game_services/lib/google_api/game_services/v1beta/model/audit_config.ex.
Writing AuditLogConfig to clients/game_services/lib/google_api/game_services/v1beta/model/audit_log_config.ex.
Writing AuthorizationLoggingOptions to clients/game_services/lib/google_api/game_services/v1beta/model/authorization_logging_options.ex.
Writing Binding to clients/game_services/lib/google_api/game_services/v1beta/model/binding.ex.
Writing CancelOperationRequest to clients/game_services/lib/google_api/game_services/v1beta/model/cancel_operation_request.ex.
Writing CloudAuditOptions to clients/game_services/lib/google_api/game_services/v1beta/model/cloud_audit_options.ex.
Writing Condition to clients/game_services/lib/google_api/game_services/v1beta/model/condition.ex.
Writing CounterOptions to clients/game_services/lib/google_api/game_services/v1beta/model/counter_options.ex.
Writing CustomField to clients/game_services/lib/google_api/game_services/v1beta/model/custom_field.ex.
Writing DataAccessOptions to clients/game_services/lib/google_api/game_services/v1beta/model/data_access_options.ex.
Writing DeployedClusterState to clients/game_services/lib/google_api/game_services/v1beta/model/deployed_cluster_state.ex.
Writing DeployedFleet to clients/game_services/lib/google_api/game_services/v1beta/model/deployed_fleet.ex.
Writing DeployedFleetAutoscaler to clients/game_services/lib/google_api/game_services/v1beta/model/deployed_fleet_autoscaler.ex.
Writing DeployedFleetDetails to clients/game_services/lib/google_api/game_services/v1beta/model/deployed_fleet_details.ex.
Writing DeployedFleetStatus to clients/game_services/lib/google_api/game_services/v1beta/model/deployed_fleet_status.ex.
Writing Empty to clients/game_services/lib/google_api/game_services/v1beta/model/empty.ex.
Writing Expr to clients/game_services/lib/google_api/game_services/v1beta/model/expr.ex.
Writing FetchDeploymentStateRequest to clients/game_services/lib/google_api/game_services/v1beta/model/fetch_deployment_state_request.ex.
Writing FetchDeploymentStateResponse to clients/game_services/lib/google_api/game_services/v1beta/model/fetch_deployment_state_response.ex.
Writing FleetConfig to clients/game_services/lib/google_api/game_services/v1beta/model/fleet_config.ex.
Writing GameServerCluster to clients/game_services/lib/google_api/game_services/v1beta/model/game_server_cluster.ex.
Writing GameServerClusterConnectionInfo to clients/game_services/lib/google_api/game_services/v1beta/model/game_server_cluster_connection_info.ex.
Writing GameServerConfig to clients/game_services/lib/google_api/game_services/v1beta/model/game_server_config.ex.
Writing GameServerConfigOverride to clients/game_services/lib/google_api/game_services/v1beta/model/game_server_config_override.ex.
Writing GameServerDeployment to clients/game_services/lib/google_api/game_services/v1beta/model/game_server_deployment.ex.
Writing GameServerDeploymentRollout to clients/game_services/lib/google_api/game_services/v1beta/model/game_server_deployment_rollout.ex.
Writing GkeClusterReference to clients/game_services/lib/google_api/game_services/v1beta/model/gke_cluster_reference.ex.
Writing LabelSelector to clients/game_services/lib/google_api/game_services/v1beta/model/label_selector.ex.
Writing ListGameServerClustersResponse to clients/game_services/lib/google_api/game_services/v1beta/model/list_game_server_clusters_response.ex.
Writing ListGameServerConfigsResponse to clients/game_services/lib/google_api/game_services/v1beta/model/list_game_server_configs_response.ex.
Writing ListGameServerDeploymentsResponse to clients/game_services/lib/google_api/game_services/v1beta/model/list_game_server_deployments_response.ex.
Writing ListLocationsResponse to clients/game_services/lib/google_api/game_services/v1beta/model/list_locations_response.ex.
Writing ListOperationsResponse to clients/game_services/lib/google_api/game_services/v1beta/model/list_operations_response.ex.
Writing ListRealmsResponse to clients/game_services/lib/google_api/game_services/v1beta/model/list_realms_response.ex.
Writing Location to clients/game_services/lib/google_api/game_services/v1beta/model/location.ex.
Writing LogConfig to clients/game_services/lib/google_api/game_services/v1beta/model/log_config.ex.
Writing Operation to clients/game_services/lib/google_api/game_services/v1beta/model/operation.ex.
Writing OperationMetadata to clients/game_services/lib/google_api/game_services/v1beta/model/operation_metadata.ex.
Writing OperationStatus to clients/game_services/lib/google_api/game_services/v1beta/model/operation_status.ex.
Writing Policy to clients/game_services/lib/google_api/game_services/v1beta/model/policy.ex.
Writing PreviewCreateGameServerClusterResponse to clients/game_services/lib/google_api/game_services/v1beta/model/preview_create_game_server_cluster_response.ex.
Writing PreviewDeleteGameServerClusterResponse to clients/game_services/lib/google_api/game_services/v1beta/model/preview_delete_game_server_cluster_response.ex.
Writing PreviewGameServerDeploymentRolloutResponse to clients/game_services/lib/google_api/game_services/v1beta/model/preview_game_server_deployment_rollout_response.ex.
Writing PreviewRealmUpdateResponse to clients/game_services/lib/google_api/game_services/v1beta/model/preview_realm_update_response.ex.
Writing PreviewUpdateGameServerClusterResponse to clients/game_services/lib/google_api/game_services/v1beta/model/preview_update_game_server_cluster_response.ex.
Writing Realm to clients/game_services/lib/google_api/game_services/v1beta/model/realm.ex.
Writing RealmSelector to clients/game_services/lib/google_api/game_services/v1beta/model/realm_selector.ex.
Writing Rule to clients/game_services/lib/google_api/game_services/v1beta/model/rule.ex.
Writing ScalingConfig to clients/game_services/lib/google_api/game_services/v1beta/model/scaling_config.ex.
Writing Schedule to clients/game_services/lib/google_api/game_services/v1beta/model/schedule.ex.
Writing SetIamPolicyRequest to clients/game_services/lib/google_api/game_services/v1beta/model/set_iam_policy_request.ex.
Writing SpecSource to clients/game_services/lib/google_api/game_services/v1beta/model/spec_source.ex.
Writing Status to clients/game_services/lib/google_api/game_services/v1beta/model/status.ex.
Writing TargetDetails to clients/game_services/lib/google_api/game_services/v1beta/model/target_details.ex.
Writing TargetFleet to clients/game_services/lib/google_api/game_services/v1beta/model/target_fleet.ex.
Writing TargetFleetAutoscaler to clients/game_services/lib/google_api/game_services/v1beta/model/target_fleet_autoscaler.ex.
Writing TargetFleetDetails to clients/game_services/lib/google_api/game_services/v1beta/model/target_fleet_details.ex.
Writing TargetState to clients/game_services/lib/google_api/game_services/v1beta/model/target_state.ex.
Writing TestIamPermissionsRequest to clients/game_services/lib/google_api/game_services/v1beta/model/test_iam_permissions_request.ex.
Writing TestIamPermissionsResponse to clients/game_services/lib/google_api/game_services/v1beta/model/test_iam_permissions_response.ex.
Writing Projects to clients/game_services/lib/google_api/game_services/v1beta/api/projects.ex.
Writing connection.ex.
Writing metadata.ex.
Writing mix.exs
Writing README.md
Writing LICENSE
Writing .gitignore
Writing config/config.exs
Writing test/test_helper.exs
fixing file permissions
2020-05-11 15:14:16,756 synthtool > No files in sources /home/kbuilder/.cache/synthtool/elixir-google-api/clients were copied. Does the source contain files?
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "/tmpfs/src/github/synthtool/synthtool/metadata.py", line 180, in __exit__
    write(self.metadata_file_path)
  File "/tmpfs/src/github/synthtool/synthtool/metadata.py", line 112, in write
    with open(outfile, "w") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'clients/game_services/synth.metadata'
2020-05-11 15:14:16 [ERROR] Synthesis failed
2020-05-11 15:14:16,784 autosynth > Synthesis failed
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 599, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 471, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 549, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 118, 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/game_services/synth.metadata', 'synth.py', '--', 'GameServices']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating GameServices. :sob:

Here's the output from running synth.py:

2020-05-12 05:13:40 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-12 05:13:40,869 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-gameservices'
2020-05-12 05:13:42 [INFO] Running synthtool
2020-05-12 05:13:42,289 autosynth > Running synthtool
2020-05-12 05:13:42 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/game_services/synth.metadata', 'synth.py', '--']
2020-05-12 05:13:42,289 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/game_services/synth.metadata', 'synth.py', '--']
2020-05-12 05:13:42,502 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-gameservices
nothing to commit, working tree clean
2020-05-12 05:13:42,602 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-12 05:13:43,081 synthtool > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/elixir-google-api:/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 GameServices
/workspace /workspace
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.
Resolving Hex dependencies...
Dependency resolution completed:
Unchanged:
  certifi 2.5.1
  google_api_discovery 0.7.0
  google_gax 0.3.2
  hackney 1.15.2
  idna 6.0.0
  jason 1.2.0
  metrics 1.0.1
  mime 1.3.1
  mimerl 1.2.0
  oauth2 0.9.4
  parse_trans 3.3.0
  poison 3.1.0
  ssl_verify_fun 1.1.5
  temp 0.4.7
  tesla 1.3.3
  unicode_util_compat 0.4.1
A new Hex version is available (0.20.1 < 0.20.5), please update with `mix local.hex`
All dependencies are up to date
The mix.lock file was generated with a newer version of Hex. Update your client by running `mix local.hex` to avoid losing data.

12:13:45.583 [info]  FETCHING: https://gameservices.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1beta

12:13:45.956 [info]  FETCHING: https://gameservices.googleapis.com/$discovery/rest?version=v1beta

12:13:46.218 [info]  FOUND: https://gameservices.googleapis.com/$discovery/rest?version=v1beta
Revision check: old=20200423, new=20200423, generating=true
Creating leading directories
Writing AuditConfig to clients/game_services/lib/google_api/game_services/v1beta/model/audit_config.ex.
Writing AuditLogConfig to clients/game_services/lib/google_api/game_services/v1beta/model/audit_log_config.ex.
Writing AuthorizationLoggingOptions to clients/game_services/lib/google_api/game_services/v1beta/model/authorization_logging_options.ex.
Writing Binding to clients/game_services/lib/google_api/game_services/v1beta/model/binding.ex.
Writing CancelOperationRequest to clients/game_services/lib/google_api/game_services/v1beta/model/cancel_operation_request.ex.
Writing CloudAuditOptions to clients/game_services/lib/google_api/game_services/v1beta/model/cloud_audit_options.ex.
Writing Condition to clients/game_services/lib/google_api/game_services/v1beta/model/condition.ex.
Writing CounterOptions to clients/game_services/lib/google_api/game_services/v1beta/model/counter_options.ex.
Writing CustomField to clients/game_services/lib/google_api/game_services/v1beta/model/custom_field.ex.
Writing DataAccessOptions to clients/game_services/lib/google_api/game_services/v1beta/model/data_access_options.ex.
Writing DeployedClusterState to clients/game_services/lib/google_api/game_services/v1beta/model/deployed_cluster_state.ex.
Writing DeployedFleet to clients/game_services/lib/google_api/game_services/v1beta/model/deployed_fleet.ex.
Writing DeployedFleetAutoscaler to clients/game_services/lib/google_api/game_services/v1beta/model/deployed_fleet_autoscaler.ex.
Writing DeployedFleetDetails to clients/game_services/lib/google_api/game_services/v1beta/model/deployed_fleet_details.ex.
Writing DeployedFleetStatus to clients/game_services/lib/google_api/game_services/v1beta/model/deployed_fleet_status.ex.
Writing Empty to clients/game_services/lib/google_api/game_services/v1beta/model/empty.ex.
Writing Expr to clients/game_services/lib/google_api/game_services/v1beta/model/expr.ex.
Writing FetchDeploymentStateRequest to clients/game_services/lib/google_api/game_services/v1beta/model/fetch_deployment_state_request.ex.
Writing FetchDeploymentStateResponse to clients/game_services/lib/google_api/game_services/v1beta/model/fetch_deployment_state_response.ex.
Writing FleetConfig to clients/game_services/lib/google_api/game_services/v1beta/model/fleet_config.ex.
Writing GameServerCluster to clients/game_services/lib/google_api/game_services/v1beta/model/game_server_cluster.ex.
Writing GameServerClusterConnectionInfo to clients/game_services/lib/google_api/game_services/v1beta/model/game_server_cluster_connection_info.ex.
Writing GameServerConfig to clients/game_services/lib/google_api/game_services/v1beta/model/game_server_config.ex.
Writing GameServerConfigOverride to clients/game_services/lib/google_api/game_services/v1beta/model/game_server_config_override.ex.
Writing GameServerDeployment to clients/game_services/lib/google_api/game_services/v1beta/model/game_server_deployment.ex.
Writing GameServerDeploymentRollout to clients/game_services/lib/google_api/game_services/v1beta/model/game_server_deployment_rollout.ex.
Writing GkeClusterReference to clients/game_services/lib/google_api/game_services/v1beta/model/gke_cluster_reference.ex.
Writing LabelSelector to clients/game_services/lib/google_api/game_services/v1beta/model/label_selector.ex.
Writing ListGameServerClustersResponse to clients/game_services/lib/google_api/game_services/v1beta/model/list_game_server_clusters_response.ex.
Writing ListGameServerConfigsResponse to clients/game_services/lib/google_api/game_services/v1beta/model/list_game_server_configs_response.ex.
Writing ListGameServerDeploymentsResponse to clients/game_services/lib/google_api/game_services/v1beta/model/list_game_server_deployments_response.ex.
Writing ListLocationsResponse to clients/game_services/lib/google_api/game_services/v1beta/model/list_locations_response.ex.
Writing ListOperationsResponse to clients/game_services/lib/google_api/game_services/v1beta/model/list_operations_response.ex.
Writing ListRealmsResponse to clients/game_services/lib/google_api/game_services/v1beta/model/list_realms_response.ex.
Writing Location to clients/game_services/lib/google_api/game_services/v1beta/model/location.ex.
Writing LogConfig to clients/game_services/lib/google_api/game_services/v1beta/model/log_config.ex.
Writing Operation to clients/game_services/lib/google_api/game_services/v1beta/model/operation.ex.
Writing OperationMetadata to clients/game_services/lib/google_api/game_services/v1beta/model/operation_metadata.ex.
Writing OperationStatus to clients/game_services/lib/google_api/game_services/v1beta/model/operation_status.ex.
Writing Policy to clients/game_services/lib/google_api/game_services/v1beta/model/policy.ex.
Writing PreviewCreateGameServerClusterResponse to clients/game_services/lib/google_api/game_services/v1beta/model/preview_create_game_server_cluster_response.ex.
Writing PreviewDeleteGameServerClusterResponse to clients/game_services/lib/google_api/game_services/v1beta/model/preview_delete_game_server_cluster_response.ex.
Writing PreviewGameServerDeploymentRolloutResponse to clients/game_services/lib/google_api/game_services/v1beta/model/preview_game_server_deployment_rollout_response.ex.
Writing PreviewRealmUpdateResponse to clients/game_services/lib/google_api/game_services/v1beta/model/preview_realm_update_response.ex.
Writing PreviewUpdateGameServerClusterResponse to clients/game_services/lib/google_api/game_services/v1beta/model/preview_update_game_server_cluster_response.ex.
Writing Realm to clients/game_services/lib/google_api/game_services/v1beta/model/realm.ex.
Writing RealmSelector to clients/game_services/lib/google_api/game_services/v1beta/model/realm_selector.ex.
Writing Rule to clients/game_services/lib/google_api/game_services/v1beta/model/rule.ex.
Writing ScalingConfig to clients/game_services/lib/google_api/game_services/v1beta/model/scaling_config.ex.
Writing Schedule to clients/game_services/lib/google_api/game_services/v1beta/model/schedule.ex.
Writing SetIamPolicyRequest to clients/game_services/lib/google_api/game_services/v1beta/model/set_iam_policy_request.ex.
Writing SpecSource to clients/game_services/lib/google_api/game_services/v1beta/model/spec_source.ex.
Writing Status to clients/game_services/lib/google_api/game_services/v1beta/model/status.ex.
Writing TargetDetails to clients/game_services/lib/google_api/game_services/v1beta/model/target_details.ex.
Writing TargetFleet to clients/game_services/lib/google_api/game_services/v1beta/model/target_fleet.ex.
Writing TargetFleetAutoscaler to clients/game_services/lib/google_api/game_services/v1beta/model/target_fleet_autoscaler.ex.
Writing TargetFleetDetails to clients/game_services/lib/google_api/game_services/v1beta/model/target_fleet_details.ex.
Writing TargetState to clients/game_services/lib/google_api/game_services/v1beta/model/target_state.ex.
Writing TestIamPermissionsRequest to clients/game_services/lib/google_api/game_services/v1beta/model/test_iam_permissions_request.ex.
Writing TestIamPermissionsResponse to clients/game_services/lib/google_api/game_services/v1beta/model/test_iam_permissions_response.ex.
Writing Projects to clients/game_services/lib/google_api/game_services/v1beta/api/projects.ex.
Writing connection.ex.
Writing metadata.ex.
Writing mix.exs
Writing README.md
Writing LICENSE
Writing .gitignore
Writing config/config.exs
Writing test/test_helper.exs
fixing file permissions
2020-05-12 05:13:47,228 synthtool > No files in sources /home/kbuilder/.cache/synthtool/elixir-google-api/clients were copied. Does the source contain files?
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "/tmpfs/src/github/synthtool/synthtool/metadata.py", line 180, in __exit__
    write(self.metadata_file_path)
  File "/tmpfs/src/github/synthtool/synthtool/metadata.py", line 112, in write
    with open(outfile, "w") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'clients/game_services/synth.metadata'
2020-05-12 05:13:47 [ERROR] Synthesis failed
2020-05-12 05:13:47,263 autosynth > Synthesis failed
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 599, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 471, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 549, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 118, 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/game_services/synth.metadata', 'synth.py', '--', 'GameServices']' returned non-zero exit status 1.

Google internal developers can see the full log here.

yoshi-automation commented 4 years ago

Autosynth passed, closing! :green_heart: