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 AndroidPublisher #4835

Closed yoshi-automation closed 4 years ago

yoshi-automation commented 4 years ago

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

Here's the output from running synth.py:

2020-05-09 05:04:26 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-09 05:04:26,439 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-androidpublisher'
2020-05-09 05:04:28 [INFO] Running synthtool
2020-05-09 05:04:28,319 autosynth > Running synthtool
2020-05-09 05:04:28 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/android_publisher/synth.metadata', 'synth.py', '--']
2020-05-09 05:04:28,319 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/android_publisher/synth.metadata', 'synth.py', '--']
2020-05-09 05:04:28,528 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-androidpublisher
nothing to commit, working tree clean
2020-05-09 05:04:28,627 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-09 05:04:29,494 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 AndroidPublisher
2020-05-09 05:04:33,451 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/android_publisher/synth.metadata'
2020-05-09 05:04:33 [ERROR] Synthesis failed
2020-05-09 05:04:33,481 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/android_publisher/synth.metadata', 'synth.py', '--', 'AndroidPublisher']' 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 AndroidPublisher. :sob:

Here's the output from running synth.py:

2020-05-10 05:04:19 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-10 05:04:19,333 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-androidpublisher'
2020-05-10 05:04:20 [INFO] Running synthtool
2020-05-10 05:04:20,975 autosynth > Running synthtool
2020-05-10 05:04:20 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/android_publisher/synth.metadata', 'synth.py', '--']
2020-05-10 05:04:20,975 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/android_publisher/synth.metadata', 'synth.py', '--']
2020-05-10 05:04:21,192 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-androidpublisher
nothing to commit, working tree clean
2020-05-10 05:04:21,488 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-10 05:04:21,962 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 AndroidPublisher
2020-05-10 05:04:26,673 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/android_publisher/synth.metadata'
2020-05-10 05:04:26 [ERROR] Synthesis failed
2020-05-10 05:04:26,698 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/android_publisher/synth.metadata', 'synth.py', '--', 'AndroidPublisher']' 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 AndroidPublisher. :sob:

Here's the output from running synth.py:

2020-05-11 05:03:43 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-11 05:03:43,170 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-androidpublisher'
2020-05-11 05:03:44 [INFO] Running synthtool
2020-05-11 05:03:44,537 autosynth > Running synthtool
2020-05-11 05:03:44 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/android_publisher/synth.metadata', 'synth.py', '--']
2020-05-11 05:03:44,538 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/android_publisher/synth.metadata', 'synth.py', '--']
2020-05-11 05:03:44,729 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-androidpublisher
nothing to commit, working tree clean
2020-05-11 05:03:44,901 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-11 05:03:45,489 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 AndroidPublisher
2020-05-11 05:03:49,121 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/android_publisher/synth.metadata'
2020-05-11 05:03:49 [ERROR] Synthesis failed
2020-05-11 05:03:49,146 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/android_publisher/synth.metadata', 'synth.py', '--', 'AndroidPublisher']' 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 AndroidPublisher. :sob:

Here's the output from running synth.py:

2020-05-11 15:04:47 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-11 15:04:47,333 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-androidpublisher'
2020-05-11 15:04:49 [INFO] Running synthtool
2020-05-11 15:04:49,116 autosynth > Running synthtool
2020-05-11 15:04:49 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/android_publisher/synth.metadata', 'synth.py', '--']
2020-05-11 15:04:49,116 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/android_publisher/synth.metadata', 'synth.py', '--']
2020-05-11 15:04:49,325 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-androidpublisher
nothing to commit, working tree clean
2020-05-11 15:04:49,628 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-11 15:04:50,470 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 AndroidPublisher
/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:04:52.951 [info]  FETCHING: https://www.googleapis.com/discovery/v1/apis/androidpublisher/v2/rest

22:04:53.085 [info]  FOUND: https://www.googleapis.com/discovery/v1/apis/androidpublisher/v2/rest
Revision check: old=20200428, new=20200428, generating=true
Creating leading directories
Writing PageInfo to clients/android_publisher/lib/google_api/android_publisher/v2/model/page_info.ex.
Writing ProductPurchase to clients/android_publisher/lib/google_api/android_publisher/v2/model/product_purchase.ex.
Writing TokenPagination to clients/android_publisher/lib/google_api/android_publisher/v2/model/token_pagination.ex.
Writing VoidedPurchase to clients/android_publisher/lib/google_api/android_publisher/v2/model/voided_purchase.ex.
Writing VoidedPurchasesListResponse to clients/android_publisher/lib/google_api/android_publisher/v2/model/voided_purchases_list_response.ex.
Writing Purchases to clients/android_publisher/lib/google_api/android_publisher/v2/api/purchases.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

22:04:53.278 [info]  FETCHING: https://www.googleapis.com/discovery/v1/apis/androidpublisher/v3/rest

22:04:53.344 [info]  FOUND: https://www.googleapis.com/discovery/v1/apis/androidpublisher/v3/rest
Revision check: old=20200428, new=20200428, generating=true
Creating leading directories
Writing Apk to clients/android_publisher/lib/google_api/android_publisher/v3/model/apk.ex.
Writing ApkBinary to clients/android_publisher/lib/google_api/android_publisher/v3/model/apk_binary.ex.
Writing ApksAddExternallyHostedRequest to clients/android_publisher/lib/google_api/android_publisher/v3/model/apks_add_externally_hosted_request.ex.
Writing ApksAddExternallyHostedResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/apks_add_externally_hosted_response.ex.
Writing ApksListResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/apks_list_response.ex.
Writing AppDetails to clients/android_publisher/lib/google_api/android_publisher/v3/model/app_details.ex.
Writing AppEdit to clients/android_publisher/lib/google_api/android_publisher/v3/model/app_edit.ex.
Writing Bundle to clients/android_publisher/lib/google_api/android_publisher/v3/model/bundle.ex.
Writing BundlesListResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/bundles_list_response.ex.
Writing Comment to clients/android_publisher/lib/google_api/android_publisher/v3/model/comment.ex.
Writing Control to clients/android_publisher/lib/google_api/android_publisher/v3/model/control.ex.
Writing CountryTargeting to clients/android_publisher/lib/google_api/android_publisher/v3/model/country_targeting.ex.
Writing DeobfuscationFile to clients/android_publisher/lib/google_api/android_publisher/v3/model/deobfuscation_file.ex.
Writing DeobfuscationFilesUploadResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/deobfuscation_files_upload_response.ex.
Writing DeveloperComment to clients/android_publisher/lib/google_api/android_publisher/v3/model/developer_comment.ex.
Writing DeviceMetadata to clients/android_publisher/lib/google_api/android_publisher/v3/model/device_metadata.ex.
Writing DeviceSpec to clients/android_publisher/lib/google_api/android_publisher/v3/model/device_spec.ex.
Writing ExpansionFile to clients/android_publisher/lib/google_api/android_publisher/v3/model/expansion_file.ex.
Writing ExpansionFilesUploadResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/expansion_files_upload_response.ex.
Writing ExternallyHostedApk to clients/android_publisher/lib/google_api/android_publisher/v3/model/externally_hosted_apk.ex.
Writing ExternallyHostedApkUsesPermission to clients/android_publisher/lib/google_api/android_publisher/v3/model/externally_hosted_apk_uses_permission.ex.
Writing Image to clients/android_publisher/lib/google_api/android_publisher/v3/model/image.ex.
Writing ImagesDeleteAllResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/images_delete_all_response.ex.
Writing ImagesListResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/images_list_response.ex.
Writing ImagesUploadResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/images_upload_response.ex.
Writing InAppProduct to clients/android_publisher/lib/google_api/android_publisher/v3/model/in_app_product.ex.
Writing InAppProductListing to clients/android_publisher/lib/google_api/android_publisher/v3/model/in_app_product_listing.ex.
Writing InappproductsListResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/inappproducts_list_response.ex.
Writing InternalAppSharingArtifact to clients/android_publisher/lib/google_api/android_publisher/v3/model/internal_app_sharing_artifact.ex.
Writing IntroductoryPriceInfo to clients/android_publisher/lib/google_api/android_publisher/v3/model/introductory_price_info.ex.
Writing Listing to clients/android_publisher/lib/google_api/android_publisher/v3/model/listing.ex.
Writing ListingsListResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/listings_list_response.ex.
Writing LocalizedText to clients/android_publisher/lib/google_api/android_publisher/v3/model/localized_text.ex.
Writing ModRange to clients/android_publisher/lib/google_api/android_publisher/v3/model/mod_range.ex.
Writing PageInfo to clients/android_publisher/lib/google_api/android_publisher/v3/model/page_info.ex.
Writing Price to clients/android_publisher/lib/google_api/android_publisher/v3/model/price.ex.
Writing ProductPurchase to clients/android_publisher/lib/google_api/android_publisher/v3/model/product_purchase.ex.
Writing ProductPurchasesAcknowledgeRequest to clients/android_publisher/lib/google_api/android_publisher/v3/model/product_purchases_acknowledge_request.ex.
Writing Review to clients/android_publisher/lib/google_api/android_publisher/v3/model/review.ex.
Writing ReviewReplyResult to clients/android_publisher/lib/google_api/android_publisher/v3/model/review_reply_result.ex.
Writing ReviewsListResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/reviews_list_response.ex.
Writing ReviewsReplyRequest to clients/android_publisher/lib/google_api/android_publisher/v3/model/reviews_reply_request.ex.
Writing ReviewsReplyResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/reviews_reply_response.ex.
Writing Sampling to clients/android_publisher/lib/google_api/android_publisher/v3/model/sampling.ex.
Writing StratifiedSampling to clients/android_publisher/lib/google_api/android_publisher/v3/model/stratified_sampling.ex.
Writing Stratum to clients/android_publisher/lib/google_api/android_publisher/v3/model/stratum.ex.
Writing SubscriptionCancelSurveyResult to clients/android_publisher/lib/google_api/android_publisher/v3/model/subscription_cancel_survey_result.ex.
Writing SubscriptionDeferralInfo to clients/android_publisher/lib/google_api/android_publisher/v3/model/subscription_deferral_info.ex.
Writing SubscriptionPriceChange to clients/android_publisher/lib/google_api/android_publisher/v3/model/subscription_price_change.ex.
Writing SubscriptionPurchase to clients/android_publisher/lib/google_api/android_publisher/v3/model/subscription_purchase.ex.
Writing SubscriptionPurchasesAcknowledgeRequest to clients/android_publisher/lib/google_api/android_publisher/v3/model/subscription_purchases_acknowledge_request.ex.
Writing SubscriptionPurchasesDeferRequest to clients/android_publisher/lib/google_api/android_publisher/v3/model/subscription_purchases_defer_request.ex.
Writing SubscriptionPurchasesDeferResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/subscription_purchases_defer_response.ex.
Writing SystemApkVariantsCreateRequest to clients/android_publisher/lib/google_api/android_publisher/v3/model/system_apk_variants_create_request.ex.
Writing SystemApkVariantsListResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/system_apk_variants_list_response.ex.
Writing Testers to clients/android_publisher/lib/google_api/android_publisher/v3/model/testers.ex.
Writing Timestamp to clients/android_publisher/lib/google_api/android_publisher/v3/model/timestamp.ex.
Writing TokenPagination to clients/android_publisher/lib/google_api/android_publisher/v3/model/token_pagination.ex.
Writing Track to clients/android_publisher/lib/google_api/android_publisher/v3/model/track.ex.
Writing TrackRelease to clients/android_publisher/lib/google_api/android_publisher/v3/model/track_release.ex.
Writing TrackReleasePin to clients/android_publisher/lib/google_api/android_publisher/v3/model/track_release_pin.ex.
Writing TrackReleasePinPinTargeting to clients/android_publisher/lib/google_api/android_publisher/v3/model/track_release_pin_pin_targeting.ex.
Writing TrackReleasePinPinTargetingDevicePin to clients/android_publisher/lib/google_api/android_publisher/v3/model/track_release_pin_pin_targeting_device_pin.ex.
Writing TracksListResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/tracks_list_response.ex.
Writing UserComment to clients/android_publisher/lib/google_api/android_publisher/v3/model/user_comment.ex.
Writing Variant to clients/android_publisher/lib/google_api/android_publisher/v3/model/variant.ex.
Writing VoidedPurchase to clients/android_publisher/lib/google_api/android_publisher/v3/model/voided_purchase.ex.
Writing VoidedPurchasesListResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/voided_purchases_list_response.ex.
Writing Edits to clients/android_publisher/lib/google_api/android_publisher/v3/api/edits.ex.
Writing Inappproducts to clients/android_publisher/lib/google_api/android_publisher/v3/api/inappproducts.ex.
Writing Internalappsharingartifacts to clients/android_publisher/lib/google_api/android_publisher/v3/api/internalappsharingartifacts.ex.
Writing Orders to clients/android_publisher/lib/google_api/android_publisher/v3/api/orders.ex.
Writing Purchases to clients/android_publisher/lib/google_api/android_publisher/v3/api/purchases.ex.
Writing Reviews to clients/android_publisher/lib/google_api/android_publisher/v3/api/reviews.ex.
Writing Systemapks to clients/android_publisher/lib/google_api/android_publisher/v3/api/systemapks.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:04:54,396 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/android_publisher/synth.metadata'
2020-05-11 15:04:54 [ERROR] Synthesis failed
2020-05-11 15:04:54,427 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/android_publisher/synth.metadata', 'synth.py', '--', 'AndroidPublisher']' 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 AndroidPublisher. :sob:

Here's the output from running synth.py:

2020-05-12 05:04:33 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
2020-05-12 05:04:33,138 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/elixir-google-api
Switched to branch 'autosynth-androidpublisher'
2020-05-12 05:04:34 [INFO] Running synthtool
2020-05-12 05:04:34,738 autosynth > Running synthtool
2020-05-12 05:04:34 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/android_publisher/synth.metadata', 'synth.py', '--']
2020-05-12 05:04:34,738 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/android_publisher/synth.metadata', 'synth.py', '--']
2020-05-12 05:04:34,952 synthtool > Executing /home/kbuilder/.cache/synthtool/elixir-google-api/synth.py.
On branch autosynth-androidpublisher
nothing to commit, working tree clean
2020-05-12 05:04:35,183 synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
2020-05-12 05:04:35,644 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 AndroidPublisher
/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:04:38.180 [info]  FETCHING: https://www.googleapis.com/discovery/v1/apis/androidpublisher/v2/rest

12:04:38.318 [info]  FOUND: https://www.googleapis.com/discovery/v1/apis/androidpublisher/v2/rest
Revision check: old=20200428, new=20200428, generating=true
Creating leading directories
Writing PageInfo to clients/android_publisher/lib/google_api/android_publisher/v2/model/page_info.ex.
Writing ProductPurchase to clients/android_publisher/lib/google_api/android_publisher/v2/model/product_purchase.ex.
Writing TokenPagination to clients/android_publisher/lib/google_api/android_publisher/v2/model/token_pagination.ex.
Writing VoidedPurchase to clients/android_publisher/lib/google_api/android_publisher/v2/model/voided_purchase.ex.
Writing VoidedPurchasesListResponse to clients/android_publisher/lib/google_api/android_publisher/v2/model/voided_purchases_list_response.ex.
Writing Purchases to clients/android_publisher/lib/google_api/android_publisher/v2/api/purchases.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

12:04:38.521 [info]  FETCHING: https://www.googleapis.com/discovery/v1/apis/androidpublisher/v3/rest

12:04:38.568 [info]  FOUND: https://www.googleapis.com/discovery/v1/apis/androidpublisher/v3/rest
Revision check: old=20200428, new=20200428, generating=true
Creating leading directories
Writing Apk to clients/android_publisher/lib/google_api/android_publisher/v3/model/apk.ex.
Writing ApkBinary to clients/android_publisher/lib/google_api/android_publisher/v3/model/apk_binary.ex.
Writing ApksAddExternallyHostedRequest to clients/android_publisher/lib/google_api/android_publisher/v3/model/apks_add_externally_hosted_request.ex.
Writing ApksAddExternallyHostedResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/apks_add_externally_hosted_response.ex.
Writing ApksListResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/apks_list_response.ex.
Writing AppDetails to clients/android_publisher/lib/google_api/android_publisher/v3/model/app_details.ex.
Writing AppEdit to clients/android_publisher/lib/google_api/android_publisher/v3/model/app_edit.ex.
Writing Bundle to clients/android_publisher/lib/google_api/android_publisher/v3/model/bundle.ex.
Writing BundlesListResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/bundles_list_response.ex.
Writing Comment to clients/android_publisher/lib/google_api/android_publisher/v3/model/comment.ex.
Writing Control to clients/android_publisher/lib/google_api/android_publisher/v3/model/control.ex.
Writing CountryTargeting to clients/android_publisher/lib/google_api/android_publisher/v3/model/country_targeting.ex.
Writing DeobfuscationFile to clients/android_publisher/lib/google_api/android_publisher/v3/model/deobfuscation_file.ex.
Writing DeobfuscationFilesUploadResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/deobfuscation_files_upload_response.ex.
Writing DeveloperComment to clients/android_publisher/lib/google_api/android_publisher/v3/model/developer_comment.ex.
Writing DeviceMetadata to clients/android_publisher/lib/google_api/android_publisher/v3/model/device_metadata.ex.
Writing DeviceSpec to clients/android_publisher/lib/google_api/android_publisher/v3/model/device_spec.ex.
Writing ExpansionFile to clients/android_publisher/lib/google_api/android_publisher/v3/model/expansion_file.ex.
Writing ExpansionFilesUploadResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/expansion_files_upload_response.ex.
Writing ExternallyHostedApk to clients/android_publisher/lib/google_api/android_publisher/v3/model/externally_hosted_apk.ex.
Writing ExternallyHostedApkUsesPermission to clients/android_publisher/lib/google_api/android_publisher/v3/model/externally_hosted_apk_uses_permission.ex.
Writing Image to clients/android_publisher/lib/google_api/android_publisher/v3/model/image.ex.
Writing ImagesDeleteAllResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/images_delete_all_response.ex.
Writing ImagesListResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/images_list_response.ex.
Writing ImagesUploadResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/images_upload_response.ex.
Writing InAppProduct to clients/android_publisher/lib/google_api/android_publisher/v3/model/in_app_product.ex.
Writing InAppProductListing to clients/android_publisher/lib/google_api/android_publisher/v3/model/in_app_product_listing.ex.
Writing InappproductsListResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/inappproducts_list_response.ex.
Writing InternalAppSharingArtifact to clients/android_publisher/lib/google_api/android_publisher/v3/model/internal_app_sharing_artifact.ex.
Writing IntroductoryPriceInfo to clients/android_publisher/lib/google_api/android_publisher/v3/model/introductory_price_info.ex.
Writing Listing to clients/android_publisher/lib/google_api/android_publisher/v3/model/listing.ex.
Writing ListingsListResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/listings_list_response.ex.
Writing LocalizedText to clients/android_publisher/lib/google_api/android_publisher/v3/model/localized_text.ex.
Writing ModRange to clients/android_publisher/lib/google_api/android_publisher/v3/model/mod_range.ex.
Writing PageInfo to clients/android_publisher/lib/google_api/android_publisher/v3/model/page_info.ex.
Writing Price to clients/android_publisher/lib/google_api/android_publisher/v3/model/price.ex.
Writing ProductPurchase to clients/android_publisher/lib/google_api/android_publisher/v3/model/product_purchase.ex.
Writing ProductPurchasesAcknowledgeRequest to clients/android_publisher/lib/google_api/android_publisher/v3/model/product_purchases_acknowledge_request.ex.
Writing Review to clients/android_publisher/lib/google_api/android_publisher/v3/model/review.ex.
Writing ReviewReplyResult to clients/android_publisher/lib/google_api/android_publisher/v3/model/review_reply_result.ex.
Writing ReviewsListResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/reviews_list_response.ex.
Writing ReviewsReplyRequest to clients/android_publisher/lib/google_api/android_publisher/v3/model/reviews_reply_request.ex.
Writing ReviewsReplyResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/reviews_reply_response.ex.
Writing Sampling to clients/android_publisher/lib/google_api/android_publisher/v3/model/sampling.ex.
Writing StratifiedSampling to clients/android_publisher/lib/google_api/android_publisher/v3/model/stratified_sampling.ex.
Writing Stratum to clients/android_publisher/lib/google_api/android_publisher/v3/model/stratum.ex.
Writing SubscriptionCancelSurveyResult to clients/android_publisher/lib/google_api/android_publisher/v3/model/subscription_cancel_survey_result.ex.
Writing SubscriptionDeferralInfo to clients/android_publisher/lib/google_api/android_publisher/v3/model/subscription_deferral_info.ex.
Writing SubscriptionPriceChange to clients/android_publisher/lib/google_api/android_publisher/v3/model/subscription_price_change.ex.
Writing SubscriptionPurchase to clients/android_publisher/lib/google_api/android_publisher/v3/model/subscription_purchase.ex.
Writing SubscriptionPurchasesAcknowledgeRequest to clients/android_publisher/lib/google_api/android_publisher/v3/model/subscription_purchases_acknowledge_request.ex.
Writing SubscriptionPurchasesDeferRequest to clients/android_publisher/lib/google_api/android_publisher/v3/model/subscription_purchases_defer_request.ex.
Writing SubscriptionPurchasesDeferResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/subscription_purchases_defer_response.ex.
Writing SystemApkVariantsCreateRequest to clients/android_publisher/lib/google_api/android_publisher/v3/model/system_apk_variants_create_request.ex.
Writing SystemApkVariantsListResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/system_apk_variants_list_response.ex.
Writing Testers to clients/android_publisher/lib/google_api/android_publisher/v3/model/testers.ex.
Writing Timestamp to clients/android_publisher/lib/google_api/android_publisher/v3/model/timestamp.ex.
Writing TokenPagination to clients/android_publisher/lib/google_api/android_publisher/v3/model/token_pagination.ex.
Writing Track to clients/android_publisher/lib/google_api/android_publisher/v3/model/track.ex.
Writing TrackRelease to clients/android_publisher/lib/google_api/android_publisher/v3/model/track_release.ex.
Writing TrackReleasePin to clients/android_publisher/lib/google_api/android_publisher/v3/model/track_release_pin.ex.
Writing TrackReleasePinPinTargeting to clients/android_publisher/lib/google_api/android_publisher/v3/model/track_release_pin_pin_targeting.ex.
Writing TrackReleasePinPinTargetingDevicePin to clients/android_publisher/lib/google_api/android_publisher/v3/model/track_release_pin_pin_targeting_device_pin.ex.
Writing TracksListResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/tracks_list_response.ex.
Writing UserComment to clients/android_publisher/lib/google_api/android_publisher/v3/model/user_comment.ex.
Writing Variant to clients/android_publisher/lib/google_api/android_publisher/v3/model/variant.ex.
Writing VoidedPurchase to clients/android_publisher/lib/google_api/android_publisher/v3/model/voided_purchase.ex.
Writing VoidedPurchasesListResponse to clients/android_publisher/lib/google_api/android_publisher/v3/model/voided_purchases_list_response.ex.
Writing Edits to clients/android_publisher/lib/google_api/android_publisher/v3/api/edits.ex.
Writing Inappproducts to clients/android_publisher/lib/google_api/android_publisher/v3/api/inappproducts.ex.
Writing Internalappsharingartifacts to clients/android_publisher/lib/google_api/android_publisher/v3/api/internalappsharingartifacts.ex.
Writing Orders to clients/android_publisher/lib/google_api/android_publisher/v3/api/orders.ex.
Writing Purchases to clients/android_publisher/lib/google_api/android_publisher/v3/api/purchases.ex.
Writing Reviews to clients/android_publisher/lib/google_api/android_publisher/v3/api/reviews.ex.
Writing Systemapks to clients/android_publisher/lib/google_api/android_publisher/v3/api/systemapks.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:04:39,670 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/android_publisher/synth.metadata'
2020-05-12 05:04:39 [ERROR] Synthesis failed
2020-05-12 05:04:39,703 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/android_publisher/synth.metadata', 'synth.py', '--', 'AndroidPublisher']' 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: