Closed yoshi-automation closed 4 years ago
Autosynth is still having trouble generating webrisk. :sob:
Here's the output from running synth.py
:
2020-05-08 16:11:44 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/google-cloud-php
2020-05-08 16:11:44,872 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/google-cloud-php
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 596, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 470, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 515, in _inner_main
working_repo_path = synthtool_git.clone(f"https://github.com/{args.repository}.git")
File "/tmpfs/src/github/synthtool/synthtool/sources/git.py", line 65, in clone
preclone = get_preclone(url)
File "/tmpfs/src/github/synthtool/synthtool/sources/git.py", line 168, in get_preclone
preconfig = synthtool.preconfig.load()
AttributeError: module 'synthtool' has no attribute 'preconfig'
Google internal developers can see the full log here.
Autosynth is still having trouble generating webrisk. :sob:
Here's the output from running synth.py
:
2020-05-08 17:12:03 [INFO] logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/google-cloud-php
2020-05-08 17:12:03,324 autosynth > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/google-cloud-php
Switched to branch 'autosynth-webrisk'
2020-05-08 17:12:04 [INFO] Running synthtool
2020-05-08 17:12:04,455 autosynth > Running synthtool
2020-05-08 17:12:04 [INFO] ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-05-08 17:12:04,455 autosynth > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
tee: /tmpfs/src/github/synthtool/logs/googleapis/google-cloud-php: Is a directory
2020-05-08 17:12:04,669 synthtool > Executing /home/kbuilder/.cache/synthtool/google-cloud-php/WebRisk/synth.py.
On branch autosynth-webrisk
nothing to commit, working tree clean
2020-05-08 17:12:04,822 synthtool > Ensuring dependencies.
2020-05-08 17:12:05,450 synthtool > Cloning googleapis.
2020-05-08 17:12:06,066 synthtool > Generating code for: //google/cloud/webrisk/v1:google-cloud-webrisk-v1-php.
2020-05-08 17:12:08,775 synthtool > Generated code into /tmpfs/tmp/tmpeu5gpdsv.
2020-05-08 17:12:08,785 synthtool > Generating code for: //google/cloud/webrisk/v1beta1:google-cloud-webrisk-v1beta1-php.
2020-05-08 17:12:11,273 synthtool > Generated code into /tmpfs/tmp/tmpiywiqmug.
2020-05-08 17:12:11,285 synthtool > Replaced "'serviceAddress' =>" in src/V1beta1/Gapic/WebRiskServiceV1Beta1GapicClient.php.
2020-05-08 17:12:11,286 synthtool > Replaced "'serviceAddress' =>" in src/V1/Gapic/WebRiskServiceGapicClient.php.
2020-05-08 17:12:11,288 synthtool > Replaced '@type string \\$serviceAddress\\n\\s+\\*\\s+The address' in src/V1beta1/Gapic/WebRiskServiceV1Beta1GapicClient.php.
2020-05-08 17:12:11,288 synthtool > Replaced '@type string \\$serviceAddress\\n\\s+\\*\\s+The address' in src/V1/Gapic/WebRiskServiceGapicClient.php.
2020-05-08 17:12:11,289 synthtool > Replaced '\\$transportConfig, and any \\$serviceAddress' in src/V1beta1/Gapic/WebRiskServiceV1Beta1GapicClient.php.
2020-05-08 17:12:11,290 synthtool > Replaced '\\$transportConfig, and any \\$serviceAddress' in src/V1/Gapic/WebRiskServiceGapicClient.php.
2020-05-08 17:12:11,291 synthtool > Replaced 'Copyright \\d{4}' in src/V1beta1/WebRiskServiceV1Beta1Client.php.
2020-05-08 17:12:11,291 synthtool > Replaced 'Copyright \\d{4}' in src/V1beta1/WebRiskServiceV1Beta1GrpcClient.php.
2020-05-08 17:12:11,292 synthtool > Replaced 'Copyright \\d{4}' in src/V1beta1/Gapic/WebRiskServiceV1Beta1GapicClient.php.
2020-05-08 17:12:11,292 synthtool > Replaced 'Copyright \\d{4}' in src/V1/WebRiskServiceGrpcClient.php.
2020-05-08 17:12:11,293 synthtool > Replaced 'Copyright \\d{4}' in src/V1/WebRiskServiceClient.php.
2020-05-08 17:12:11,293 synthtool > Replaced 'Copyright \\d{4}' in src/V1/Gapic/WebRiskServiceGapicClient.php.
2020-05-08 17:12:11,294 synthtool > Replaced 'Copyright \\d{4}' in tests/Unit/V1beta1/WebRiskServiceV1Beta1ClientTest.php.
2020-05-08 17:12:11,296 synthtool > Replaced 'Copyright \\d{4}' in tests/Unit/V1/WebRiskServiceClientTest.php.
2020-05-08 17:12:11,297 synthtool > Replaced 'new Constraints' in src/V1/Gapic/WebRiskServiceGapicClient.php.
2020-05-08 17:12:11,297 synthtool > Replaced '= ThreatType::' in src/V1/Gapic/WebRiskServiceGapicClient.php.
2020-05-08 17:12:11,298 synthtool > Replaced '= new WebRiskServiceClient' in src/V1/Gapic/WebRiskServiceGapicClient.php.
2020-05-08 17:12:11,298 synthtool > Replaced 'new Constraints' in src/V1beta1/Gapic/WebRiskServiceV1Beta1GapicClient.php.
2020-05-08 17:12:11,299 synthtool > Replaced '= ThreatType::' in src/V1beta1/Gapic/WebRiskServiceV1Beta1GapicClient.php.
2020-05-08 17:12:11,299 synthtool > Replaced '= new WebRiskServiceV1Beta1Client' in src/V1beta1/Gapic/WebRiskServiceV1Beta1GapicClient.php.
2020-05-08 17:12:11,301 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1beta1/ThreatEntryAdditions.php.
2020-05-08 17:12:11,301 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1beta1/ComputeThreatListDiffRequest.php.
2020-05-08 17:12:11,301 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1beta1/SearchHashesRequest.php.
2020-05-08 17:12:11,302 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1beta1/SearchUrisResponse.php.
2020-05-08 17:12:11,302 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1beta1/ComputeThreatListDiffResponse.php.
2020-05-08 17:12:11,303 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1beta1/SearchUrisRequest.php.
2020-05-08 17:12:11,303 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1beta1/ThreatEntryRemovals.php.
2020-05-08 17:12:11,304 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1beta1/RawHashes.php.
2020-05-08 17:12:11,304 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1beta1/SearchHashesResponse.php.
2020-05-08 17:12:11,304 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1beta1/RiceDeltaEncoding.php.
2020-05-08 17:12:11,305 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1beta1/ComputeThreatListDiffResponse/Checksum.php.
2020-05-08 17:12:11,306 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1beta1/ComputeThreatListDiffRequest/Constraints.php.
2020-05-08 17:12:11,306 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1beta1/SearchUrisResponse/ThreatUri.php.
2020-05-08 17:12:11,307 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1beta1/SearchHashesResponse/ThreatHash.php.
2020-05-08 17:12:11,307 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CreateSubmissionRequest.php.
2020-05-08 17:12:11,307 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ThreatEntryAdditions.php.
2020-05-08 17:12:11,308 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/Submission.php.
2020-05-08 17:12:11,308 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ComputeThreatListDiffRequest.php.
2020-05-08 17:12:11,309 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/SearchHashesRequest.php.
2020-05-08 17:12:11,309 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/SearchUrisResponse.php.
2020-05-08 17:12:11,310 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ComputeThreatListDiffResponse.php.
2020-05-08 17:12:11,311 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/SearchUrisRequest.php.
2020-05-08 17:12:11,311 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ThreatEntryRemovals.php.
2020-05-08 17:12:11,311 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/RawHashes.php.
2020-05-08 17:12:11,312 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/SearchHashesResponse.php.
2020-05-08 17:12:11,312 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/RiceDeltaEncoding.php.
2020-05-08 17:12:11,313 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ComputeThreatListDiffResponse/Checksum.php.
2020-05-08 17:12:11,313 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ComputeThreatListDiffRequest/Constraints.php.
2020-05-08 17:12:11,314 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/SearchUrisResponse/ThreatUri.php.
2020-05-08 17:12:11,314 synthtool > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/SearchHashesResponse/ThreatHash.php.
2020-05-08 17:12:11,322 synthtool > No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
2020-05-08 17:12:11,331 synthtool > No replacements made in src/**/V*/**/*.php for pattern public function ([s|g]\w{3,})Unwrapped, maybe replacement is no longer needed?
2020-05-08 17:12:11,432 synthtool > No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
2020-05-08 17:12:11,432 synthtool > Wrote metadata to synth.metadata.
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 597, 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 547, in _inner_main
).synthesize(base_synth_log_path)
File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
with open(log_file_path, "rt") as fp:
IsADirectoryError: [Errno 21] Is a directory: '/tmpfs/src/github/synthtool/logs/googleapis/google-cloud-php'
Google internal developers can see the full log here.
Autosynth passed, closing! :green_heart:
Hello! Autosynth couldn't regenerate webrisk. :broken_heart:
Here's the output from running
synth.py
:Google internal developers can see the full log here.