| [ |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[flutter::zip]/resources/zip.py" |
| ], |
| "name": "Zip build", |
| "stdin": "{\"entries\": [{\"path\": \"[CACHE]/builder/src/build\", \"type\": \"dir\"}], \"output\": \"[CLEANUP]/tmp_tmp_1/test1.zip\", \"root\": \"[CACHE]/builder/src\"}" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "rmtree", |
| "[CLEANUP]/tmp_tmp_1" |
| ], |
| "infra_step": true, |
| "name": "temp dir for Upload test.zip" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[flutter::zip]/resources/zip.py" |
| ], |
| "name": "Zip build (2)", |
| "stdin": "{\"entries\": [{\"path\": \"[CACHE]/builder/src/build\", \"type\": \"dir\"}, {\"archive_name\": \"a.txt\", \"path\": \"[CACHE]/builder/src/a.txt\", \"type\": \"file\"}], \"output\": \"[CLEANUP]/tmp_tmp_2/test2.zip\", \"root\": \"[CACHE]/builder/src\"}" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "rmtree", |
| "[CLEANUP]/tmp_tmp_2" |
| ], |
| "infra_step": true, |
| "name": "temp dir for Upload test.zip (2)" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[flutter::zip]/resources/zip.py" |
| ], |
| "name": "Zip build (3)", |
| "stdin": "{\"entries\": [{\"path\": \"[CACHE]/builder/src/build\", \"type\": \"dir\"}, {\"archive_name\": \"a.txt\", \"path\": \"[CACHE]/builder/src/a.txt\", \"type\": \"file\"}], \"output\": \"[CLEANUP]/tmp_tmp_3/test3.zip\", \"root\": \"[CACHE]/builder/src\"}" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "rmtree", |
| "[CLEANUP]/tmp_tmp_3" |
| ], |
| "infra_step": true, |
| "name": "temp dir for Upload test.zip (3)" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[flutter::zip]/resources/zip.py" |
| ], |
| "name": "zipping", |
| "stdin": "{\"entries\": [{\"archive_name\": \"a\", \"path\": \"[CLEANUP]/bucketutil-example_tmp_1/a\", \"type\": \"file\"}, {\"archive_name\": \"b\", \"path\": \"[CLEANUP]/bucketutil-example_tmp_1/b\", \"type\": \"file\"}, {\"path\": \"[CLEANUP]/bucketutil-example_tmp_1/sub\", \"type\": \"dir\"}], \"output\": \"[CLEANUP]/bucketutil-example_tmp_1/output.zip\", \"root\": \"[CLEANUP]/bucketutil-example_tmp_1\"}" |
| }, |
| { |
| "cmd": [], |
| "name": "[CLEANUP]/bucketutil-example_tmp_1/A_file_that_does_not_exist not found", |
| "~followup_annotations": [ |
| "@@@STEP_FAILURE@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "listdir", |
| "[CLEANUP]/bucketutil-example_tmp_1" |
| ], |
| "infra_step": true, |
| "name": "[CLEANUP]/bucketutil-example_tmp_1/A_file_that_does_not_exist not found.Files in parent directory of safe_upload request", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@listdir@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "RECIPE CRASH (Uncaught exception)", |
| "~followup_annotations": [ |
| "@@@STEP_EXCEPTION@@@", |
| "The recipe has crashed at point 'Uncaught exception'!", |
| "", |
| "Traceback (most recent call last):", |
| " File \"RECIPE_REPO[flutter]/recipe_modules/bucket_util/examples/full.py\", line 60, in RunSteps", |
| " add_mock=False)", |
| " File \"RECIPE_REPO[flutter]/recipe_modules/bucket_util/api.py\", line 126, in safe_upload", |
| " raise AssertionError('File not found %s' % local_path)", |
| "AssertionError: File not found [CLEANUP]/bucketutil-example_tmp_1/A_file_that_does_not_exist" |
| ] |
| }, |
| { |
| "failure": { |
| "humanReason": "Uncaught Exception: AssertionError('File not found [CLEANUP]/bucketutil-example_tmp_1/A_file_that_does_not_exist',)" |
| }, |
| "name": "$result" |
| } |
| ] |