Skip to content

Commit

Permalink
update the error msg, test=develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Shixiaowei02 committed Oct 19, 2021
1 parent 4ec1c2c commit c16f25e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion paddle/fluid/framework/tcmpt_utils_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ TEST(TcmptUtils, VarToPtTensor) {
// 3. check result
ASSERT_EQ(tensor_x->backend(), expect_backend);
ASSERT_EQ(tensor_x->data_type(), pt::DataType::kINT32);

}

} // namespace framework
Expand Down
4 changes: 2 additions & 2 deletions paddle/tcmpt/core/utils/intrusive_ptr.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ class intrusive_ptr {
}

T& operator*() const {
PADDLE_ENFORCE(
PADDLE_ENFORCE_NOT_NULL(
px,
platform::errors::PreconditionNotMet(
"The pointer must be non-null before the dereference operation."));
return *px;
}

T* operator->() const {
PADDLE_ENFORCE(
PADDLE_ENFORCE_NOT_NULL(
px,
platform::errors::PreconditionNotMet(
"The pointer must be non-null before the dereference operation."));
Expand Down

1 comment on commit c16f25e

@paddle-bot-old
Copy link

@paddle-bot-old paddle-bot-old bot commented on c16f25e Oct 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🕵️ CI failures summary

🔍 PR: #17 Commit ID: c16f25e contains failed CI.

🔹 Failed: PR-CI-APPROVAL

approve_failed
2021-10-19 14:26:03 正在保存至: “bk.txt”
2021-10-19 14:26:03 0K 100% 2.56M=0s
2021-10-19 14:26:03 2021-10-19 14:26:03 (2.56 MB/s) - 已保存 “bk.txt” [5/5])
2021-10-19 14:26:11 ****************
2021-10-19 14:26:11 0. You must have one RD (lanxianghit (Recommend), phlrain or luotao1) approval for changing the FLAGS, which manages the environment variables.
2021-10-19 14:26:11 1. You must have Dianhai approval for change 20+ files or add than 1000+ lines of content.
2021-10-19 14:26:11 2. You must have one RD (XiaoguangHu01,chenwhql,zhiqiu,Xreki,luotao1) approval for paddle/fluid/framework/operator.h, which manages the underlying code for fluid.
2021-10-19 14:26:11 3. You must have one RD (zhiqiu (Recommend) , phlrain) approval for the changes of paddle/fluid/pybind/op_function_generator.cc, which manages the logic of automatic generating op functions for dygraph.
2021-10-19 14:26:11 4. You must have one RD (XiaoguangHu01,chenwhql,zhiqiu,Xreki,luotao1) approval for the usage of const_cast.
2021-10-19 14:26:11 5. You must have one RD (Avin0323(Recommend) or zhouwei25 or wanghuancoder or luotao1) approval for modifying unity_build_rule.cmake which the rules of Unity Build.
2021-10-19 14:26:11 There are 6 approved errors.
2021-10-19 14:26:11 ****************
2021-10-19 14:26:11 + EXCODE=6
2021-10-19 14:26:11 + echo 'EXCODE: 6'
2021-10-19 14:26:11 EXCODE: 6
2021-10-19 14:26:11 + echo 'ipipe_log_param_EXCODE: 6'
2021-10-19 14:26:11 ipipe_log_param_EXCODE: 6
2021-10-19 14:26:11 + exit 6

🔹 Failed: PR-CI-OP-benchmark

Unknown Failed
2021-10-19 15:55:22 [tools/test_ci_op_benchmark.sh:271] [ERROR] Missing test script of "mean"(paddle/fluid/operators/mean_op.cu) in benchmark.
2021-10-19 15:55:22 + for op_name in '${!CHANGE_OP_MAP[@]}'
2021-10-19 15:55:22 + '[' -z '' ']'
2021-10-19 15:55:22 + exit_code=8
2021-10-19 15:55:22 + LOG '[ERROR] Missing test script of "fill_any_like"(paddle/fluid/operators/fill_any_like_op.cu) in benchmark.'
2021-10-19 15:55:22 + echo '[tools/test_ci_op_benchmark.sh:271] [ERROR] Missing test script of "fill_any_like"(paddle/fluid/operators/fill_any_like_op.cu) in benchmark.'
2021-10-19 15:55:22 [tools/test_ci_op_benchmark.sh:271] [ERROR] Missing test script of "fill_any_like"(paddle/fluid/operators/fill_any_like_op.cu) in benchmark.
2021-10-19 15:55:22 + for op_name in '${!CHANGE_OP_MAP[@]}'
2021-10-19 15:55:22 + '[' -z matmul,matmul,matmul.json,True ']'
2021-10-19 15:55:22 + '[' 8 -ne 0 ']'
2021-10-19 15:55:22 + LOG '[INFO] See https://github.com/PaddlePaddle/Paddle/wiki/PR-CI-OP-benchmark-Manual for details.'
2021-10-19 15:55:22 + echo '[tools/test_ci_op_benchmark.sh:275] [INFO] See https://github.com/PaddlePaddle/Paddle/wiki/PR-CI-OP-benchmark-Manual for details.'
2021-10-19 15:55:22 [tools/test_ci_op_benchmark.sh:275] [INFO] See https://github.com/PaddlePaddle/Paddle/wiki/PR-CI-OP-benchmark-Manual for details.
2021-10-19 15:55:22 + LOG '[INFO] Or you can apply for one RD (Avin0323(Recommend), Xreki, luotao1) approval to pass this PR.'
2021-10-19 15:55:22 + echo '[tools/test_ci_op_benchmark.sh:276] [INFO] Or you can apply for one RD (Avin0323(Recommend), Xreki, luotao1) approval to pass this PR.'
2021-10-19 15:55:22 [tools/test_ci_op_benchmark.sh:276] [INFO] Or you can apply for one RD (Avin0323(Recommend), Xreki, luotao1) approval to pass this PR.
2021-10-19 15:55:22 + exit 8
2021-10-19 15:55:22 {build code state=8}
2021-10-19 15:55:32 kill agent BUILD_CODE_FAIL

Please sign in to comment.