You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Andrew Sherman (Code Review)" <ge...@cloudera.org> on 2024/08/21 18:01:04 UTC
[Impala-ASF-CR] IMPALA-13291: Filter dmesg messages by date
Andrew Sherman has uploaded this change for review. ( http://gerrit.cloudera.org:8080/21705
Change subject: IMPALA-13291: Filter dmesg messages by date
......................................................................
IMPALA-13291: Filter dmesg messages by date
At the end of a test run, one of the things finalize.sh does is to look
for interesting messages in the output of dmesg. Recently we had the
issue where it was reporting false positives. This was because the
dmesg output covers the history since the last machine reboot.
Add an optional parameter to finalize.sh which gives the start time of
the test run in the format "2012-10-30 18:17:16". This parameter is
optional until all callers have been updated, some of which may be in
different git repositories.
Switch to using journalctl to fetch the dmesg output. This allows use of
the --since option to filter the messages starting at the given
timestamp. When this is used we should not see the false positives form
earlier test runs on the same machine.
Change-Id: I7ac9c16dfe1c60f04e117dd634609f03faa3c3dc
---
M bin/jenkins/all-tests.sh
M bin/jenkins/finalize.sh
2 files changed, 32 insertions(+), 9 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/05/21705/1
--
To view, visit http://gerrit.cloudera.org:8080/21705
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7ac9c16dfe1c60f04e117dd634609f03faa3c3dc
Gerrit-Change-Number: 21705
Gerrit-PatchSet: 1
Gerrit-Owner: Andrew Sherman <as...@cloudera.com>
[Impala-ASF-CR] IMPALA-13291: Filter dmesg messages by date
Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/21705 )
Change subject: IMPALA-13291: Filter dmesg messages by date
......................................................................
IMPALA-13291: Filter dmesg messages by date
At the end of a test run, one of the things finalize.sh does is to look
for interesting messages in the output of dmesg. Recently we had the
issue where it was reporting false positives. This was because the
dmesg output covers the history since the last machine reboot.
Add an optional parameter to finalize.sh which gives the start time of
the test run in the format "2012-10-30 18:17:16". This parameter is
optional until all callers have been updated, some of which may be in
different git repositories.
Switch to using journalctl to fetch the dmesg output. This allows use of
the --since option to filter the messages starting at the given
timestamp. When this is used we should not see the false positives form
earlier test runs on the same machine.
Change-Id: I7ac9c16dfe1c60f04e117dd634609f03faa3c3dc
Reviewed-on: http://gerrit.cloudera.org:8080/21705
Reviewed-by: Michael Smith <mi...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
Reviewed-by: Joe McDonnell <jo...@cloudera.com>
---
M bin/jenkins/all-tests.sh
M bin/jenkins/finalize.sh
2 files changed, 32 insertions(+), 9 deletions(-)
Approvals:
Michael Smith: Looks good to me, but someone else must approve
Impala Public Jenkins: Verified
Joe McDonnell: Looks good to me, approved
--
To view, visit http://gerrit.cloudera.org:8080/21705
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I7ac9c16dfe1c60f04e117dd634609f03faa3c3dc
Gerrit-Change-Number: 21705
Gerrit-PatchSet: 2
Gerrit-Owner: Andrew Sherman <as...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
[Impala-ASF-CR] IMPALA-13291: Filter dmesg messages by date
Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/21705 )
Change subject: IMPALA-13291: Filter dmesg messages by date
......................................................................
Patch Set 1: Code-Review+2
This makes sense to me, let's go ahead with this
--
To view, visit http://gerrit.cloudera.org:8080/21705
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I7ac9c16dfe1c60f04e117dd634609f03faa3c3dc
Gerrit-Change-Number: 21705
Gerrit-PatchSet: 1
Gerrit-Owner: Andrew Sherman <as...@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-Comment-Date: Thu, 22 Aug 2024 19:14:55 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13291: Filter dmesg messages by date
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21705 )
Change subject: IMPALA-13291: Filter dmesg messages by date
......................................................................
Patch Set 1: Verified+1
--
To view, visit http://gerrit.cloudera.org:8080/21705
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I7ac9c16dfe1c60f04e117dd634609f03faa3c3dc
Gerrit-Change-Number: 21705
Gerrit-PatchSet: 1
Gerrit-Owner: Andrew Sherman <as...@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-Comment-Date: Thu, 22 Aug 2024 05:07:43 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13291: Filter dmesg messages by date
Posted by "Michael Smith (Code Review)" <ge...@cloudera.org>.
Michael Smith has posted comments on this change. ( http://gerrit.cloudera.org:8080/21705 )
Change subject: IMPALA-13291: Filter dmesg messages by date
......................................................................
Patch Set 1: Code-Review+1
(1 comment)
http://gerrit.cloudera.org:8080/#/c/21705/1/bin/jenkins/finalize.sh
File bin/jenkins/finalize.sh:
http://gerrit.cloudera.org:8080/#/c/21705/1/bin/jenkins/finalize.sh@48
PS1, Line 48: if sudo journalctl --dmesg --since="${START_TIME}" > \
Checked that this also works on CentOS 7, so seems pretty portable.
--
To view, visit http://gerrit.cloudera.org:8080/21705
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I7ac9c16dfe1c60f04e117dd634609f03faa3c3dc
Gerrit-Change-Number: 21705
Gerrit-PatchSet: 1
Gerrit-Owner: Andrew Sherman <as...@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-Comment-Date: Wed, 21 Aug 2024 18:07:55 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-13291: Filter dmesg messages by date
Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/21705 )
Change subject: IMPALA-13291: Filter dmesg messages by date
......................................................................
Patch Set 1:
I'm going to start a precommit run, which will confirm this works on our upstream Jenkins jobs.
--
To view, visit http://gerrit.cloudera.org:8080/21705
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I7ac9c16dfe1c60f04e117dd634609f03faa3c3dc
Gerrit-Change-Number: 21705
Gerrit-PatchSet: 1
Gerrit-Owner: Andrew Sherman <as...@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-Comment-Date: Thu, 22 Aug 2024 00:08:31 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13291: Filter dmesg messages by date
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21705 )
Change subject: IMPALA-13291: Filter dmesg messages by date
......................................................................
Patch Set 1:
Build Successful
https://jenkins.impala.io/job/gerrit-code-review-checks/16745/ : 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/21705
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I7ac9c16dfe1c60f04e117dd634609f03faa3c3dc
Gerrit-Change-Number: 21705
Gerrit-PatchSet: 1
Gerrit-Owner: Andrew Sherman <as...@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-Comment-Date: Wed, 21 Aug 2024 18:33:43 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13291: Filter dmesg messages by date
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21705 )
Change subject: IMPALA-13291: Filter dmesg messages by date
......................................................................
Patch Set 1:
Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/10883/ DRY_RUN=true
--
To view, visit http://gerrit.cloudera.org:8080/21705
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I7ac9c16dfe1c60f04e117dd634609f03faa3c3dc
Gerrit-Change-Number: 21705
Gerrit-PatchSet: 1
Gerrit-Owner: Andrew Sherman <as...@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-Comment-Date: Thu, 22 Aug 2024 00:08:50 +0000
Gerrit-HasComments: No