[ 
https://issues.apache.org/jira/browse/IMPALA-13291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17876082#comment-17876082
 ] 

ASF subversion and git services commented on IMPALA-13291:
----------------------------------------------------------

Commit 76847fb03d9cc92530f97517a4481993392f331a in impala's branch 
refs/heads/master from Andrew Sherman
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=76847fb03 ]

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 <michael.sm...@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Reviewed-by: Joe McDonnell <joemcdonn...@cloudera.com>


> finalize.sh reports that py.test was oom killed in test run
> -----------------------------------------------------------
>
>                 Key: IMPALA-13291
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13291
>             Project: IMPALA
>          Issue Type: Bug
>    Affects Versions: Impala 4.4.0
>            Reporter: Andrew Sherman
>            Assignee: Andrew Sherman
>            Priority: Critical
>              Labels: broken-build
>
> finalize.sh searches all of the dmesg output; it would be better if it only 
> checked recent output.
> generate_junitxml.finalize.dmesg:
> {code:java}
> [33521.665535] [ pid ]   uid  tgid total_vm      rss nr_ptes swapents 
> oom_score_adj name
> [...]
> [33522.050484] [13910]  2001 13910 18428548 13729789   32862  2938917         
>     0 py.test
> [...]
> [33522.493339] Out of memory: Kill process 13910 (py.test) score 819 or 
> sacrifice child
> [33522.501620] Killed process 13910 (py.test), UID 2001, total-vm:73714192kB, 
> anon-rss:54919156kB, file-rss:0kB, shmem-rss:0kB
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to