| { |
| "inherit": [ |
| "generic_common.test_list" |
| ], |
| "constants": { |
| "grt": { |
| "force_write_protect": false, |
| "__comment_force_write_protect": "*** Write protection is required for mass production and shippable devices. By default we enable write protection starting from PVT stages, but you can start trying write protection earlier by this option.", |
| "ec_pubkey_path": null, |
| "ec_pubkey_hash": null, |
| "enable_zero_touch": false, |
| "gooftool_skip_list": [], |
| "gooftool_waive_list": [], |
| "re_sign_release_kernel": false, |
| "__comment_re_sign_release_kernel": "Enable this if you want to finalize with a DEV signed kernel; go/cros-factory-fw-in-early-builds", |
| "secure_wipe": true |
| } |
| }, |
| "definitions": { |
| "GRT": { |
| "inherit": "TestGroup", |
| "label": "GRT (Google Required Tests)", |
| "locals": { |
| "station_end_upload_report": true, |
| "station": "GRT" |
| }, |
| "subtests": [ |
| "GRTStart", |
| "GRTItems", |
| "CheckPoint", |
| "GRTEnd", |
| "AllCheckPoint", |
| "GRTFinalize" |
| ] |
| }, |
| "GRTEnd": { |
| "inherit": "TestGroup", |
| "label": "Finish", |
| "subtests": [ |
| "StationEnd" |
| ] |
| }, |
| "GRTFinalize": { |
| "pytest_name": "finalize", |
| "args": { |
| "enable_factory_server": "eval! constants.enable_factory_server", |
| "enforced_release_channels": "eval! ['stable'] if options.phase == 'PVT' else None", |
| "enable_zero_touch": "eval! constants.grt.enable_zero_touch", |
| "ec_pubkey_path": "eval! constants.grt.ec_pubkey_path", |
| "ec_pubkey_hash": "eval! constants.grt.ec_pubkey_hash", |
| "gooftool_skip_list": "eval! constants.grt.gooftool_skip_list", |
| "gooftool_waive_list": "eval! constants.grt.gooftool_waive_list", |
| "hwid_need_vpd": "eval! constants.hwid_need_vpd", |
| "has_ec_pubkey": "eval! constants.has_ec_pubkey", |
| "rma_mode": "eval! constants.rma_mode", |
| "secure_wipe": "eval! constants.grt.secure_wipe", |
| "upload_method": "eval! 'shopfloor' if constants.enable_factory_server else 'none'", |
| "write_protection": "eval! constants.grt.force_write_protect or options.phase == 'PVT'" |
| } |
| }, |
| "GRTItems": { |
| "inherit": "FlattenGroup", |
| "subtests": [ |
| "CheckSecdataVersion", |
| "ReSignReleaseKernel", |
| "UploadRegCodes", |
| "ClearTPMOwnerRequest", |
| "RebootStep" |
| ] |
| }, |
| "GRTStart": { |
| "inherit": "TestGroup", |
| "label": "Prepare", |
| "subtests": [ |
| "AllCheckPoint", |
| "StationStart" |
| ] |
| } |
| } |
| } |