• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[
2  {
3    "cmd": [
4      "python",
5      "-u",
6      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
7      "--json-output",
8      "/path/to/tmp/json",
9      "ensure-directory",
10      "--mode",
11      "0777",
12      "[START_DIR]/tmp_upload"
13    ],
14    "infra_step": true,
15    "name": "makedirs tmp dir"
16  },
17  {
18    "cmd": [
19      "python",
20      "-u",
21      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
22      "--json-output",
23      "/path/to/tmp/json",
24      "copy",
25      "[START_DIR]/dm/dm.json",
26      "[START_DIR]/tmp_upload"
27    ],
28    "infra_step": true,
29    "name": "copy dm.json"
30  },
31  {
32    "cmd": [
33      "python",
34      "-u",
35      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
36      "--json-output",
37      "/path/to/tmp/json",
38      "copy",
39      "[START_DIR]/dm/verbose.log",
40      "[START_DIR]/tmp_upload"
41    ],
42    "infra_step": true,
43    "name": "copy verbose.log"
44  },
45  {
46    "cmd": [
47      "python",
48      "-u",
49      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
50      "--json-output",
51      "/path/to/tmp/json",
52      "remove",
53      "[START_DIR]/dm/dm.json"
54    ],
55    "infra_step": true,
56    "name": "rm old dm.json"
57  },
58  {
59    "cmd": [
60      "python",
61      "-u",
62      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
63      "--json-output",
64      "/path/to/tmp/json",
65      "remove",
66      "[START_DIR]/dm/verbose.log"
67    ],
68    "infra_step": true,
69    "name": "rm old verbose.log"
70  },
71  {
72    "cmd": [
73      "python",
74      "-u",
75      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
76      "--json-output",
77      "/path/to/tmp/json",
78      "glob",
79      "[START_DIR]/dm",
80      "*.png"
81    ],
82    "infra_step": true,
83    "name": "find images",
84    "stdout": "/path/to/tmp/",
85    "~followup_annotations": [
86      "@@@STEP_LOG_LINE@glob@[START_DIR]/dm/someimage.png@@@",
87      "@@@STEP_LOG_END@glob@@@"
88    ]
89  },
90  {
91    "cmd": [
92      "gsutil",
93      "cp",
94      "[START_DIR]/dm/*.png",
95      "gs://skia-infra-gm/dm-images-v1"
96    ],
97    "name": "upload images",
98    "~followup_annotations": [
99      "step returned non-zero exit code: 1",
100      "@@@STEP_FAILURE@@@"
101    ]
102  },
103  {
104    "cmd": [
105      "gsutil",
106      "cp",
107      "[START_DIR]/dm/*.png",
108      "gs://skia-infra-gm/dm-images-v1"
109    ],
110    "name": "upload images (attempt 2)",
111    "~followup_annotations": [
112      "step returned non-zero exit code: 1",
113      "@@@STEP_FAILURE@@@"
114    ]
115  },
116  {
117    "cmd": [
118      "gsutil",
119      "cp",
120      "[START_DIR]/dm/*.png",
121      "gs://skia-infra-gm/dm-images-v1"
122    ],
123    "name": "upload images (attempt 3)",
124    "~followup_annotations": [
125      "step returned non-zero exit code: 1",
126      "@@@STEP_FAILURE@@@"
127    ]
128  },
129  {
130    "cmd": [
131      "gsutil",
132      "cp",
133      "[START_DIR]/dm/*.png",
134      "gs://skia-infra-gm/dm-images-v1"
135    ],
136    "name": "upload images (attempt 4)",
137    "~followup_annotations": [
138      "step returned non-zero exit code: 1",
139      "@@@STEP_FAILURE@@@"
140    ]
141  },
142  {
143    "cmd": [
144      "gsutil",
145      "cp",
146      "[START_DIR]/dm/*.png",
147      "gs://skia-infra-gm/dm-images-v1"
148    ],
149    "name": "upload images (attempt 5)",
150    "~followup_annotations": [
151      "step returned non-zero exit code: 1",
152      "@@@STEP_FAILURE@@@"
153    ]
154  },
155  {
156    "name": "$result",
157    "reason": "Step('upload images (attempt 5)') failed with return_code 1",
158    "recipe_result": null,
159    "status_code": 1
160  }
161]