Hi Alexey,<div id="yMail_cursorElementTracker_1494040100501"><br></div><div id="yMail_cursorElementTracker_1494040102445">Sorry I tried on a remote machine yesterday and forget to get $? value, but I guess it already worked. Could you help to push it? I'll ping you if I found any issues on Monday.</div><div id="yMail_cursorElementTracker_1494040262613"><br></div><div id="yMail_cursorElementTracker_1494040264134">Many thanks,</div><div id="yMail_cursorElementTracker_1494040271650"><br></div><div id="yMail_cursorElementTracker_1494040282671">Hoang<br><p class="yiv6432283758MsoNormal" style="overflow-wrap: break-word; font-family: sans-serif;"><span style="overflow-wrap: break-word; font-size: 10pt;">root@mx6q:~# ./setpriority01</span></p><p class="yiv6432283758MsoNormal" style="overflow-wrap: break-word; font-family: sans-serif;"><span style="overflow-wrap: break-word; font-size: 10pt;">tst_test.c:847: INFO: Timeout per run is 0h 05m 00s</span></p><p class="yiv6432283758MsoNormal" style="overflow-wrap: break-word; font-family: sans-serif;"><span style="overflow-wrap: break-word; font-size: 10pt;">setpriority01.c:120: CONF: /etc/passwd is not accessible</span></p><p class="yiv6432283758MsoNormal" style="overflow-wrap: break-word; font-family: sans-serif;"><span style="overflow-wrap: break-word; font-size: 10pt;"> </span></p><p class="yiv6432283758MsoNormal" style="overflow-wrap: break-word; font-family: sans-serif;"><span style="overflow-wrap: break-word; font-size: 10pt;">Summary:</span></p><p class="yiv6432283758MsoNormal" style="overflow-wrap: break-word; font-family: sans-serif;"><span style="overflow-wrap: break-word; font-size: 10pt;">passed   0</span></p><p class="yiv6432283758MsoNormal" style="overflow-wrap: break-word; font-family: sans-serif;"><span style="overflow-wrap: break-word; font-size: 10pt;">failed   0</span></p><p class="yiv6432283758MsoNormal" style="overflow-wrap: break-word; font-family: sans-serif;"><span style="overflow-wrap: break-word; font-size: 10pt;">skipped  0</span></p><p class="yiv6432283758MsoNormal" style="overflow-wrap: break-word; font-family: sans-serif;"><span style="overflow-wrap: break-word; font-size: 10pt;" id="yMail_cursorElementTracker_1494040103598">warnings 0</span></p><div id="ymail_android_signature"><a href="https://overview.mail.yahoo.com/mobile/?.src=Android">Sent from Yahoo Mail on Android</a></div> <br> <blockquote style="margin: 0 0 20px 0;"> <header style="font-family:Roboto, sans-serif; color:#6D00F6;"> <div>On Fri, May 5, 2017 at 17:38, Alexey Kodanev</div><div><alexey.kodanev@oracle.com> wrote:</div> </header> <div style="padding: 10px 0 0 20px; margin: 10px 0 0 0; border-left: 1px solid #6D00F6;"> Signed-off-by: Alexey Kodanev <<a shape="rect" ymailto="mailto:alexey.kodanev@oracle.com" href="mailto:alexey.kodanev@oracle.com">alexey.kodanev@oracle.com</a>><br clear="none">---<br clear="none"><br clear="none">Could you try this patch?<br clear="none"><br clear="none"> .../kernel/syscalls/setpriority/setpriority01.c    |    6 +++++-<br clear="none"> 1 files changed, 5 insertions(+), 1 deletions(-)<br clear="none"><br clear="none">diff --git a/testcases/kernel/syscalls/setpriority/setpriority01.c b/testcases/kernel/syscalls/setpriority/setpriority01.c<br clear="none">index 70e8264..df02bce 100644<br clear="none">--- a/testcases/kernel/syscalls/setpriority/setpriority01.c<br clear="none">+++ b/testcases/kernel/syscalls/setpriority/setpriority01.c<br clear="none">@@ -31,7 +31,7 @@<br clear="none"> #include "tst_test.h"<br clear="none"> <br clear="none"> static const char *username = "ltp_setpriority01";<br clear="none">-static int pid, uid;<br clear="none">+static int pid, uid, user_added;<br clear="none"> <br clear="none"> static struct tcase {<br clear="none">     int which;<br clear="none">@@ -120,6 +120,7 @@ static void setup(void)<br clear="none">         tst_brk(TCONF, "/etc/passwd is not accessible");<br clear="none"> <br clear="none">     tst_run_cmd(cmd_useradd, NULL, NULL, 0);<br clear="none">+    user_added = 1;<br clear="none"> <br clear="none">     ltpuser = SAFE_GETPWNAM(username);<br clear="none">     uid = ltpuser->pw_uid;<br clear="none">@@ -127,6 +128,9 @@ static void setup(void)<br clear="none"> <br clear="none"> static void cleanup(void)<br clear="none"> {<br clear="none">+    if (!user_added)<br clear="none">+        return;<br clear="none">+<br clear="none">     const char *const cmd_userdel[] = {"userdel", "-r", username, NULL};<br clear="none"> <br clear="none">     if (tst_run_cmd(cmd_userdel, NULL, NULL, 1))<div class="yqt8523566420 yQTDBase" id="yqtfd38161"><br clear="none">-- <br clear="none">1.7.1<br clear="none"><br clear="none"></div> </div> </blockquote></div>