| [ |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::archive]\\resources\\archive.py" |
| ], |
| "name": "archiving", |
| "stdin": "{\"archive_type\": \"tbz\", \"entries\": [{\"path\": \"[CLEANUP]\\\\tar-example_tmp_1\", \"type\": \"dir\"}], \"output\": \"[START_DIR]\\\\output\\\\output.tar.bz2\", \"root\": \"[CLEANUP]\\\\tar-example_tmp_1\"}" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::archive]\\resources\\archive.py" |
| ], |
| "name": "archiving more", |
| "stdin": "{\"archive_type\": \"zip\", \"entries\": [{\"path\": \"[CLEANUP]\\\\tar-example_tmp_1\\\\a\", \"type\": \"file\"}, {\"path\": \"[CLEANUP]\\\\tar-example_tmp_1\\\\b\", \"type\": \"file\"}, {\"path\": \"[CLEANUP]\\\\tar-example_tmp_1\\\\sub\", \"type\": \"dir\"}], \"output\": \"[START_DIR]\\\\output\\\\more.zip\", \"root\": \"[CLEANUP]\\\\tar-example_tmp_1\"}" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::archive]\\resources\\archive.py" |
| ], |
| "name": "archiving all_zip", |
| "stdin": "{\"archive_type\": \"zip\", \"entries\": [{\"path\": \"[CLEANUP]\\\\tar-example_tmp_1\", \"type\": \"dir\"}], \"output\": \"[START_DIR]\\\\output\\\\all_zip.zip\", \"root\": \"[CLEANUP]\\\\tar-example_tmp_1\"}" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::archive]\\resources\\archive.py" |
| ], |
| "name": "archiving all_tzst", |
| "stdin": "{\"archive_type\": \"tzst\", \"entries\": [{\"path\": \"[CLEANUP]\\\\tar-example_tmp_1\", \"type\": \"dir\"}], \"output\": \"[START_DIR]\\\\output\\\\all_tzst.tzst\", \"root\": \"[CLEANUP]\\\\tar-example_tmp_1\"}" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::archive]\\resources\\extract.py", |
| "--json-input", |
| "{\"archive_file\": \"[START_DIR]\\\\output\\\\output.tar.bz2\", \"include_files\": [], \"output\": \"[CLEANUP]\\\\tar-example_tmp_1\\\\output1\", \"safe_mode\": true}", |
| "--json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "extract tar", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@<br/>extracted 1337 files - 50159.75 MB@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"extracted\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bytes\": 50159747054,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"filecount\": 1337@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::archive]\\resources\\extract.py", |
| "--json-input", |
| "{\"archive_file\": \"[START_DIR]\\\\output\\\\more.zip\", \"include_files\": [], \"output\": \"[CLEANUP]\\\\tar-example_tmp_1\\\\output2\", \"safe_mode\": true}", |
| "--json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "extract zip", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@<br/>extracted 1337 files - 50159.75 MB@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"extracted\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bytes\": 50159747054,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"filecount\": 1337@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::archive]\\resources\\extract.py", |
| "--json-input", |
| "{\"archive_file\": \"[START_DIR]\\\\output\\\\all_zip.zip\", \"include_files\": [], \"output\": \"[CLEANUP]\\\\tar-example_tmp_1\\\\output3\", \"safe_mode\": true}", |
| "--json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "extract all_zip zip", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@<br/>extracted 1337 files - 50159.75 MB@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"extracted\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bytes\": 50159747054,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"filecount\": 1337@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::archive]\\resources\\extract.py", |
| "--json-input", |
| "{\"archive_file\": \"[START_DIR]\\\\output\\\\all_zip.zip\", \"archive_type\": \"zip\", \"include_files\": [], \"output\": \"[CLEANUP]\\\\tar-example_tmp_1\\\\output4\", \"safe_mode\": true}", |
| "--json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "extract all_zip as zip", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@<br/>extracted 1337 files - 50159.75 MB@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"extracted\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bytes\": 50159747054,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"filecount\": 1337@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::archive]\\resources\\extract.py", |
| "--json-input", |
| "{\"archive_file\": \"[START_DIR]\\\\output\\\\all_tzst.tzst\", \"include_files\": [], \"output\": \"[CLEANUP]\\\\tar-example_tmp_1\\\\output5\", \"safe_mode\": true}", |
| "--json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "extract all_tzst", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@<br/>extracted 1337 files - 50159.75 MB@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"extracted\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bytes\": 50159747054,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"filecount\": 1337@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::archive]\\resources\\extract.py", |
| "--json-input", |
| "{\"archive_file\": \"[START_DIR]\\\\output\\\\more.zip\", \"include_files\": [], \"output\": \"[CLEANUP]\\\\tar-example_tmp_1\\\\output3\", \"safe_mode\": true}", |
| "--json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "extract failure", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@<br/>extracted 3 files - 0.12 MB<br/>SKIPPED 78 files - 0.72 MB@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"extracted\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bytes\": 123456,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"filecount\": 3@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"skipped\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bytes\": 723456,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"filecount\": 78,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"names\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"../bob\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"/charlie\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"some/path/../../../../frank\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LOG_LINE@skipped files@../bob@@@", |
| "@@@STEP_LOG_LINE@skipped files@/charlie@@@", |
| "@@@STEP_LOG_LINE@skipped files@some/path/../../../../frank@@@", |
| "@@@STEP_LOG_END@skipped files@@@", |
| "@@@STEP_FAILURE@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::archive]\\resources\\extract.py", |
| "--json-input", |
| "{\"archive_file\": \"[START_DIR]\\\\output\\\\output.tar.bz2\", \"include_files\": [\"*/dir/*\"], \"output\": \"[CLEANUP]\\\\tar-example_tmp_1\\\\output_sub\", \"safe_mode\": true}", |
| "--json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "extract tar subset", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@<br/>extracted 1337 files - 50159.75 MB@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"extracted\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bytes\": 50159747054,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"filecount\": 1337@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| } |
| ] |