Laszlo Gaal has uploaded this change for review. ( 
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
---
M bin/jenkins/finalize.sh
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/63/20763/1
--
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: newchange
Gerrit-Change-Id: Ic20193740c6e5cb9e8e155c03bede55184875de5
Gerrit-Change-Number: 20763
Gerrit-PatchSet: 1
Gerrit-Owner: Laszlo Gaal <[email protected]>

Reply via email to