doris icon indicating copy to clipboard operation
doris copied to clipboard

[only for test] "[fix](ubsan) fix some Undefined behavior #35393"

Open Mryange opened this issue 1 year ago • 33 comments

Proposed changes

Issue Number: close #xxx

Further comments

If this is a relatively large or complex change, kick off the discussion at [email protected] by explaining why you chose the solution you did and what alternatives you considered, etc...

Mryange avatar May 25 '24 09:05 Mryange

Thank you for your contribution to Apache Doris. Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website. See Doris Document.

doris-robot avatar May 25 '24 09:05 doris-robot

run buildall

Mryange avatar May 25 '24 09:05 Mryange

sh-checker report

To get the full details, please check in the job output.

shellcheck errors

'shellcheck ' returned error 1 finding the following syntactical issues:

----------

In build.sh line 362:
BUILD_TYPE_LOWWER=$(echo "${BUILD_TYPE}" | tr '[:upper:]' '[:lower:]')
                          ^-----------^ SC2154 (warning): BUILD_TYPE is referenced but not assigned.

For more information:
  https://www.shellcheck.net/wiki/SC2154 -- BUILD_TYPE is referenced but not ...
----------

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.



shfmt errors
'shfmt ' found no issues.

github-actions[bot] avatar May 25 '24 09:05 github-actions[bot]

TeamCity be ut coverage result: Function Coverage: 35.65% (9017/25294) Line Coverage: 27.32% (74571/272967) Region Coverage: 26.53% (38573/145413) Branch Coverage: 23.39% (19667/84080) Coverage Report: http://coverage.selectdb-in.cc/coverage/830f794787425993e8f58d7be882ce133817c296_830f794787425993e8f58d7be882ce133817c296/report/index.html

doris-robot avatar May 25 '24 11:05 doris-robot

sh-checker report

To get the full details, please check in the job output.

shellcheck errors

'shellcheck ' returned error 1 finding the following syntactical issues:

----------

In build.sh line 362:
BUILD_TYPE_LOWWER=$(echo "${BUILD_TYPE}" | tr '[:upper:]' '[:lower:]')
                          ^-----------^ SC2154 (warning): BUILD_TYPE is referenced but not assigned.

For more information:
  https://www.shellcheck.net/wiki/SC2154 -- BUILD_TYPE is referenced but not ...
----------

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.



shfmt errors
'shfmt ' found no issues.

github-actions[bot] avatar May 27 '24 03:05 github-actions[bot]

run buildall

Mryange avatar May 27 '24 03:05 Mryange

run buildall

Mryange avatar May 27 '24 04:05 Mryange

sh-checker report

To get the full details, please check in the job output.

shellcheck errors

'shellcheck ' returned error 1 finding the following syntactical issues:

----------

In build.sh line 362:
BUILD_TYPE_LOWWER=$(echo "${BUILD_TYPE}" | tr '[:upper:]' '[:lower:]')
                          ^-----------^ SC2154 (warning): BUILD_TYPE is referenced but not assigned.

For more information:
  https://www.shellcheck.net/wiki/SC2154 -- BUILD_TYPE is referenced but not ...
----------

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.



shfmt errors
'shfmt ' found no issues.

github-actions[bot] avatar May 27 '24 04:05 github-actions[bot]

TeamCity be ut coverage result: Function Coverage: 35.75% (9010/25206) Line Coverage: 27.37% (74573/272488) Region Coverage: 26.58% (38574/145121) Branch Coverage: 23.44% (19668/83916) Coverage Report: http://coverage.selectdb-in.cc/coverage/dafb759d9e85c87e975cac5ef2a1abc0e7a6ff56_dafb759d9e85c87e975cac5ef2a1abc0e7a6ff56/report/index.html

doris-robot avatar May 27 '24 05:05 doris-robot

run buildall

Mryange avatar May 27 '24 09:05 Mryange

sh-checker report

To get the full details, please check in the job output.

shellcheck errors

'shellcheck ' returned error 1 finding the following syntactical issues:

----------

In build.sh line 362:
BUILD_TYPE_LOWWER=$(echo "${BUILD_TYPE}" | tr '[:upper:]' '[:lower:]')
                          ^-----------^ SC2154 (warning): BUILD_TYPE is referenced but not assigned.

For more information:
  https://www.shellcheck.net/wiki/SC2154 -- BUILD_TYPE is referenced but not ...
----------

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.



shfmt errors
'shfmt ' found no issues.

github-actions[bot] avatar May 27 '24 09:05 github-actions[bot]

TeamCity be ut coverage result: Function Coverage: 35.77% (9010/25192) Line Coverage: 27.37% (74571/272482) Region Coverage: 26.58% (38578/145122) Branch Coverage: 23.45% (19670/83898) Coverage Report: http://coverage.selectdb-in.cc/coverage/948a5808c0a398aa7e891f7dab01e168f81c0a63_948a5808c0a398aa7e891f7dab01e168f81c0a63/report/index.html

doris-robot avatar May 27 '24 11:05 doris-robot

run buildall

Mryange avatar May 27 '24 14:05 Mryange

sh-checker report

To get the full details, please check in the job output.

shellcheck errors

'shellcheck ' returned error 1 finding the following syntactical issues:

----------

In build.sh line 362:
BUILD_TYPE_LOWWER=$(echo "${BUILD_TYPE}" | tr '[:upper:]' '[:lower:]')
                          ^-----------^ SC2154 (warning): BUILD_TYPE is referenced but not assigned.

For more information:
  https://www.shellcheck.net/wiki/SC2154 -- BUILD_TYPE is referenced but not ...
----------

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.



shfmt errors
'shfmt ' found no issues.

github-actions[bot] avatar May 27 '24 14:05 github-actions[bot]

TeamCity be ut coverage result: Function Coverage: 35.77% (9010/25192) Line Coverage: 27.37% (74577/272493) Region Coverage: 26.58% (38577/145124) Branch Coverage: 23.44% (19666/83900) Coverage Report: http://coverage.selectdb-in.cc/coverage/621ad856042d775664855da145442f480e029cf6_621ad856042d775664855da145442f480e029cf6/report/index.html

doris-robot avatar May 27 '24 16:05 doris-robot

run buildall

Mryange avatar May 27 '24 23:05 Mryange

sh-checker report

To get the full details, please check in the job output.

shellcheck errors

'shellcheck ' returned error 1 finding the following syntactical issues:

----------

In build.sh line 362:
BUILD_TYPE_LOWWER=$(echo "${BUILD_TYPE}" | tr '[:upper:]' '[:lower:]')
                          ^-----------^ SC2154 (warning): BUILD_TYPE is referenced but not assigned.

For more information:
  https://www.shellcheck.net/wiki/SC2154 -- BUILD_TYPE is referenced but not ...
----------

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.



shfmt errors
'shfmt ' found no issues.

github-actions[bot] avatar May 27 '24 23:05 github-actions[bot]

TeamCity be ut coverage result: Function Coverage: 35.76% (9010/25197) Line Coverage: 27.36% (74576/272538) Region Coverage: 26.58% (38572/145143) Branch Coverage: 23.44% (19669/83912) Coverage Report: http://coverage.selectdb-in.cc/coverage/63dc512a57bf98b459624301fe82cd41fb038793_63dc512a57bf98b459624301fe82cd41fb038793/report/index.html

doris-robot avatar May 28 '24 01:05 doris-robot

run buildall

Mryange avatar May 28 '24 06:05 Mryange

sh-checker report

To get the full details, please check in the job output.

shellcheck errors

'shellcheck ' returned error 1 finding the following syntactical issues:

----------

In build.sh line 362:
BUILD_TYPE_LOWWER=$(echo "${BUILD_TYPE}" | tr '[:upper:]' '[:lower:]')
                          ^-----------^ SC2154 (warning): BUILD_TYPE is referenced but not assigned.

For more information:
  https://www.shellcheck.net/wiki/SC2154 -- BUILD_TYPE is referenced but not ...
----------

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.



shfmt errors
'shfmt ' found no issues.

github-actions[bot] avatar May 28 '24 06:05 github-actions[bot]

run buildall

Mryange avatar May 28 '24 08:05 Mryange

run buildall

Mryange avatar May 28 '24 12:05 Mryange

TeamCity be ut coverage result: Function Coverage: 35.77% (9006/25177) Line Coverage: 27.39% (74581/272294) Region Coverage: 26.61% (38586/145025) Branch Coverage: 23.48% (19677/83804) Coverage Report: http://coverage.selectdb-in.cc/coverage/58597b03eacf1ddf157f18bda150509062faf653_58597b03eacf1ddf157f18bda150509062faf653/report/index.html

doris-robot avatar May 28 '24 14:05 doris-robot

run buildall

Mryange avatar May 29 '24 03:05 Mryange

sh-checker report

To get the full details, please check in the job output.

shellcheck errors

'shellcheck ' returned error 1 finding the following syntactical issues:

----------

In build.sh line 362:
BUILD_TYPE_LOWWER=$(echo "${BUILD_TYPE}" | tr '[:upper:]' '[:lower:]')
                          ^-----------^ SC2154 (warning): BUILD_TYPE is referenced but not assigned.

For more information:
  https://www.shellcheck.net/wiki/SC2154 -- BUILD_TYPE is referenced but not ...
----------

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.



shfmt errors
'shfmt ' found no issues.

github-actions[bot] avatar May 29 '24 03:05 github-actions[bot]

TeamCity be ut coverage result: Function Coverage: 35.77% (9010/25186) Line Coverage: 27.39% (74585/272345) Region Coverage: 26.60% (38592/145062) Branch Coverage: 23.47% (19675/83822) Coverage Report: http://coverage.selectdb-in.cc/coverage/afdad161d6d6d4bc5cfcfc25428a9796a03c4ce2_afdad161d6d6d4bc5cfcfc25428a9796a03c4ce2/report/index.html

doris-robot avatar May 29 '24 04:05 doris-robot

run p0

Mryange avatar May 29 '24 07:05 Mryange

run P0

Mryange avatar May 29 '24 07:05 Mryange

run buildall

Mryange avatar May 30 '24 06:05 Mryange

sh-checker report

To get the full details, please check in the job output.

shellcheck errors

'shellcheck ' returned error 1 finding the following syntactical issues:

----------

In build.sh line 362:
BUILD_TYPE_LOWWER=$(echo "${BUILD_TYPE}" | tr '[:upper:]' '[:lower:]')
                          ^-----------^ SC2154 (warning): BUILD_TYPE is referenced but not assigned.

For more information:
  https://www.shellcheck.net/wiki/SC2154 -- BUILD_TYPE is referenced but not ...
----------

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.



shfmt errors
'shfmt ' found no issues.

github-actions[bot] avatar May 30 '24 06:05 github-actions[bot]