You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Michael Smith (Code Review)" <ge...@cloudera.org> on 2026/04/06 19:19:54 UTC

[Impala-ASF-CR] IMPALA-10160: Add test for kernel stack watchdog

Michael Smith has uploaded this change for review. ( http://gerrit.cloudera.org:8080/24172


Change subject: IMPALA-10160: Add test for kernel_stack_watchdog
......................................................................

IMPALA-10160: Add test for kernel_stack_watchdog

IMPALA-13844 registered the Kudu stack trace signal handler, which also
fixed IMPALA-10160 where slow RPCs would trigger the KernelStackWatchdog
to print a stack trace, but no stack trace could be generated because
the signal handler was not installed. Adds a test to avoid regressing.

Change-Id: Iccee582e9a3ea355280bc5ab94462eb76c1cb97d
---
M tests/observability/test_log_fragments.py
1 file changed, 10 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/72/24172/1
-- 
To view, visit http://gerrit.cloudera.org:8080/24172
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iccee582e9a3ea355280bc5ab94462eb76c1cb97d
Gerrit-Change-Number: 24172
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Smith <mi...@cloudera.com>

[Impala-ASF-CR] IMPALA-10160: Add test for kernel stack watchdog

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24172 )

Change subject: IMPALA-10160: Add test for kernel_stack_watchdog
......................................................................


Patch Set 3: Verified+1


-- 
To view, visit http://gerrit.cloudera.org:8080/24172
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iccee582e9a3ea355280bc5ab94462eb76c1cb97d
Gerrit-Change-Number: 24172
Gerrit-PatchSet: 3
Gerrit-Owner: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Comment-Date: Thu, 09 Apr 2026 19:43:56 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10160: Add test for kernel stack watchdog

Posted by "Michael Smith (Code Review)" <ge...@cloudera.org>.
Michael Smith has posted comments on this change. ( http://gerrit.cloudera.org:8080/24172 )

Change subject: IMPALA-10160: Add test for kernel_stack_watchdog
......................................................................


Patch Set 1:

I ran this 6 times in a loop without failures.

  while impala-py.test -n 8 --table_formats=text/none tests/query_test/test_tpch_queries.py::TestTpchQuery tests/observability/test_log_fragments.py; do echo; done


-- 
To view, visit http://gerrit.cloudera.org:8080/24172
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iccee582e9a3ea355280bc5ab94462eb76c1cb97d
Gerrit-Change-Number: 24172
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Comment-Date: Mon, 06 Apr 2026 19:23:09 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10160: Add test for kernel stack watchdog

Posted by "Michael Smith (Code Review)" <ge...@cloudera.org>.
Michael Smith has posted comments on this change. ( http://gerrit.cloudera.org:8080/24172 )

Change subject: IMPALA-10160: Add test for kernel_stack_watchdog
......................................................................


Patch Set 2:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/24172/1/tests/observability/test_log_fragments.py
File tests/observability/test_log_fragments.py:

http://gerrit.cloudera.org:8080/#/c/24172/1/tests/observability/test_log_fragments.py@70
PS1, Line 70:     self.assert_impalad_log_contains("WARNING", "impala::SleepForMs()", expected_count=-1)
> Would it make sense to check for the absence of the following pattern in th
Done



-- 
To view, visit http://gerrit.cloudera.org:8080/24172
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iccee582e9a3ea355280bc5ab94462eb76c1cb97d
Gerrit-Change-Number: 24172
Gerrit-PatchSet: 2
Gerrit-Owner: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Comment-Date: Wed, 08 Apr 2026 17:42:08 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-10160: Add test for kernel stack watchdog

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24172 )

Change subject: IMPALA-10160: Add test for kernel_stack_watchdog
......................................................................


Patch Set 3: Code-Review+2


-- 
To view, visit http://gerrit.cloudera.org:8080/24172
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iccee582e9a3ea355280bc5ab94462eb76c1cb97d
Gerrit-Change-Number: 24172
Gerrit-PatchSet: 3
Gerrit-Owner: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Comment-Date: Thu, 09 Apr 2026 15:21:35 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10160: Add test for kernel stack watchdog

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24172 )

Change subject: IMPALA-10160: Add test for kernel_stack_watchdog
......................................................................


Patch Set 1:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/22083/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/24172
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iccee582e9a3ea355280bc5ab94462eb76c1cb97d
Gerrit-Change-Number: 24172
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Comment-Date: Mon, 06 Apr 2026 19:42:07 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10160: Add test for kernel stack watchdog

Posted by "Michael Smith (Code Review)" <ge...@cloudera.org>.
Hello Alexey Serbin, Yida Wu, Joe McDonnell, Csaba Ringhofer, Impala Public Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/24172

to look at the new patch set (#2).

Change subject: IMPALA-10160: Add test for kernel_stack_watchdog
......................................................................

IMPALA-10160: Add test for kernel_stack_watchdog

IMPALA-13844 registered the Kudu stack trace signal handler, which also
fixed IMPALA-10160 where slow RPCs would trigger the KernelStackWatchdog
to print a stack trace, but no stack trace could be generated because
the signal handler was not installed. Adds a test to avoid regressing.

Change-Id: Iccee582e9a3ea355280bc5ab94462eb76c1cb97d
---
M tests/observability/test_log_fragments.py
1 file changed, 12 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/72/24172/2
-- 
To view, visit http://gerrit.cloudera.org:8080/24172
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Iccee582e9a3ea355280bc5ab94462eb76c1cb97d
Gerrit-Change-Number: 24172
Gerrit-PatchSet: 2
Gerrit-Owner: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>

[Impala-ASF-CR] IMPALA-10160: Add test for kernel stack watchdog

Posted by "Csaba Ringhofer (Code Review)" <ge...@cloudera.org>.
Csaba Ringhofer has posted comments on this change. ( http://gerrit.cloudera.org:8080/24172 )

Change subject: IMPALA-10160: Add test for kernel_stack_watchdog
......................................................................


Patch Set 2: Code-Review+2


-- 
To view, visit http://gerrit.cloudera.org:8080/24172
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iccee582e9a3ea355280bc5ab94462eb76c1cb97d
Gerrit-Change-Number: 24172
Gerrit-PatchSet: 2
Gerrit-Owner: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Comment-Date: Thu, 09 Apr 2026 11:33:29 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10160: Add test for kernel stack watchdog

Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/24172 )

Change subject: IMPALA-10160: Add test for kernel_stack_watchdog
......................................................................


Patch Set 2: Code-Review+1


-- 
To view, visit http://gerrit.cloudera.org:8080/24172
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iccee582e9a3ea355280bc5ab94462eb76c1cb97d
Gerrit-Change-Number: 24172
Gerrit-PatchSet: 2
Gerrit-Owner: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Comment-Date: Wed, 08 Apr 2026 18:40:26 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10160: Add test for kernel stack watchdog

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/24172 )

Change subject: IMPALA-10160: Add test for kernel_stack_watchdog
......................................................................

IMPALA-10160: Add test for kernel_stack_watchdog

IMPALA-13844 registered the Kudu stack trace signal handler, which also
fixed IMPALA-10160 where slow RPCs would trigger the KernelStackWatchdog
to print a stack trace, but no stack trace could be generated because
the signal handler was not installed. Adds a test to avoid regressing.

Change-Id: Iccee582e9a3ea355280bc5ab94462eb76c1cb97d
Reviewed-on: http://gerrit.cloudera.org:8080/24172
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
M tests/observability/test_log_fragments.py
1 file changed, 12 insertions(+), 0 deletions(-)

Approvals:
  Impala Public Jenkins: Looks good to me, approved; Verified

-- 
To view, visit http://gerrit.cloudera.org:8080/24172
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Iccee582e9a3ea355280bc5ab94462eb76c1cb97d
Gerrit-Change-Number: 24172
Gerrit-PatchSet: 4
Gerrit-Owner: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>

[Impala-ASF-CR] IMPALA-10160: Add test for kernel stack watchdog

Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/24172 )

Change subject: IMPALA-10160: Add test for kernel_stack_watchdog
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/24172/1/tests/observability/test_log_fragments.py
File tests/observability/test_log_fragments.py:

http://gerrit.cloudera.org:8080/#/c/24172/1/tests/observability/test_log_fragments.py@70
PS1, Line 70:     self.assert_impalad_log_contains("WARNING", "impala::SleepForMs()", expected_count=-1)
Would it make sense to check for the absence of the following pattern in the log?

unable to take thread stack: signal handler unavailable



-- 
To view, visit http://gerrit.cloudera.org:8080/24172
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iccee582e9a3ea355280bc5ab94462eb76c1cb97d
Gerrit-Change-Number: 24172
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Comment-Date: Tue, 07 Apr 2026 15:05:22 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-10160: Add test for kernel stack watchdog

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24172 )

Change subject: IMPALA-10160: Add test for kernel_stack_watchdog
......................................................................


Patch Set 2:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/22096/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/24172
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iccee582e9a3ea355280bc5ab94462eb76c1cb97d
Gerrit-Change-Number: 24172
Gerrit-PatchSet: 2
Gerrit-Owner: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Comment-Date: Wed, 08 Apr 2026 17:57:27 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-10160: Add test for kernel stack watchdog

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24172 )

Change subject: IMPALA-10160: Add test for kernel_stack_watchdog
......................................................................


Patch Set 3:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/13308/ DRY_RUN=false


-- 
To view, visit http://gerrit.cloudera.org:8080/24172
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iccee582e9a3ea355280bc5ab94462eb76c1cb97d
Gerrit-Change-Number: 24172
Gerrit-PatchSet: 3
Gerrit-Owner: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Comment-Date: Thu, 09 Apr 2026 15:21:35 +0000
Gerrit-HasComments: No