googleapis / google-api-java-client-services

Generated Java code for Google APIs
Apache License 2.0
607 stars 345 forks source link

Synthesis failed for cloudbilling #4794

Closed yoshi-automation closed 4 years ago

yoshi-automation commented 4 years ago

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

Here's the output from running synth.py:

2020-06-06 03:41:05,014 autosynth [INFO] > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/google-api-java-client-services
2020-06-06 03:41:06,357 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2020-06-06 03:41:06,360 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2020-06-06 03:41:06,364 autosynth [DEBUG] > Running: git config user.email yoshi-automation@google.com
2020-06-06 03:41:06,381 autosynth [DEBUG] > Running: git config push.default simple
2020-06-06 03:41:06,385 autosynth [DEBUG] > Running: git branch -f autosynth-cloudbilling
2020-06-06 03:41:06,389 autosynth [DEBUG] > Running: git checkout autosynth-cloudbilling
Switched to branch 'autosynth-cloudbilling'
2020-06-06 03:41:06,984 autosynth [INFO] > Running synthtool
2020-06-06 03:41:06,984 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/google-api-services-cloudbilling/synth.metadata', 'synth.py', '--']
2020-06-06 03:41:06,987 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/google-api-services-cloudbilling/synth.metadata synth.py -- cloudbilling
tee: /tmpfs/src/github/synthtool/logs/googleapis/google-api-java-client-services: Is a directory
2020-06-06 03:41:07,202 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client-services/synth.py.
On branch autosynth-cloudbilling
nothing to commit, working tree clean
2020-06-06 03:41:07,581 synthtool [DEBUG] > Cloning https://github.com/googleapis/discovery-artifact-manager.git.
DEBUG:synthtool:Cloning https://github.com/googleapis/discovery-artifact-manager.git.
2020-06-06 03:41:07,971 synthtool [DEBUG] > Cleaning output directory.
DEBUG:synthtool:Cleaning output directory.
2020-06-06 03:41:07,974 synthtool [DEBUG] > Installing dependencies.
DEBUG:synthtool:Installing dependencies.
2020-06-06 03:41:09,742 synthtool [INFO] > Generating cloudbilling v1.
INFO:synthtool:Generating cloudbilling v1.
2020-06-06 03:41:09,742 synthtool [INFO] >  1.30.1
INFO:synthtool: 1.30.1
Writing json metadata to clients/google-api-services-cloudbilling/v1.metadata.json
2020-06-06 03:41:10,459 synthtool [DEBUG] > Wrote metadata to clients/google-api-services-cloudbilling/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/google-api-services-cloudbilling/synth.metadata.
2020-06-06 03:41:10,489 autosynth [DEBUG] > Running: git clean -fdx
Removing .cache/
Removing __pycache__/
Removing clients/google-api-services-cloudbilling/synth.metadata
Removing generator/.cache/
Removing generator/ez_setup.pyc
Removing generator/src/google_apis_client_generator.egg-info/
Removing generator/src/googleapis/__init__.pyc
Removing generator/src/googleapis/codegen/__init__.pyc
Removing generator/src/googleapis/codegen/api.pyc
Removing generator/src/googleapis/codegen/api_exception.pyc
Removing generator/src/googleapis/codegen/api_library_generator.pyc
Removing generator/src/googleapis/codegen/data_types.pyc
Removing generator/src/googleapis/codegen/django_helpers.pyc
Removing generator/src/googleapis/codegen/filesys/__init__.pyc
Removing generator/src/googleapis/codegen/filesys/files.pyc
Removing generator/src/googleapis/codegen/filesys/filesystem_library_package.pyc
Removing generator/src/googleapis/codegen/filesys/library_package.pyc
Removing generator/src/googleapis/codegen/filesys/package_writer_foundry.pyc
Removing generator/src/googleapis/codegen/filesys/tar_library_package.pyc
Removing generator/src/googleapis/codegen/filesys/zip_library_package.pyc
Removing generator/src/googleapis/codegen/generate_library.pyc
Removing generator/src/googleapis/codegen/generator.pyc
Removing generator/src/googleapis/codegen/generator_lookup.pyc
Removing generator/src/googleapis/codegen/import_definition.pyc
Removing generator/src/googleapis/codegen/java_generator.pyc
Removing generator/src/googleapis/codegen/java_import_manager.pyc
Removing generator/src/googleapis/codegen/language_model.pyc
Removing generator/src/googleapis/codegen/schema.pyc
Removing generator/src/googleapis/codegen/targets.pyc
Removing generator/src/googleapis/codegen/template_helpers.pyc
Removing generator/src/googleapis/codegen/template_objects.pyc
Removing generator/src/googleapis/codegen/utilities/__init__.pyc
Removing generator/src/googleapis/codegen/utilities/convert_size.pyc
Removing generator/src/googleapis/codegen/utilities/html_stripper.pyc
Removing generator/src/googleapis/codegen/utilities/json_expander.pyc
Removing generator/src/googleapis/codegen/utilities/json_with_comments.pyc
Removing generator/src/googleapis/codegen/utilities/maven_utils.pyc
Removing generator/src/googleapis/codegen/utilities/name_validator.pyc
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 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 555, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 121, in synthesize
    with open(log_file_path, "rt") as fp:
IsADirectoryError: [Errno 21] Is a directory: '/tmpfs/src/github/synthtool/logs/googleapis/google-api-java-client-services'

Google internal developers can see the full log here.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating cloudbilling. :sob:

Here's the output from running synth.py:

2020-06-07 03:40:24,449 autosynth [INFO] > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/google-api-java-client-services
2020-06-07 03:40:25,348 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2020-06-07 03:40:25,350 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2020-06-07 03:40:25,353 autosynth [DEBUG] > Running: git config user.email yoshi-automation@google.com
2020-06-07 03:40:25,374 autosynth [DEBUG] > Running: git config push.default simple
2020-06-07 03:40:25,376 autosynth [DEBUG] > Running: git branch -f autosynth-cloudbilling
2020-06-07 03:40:25,379 autosynth [DEBUG] > Running: git checkout autosynth-cloudbilling
Switched to branch 'autosynth-cloudbilling'
2020-06-07 03:40:25,816 autosynth [INFO] > Running synthtool
2020-06-07 03:40:25,816 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/google-api-services-cloudbilling/synth.metadata', 'synth.py', '--']
2020-06-07 03:40:25,819 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/google-api-services-cloudbilling/synth.metadata synth.py -- cloudbilling
tee: /tmpfs/src/github/synthtool/logs/googleapis/google-api-java-client-services: Is a directory
2020-06-07 03:40:26,035 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client-services/synth.py.
On branch autosynth-cloudbilling
nothing to commit, working tree clean
2020-06-07 03:40:26,371 synthtool [DEBUG] > Cloning https://github.com/googleapis/discovery-artifact-manager.git.
DEBUG:synthtool:Cloning https://github.com/googleapis/discovery-artifact-manager.git.
2020-06-07 03:40:26,992 synthtool [DEBUG] > Cleaning output directory.
DEBUG:synthtool:Cleaning output directory.
2020-06-07 03:40:26,994 synthtool [DEBUG] > Installing dependencies.
DEBUG:synthtool:Installing dependencies.
2020-06-07 03:40:28,819 synthtool [INFO] > Generating cloudbilling v1.
INFO:synthtool:Generating cloudbilling v1.
2020-06-07 03:40:28,819 synthtool [INFO] >  1.30.1
INFO:synthtool: 1.30.1
Writing json metadata to clients/google-api-services-cloudbilling/v1.metadata.json
2020-06-07 03:40:29,547 synthtool [DEBUG] > Wrote metadata to clients/google-api-services-cloudbilling/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/google-api-services-cloudbilling/synth.metadata.
2020-06-07 03:40:29,569 autosynth [DEBUG] > Running: git clean -fdx
Removing .cache/
Removing __pycache__/
Removing clients/google-api-services-cloudbilling/synth.metadata
Removing generator/.cache/
Removing generator/ez_setup.pyc
Removing generator/src/google_apis_client_generator.egg-info/
Removing generator/src/googleapis/__init__.pyc
Removing generator/src/googleapis/codegen/__init__.pyc
Removing generator/src/googleapis/codegen/api.pyc
Removing generator/src/googleapis/codegen/api_exception.pyc
Removing generator/src/googleapis/codegen/api_library_generator.pyc
Removing generator/src/googleapis/codegen/data_types.pyc
Removing generator/src/googleapis/codegen/django_helpers.pyc
Removing generator/src/googleapis/codegen/filesys/__init__.pyc
Removing generator/src/googleapis/codegen/filesys/files.pyc
Removing generator/src/googleapis/codegen/filesys/filesystem_library_package.pyc
Removing generator/src/googleapis/codegen/filesys/library_package.pyc
Removing generator/src/googleapis/codegen/filesys/package_writer_foundry.pyc
Removing generator/src/googleapis/codegen/filesys/tar_library_package.pyc
Removing generator/src/googleapis/codegen/filesys/zip_library_package.pyc
Removing generator/src/googleapis/codegen/generate_library.pyc
Removing generator/src/googleapis/codegen/generator.pyc
Removing generator/src/googleapis/codegen/generator_lookup.pyc
Removing generator/src/googleapis/codegen/import_definition.pyc
Removing generator/src/googleapis/codegen/java_generator.pyc
Removing generator/src/googleapis/codegen/java_import_manager.pyc
Removing generator/src/googleapis/codegen/language_model.pyc
Removing generator/src/googleapis/codegen/schema.pyc
Removing generator/src/googleapis/codegen/targets.pyc
Removing generator/src/googleapis/codegen/template_helpers.pyc
Removing generator/src/googleapis/codegen/template_objects.pyc
Removing generator/src/googleapis/codegen/utilities/__init__.pyc
Removing generator/src/googleapis/codegen/utilities/convert_size.pyc
Removing generator/src/googleapis/codegen/utilities/html_stripper.pyc
Removing generator/src/googleapis/codegen/utilities/json_expander.pyc
Removing generator/src/googleapis/codegen/utilities/json_with_comments.pyc
Removing generator/src/googleapis/codegen/utilities/maven_utils.pyc
Removing generator/src/googleapis/codegen/utilities/name_validator.pyc
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 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 555, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 121, in synthesize
    with open(log_file_path, "rt") as fp:
IsADirectoryError: [Errno 21] Is a directory: '/tmpfs/src/github/synthtool/logs/googleapis/google-api-java-client-services'

Google internal developers can see the full log here.

yoshi-automation commented 4 years ago

Autosynth is still having trouble generating cloudbilling. :sob:

Here's the output from running synth.py:

2020-06-08 03:39:59,130 autosynth [INFO] > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/google-api-java-client-services
2020-06-08 03:40:00,063 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2020-06-08 03:40:00,066 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2020-06-08 03:40:00,070 autosynth [DEBUG] > Running: git config user.email yoshi-automation@google.com
2020-06-08 03:40:00,088 autosynth [DEBUG] > Running: git config push.default simple
2020-06-08 03:40:00,092 autosynth [DEBUG] > Running: git branch -f autosynth-cloudbilling
2020-06-08 03:40:00,095 autosynth [DEBUG] > Running: git checkout autosynth-cloudbilling
Switched to branch 'autosynth-cloudbilling'
2020-06-08 03:40:00,632 autosynth [INFO] > Running synthtool
2020-06-08 03:40:00,632 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/google-api-services-cloudbilling/synth.metadata', 'synth.py', '--']
2020-06-08 03:40:00,634 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/google-api-services-cloudbilling/synth.metadata synth.py -- cloudbilling
tee: /tmpfs/src/github/synthtool/logs/googleapis/google-api-java-client-services: Is a directory
2020-06-08 03:40:00,842 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client-services/synth.py.
On branch autosynth-cloudbilling
nothing to commit, working tree clean
2020-06-08 03:40:01,201 synthtool [DEBUG] > Cloning https://github.com/googleapis/discovery-artifact-manager.git.
DEBUG:synthtool:Cloning https://github.com/googleapis/discovery-artifact-manager.git.
2020-06-08 03:40:01,670 synthtool [DEBUG] > Cleaning output directory.
DEBUG:synthtool:Cleaning output directory.
2020-06-08 03:40:01,672 synthtool [DEBUG] > Installing dependencies.
DEBUG:synthtool:Installing dependencies.
2020-06-08 03:40:03,392 synthtool [INFO] > Generating cloudbilling v1.
INFO:synthtool:Generating cloudbilling v1.
2020-06-08 03:40:03,392 synthtool [INFO] >  1.30.1
INFO:synthtool: 1.30.1
Writing json metadata to clients/google-api-services-cloudbilling/v1.metadata.json
2020-06-08 03:40:04,098 synthtool [DEBUG] > Wrote metadata to clients/google-api-services-cloudbilling/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/google-api-services-cloudbilling/synth.metadata.
2020-06-08 03:40:04,126 autosynth [DEBUG] > Running: git clean -fdx
Removing .cache/
Removing __pycache__/
Removing clients/google-api-services-cloudbilling/synth.metadata
Removing generator/.cache/
Removing generator/ez_setup.pyc
Removing generator/src/google_apis_client_generator.egg-info/
Removing generator/src/googleapis/__init__.pyc
Removing generator/src/googleapis/codegen/__init__.pyc
Removing generator/src/googleapis/codegen/api.pyc
Removing generator/src/googleapis/codegen/api_exception.pyc
Removing generator/src/googleapis/codegen/api_library_generator.pyc
Removing generator/src/googleapis/codegen/data_types.pyc
Removing generator/src/googleapis/codegen/django_helpers.pyc
Removing generator/src/googleapis/codegen/filesys/__init__.pyc
Removing generator/src/googleapis/codegen/filesys/files.pyc
Removing generator/src/googleapis/codegen/filesys/filesystem_library_package.pyc
Removing generator/src/googleapis/codegen/filesys/library_package.pyc
Removing generator/src/googleapis/codegen/filesys/package_writer_foundry.pyc
Removing generator/src/googleapis/codegen/filesys/tar_library_package.pyc
Removing generator/src/googleapis/codegen/filesys/zip_library_package.pyc
Removing generator/src/googleapis/codegen/generate_library.pyc
Removing generator/src/googleapis/codegen/generator.pyc
Removing generator/src/googleapis/codegen/generator_lookup.pyc
Removing generator/src/googleapis/codegen/import_definition.pyc
Removing generator/src/googleapis/codegen/java_generator.pyc
Removing generator/src/googleapis/codegen/java_import_manager.pyc
Removing generator/src/googleapis/codegen/language_model.pyc
Removing generator/src/googleapis/codegen/schema.pyc
Removing generator/src/googleapis/codegen/targets.pyc
Removing generator/src/googleapis/codegen/template_helpers.pyc
Removing generator/src/googleapis/codegen/template_objects.pyc
Removing generator/src/googleapis/codegen/utilities/__init__.pyc
Removing generator/src/googleapis/codegen/utilities/convert_size.pyc
Removing generator/src/googleapis/codegen/utilities/html_stripper.pyc
Removing generator/src/googleapis/codegen/utilities/json_expander.pyc
Removing generator/src/googleapis/codegen/utilities/json_with_comments.pyc
Removing generator/src/googleapis/codegen/utilities/maven_utils.pyc
Removing generator/src/googleapis/codegen/utilities/name_validator.pyc
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 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 555, in _inner_main
    ).synthesize(base_synth_log_path)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 121, in synthesize
    with open(log_file_path, "rt") as fp:
IsADirectoryError: [Errno 21] Is a directory: '/tmpfs/src/github/synthtool/logs/googleapis/google-api-java-client-services'

Google internal developers can see the full log here.

yoshi-automation commented 4 years ago

Autosynth passed, closing! :green_heart: