github-actions[bot] commented on PR #23618:
URL: https://github.com/apache/doris/pull/23618#issuecomment-1697260247

   #### `sh-checker report`
   
   To get the full details, please check in the 
[job]("https://github.com/apache/doris/actions/runs/6011613880";) output.
   
   <details>
   <summary>shellcheck errors</summary>
   
   ```
   
   'shellcheck ' returned error 1 finding the following syntactical issues:
   
   ----------
   
   In env.sh line 148:
       cov_tools=($(find "${DORIS_CLANG_HOME}" -name "llvm-cov*"))
                  ^-- SC2207 (warning): Prefer mapfile or read -a to split 
command output (or quote to avoid splitting).
   
   
   In env.sh line 156:
       cov_tools=($(find "${DORIS_CLANG_HOME}" -name "llvm-profdata*"))
                  ^-- SC2207 (warning): Prefer mapfile or read -a to split 
command output (or quote to avoid splitting).
   
   
   In run-be-ut.sh line 394:
           "${LLVM_COV}" show -output-dir="${DORIS_TEST_BINARY_DIR}"/report 
-format=html \
           ^-- SC1009 (info): The mentioned syntax error was in this simple 
command.
   
   
   In run-be-ut.sh line 403:
       echo "unit test file: ${test} does not exist."
                                                    ^-- SC1073 (error): 
Couldn't parse this double quoted string. Fix to allow more checks.
   
   
   In run-be-ut.sh line 405:
   
   ^-- SC1072 (error): Expected end of double quoted string. Fix any mentioned 
problems and try again.
   
   For more information:
     https://www.shellcheck.net/wiki/SC2207 -- Prefer mapfile or read -a to 
spli...
     https://www.shellcheck.net/wiki/SC1072 -- Expected end of double quoted 
str...
     https://www.shellcheck.net/wiki/SC1073 -- Couldn't parse this double 
quoted...
   ----------
   
   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:
   
   ----------
   --- env.sh.orig
   +++ env.sh
   @@ -144,7 +144,7 @@
        if [[ -f "${DORIS_CLANG_HOME}/bin/llvm-symbolizer" ]]; then
            export 
ASAN_SYMBOLIZER_PATH="${DORIS_CLANG_HOME}/bin/llvm-symbolizer"
        fi
   -    
   +
        cov_tools=($(find "${DORIS_CLANG_HOME}" -name "llvm-cov*"))
        if [[ ${#cov_tools[@]} -ge 1 ]]; then
            LLVM_COV="${cov_tools[0]}"
   run-be-ut.sh:403:50: reached EOF without closing quote "
   ----------
   
   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]

Reply via email to