Skip to content

Commit 082b008

Browse files
Log uworker input and output URLs. (#4401)
This will help debug. Because these are not signed, one needs permissions to use these.
1 parent 53ca701 commit 082b008

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/clusterfuzz/_internal/bot/tasks/utasks/uworker_io.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,13 @@ def serialize_and_upload_uworker_input(
102102
uworker_input: uworker_msg_pb2.Input) -> Tuple[str, str]: # pylint: disable=no-member
103103
"""Serializes input for the untrusted portion of a task."""
104104
signed_input_download_url, input_gcs_url = get_uworker_input_urls()
105+
logs.info(f'input_gcs_url: {input_gcs_url}')
105106
# Get URLs for the uworker'ps output. We need a signed upload URL so it can
106107
# write its output. Also get a download URL in case the caller wants to read
107108
# the output.
108109
signed_output_upload_url, output_gcs_url = get_uworker_output_urls(
109110
input_gcs_url)
111+
logs.info(f'output_gcs_url: {output_gcs_url}')
110112

111113
assert not uworker_input.HasField('uworker_output_upload_url')
112114
uworker_input.uworker_output_upload_url = signed_output_upload_url

0 commit comments

Comments
 (0)