Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/20763 )
Change subject: IMPALA-12590: Fix dmesg call during precommit for Ubuntu 20.04 ...................................................................... IMPALA-12590: Fix dmesg call during precommit for Ubuntu 20.04 Ubuntu 20.04 locked down access to the kernel messages, so a call to 'dmesg' can succeed only when executed with elevated privileges. This could be a problem during Impala precommit runs, as the finalizer script uses 'dmesg' to detect potential OOM-kills during the run. This patch adds an "escalation" step to the dmesg call: if the regular call fails, it issues a second call via 'sudo'. Change-Id: Ic20193740c6e5cb9e8e155c03bede55184875de5 Reviewed-on: http://gerrit.cloudera.org:8080/20763 Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> --- M bin/jenkins/finalize.sh 1 file changed, 2 insertions(+), 1 deletion(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/20763 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Ic20193740c6e5cb9e8e155c03bede55184875de5 Gerrit-Change-Number: 20763 Gerrit-PatchSet: 3 Gerrit-Owner: Laszlo Gaal <laszlo.g...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Michael Smith <michael.sm...@cloudera.com> Gerrit-Reviewer: Tamas Mate <tma...@apache.org>