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

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

Commit 0b251cc6bc814b44e94bdaad8e04e794c450ef90 in impala's branch 
refs/heads/master from Joe McDonnell
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=0b251cc6b ]

IMPALA-11570: tolerate errors from dmesg in finalize.sh

finalize.sh does a variety of diagnostic actions
at the end of a Jenkins job. The script should try
to tolerate errors from subcommands to keep going
to other diagnostic actions. dmesg has failed under
some circumstances, so this adds logic to tolerate
a failure from dmesg. This lets the script continue
to resolving minidumps.

Testing:
 - Ran on a configuration where dmesg fails and
   it proceeded to the rest of the script

Change-Id: I772b4d905482e84618c14e4d738fe179fa7a99a8
Reviewed-on: http://gerrit.cloudera.org:8080/18956
Reviewed-by: Michael Smith <[email protected]>
Reviewed-by: Wenzhe Zhou <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> bin/jenkins/finalize.sh should tolerate errors in subcommands like dmesg
> ------------------------------------------------------------------------
>
>                 Key: IMPALA-11570
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11570
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Infrastructure
>    Affects Versions: Impala 4.2.0
>            Reporter: Joe McDonnell
>            Assignee: Joe McDonnell
>            Priority: Major
>
> bin/jenkins/finalize.sh does a variety of diagnostic things like resolving 
> minidumps and dumping system information. If some permissions are missing, 
> dmesg can fail, and that will cause finalize.sh to exit early. In this case, 
> minidumps won't get resolved.
> finalize.sh should be resilient to failures in any individual command, so 
> that it continues with as much diagnosis as it can. A failing dmesg is not 
> worth failing over.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to