googleapis / elixir-google-api

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

Synthesis failed for Firebase #4898

Closed yoshi-automation closed 4 years ago

yoshi-automation commented 4 years ago

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

Here's the output from running synth.py:

2020-05-09 05:12:20 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-09 05:12:20,585 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-firebase'
2020-05-09 05:12:22 [INFO] Running synthtool
2020-05-09 05:12:22,328 autosynth > Running synthtool
2020-05-09 05:12:22 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/firebase/synth.metadata', 'synth.py', '--']
2020-05-09 05:12:22,328 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/firebase/synth.metadata', 'synth.py', '--']
2020-05-09 05:12:22,535 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-firebase
nothing to commit, working tree clean
2020-05-09 05:12:22,613 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-09 05:12:23,106 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 Firebase
2020-05-09 05:12:27,718 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/firebase/synth.metadata'
2020-05-09 05:12:27 [ERROR] Synthesis failed
2020-05-09 05:12:27,751 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/firebase/synth.metadata', 'synth.py', '--', 'Firebase']' 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 Firebase. :sob:

Here's the output from running synth.py:

2020-05-10 05:12:20 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-10 05:12:20,169 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-firebase'
2020-05-10 05:12:21 [INFO] Running synthtool
2020-05-10 05:12:21,727 autosynth > Running synthtool
2020-05-10 05:12:21 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/firebase/synth.metadata', 'synth.py', '--']
2020-05-10 05:12:21,727 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/firebase/synth.metadata', 'synth.py', '--']
2020-05-10 05:12:21,948 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-firebase
nothing to commit, working tree clean
2020-05-10 05:12:22,172 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-10 05:12:22,605 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 Firebase
2020-05-10 05:12:26,130 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/firebase/synth.metadata'
2020-05-10 05:12:26 [ERROR] Synthesis failed
2020-05-10 05:12:26,155 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/firebase/synth.metadata', 'synth.py', '--', 'Firebase']' 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 Firebase. :sob:

Here's the output from running synth.py:

2020-05-11 05:10:54 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-11 05:10:54,575 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-firebase'
2020-05-11 05:10:56 [INFO] Running synthtool
2020-05-11 05:10:56,158 autosynth > Running synthtool
2020-05-11 05:10:56 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/firebase/synth.metadata', 'synth.py', '--']
2020-05-11 05:10:56,158 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/firebase/synth.metadata', 'synth.py', '--']
2020-05-11 05:10:56,337 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-firebase
nothing to commit, working tree clean
2020-05-11 05:10:56,693 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-11 05:10:57,121 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 Firebase
2020-05-11 05:11:00,479 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/firebase/synth.metadata'
2020-05-11 05:11:00 [ERROR] Synthesis failed
2020-05-11 05:11:00,503 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/firebase/synth.metadata', 'synth.py', '--', 'Firebase']' 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 Firebase. :sob:

Here's the output from running synth.py:

2020-05-11 15:13:12 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-11 15:13:12,371 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-firebase'
2020-05-11 15:13:14 [INFO] Running synthtool
2020-05-11 15:13:14,040 autosynth > Running synthtool
2020-05-11 15:13:14 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/firebase/synth.metadata', 'synth.py', '--']
2020-05-11 15:13:14,040 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/firebase/synth.metadata', 'synth.py', '--']
2020-05-11 15:13:14,250 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-firebase
nothing to commit, working tree clean
2020-05-11 15:13:14,574 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-11 15:13:15,400 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 Firebase
/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:13:18.860 [info]  FETCHING: https://firebase.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1beta1

22:13:18.986 [info]  FETCHING: https://firebase.googleapis.com/$discovery/rest?version=v1beta1

22:13:19.010 [info]  FOUND: https://firebase.googleapis.com/$discovery/rest?version=v1beta1
Revision check: old=20200506, new=20200508, generating=true
Creating leading directories
Writing AddFirebaseRequest to clients/firebase/lib/google_api/firebase/v1beta1/model/add_firebase_request.ex.
Writing AddGoogleAnalyticsRequest to clients/firebase/lib/google_api/firebase/v1beta1/model/add_google_analytics_request.ex.
Writing AdminSdkConfig to clients/firebase/lib/google_api/firebase/v1beta1/model/admin_sdk_config.ex.
Writing AnalyticsDetails to clients/firebase/lib/google_api/firebase/v1beta1/model/analytics_details.ex.
Writing AnalyticsProperty to clients/firebase/lib/google_api/firebase/v1beta1/model/analytics_property.ex.
Writing AndroidApp to clients/firebase/lib/google_api/firebase/v1beta1/model/android_app.ex.
Writing AndroidAppConfig to clients/firebase/lib/google_api/firebase/v1beta1/model/android_app_config.ex.
Writing DefaultResources to clients/firebase/lib/google_api/firebase/v1beta1/model/default_resources.ex.
Writing Empty to clients/firebase/lib/google_api/firebase/v1beta1/model/empty.ex.
Writing FinalizeDefaultLocationRequest to clients/firebase/lib/google_api/firebase/v1beta1/model/finalize_default_location_request.ex.
Writing FirebaseAppInfo to clients/firebase/lib/google_api/firebase/v1beta1/model/firebase_app_info.ex.
Writing FirebaseProject to clients/firebase/lib/google_api/firebase/v1beta1/model/firebase_project.ex.
Writing IosApp to clients/firebase/lib/google_api/firebase/v1beta1/model/ios_app.ex.
Writing IosAppConfig to clients/firebase/lib/google_api/firebase/v1beta1/model/ios_app_config.ex.
Writing ListAndroidAppsResponse to clients/firebase/lib/google_api/firebase/v1beta1/model/list_android_apps_response.ex.
Writing ListAvailableLocationsResponse to clients/firebase/lib/google_api/firebase/v1beta1/model/list_available_locations_response.ex.
Writing ListAvailableProjectsResponse to clients/firebase/lib/google_api/firebase/v1beta1/model/list_available_projects_response.ex.
Writing ListFirebaseProjectsResponse to clients/firebase/lib/google_api/firebase/v1beta1/model/list_firebase_projects_response.ex.
Writing ListIosAppsResponse to clients/firebase/lib/google_api/firebase/v1beta1/model/list_ios_apps_response.ex.
Writing ListShaCertificatesResponse to clients/firebase/lib/google_api/firebase/v1beta1/model/list_sha_certificates_response.ex.
Writing ListWebAppsResponse to clients/firebase/lib/google_api/firebase/v1beta1/model/list_web_apps_response.ex.
Writing Location to clients/firebase/lib/google_api/firebase/v1beta1/model/location.ex.
Writing MessageSet to clients/firebase/lib/google_api/firebase/v1beta1/model/message_set.ex.
Writing Operation to clients/firebase/lib/google_api/firebase/v1beta1/model/operation.ex.
Writing ProjectInfo to clients/firebase/lib/google_api/firebase/v1beta1/model/project_info.ex.
Writing RemoveAnalyticsRequest to clients/firebase/lib/google_api/firebase/v1beta1/model/remove_analytics_request.ex.
Writing SearchFirebaseAppsResponse to clients/firebase/lib/google_api/firebase/v1beta1/model/search_firebase_apps_response.ex.
Writing ShaCertificate to clients/firebase/lib/google_api/firebase/v1beta1/model/sha_certificate.ex.
Writing Status to clients/firebase/lib/google_api/firebase/v1beta1/model/status.ex.
Writing StatusProto to clients/firebase/lib/google_api/firebase/v1beta1/model/status_proto.ex.
Writing StreamMapping to clients/firebase/lib/google_api/firebase/v1beta1/model/stream_mapping.ex.
Writing TypedMessage to clients/firebase/lib/google_api/firebase/v1beta1/model/typed_message.ex.
Writing WebApp to clients/firebase/lib/google_api/firebase/v1beta1/model/web_app.ex.
Writing WebAppConfig to clients/firebase/lib/google_api/firebase/v1beta1/model/web_app_config.ex.
Writing AvailableProjects to clients/firebase/lib/google_api/firebase/v1beta1/api/available_projects.ex.
Writing Operations to clients/firebase/lib/google_api/firebase/v1beta1/api/operations.ex.
Writing Projects to clients/firebase/lib/google_api/firebase/v1beta1/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
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:13:20.315 [info]  Bumping patch
fixing file permissions
2020-05-11 15:13:21,088 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/firebase/synth.metadata'
2020-05-11 15:13:21 [ERROR] Synthesis failed
2020-05-11 15:13:21,120 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/firebase/synth.metadata', 'synth.py', '--', 'Firebase']' 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 Firebase. :sob:

Here's the output from running synth.py:

2020-05-12 05:12:48 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-12 05:12:48,099 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-firebase'
2020-05-12 05:12:49 [INFO] Running synthtool
2020-05-12 05:12:49,708 autosynth > Running synthtool
2020-05-12 05:12:49 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/firebase/synth.metadata', 'synth.py', '--']
2020-05-12 05:12:49,708 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/firebase/synth.metadata', 'synth.py', '--']
2020-05-12 05:12:49,923 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-firebase
nothing to commit, working tree clean
2020-05-12 05:12:50,146 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-12 05:12:50,592 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 Firebase
/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:12:54.186 [info]  FETCHING: https://firebase.googleapis.com/$discovery/GOOGLE_REST_SIMPLE_URI?version=v1beta1

12:12:54.328 [info]  FETCHING: https://firebase.googleapis.com/$discovery/rest?version=v1beta1

12:12:54.351 [info]  FOUND: https://firebase.googleapis.com/$discovery/rest?version=v1beta1
Revision check: old=20200506, new=20200508, generating=true
Creating leading directories
Writing AddFirebaseRequest to clients/firebase/lib/google_api/firebase/v1beta1/model/add_firebase_request.ex.
Writing AddGoogleAnalyticsRequest to clients/firebase/lib/google_api/firebase/v1beta1/model/add_google_analytics_request.ex.
Writing AdminSdkConfig to clients/firebase/lib/google_api/firebase/v1beta1/model/admin_sdk_config.ex.
Writing AnalyticsDetails to clients/firebase/lib/google_api/firebase/v1beta1/model/analytics_details.ex.
Writing AnalyticsProperty to clients/firebase/lib/google_api/firebase/v1beta1/model/analytics_property.ex.
Writing AndroidApp to clients/firebase/lib/google_api/firebase/v1beta1/model/android_app.ex.
Writing AndroidAppConfig to clients/firebase/lib/google_api/firebase/v1beta1/model/android_app_config.ex.
Writing DefaultResources to clients/firebase/lib/google_api/firebase/v1beta1/model/default_resources.ex.
Writing Empty to clients/firebase/lib/google_api/firebase/v1beta1/model/empty.ex.
Writing FinalizeDefaultLocationRequest to clients/firebase/lib/google_api/firebase/v1beta1/model/finalize_default_location_request.ex.
Writing FirebaseAppInfo to clients/firebase/lib/google_api/firebase/v1beta1/model/firebase_app_info.ex.
Writing FirebaseProject to clients/firebase/lib/google_api/firebase/v1beta1/model/firebase_project.ex.
Writing IosApp to clients/firebase/lib/google_api/firebase/v1beta1/model/ios_app.ex.
Writing IosAppConfig to clients/firebase/lib/google_api/firebase/v1beta1/model/ios_app_config.ex.
Writing ListAndroidAppsResponse to clients/firebase/lib/google_api/firebase/v1beta1/model/list_android_apps_response.ex.
Writing ListAvailableLocationsResponse to clients/firebase/lib/google_api/firebase/v1beta1/model/list_available_locations_response.ex.
Writing ListAvailableProjectsResponse to clients/firebase/lib/google_api/firebase/v1beta1/model/list_available_projects_response.ex.
Writing ListFirebaseProjectsResponse to clients/firebase/lib/google_api/firebase/v1beta1/model/list_firebase_projects_response.ex.
Writing ListIosAppsResponse to clients/firebase/lib/google_api/firebase/v1beta1/model/list_ios_apps_response.ex.
Writing ListShaCertificatesResponse to clients/firebase/lib/google_api/firebase/v1beta1/model/list_sha_certificates_response.ex.
Writing ListWebAppsResponse to clients/firebase/lib/google_api/firebase/v1beta1/model/list_web_apps_response.ex.
Writing Location to clients/firebase/lib/google_api/firebase/v1beta1/model/location.ex.
Writing MessageSet to clients/firebase/lib/google_api/firebase/v1beta1/model/message_set.ex.
Writing Operation to clients/firebase/lib/google_api/firebase/v1beta1/model/operation.ex.
Writing ProjectInfo to clients/firebase/lib/google_api/firebase/v1beta1/model/project_info.ex.
Writing RemoveAnalyticsRequest to clients/firebase/lib/google_api/firebase/v1beta1/model/remove_analytics_request.ex.
Writing SearchFirebaseAppsResponse to clients/firebase/lib/google_api/firebase/v1beta1/model/search_firebase_apps_response.ex.
Writing ShaCertificate to clients/firebase/lib/google_api/firebase/v1beta1/model/sha_certificate.ex.
Writing Status to clients/firebase/lib/google_api/firebase/v1beta1/model/status.ex.
Writing StatusProto to clients/firebase/lib/google_api/firebase/v1beta1/model/status_proto.ex.
Writing StreamMapping to clients/firebase/lib/google_api/firebase/v1beta1/model/stream_mapping.ex.
Writing TypedMessage to clients/firebase/lib/google_api/firebase/v1beta1/model/typed_message.ex.
Writing WebApp to clients/firebase/lib/google_api/firebase/v1beta1/model/web_app.ex.
Writing WebAppConfig to clients/firebase/lib/google_api/firebase/v1beta1/model/web_app_config.ex.
Writing AvailableProjects to clients/firebase/lib/google_api/firebase/v1beta1/api/available_projects.ex.
Writing Operations to clients/firebase/lib/google_api/firebase/v1beta1/api/operations.ex.
Writing Projects to clients/firebase/lib/google_api/firebase/v1beta1/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
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:12:55.683 [info]  Bumping patch
fixing file permissions
2020-05-12 05:12:56,433 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/firebase/synth.metadata'
2020-05-12 05:12:56 [ERROR] Synthesis failed
2020-05-12 05:12:56,465 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/firebase/synth.metadata', 'synth.py', '--', 'Firebase']' 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: