This is a draft cheat sheet. It is a work in progress and is not finished yet.
CTB Commands
gen_user_spec |
Generate user spec file |
gen_proj_spec |
Generate ctb workspace and project spec file |
gen_fetch_spec |
Generate fetch group spec file |
collect_fetch_group |
Collect the specified fetch group |
test_marker_script |
Test the marker & adapter scripts on an example spf |
gen_user_token |
Update user token and store it |
Command Format: ctb <COMMAND>
Test Marker Scripts
--spf |
VALUE |
Full path to SPF file |
--tuple |
VALUE |
Optional to search for Tuple instead of full path to spf file shown above |
--marker |
VALUE |
E.g. array_atom_marker, scan_gt_de_marker, etc. |
--adapter |
VALUE |
--rundir |
PATH |
Path to running directory |
--project |
STRING |
--param |
STRING |
--hide_python_print |
ctb test_marker_script --help
|
|
Create Fetch Group
--project |
STRING |
Project name |
--fetch_group |
STRING |
Fetch group name |
--collect_template |
[PLIST|TID|TUPLE|ALL] |
--content_template |
[ARRAY_PBIST|ARRAY_MBIST|ARRAY_GT|ARRAY_ATOM|FUNC|SCAN_GT] |
--rundir |
PATH |
Path to running directory |
ctb gen_fetch_spec --help
Collect Fetch Groups
--fetch_group |
STRING |
Fetch group name (short: -f) |
--group_size |
INTEGER |
Group size (default: 50) |
--no_distributed |
|
Disable NB distribution for Fetch & Mark (optional flag) |
--project |
STRING |
Project name (short: -p), e.g. rpl, mtl, snr, etc. |
--convert_local |
|
(optional flag) |
--sample |
INTEGER |
Number of samples, e.g. 2, 50, ... |
--seed |
INTEGER |
Seed number (optional flag - default: RANDOM) |
--no-cache |
|
(optional flag) |
--external_name_dis |
--session |
STRING |
ctb collect_fetch_group --help
|