public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: chrubis@suse.cz
To: Sedat Dilek <sedat.dilek@gmail.com>
Cc: ltp-list@lists.sourceforge.net, Eko <hong.sun@oracle.com>
Subject: Re: [LTP] [ltp-full-20130503] runltp cleanup() can't remove ${TMP}
Date: Tue, 9 Jul 2013 18:18:54 +0200	[thread overview]
Message-ID: <20130709161854.GA1435@rei> (raw)
In-Reply-To: <CA+icZUUtv3MpiYScqqHmLbOFaEqKRC8eSAtUziMrVcRP80kbGw@mail.gmail.com>

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

  parent reply	other threads:[~2013-07-09 16:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.80890.1372765469.12996.ltp-list@lists.sourceforge.net>
2013-07-03  2:15 ` [LTP] [ltp-full-20130503] runltp cleanup() can't remove ${TMP} Eko
2013-07-03  7:36   ` Sedat Dilek
2013-07-10 14:04     ` chrubis
2013-07-10 14:17     ` chrubis
2013-07-09 15:11   ` chrubis
     [not found]     ` <CA+icZUUtv3MpiYScqqHmLbOFaEqKRC8eSAtUziMrVcRP80kbGw@mail.gmail.com>
2013-07-09 16:18       ` chrubis [this message]
     [not found] <mailman.81986.1372818525.14365.ltp-list@lists.sourceforge.net>
2013-07-03  3:30 ` Eko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130709161854.GA1435@rei \
    --to=chrubis@suse.cz \
    --cc=hong.sun@oracle.com \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=sedat.dilek@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox