aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipes/upload_dm_results.expected/failed_all.json
diff options
context:
space:
mode:
authorGravatar Eric Boren <borenet@google.com>2017-01-12 08:46:20 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-01-12 14:29:12 +0000
commit5de544b3ca278b61e9825cee7eb24fa26c8b1215 (patch)
tree316964456d7ba52b7f27de32a0441e68f1624eaf /infra/bots/recipes/upload_dm_results.expected/failed_all.json
parent2b861d3a391f2a9c93f97163d783c78935b7e72d (diff)
Move recipe expectations into example.py recipes inside of modules
Each top-level recipe still needs one test and expectation file. BUG=skia:6070 Change-Id: I3b14e8a11a86af68f5558177536f0018b644be4d Reviewed-on: https://skia-review.googlesource.com/6943 Reviewed-by: Ravi Mistry <rmistry@google.com> Commit-Queue: Eric Boren <borenet@google.com>
Diffstat (limited to 'infra/bots/recipes/upload_dm_results.expected/failed_all.json')
-rw-r--r--infra/bots/recipes/upload_dm_results.expected/failed_all.json157
1 files changed, 0 insertions, 157 deletions
diff --git a/infra/bots/recipes/upload_dm_results.expected/failed_all.json b/infra/bots/recipes/upload_dm_results.expected/failed_all.json
deleted file mode 100644
index 7ec0362e4d..0000000000
--- a/infra/bots/recipes/upload_dm_results.expected/failed_all.json
+++ /dev/null
@@ -1,157 +0,0 @@
-[
- {
- "cmd": [
- "python",
- "-u",
- "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
- "[START_DIR]/tmp_upload",
- "511"
- ],
- "name": "makedirs tmp dir",
- "~followup_annotations": [
- "@@@STEP_LOG_LINE@python.inline@@@@",
- "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
- "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
- "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
- "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
- "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
- "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
- "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
- "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
- "@@@STEP_LOG_END@python.inline@@@"
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
- "[START_DIR]/dm/dm.json",
- "[START_DIR]/tmp_upload"
- ],
- "name": "copy dm.json"
- },
- {
- "cmd": [
- "python",
- "-u",
- "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
- "[START_DIR]/dm/verbose.log",
- "[START_DIR]/tmp_upload"
- ],
- "name": "copy verbose.log"
- },
- {
- "cmd": [
- "python",
- "-u",
- "\nimport os\nimport sys\nos.remove(sys.argv[1])\n",
- "[START_DIR]/dm/dm.json"
- ],
- "name": "rm old dm.json",
- "~followup_annotations": [
- "@@@STEP_LOG_LINE@python.inline@@@@",
- "@@@STEP_LOG_LINE@python.inline@import os@@@",
- "@@@STEP_LOG_LINE@python.inline@import sys@@@",
- "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@",
- "@@@STEP_LOG_END@python.inline@@@"
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "\nimport os\nimport sys\nos.remove(sys.argv[1])\n",
- "[START_DIR]/dm/verbose.log"
- ],
- "name": "rm old verbose.log",
- "~followup_annotations": [
- "@@@STEP_LOG_LINE@python.inline@@@@",
- "@@@STEP_LOG_LINE@python.inline@import os@@@",
- "@@@STEP_LOG_LINE@python.inline@import sys@@@",
- "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@",
- "@@@STEP_LOG_END@python.inline@@@"
- ]
- },
- {
- "cmd": [
- "python",
- "-u",
- "\nimport glob\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write('\\n'.join(glob.glob(sys.argv[2])))\n",
- "/path/to/tmp/",
- "[START_DIR]/dm/*"
- ],
- "name": "find images"
- },
- {
- "cmd": [
- "gsutil",
- "cp",
- "[START_DIR]/dm/*",
- "gs://skia-infra-gm/dm-images-v1"
- ],
- "name": "upload images",
- "~followup_annotations": [
- "step returned non-zero exit code: 1",
- "@@@STEP_FAILURE@@@"
- ]
- },
- {
- "cmd": [
- "gsutil",
- "cp",
- "[START_DIR]/dm/*",
- "gs://skia-infra-gm/dm-images-v1"
- ],
- "name": "upload images (attempt 2)",
- "~followup_annotations": [
- "step returned non-zero exit code: 1",
- "@@@STEP_FAILURE@@@"
- ]
- },
- {
- "cmd": [
- "gsutil",
- "cp",
- "[START_DIR]/dm/*",
- "gs://skia-infra-gm/dm-images-v1"
- ],
- "name": "upload images (attempt 3)",
- "~followup_annotations": [
- "step returned non-zero exit code: 1",
- "@@@STEP_FAILURE@@@"
- ]
- },
- {
- "cmd": [
- "gsutil",
- "cp",
- "[START_DIR]/dm/*",
- "gs://skia-infra-gm/dm-images-v1"
- ],
- "name": "upload images (attempt 4)",
- "~followup_annotations": [
- "step returned non-zero exit code: 1",
- "@@@STEP_FAILURE@@@"
- ]
- },
- {
- "cmd": [
- "gsutil",
- "cp",
- "[START_DIR]/dm/*",
- "gs://skia-infra-gm/dm-images-v1"
- ],
- "name": "upload images (attempt 5)",
- "~followup_annotations": [
- "step returned non-zero exit code: 1",
- "@@@STEP_FAILURE@@@"
- ]
- },
- {
- "name": "$result",
- "reason": "Step('upload images (attempt 5)') failed with return_code 1",
- "recipe_result": null,
- "status_code": 1
- }
-] \ No newline at end of file