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

   #### `sh-checker report`
   
   To get the full details, please check in the 
[job]("https://github.com/apache/doris/actions/runs/7219417264";) 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 35:
   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 37:
   source ../../common/github-utils.sh
          ^--------------------------^ SC1091 (info): Not following: 
../../common/github-utils.sh: openBinaryFile: does not exist (No such file or 
directory)
   
   
   In regression-test/pipeline/performance/run-clickbench.sh line 39:
   source ../../common/oss-utils.sh
          ^-----------------------^ SC1091 (info): Not following: 
../../common/oss-utils.sh: openBinaryFile: does not exist (No such file or 
directory)
   
   
   In regression-test/pipeline/performance/run-clickbench.sh line 50:
   DORIS_HOME="${teamcity_build_checkoutDir}/output"
   ^--------^ SC2034 (warning): DORIS_HOME appears unused. Verify use (or 
export if used externally).
   
   
   In regression-test/pipeline/performance/run-tpcds-sf100.sh line 35:
   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-tpcds-sf100.sh line 37:
   source ../../common/github-utils.sh
          ^--------------------------^ SC1091 (info): Not following: 
../../common/github-utils.sh: openBinaryFile: does not exist (No such file or 
directory)
   
   
   In regression-test/pipeline/performance/run-tpcds-sf100.sh line 39:
   source ../../common/oss-utils.sh
          ^-----------------------^ SC1091 (info): Not following: 
../../common/oss-utils.sh: openBinaryFile: does not exist (No such file or 
directory)
   
   
   In regression-test/pipeline/performance/run-tpcds-sf100.sh line 50:
   DORIS_HOME="${teamcity_build_checkoutDir}/output"
   ^--------^ SC2034 (warning): DORIS_HOME appears unused. Verify use (or 
export if used externally).
   
   For more information:
     https://www.shellcheck.net/wiki/SC2034 -- DORIS_HOME appears unused. 
Verify...
     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-tpcds-sf100.sh.orig
   +++ regression-test/pipeline/performance/run-tpcds-sf100.sh
   @@ -83,7 +83,7 @@
        if ${DEBUG:-false}; then
            SF="100"
        fi
   -    TPCDS_DATA_DIR="/data/tpcds/sf_${SF}"                                   
            # no / at the end
   +    TPCDS_DATA_DIR="/data/tpcds/sf_${SF}"                                   
             # no / at the end
        
TPCDS_DATA_DIR_LINK="${teamcity_build_checkoutDir}"/tools/tpcds-tools/bin/tpcds-data
 # no / at the end
        db_name="tpcds_sf${SF}"
        sed -i "s|^export DB=.*$|export DB='${db_name}'|g" \
   ----------
   
   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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to