github-actions[bot] commented on PR #28431:
URL: https://github.com/apache/doris/pull/28431#issuecomment-1857442084
#### `sh-checker report`
To get the full details, please check in the
[job]("https://github.com/apache/doris/actions/runs/7219448671") output.
<details>
<summary>shellcheck errors</summary>
```
'shellcheck ' returned error 1 finding the following syntactical issues:
----------
In regression-test/pipeline/performance/clean.sh line 36:
source ../../common/doris-utils.sh
^-------------------------^ SC1091 (info): Not following:
../../common/doris-utils.sh: openBinaryFile: does not exist (No such file or
directory)
In regression-test/pipeline/performance/run-clickbench.sh line 81:
bash
"${teamcity_build_checkoutDir}"/tools/clickbench-tools/bin/create-clickbench-tables.sh
-s "${SF}"
^---^ SC2154 (warning): SF is referenced but not
assigned.
For more information:
https://www.shellcheck.net/wiki/SC2154 -- SF is referenced but not
assigned.
https://www.shellcheck.net/wiki/SC1091 -- Not following:
../../common/doris...
----------
You can address the above issues in one of three ways:
1. Manually correct the issue in the offending shell script;
2. Disable specific issues by adding the comment:
# shellcheck disable=NNNN
above the line that contains the issue, where NNNN is the error code;
3. Add '-e NNNN' to the SHELLCHECK_OPTS setting in your .yml action file.
```
</details>
<details>
<summary>shfmt errors</summary>
```
'shfmt ' returned error 1 finding the following formatting issues:
----------
--- regression-test/pipeline/performance/run-clickbench.sh.orig
+++ regression-test/pipeline/performance/run-clickbench.sh
@@ -69,14 +69,14 @@
if ! restart_doris; then echo "ERROR: Restart doris failed" && exit 1;
fi
echo "#### 2. check if need to load data"
- CLICKBENCH_DATA_DIR="/data/clickbench"
# no / at the end
+ CLICKBENCH_DATA_DIR="/data/clickbench"
# no / at the end
CLICKBENCH_DATA_DIR_LINK="${teamcity_build_checkoutDir}"/tools/clickbench-tools/data
# no / at the end
db_name="clickbench"
if ! check_clickbench_table_rows "${db_name}"; then
echo "INFO: need to load clickbench data"
# prepare data
mkdir -p "${CLICKBENCH_DATA_DIR}"
-
+
# create table and load data
bash
"${teamcity_build_checkoutDir}"/tools/clickbench-tools/bin/create-clickbench-tables.sh
-s "${SF}"
rm -rf "${CLICKBENCH_DATA_DIR_LINK}"
----------
You can reformat the above files to meet shfmt's requirements by typing:
shfmt -w filename
```
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]