diff options
author | Laurent Alfonsi <laurent.alfonsi@linaro.org> | 2024-04-29 17:04:52 +0200 |
---|---|---|
committer | Laurent Alfonsi <laurent.alfonsi@linaro.org> | 2024-04-29 17:09:33 +0200 |
commit | 03a31e648d72a8621f53115869fdfeab9c7010a8 (patch) | |
tree | b569022d06d0ee2649e3fdc2668f84a1b173ae03 | |
parent | 29b20edef7dd2377c0749d11dc17bc3fc7dd67ac (diff) |
spec2xxx-result: Add spec run id in the extension of the results files
The spec builds are splitted in 8 pieces if 8 machines are online.
If some of the machines are busy, one machine can run successively 2
of that 8 slices.
In such case, the results of the second run will overrides the results
of the first ones. Some benchmarks are losts.
Deciding to upload to dest dir the files with spec run id. This should
not affect gather-metrics.sh, and the results should be well found and
used.
Change-Id: Icb541ec6378c01f24fdea05e2b753f979bbb48e4
-rwxr-xr-x | spec2xxx-result | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec2xxx-result b/spec2xxx-result index af7292a..9e3b21e 100755 --- a/spec2xxx-result +++ b/spec2xxx-result @@ -70,7 +70,7 @@ fi status_csv="$spec/result/status.$id.csv" # Remove stale files, if any. -rm -f "$status_csv" "$spec/result/status.$tag.csv$part" +rm -f "$status_csv" "$spec/result/status.$tag.csv.$id$part" # Generate success entries. for bmk in $(grep "Success \([0-9a-zA-Z_\.]*\) " "$log_file" \ @@ -102,7 +102,7 @@ done if [ -f "$status_csv" ]; then # Copy $status_csv to a place where run.sh can easily find it - cp "$status_csv" "$spec/result/status.$tag.csv$part" + cp "$status_csv" "$spec/result/status.$tag.csv.$id$part" fi case "$dest" in @@ -134,6 +134,6 @@ for f in $spec/result/*.$id.*; do if [ -d $f ]; then rsync --rsync-path="mkdir -p $dest_dir && rsync" "${dest_port[@]}" -a $delete $f/ $dest_host$dest_dir/$dest_f/ else - rsync --rsync-path="mkdir -p $dest_dir && rsync" "${dest_port[@]}" -a $delete $f $dest_host$dest_dir/$dest_f$part + rsync --rsync-path="mkdir -p $dest_dir && rsync" "${dest_port[@]}" -a $delete $f $dest_host$dest_dir/$dest_f.$id$part fi done |