googleapis / google-api-java-client-services

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

Synthesis failed for classroom #4792

Closed yoshi-automation closed 4 years ago

yoshi-automation commented 4 years ago

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

Here's the output from running synth.py:

2020-06-06 03:40:47,419 autosynth [INFO] > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/google-api-java-client-services
2020-06-06 03:40:48,372 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2020-06-06 03:40:48,375 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2020-06-06 03:40:48,379 autosynth [DEBUG] > Running: git config user.email yoshi-automation@google.com
2020-06-06 03:40:48,397 autosynth [DEBUG] > Running: git config push.default simple
2020-06-06 03:40:48,401 autosynth [DEBUG] > Running: git branch -f autosynth-classroom
2020-06-06 03:40:48,405 autosynth [DEBUG] > Running: git checkout autosynth-classroom
Switched to branch 'autosynth-classroom'
2020-06-06 03:40:48,961 autosynth [INFO] > Running synthtool
2020-06-06 03:40:48,961 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/google-api-services-classroom/synth.metadata', 'synth.py', '--']
2020-06-06 03:40:48,963 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/google-api-services-classroom/synth.metadata synth.py -- classroom
tee: /tmpfs/src/github/synthtool/logs/googleapis/google-api-java-client-services: Is a directory
2020-06-06 03:40:49,178 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client-services/synth.py.
On branch autosynth-classroom
nothing to commit, working tree clean
2020-06-06 03:40:49,563 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:40:49,960 synthtool [DEBUG] > Cleaning output directory.
DEBUG:synthtool:Cleaning output directory.
2020-06-06 03:40:49,963 synthtool [DEBUG] > Installing dependencies.
DEBUG:synthtool:Installing dependencies.
2020-06-06 03:40:51,759 synthtool [INFO] > Generating classroom v1.
INFO:synthtool:Generating classroom v1.
2020-06-06 03:40:51,759 synthtool [INFO] >  1.30.1
INFO:synthtool: 1.30.1
WARNING:root:object without properties Empty: OrderedDict([(u'id', u'Empty'), (u'description', u'A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n    service Foo {\n      rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n    }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.'), (u'type', u'object'), (u'properties', OrderedDict())])
WARNING:root:object without properties ReclaimStudentSubmissionRequest: OrderedDict([(u'id', u'ReclaimStudentSubmissionRequest'), (u'description', u'Request to reclaim a student submission.'), (u'type', u'object'), (u'properties', OrderedDict())])
WARNING:root:object without properties ReturnStudentSubmissionRequest: OrderedDict([(u'description', u'Request to return a student submission.'), (u'type', u'object'), (u'properties', OrderedDict()), (u'id', u'ReturnStudentSubmissionRequest')])
WARNING:root:object without properties TurnInStudentSubmissionRequest: OrderedDict([(u'description', u'Request to turn in a student submission.'), (u'type', u'object'), (u'properties', OrderedDict()), (u'id', u'TurnInStudentSubmissionRequest')])
Writing json metadata to clients/google-api-services-classroom/v1.metadata.json
2020-06-06 03:40:53,380 synthtool [DEBUG] > Wrote metadata to clients/google-api-services-classroom/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/google-api-services-classroom/synth.metadata.
2020-06-06 03:40:53,412 autosynth [DEBUG] > Running: git clean -fdx
Removing .cache/
Removing __pycache__/
Removing clients/google-api-services-classroom/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 classroom. :sob:

Here's the output from running synth.py:

2020-06-07 03:40:08,563 autosynth [INFO] > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/google-api-java-client-services
2020-06-07 03:40:09,819 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2020-06-07 03:40:09,822 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2020-06-07 03:40:09,825 autosynth [DEBUG] > Running: git config user.email yoshi-automation@google.com
2020-06-07 03:40:09,845 autosynth [DEBUG] > Running: git config push.default simple
2020-06-07 03:40:09,847 autosynth [DEBUG] > Running: git branch -f autosynth-classroom
2020-06-07 03:40:09,851 autosynth [DEBUG] > Running: git checkout autosynth-classroom
Switched to branch 'autosynth-classroom'
2020-06-07 03:40:10,256 autosynth [INFO] > Running synthtool
2020-06-07 03:40:10,256 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/google-api-services-classroom/synth.metadata', 'synth.py', '--']
2020-06-07 03:40:10,258 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/google-api-services-classroom/synth.metadata synth.py -- classroom
tee: /tmpfs/src/github/synthtool/logs/googleapis/google-api-java-client-services: Is a directory
2020-06-07 03:40:10,473 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client-services/synth.py.
On branch autosynth-classroom
nothing to commit, working tree clean
2020-06-07 03:40:10,809 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:11,414 synthtool [DEBUG] > Cleaning output directory.
DEBUG:synthtool:Cleaning output directory.
2020-06-07 03:40:11,416 synthtool [DEBUG] > Installing dependencies.
DEBUG:synthtool:Installing dependencies.
2020-06-07 03:40:13,258 synthtool [INFO] > Generating classroom v1.
INFO:synthtool:Generating classroom v1.
2020-06-07 03:40:13,258 synthtool [INFO] >  1.30.1
INFO:synthtool: 1.30.1
WARNING:root:object without properties Empty: OrderedDict([(u'id', u'Empty'), (u'description', u'A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n    service Foo {\n      rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n    }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.'), (u'type', u'object'), (u'properties', OrderedDict())])
WARNING:root:object without properties ReclaimStudentSubmissionRequest: OrderedDict([(u'id', u'ReclaimStudentSubmissionRequest'), (u'description', u'Request to reclaim a student submission.'), (u'type', u'object'), (u'properties', OrderedDict())])
WARNING:root:object without properties ReturnStudentSubmissionRequest: OrderedDict([(u'description', u'Request to return a student submission.'), (u'type', u'object'), (u'properties', OrderedDict()), (u'id', u'ReturnStudentSubmissionRequest')])
WARNING:root:object without properties TurnInStudentSubmissionRequest: OrderedDict([(u'description', u'Request to turn in a student submission.'), (u'type', u'object'), (u'properties', OrderedDict()), (u'id', u'TurnInStudentSubmissionRequest')])
Writing json metadata to clients/google-api-services-classroom/v1.metadata.json
2020-06-07 03:40:14,938 synthtool [DEBUG] > Wrote metadata to clients/google-api-services-classroom/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/google-api-services-classroom/synth.metadata.
2020-06-07 03:40:14,963 autosynth [DEBUG] > Running: git clean -fdx
Removing .cache/
Removing __pycache__/
Removing clients/google-api-services-classroom/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 classroom. :sob:

Here's the output from running synth.py:

2020-06-08 03:39:43,529 autosynth [INFO] > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/google-api-java-client-services
2020-06-08 03:39:44,473 autosynth [DEBUG] > Running: git config --global core.excludesfile /home/kbuilder/.autosynth-gitignore
2020-06-08 03:39:44,477 autosynth [DEBUG] > Running: git config user.name yoshi-automation
2020-06-08 03:39:44,480 autosynth [DEBUG] > Running: git config user.email yoshi-automation@google.com
2020-06-08 03:39:44,499 autosynth [DEBUG] > Running: git config push.default simple
2020-06-08 03:39:44,502 autosynth [DEBUG] > Running: git branch -f autosynth-classroom
2020-06-08 03:39:44,506 autosynth [DEBUG] > Running: git checkout autosynth-classroom
Switched to branch 'autosynth-classroom'
2020-06-08 03:39:45,096 autosynth [INFO] > Running synthtool
2020-06-08 03:39:45,096 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'clients/google-api-services-classroom/synth.metadata', 'synth.py', '--']
2020-06-08 03:39:45,099 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata clients/google-api-services-classroom/synth.metadata synth.py -- classroom
tee: /tmpfs/src/github/synthtool/logs/googleapis/google-api-java-client-services: Is a directory
2020-06-08 03:39:45,305 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client-services/synth.py.
On branch autosynth-classroom
nothing to commit, working tree clean
2020-06-08 03:39:45,664 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:39:46,040 synthtool [DEBUG] > Cleaning output directory.
DEBUG:synthtool:Cleaning output directory.
2020-06-08 03:39:46,042 synthtool [DEBUG] > Installing dependencies.
DEBUG:synthtool:Installing dependencies.
2020-06-08 03:39:47,738 synthtool [INFO] > Generating classroom v1.
INFO:synthtool:Generating classroom v1.
2020-06-08 03:39:47,739 synthtool [INFO] >  1.30.1
INFO:synthtool: 1.30.1
WARNING:root:object without properties Empty: OrderedDict([(u'id', u'Empty'), (u'description', u'A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n    service Foo {\n      rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n    }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.'), (u'type', u'object'), (u'properties', OrderedDict())])
WARNING:root:object without properties ReclaimStudentSubmissionRequest: OrderedDict([(u'id', u'ReclaimStudentSubmissionRequest'), (u'description', u'Request to reclaim a student submission.'), (u'type', u'object'), (u'properties', OrderedDict())])
WARNING:root:object without properties ReturnStudentSubmissionRequest: OrderedDict([(u'description', u'Request to return a student submission.'), (u'type', u'object'), (u'properties', OrderedDict()), (u'id', u'ReturnStudentSubmissionRequest')])
WARNING:root:object without properties TurnInStudentSubmissionRequest: OrderedDict([(u'description', u'Request to turn in a student submission.'), (u'type', u'object'), (u'properties', OrderedDict()), (u'id', u'TurnInStudentSubmissionRequest')])
Writing json metadata to clients/google-api-services-classroom/v1.metadata.json
2020-06-08 03:39:49,285 synthtool [DEBUG] > Wrote metadata to clients/google-api-services-classroom/synth.metadata.
DEBUG:synthtool:Wrote metadata to clients/google-api-services-classroom/synth.metadata.
2020-06-08 03:39:49,312 autosynth [DEBUG] > Running: git clean -fdx
Removing .cache/
Removing __pycache__/
Removing clients/google-api-services-classroom/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: