proc01 hang with 3.10.0-0.rc1/rc2
Hi,
proc01 hangs on read from /proc/self/net/rpc/use-gss-proxy.
I'm attaching a patch if anyone runs rc kernels and is hitting it too, it's not meant for inclusion to LTP. At least not yet, since the issue exists only in -rc kernels.
Regards,
Jan
From 77b14e19e319c3b59ef068805abf00d19af008d8 Mon Sep 17 00:00:00 2001
Message-Id: <77b14e19e319c3b59ef068805abf00d19af008d8.1369401766.git.jstancek@redhat.com>
From: Jan Stancek <[email protected]>
Date: Fri, 24 May 2013 15:21:18 +0200
Subject: [PATCH] proc01: skip /proc/self/net/rpc/use-gss-proxy
It blocks even with O_NONBLOCK, which causes this test to hang. This patch also converts WARN to INFO, since there are supposed to be known failures.
--- testcases/kernel/fs/proc/proc01.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-)
testcases/kernel/fs/proc/proc01.c +5 -2
@@ -137,6 +137,8 @@ static const char lsm_should_work[][PATH_MAX] = {the test while being read. */ static const char error_nonblock[][PATH_MAX ] = {"/proc/xen/xenbus" , +"/proc/self/net/rpc/use-gss-proxy" , +"/proc/[0-9]*/net/rpc/use-gss-proxy" ,"" };
@@ -363,8 +365,9 @@ static long readproc(const char *obj)/* Skip files does not honor O_NONBLOCK. */ for (i =0 ; error_nonblock[i][0 ] !='\0' ; i++) { -if (!strcmp (obj, error_nonblock[i])) { -tst_resm (TWARN ,"%s: does not honor " +if (!strcmp (obj, error_nonblock[i]) || + !fnmatch (error_nonblock[i], obj,FNM_PATHNAME )) { +tst_resm (TINFO ,"%s: skip, does not honor " "O_NONBLOCK" , obj);return 0 ; }
Signature · 1 line
1.7.1
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list