From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1UwabQ-0001mj-6h for ltp-list@lists.sourceforge.net; Tue, 09 Jul 2013 16:17:20 +0000 Date: Tue, 9 Jul 2013 18:18:54 +0200 From: chrubis@suse.cz Message-ID: <20130709161854.GA1435@rei> References: <51D38924.8090400@oracle.com> <20130709151103.GB760@rei.Home> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [LTP] [ltp-full-20130503] runltp cleanup() can't remove ${TMP} List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: Sedat Dilek Cc: ltp-list@lists.sourceforge.net, Eko Hi! > >> I executed runltp command in my box, everything is OK, but when > >> cleaning the environment, got following errors: > >> > >> ############################################################### > >> Done executing testcases. > >> LTP Version: 20130503 > >> ############################################################### > >> rm: cannot remove `/tmp/ltp-9NAwvmAbI5/moulTfFCf/mnt_4458': Device or resource busy > >> rm: cannot remove `/tmp/ltp-9NAwvmAbI5/sandbox': Device or resource busy > >> > >> > >> Because /tmp/ltp-9NAwvmAbI5/moulTfFCf/mnt_4458 and > >> /tmp/ltp-9NAwvmAbI5/sandbox are still mounted, so can't delete them, the > >> best way is: > >> # umount /tmp/ltp-9NAwvmAbI5/moulTfFCf/mnt_4458 > >> # umount /tmp/ltp-9NAwvmAbI5/sandbox > >> > > > > This looks like leftover mount from some testcases. We need to find > > which testcases are these and fix them to do their cleanup correctly. > > > > Quick greping suggested that candidates are: > > > > testscripts/test_fs_bind.sh > > > > testcases/kernel/syscalls/mount/mount*.c > > > > So ${TEMP} is really used? I don't think so, it looks like a typo to me. The error messages here are from the 'rm -rf ${TMP}' that is done after the line with ${TEMP}. Anyway the line that removes the image is both wrong and useless as the whole ${TMP} is removed right after it. I suggest removing it. -- Cyril Hrubis chrubis@suse.cz ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list