|
223 | 223 | local script=( |
224 | 224 | logs $(test -n "$dump_logobjects" && echo 'dump-logobjects') |
225 | 225 | read-context |
| 226 | + forge-timeline |
226 | 227 |
|
227 | 228 | build-mach-views $(test -n "$dump_machviews" && echo 'dump-mach-views') |
228 | 229 | rebuild-chain |
|
400 | 401 | local v0 v1 v2 v3 v4 v5 v6 v7 v8 v9 va vb vc vd ve vf vg vh vi vj vk vl vm vn vo |
401 | 402 | v0=( $* ) |
402 | 403 | v1=("${v0[@]/#logs/ 'unlog' --run-logs \"$adir\"/log-manifest.json ${analysis_allowed_loanys[*]/#/--ok-loany } }") |
403 | | - v2=("${v1[@]/#read-context/ 'read-meta-genesis' --run-metafile \"$dir\"/meta.json --shelley-genesis \"$dir\"/genesis-shelley.json }") |
| 404 | + v2=("${v1[@]/#read-context/ 'read-meta-genesis' --run-metafile \"$dir\"/meta.json --shelley-genesis \"$dir\"/genesis-shelley.json }") |
404 | 405 | v3=("${v2[@]/#write-context/ 'write-meta-genesis' --run-metafile \"$dir\"/meta.json --shelley-genesis \"$dir\"/genesis-shelley.json }") |
405 | | - v4=("${v3[@]/#read-chain/ 'read-chain' --chain \"$adir\"/chain.json}") |
| 406 | + v4=("${v3[@]/#read-chain/ 'read-chain' --chain \"$adir\"/chain.json}") |
406 | 407 | v5=("${v4[@]/#rebuild-chain/ 'rebuild-chain' ${filters[@]}}") |
407 | 408 | v6=("${v5[@]/#dump-chain/ 'dump-chain' --chain \"$adir\"/chain.json --chain-rejecta \"$adir\"/chain-rejecta.json }") |
408 | 409 | v7=("${v6[@]/#chain-timeline/ 'timeline-chain' --timeline \"$adir\"/chain.txt ${locli_render[*]} ${locli_timeline[*]} }") |
|
427 | 428 | vq=("${vp[@]/#read-summaries/ 'read-summaries' --summary \"$adir\"/summary.json }") |
428 | 429 | vr=("${vq[@]/#summary-json/ 'render-summary' --json \"$adir\"/summary.json }") |
429 | 430 | vs=("${vr[@]/#summary-report/ 'render-summary' --org-report \"$adir\"/summary.org ${locli_render[*]}}") |
| 431 | + vt=("${vs[@]/#forge-timeline/ 'forge-timeline'}") |
430 | 432 | local ops_final=() |
431 | 433 | for v in "${vs[@]}" |
432 | 434 | do eval ops_final+=($v); done |
@@ -564,13 +566,16 @@ EOF |
564 | 566 | if test -z "$(ls 2>/dev/null $dir/node-*/*.json)" |
565 | 567 | then remanifest_reasons+=("$(blue consolidated logs missing)") |
566 | 568 | elif test ! -f "$run_logs" |
567 | | - then remanifest_reasons+=("$(green logs-modified-after-manifest)") |
568 | | - elif test "$(ls 2>/dev/null --sort=time $dir/node-*/*.json analysis/log-manifest.json | head -n1)" != "$run_logs" |
569 | | - then remanifest_reasons+=("$(red logs-modified-after-manifest)") |
| 569 | + then remanifest_reasons+=("$(green missing $run_logs)") |
| 570 | + # with workbench runs, a node's log files are just called 'stdout' |
| 571 | + elif test "$(ls 2>/dev/null --sort=time $dir/node-*/*.json $dir/node-*/stdout $run_logs | head -n1)" != "$run_logs" |
| 572 | + then remanifest_reasons+=("$(red logs modified after manifest)") |
570 | 573 | fi |
571 | 574 |
|
| 575 | + echo $(ls 2>/dev/null --sort=time $dir/node-*/*.json $dir/node-*/stdout $run_logs) |
| 576 | + |
572 | 577 | if test ${#remanifest_reasons[*]} = 0 |
573 | | - then progress "analyse" "log manifest exist and is up to date" |
| 578 | + then progress "analyse" "log manifest exists and is up to date" |
574 | 579 | else progress "analyse" "assembling log manifest: ${remanifest_reasons[*]}" |
575 | 580 | echo '{}' > $run_logs |
576 | 581 | time { |
|
0 commit comments