Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(508)

Side by Side Diff: scripts/slave/recipes/chromium.expected/full_chromium_fyi_Blimp_Linux_Engine.json

Issue 2357343004: chromium_tests: automatically set up test genrators (Closed)
Patch Set: rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "\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", 6 "\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",
7 "[BUILDER_CACHE]/Blimp_Linux_Engine", 7 "[BUILDER_CACHE]/Blimp_Linux_Engine",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 "--show-path", 263 "--show-path",
264 "python", 264 "python",
265 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" 265 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py"
266 ], 266 ],
267 "name": "cleanup_temp" 267 "name": "cleanup_temp"
268 }, 268 },
269 { 269 {
270 "cmd": [ 270 "cmd": [
271 "python", 271 "python",
272 "-u", 272 "-u",
273 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py",
274 "--build-dir",
275 "[BUILDER_CACHE]/Blimp_Linux_Engine/src/out/Release",
276 "--clean-isolated-files"
277 ],
278 "name": "clean isolated files"
279 },
280 {
281 "cmd": [
282 "python",
283 "-u",
273 "[BUILDER_CACHE]/Blimp_Linux_Engine/src/tools/mb/mb.py", 284 "[BUILDER_CACHE]/Blimp_Linux_Engine/src/tools/mb/mb.py",
274 "gen", 285 "gen",
275 "-m", 286 "-m",
276 "chromium.fyi", 287 "chromium.fyi",
277 "-b", 288 "-b",
278 "Blimp Linux Engine", 289 "Blimp Linux Engine",
279 "--config-file", 290 "--config-file",
280 "[BUILDER_CACHE]/Blimp_Linux_Engine/src/tools/mb/mb_config.pyl", 291 "[BUILDER_CACHE]/Blimp_Linux_Engine/src/tools/mb/mb_config.pyl",
281 "--goma-dir", 292 "--goma-dir",
282 "[CACHE]/cipd/goma", 293 "[CACHE]/cipd/goma",
294 "--swarming-targets-file",
295 "browser_tests\n",
283 "//out/Release" 296 "//out/Release"
284 ], 297 ],
285 "cwd": "[BUILDER_CACHE]/Blimp_Linux_Engine/src", 298 "cwd": "[BUILDER_CACHE]/Blimp_Linux_Engine/src",
286 "env": { 299 "env": {
287 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 300 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
288 }, 301 },
289 "name": "generate_build_files" 302 "name": "generate_build_files",
303 "~followup_annotations": [
304 "@@@STEP_LOG_LINE@swarming-targets-file.txt@browser_tests@@@",
305 "@@@STEP_LOG_END@swarming-targets-file.txt@@@"
306 ]
290 }, 307 },
291 { 308 {
292 "cmd": [ 309 "cmd": [
293 "python", 310 "python",
294 "-u", 311 "-u",
295 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", 312 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
296 "--show-path", 313 "--show-path",
297 "python", 314 "python",
298 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", 315 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py",
299 "--gsutil-py-path", 316 "--gsutil-py-path",
(...skipping 18 matching lines...) Expand all
318 "[ROOT]/build_data_dir", 335 "[ROOT]/build_data_dir",
319 "--compiler", 336 "--compiler",
320 "goma", 337 "goma",
321 "--goma-jsonstatus", 338 "--goma-jsonstatus",
322 "/path/to/tmp/json", 339 "/path/to/tmp/json",
323 "--goma-service-account-json-file", 340 "--goma-service-account-json-file",
324 "/creds/service_accounts/service-account-goma-client.json", 341 "/creds/service_accounts/service-account-goma-client.json",
325 "--goma-dir", 342 "--goma-dir",
326 "[CACHE]/cipd/goma", 343 "[CACHE]/cipd/goma",
327 "--", 344 "--",
328 "All", 345 "browser_tests",
329 "chromium_builder_tests" 346 "browser_tests_run"
330 ], 347 ],
331 "env": { 348 "env": {
332 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 349 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
333 }, 350 },
334 "name": "compile", 351 "name": "compile",
335 "~followup_annotations": [ 352 "~followup_annotations": [
336 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", 353 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
337 "@@@STEP_LOG_END@json.output (invalid)@@@" 354 "@@@STEP_LOG_END@json.output (invalid)@@@"
338 ] 355 ]
339 }, 356 },
340 { 357 {
358 "cmd": [
359 "python",
360 "-u",
361 "[BUILDER_CACHE]/Blimp_Linux_Engine/src/tools/determinism/remove_build_met adata.py",
362 "--build-dir",
363 "[BUILDER_CACHE]/Blimp_Linux_Engine/src/out/Release"
364 ],
365 "cwd": "[SLAVE_BUILD]",
366 "name": "remove_build_metadata"
367 },
368 {
369 "cmd": [
370 "python",
371 "-u",
372 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
373 "[BUILDER_CACHE]/Blimp_Linux_Engine/src/tools/swarming_client",
374 "batcharchive",
375 "--dump-json",
376 "/path/to/tmp/json",
377 "--isolate-server",
378 "https://isolateserver.appspot.com",
379 "--verbose",
380 "[BUILDER_CACHE]/Blimp_Linux_Engine/src/out/Release/browser_tests.isolated .gen.json"
381 ],
382 "name": "isolate tests",
383 "~followup_annotations": [
384 "@@@STEP_LOG_LINE@json.output@{@@@",
385 "@@@STEP_LOG_LINE@json.output@ \"browser_tests\": \"[dummy hash for brows er_tests]\"@@@",
386 "@@@STEP_LOG_LINE@json.output@}@@@",
387 "@@@STEP_LOG_END@json.output@@@"
388 ]
389 },
390 {
391 "cmd": [
392 "python",
393 "-u",
394 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py",
395 "--build-dir",
396 "[BUILDER_CACHE]/Blimp_Linux_Engine/src/out/Release",
397 "--output-json",
398 "/path/to/tmp/json"
399 ],
400 "cwd": "[BUILDER_CACHE]/Blimp_Linux_Engine",
401 "env": {
402 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
403 },
404 "name": "find isolated tests",
405 "~followup_annotations": [
406 "@@@STEP_LOG_LINE@json.output@{@@@",
407 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm y_target_1]\", @@@",
408 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm y_target_2]\"@@@",
409 "@@@STEP_LOG_LINE@json.output@}@@@",
410 "@@@STEP_LOG_END@json.output@@@",
411 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@"
412 ]
413 },
414 {
415 "cmd": [
416 "python",
417 "-u",
418 "\nimport sys\nprint '*.isolated file for target %s is missing' % sys.argv [1]\nsys.exit(1)\n",
419 "browser_tests"
420 ],
421 "cwd": "[BUILDER_CACHE]/Blimp_Linux_Engine",
422 "env": {
423 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
424 },
425 "name": "[error] browser_tests",
426 "~followup_annotations": [
427 "@@@STEP_LOG_LINE@python.inline@@@@",
428 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
429 "@@@STEP_LOG_LINE@python.inline@print '*.isolated file for target %s is mi ssing' % sys.argv[1]@@@",
430 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@",
431 "@@@STEP_LOG_END@python.inline@@@"
432 ]
433 },
434 {
435 "cmd": [
436 "python",
437 "-u",
438 "\nimport sys\nprint '%s wasn\\'t triggered' % sys.argv[1]\nsys.exit(1)\n" ,
439 "browser_tests"
440 ],
441 "cwd": "[BUILDER_CACHE]/Blimp_Linux_Engine",
442 "env": {
443 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
444 },
445 "name": "[collect error] browser_tests",
446 "~followup_annotations": [
447 "@@@STEP_LOG_LINE@python.inline@@@@",
448 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
449 "@@@STEP_LOG_LINE@python.inline@print '%s wasn\\'t triggered' % sys.argv[1 ]@@@",
450 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@",
451 "@@@STEP_LOG_END@python.inline@@@"
452 ]
453 },
454 {
341 "name": "$result", 455 "name": "$result",
342 "recipe_result": null, 456 "recipe_result": null,
343 "status_code": 0 457 "status_code": 0
344 } 458 }
345 ] 459 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698