Home | History | Annotate | Download | only in bookmaker.expected
      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       "[CUSTOM_/_B_WORK]"
     13     ],
     14     "infra_step": true,
     15     "name": "makedirs checkout_path"
     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       "remove",
     25       "[CUSTOM_/_B_WORK]/.gclient_entries"
     26     ],
     27     "infra_step": true,
     28     "name": "remove [CUSTOM_/_B_WORK]/.gclient_entries"
     29   },
     30   {
     31     "cmd": [
     32       "python",
     33       "-u",
     34       "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
     35       "--spec-path",
     36       "cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]",
     37       "--patch_root",
     38       "skia",
     39       "--revision_mapping_file",
     40       "{\"got_revision\": \"skia\"}",
     41       "--git-cache-dir",
     42       "[CUSTOM_/_B_CACHE]",
     43       "--cleanup-dir",
     44       "[CLEANUP]/bot_update",
     45       "--output_json",
     46       "/path/to/tmp/json",
     47       "--revision",
     48       "skia@abc123"
     49     ],
     50     "cwd": "[CUSTOM_/_B_WORK]",
     51     "env_prefixes": {
     52       "PATH": [
     53         "RECIPE_PACKAGE_REPO[depot_tools]"
     54       ]
     55     },
     56     "infra_step": true,
     57     "name": "bot_update",
     58     "~followup_annotations": [
     59       "@@@STEP_TEXT@Some step text@@@",
     60       "@@@STEP_LOG_LINE (a] json.output@{@@@",
     61       "@@@STEP_LOG_LINE (a] json.output@  \"did_run\": true, @@@",
     62       "@@@STEP_LOG_LINE (a] json.output@  \"fixed_revisions\": {@@@",
     63       "@@@STEP_LOG_LINE (a] json.output@    \"skia\": \"abc123\"@@@",
     64       "@@@STEP_LOG_LINE (a] json.output@  }, @@@",
     65       "@@@STEP_LOG_LINE (a] json.output@  \"manifest\": {@@@",
     66       "@@@STEP_LOG_LINE (a] json.output@    \"skia\": {@@@",
     67       "@@@STEP_LOG_LINE (a] json.output@      \"repository\": \"https://fake.org/skia.git\", @@@",
     68       "@@@STEP_LOG_LINE (a] json.output@      \"revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@",
     69       "@@@STEP_LOG_LINE (a] json.output@    }@@@",
     70       "@@@STEP_LOG_LINE (a] json.output@  }, @@@",
     71       "@@@STEP_LOG_LINE (a] json.output@  \"patch_failure\": false, @@@",
     72       "@@@STEP_LOG_LINE (a] json.output@  \"patch_root\": \"skia\", @@@",
     73       "@@@STEP_LOG_LINE (a] json.output@  \"properties\": {@@@",
     74       "@@@STEP_LOG_LINE (a] json.output@    \"got_revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\", @@@",
     75       "@@@STEP_LOG_LINE (a] json.output@    \"got_revision_cp\": \"refs/heads/master@{#164710}\"@@@",
     76       "@@@STEP_LOG_LINE (a] json.output@  }, @@@",
     77       "@@@STEP_LOG_LINE (a] json.output@  \"root\": \"skia\", @@@",
     78       "@@@STEP_LOG_LINE (a] json.output@  \"source_manifest\": {@@@",
     79       "@@@STEP_LOG_LINE (a] json.output@    \"directories\": {@@@",
     80       "@@@STEP_LOG_LINE (a] json.output@      \"skia\": {@@@",
     81       "@@@STEP_LOG_LINE (a] json.output@        \"git_checkout\": {@@@",
     82       "@@@STEP_LOG_LINE (a] json.output@          \"repo_url\": \"https://fake.org/skia.git\", @@@",
     83       "@@@STEP_LOG_LINE (a] json.output@          \"revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@",
     84       "@@@STEP_LOG_LINE (a] json.output@        }@@@",
     85       "@@@STEP_LOG_LINE (a] json.output@      }@@@",
     86       "@@@STEP_LOG_LINE (a] json.output@    }, @@@",
     87       "@@@STEP_LOG_LINE (a] json.output@    \"version\": 0@@@",
     88       "@@@STEP_LOG_LINE (a] json.output@  }, @@@",
     89       "@@@STEP_LOG_LINE (a] json.output@  \"step_text\": \"Some step text\"@@@",
     90       "@@@STEP_LOG_LINE (a] json.output@}@@@",
     91       "@@@STEP_LOG_END (a] json.output@@@",
     92       "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@",
     93       "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#164710}\"@@@"
     94     ]
     95   },
     96   {
     97     "cmd": [
     98       "[START_DIR]/go/go/bin/go",
     99       "version"
    100     ],
    101     "env": {
    102       "BUILDTYPE": "Release",
    103       "CHROME_HEADLESS": "1",
    104       "GOPATH": "[START_DIR]/gopath",
    105       "GOROOT": "[START_DIR]/go/go",
    106       "PATH": "[START_DIR]/go/go/bin:[START_DIR]/gopath:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
    107       "SKIA_OUT": "[START_DIR]/out"
    108     },
    109     "name": "go version"
    110   },
    111   {
    112     "cmd": [
    113       "go",
    114       "version"
    115     ],
    116     "env": {
    117       "BUILDTYPE": "Release",
    118       "CHROME_HEADLESS": "1",
    119       "GOPATH": "[START_DIR]/gopath",
    120       "GOROOT": "[START_DIR]/go/go",
    121       "PATH": "[START_DIR]/go/go/bin:[START_DIR]/gopath:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
    122       "SKIA_OUT": "[START_DIR]/out"
    123     },
    124     "name": "env go version"
    125   },
    126   {
    127     "cmd": [
    128       "[START_DIR]/go/go/bin/go",
    129       "get",
    130       "-u",
    131       "-t",
    132       "go.skia.org/infra/fiddle/go/fiddlecli"
    133     ],
    134     "env": {
    135       "BUILDTYPE": "Release",
    136       "CHROME_HEADLESS": "1",
    137       "GOPATH": "[START_DIR]/gopath",
    138       "GOROOT": "[START_DIR]/go/go",
    139       "PATH": "[START_DIR]/go/go/bin:[START_DIR]/gopath:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
    140       "SKIA_OUT": "[START_DIR]/out"
    141     },
    142     "name": "go get fiddlecli"
    143   },
    144   {
    145     "cmd": [
    146       "[START_DIR]/out/Release/bookmaker",
    147       "-a",
    148       "docs/status.json",
    149       "-e",
    150       "[START_DIR]/fiddle.json"
    151     ],
    152     "cwd": "[CUSTOM_/_B_WORK]/skia",
    153     "env": {
    154       "BUILDTYPE": "Release",
    155       "CHROME_HEADLESS": "1",
    156       "GOPATH": "[START_DIR]/gopath",
    157       "GOROOT": "[START_DIR]/go/go",
    158       "PATH": "[START_DIR]/go/go/bin:[START_DIR]/gopath:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
    159       "SKIA_OUT": "[START_DIR]/out"
    160     },
    161     "name": "Extract all fiddles out of md files"
    162   },
    163   {
    164     "cmd": [
    165       "[START_DIR]/gopath/bin/fiddlecli",
    166       "--input",
    167       "[START_DIR]/fiddle.json",
    168       "--output",
    169       "[START_DIR]/fiddleout.json",
    170       "--logtostderr",
    171       "--force"
    172     ],
    173     "cwd": "[CUSTOM_/_B_WORK]/skia",
    174     "env": {
    175       "BUILDTYPE": "Release",
    176       "CHROME_HEADLESS": "1",
    177       "GOPATH": "[START_DIR]/gopath",
    178       "GOROOT": "[START_DIR]/go/go",
    179       "PATH": "[START_DIR]/go/go/bin:[START_DIR]/gopath:<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
    180       "SKIA_OUT": "[START_DIR]/out"
    181     },
    182     "name": "Force fiddle to compile all examples"
    183   },
    184   {
    185     "cmd": [
    186       "python",
    187       "-u",
    188       "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
    189       "--json-output",
    190       "/path/to/tmp/json",
    191       "copy",
    192       "[START_DIR]/fiddleout.json",
    193       "/path/to/tmp/"
    194     ],
    195     "cwd": "[CUSTOM_/_B_WORK]/skia",
    196     "env": {
    197       "GOPATH": "[START_DIR]/gopath",
    198       "GOROOT": "[START_DIR]/go/go",
    199       "PATH": "[START_DIR]/go/go/bin:[START_DIR]/gopath:<PATH>"
    200     },
    201     "infra_step": true,
    202     "name": "Read fiddleout.json"
    203   },
    204   {
    205     "name": "$result",
    206     "reason": "Failed fiddles with their errors:\n\n\n1. https://fiddle.skia.org/c/abc\n\nninja: Entering directory `out/Release'\n[1/7] ACTION //:skia.h(//gn/toolchain:gcc_like)\n[2/7] stamp obj/skia.h.stamp\n[3/7] compile ../../tools/fiddle/draw.cpp\nFAILED: obj/tools/fiddle/fiddle.draw.o \nc++ -MMD -MF obj/tools/fiddle/fiddle.draw.o.d -DNDEBUG -DSK_HAS_HEIF_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_PDF -DSK_PDF_USE_SFNTLY -DSK_HAS_PNG_LIBRARY -DSK_CODEC_DECODES_RAW -DSK_HAS_WEBP_LIBRARY -DSK_XML -DSK_GAMMA_APPLY_TO_A8 -DSK_ENABLE_DISCRETE_GPU -DGR_TEST_UTILS=1 -DSK_SAMPLES_FOR_X -DSK_SUPPORT_ATLAS_TEXT=1 -I../../tools/flags -I../../include/private -I../../src/c -I../../src/codec -I../../src/core -I../../src/effects -I../../src/fonts -I../../src/image -I../../src/images -I../../src/lazy -I../../src/opts -I../../src/pathops -I../../src/pdf -I../../src/ports -I../../src/sfnt -I../../src/shaders -I../../src/shaders/gradients -I../../src/sksl -I../../src/utils -I../../src/utils/win -I../../src/xml -I../../third_party/gif -I../../src/gpu -I../../tools/gpu -I../../include/android -I../../include/c -I../../include/codec -I../../include/config -I../../include/core -I../../include/effects -I../../include/encode -I../../include/gpu -I../../include/gpu/gl -I../../include/atlastext -I../../include/pathops -I../../include/ports -I../../include/svg -I../../include/utils -I../../include/utils/mac -I../../include/atlastext -Igen -fstrict-aliasing -fPIC -Werror -Wall -Wextra -Winit-self -Wpointer-arith -Wsign-compare -Wvla -Wno-deprecated-declarations -Wno-maybe-uninitialized -Wno-unused-parameter -O3 -fdata-sections -ffunction-sections -g -std=c++11 -fno-exceptions -fno-rtti -Wnon-virtual-dtor -Wno-error -c ../../tools/fiddle/draw.cpp -o obj/tools/fiddle/fiddle.draw.o\n../../tools/fiddle/draw.cpp: In function 'void draw(SkCanvas*)':\ndraw.cpp:5:12: error: aggregate 'SkMask mask' has incomplete type and cannot be defined\n }\n            ^   \ndraw.cpp:6:28: error: incomplete type 'SkMask' used in nested name specifier\n \n                            ^         \ndraw.cpp:14:28: error: incomplete type 'SkMask' used in nested name specifier\n     uint8_t bytes[] = { 0, 1, 2, 3, 4, 5, 6, 7 };\n                            ^~~~~~~~~~\n[4/7] compile ../../tools/fiddle/egl_context.cpp\n[5/7] compile ../../tools/fiddle/fiddle_main.cpp\n[6/7] link libskia.a\nninja: build stopped: subcommand failed.\n\n\n\n",
    207     "recipe_result": null,
    208     "status_code": 1
    209   }
    210 ]