From: Rishikesh K Rajak <risrajak@linux.vnet.ibm.com>
To: Mitani <mitani@ryobi.co.jp>
Cc: ltp-list@lists.sourceforge.net, kamimura@ryobi.co.jp
Subject: Re: [LTP] [PATCH] fix "hugetlb" several tests
Date: Thu, 15 Apr 2010 12:24:41 +0530 [thread overview]
Message-ID: <20100415065440.GA6261@linux.vnet.ibm.com> (raw)
In-Reply-To: <001301cadc36$77e08cf0$67a1a6d0$@co.jp>
On Thu, Apr 15, 2010 at 09:56:22AM +0900, Mitani wrote:
>
> > -----Original Message-----
> > From: Garrett Cooper [mailto:yanegomi@gmail.com]
> > Sent: Wednesday, April 14, 2010 6:31 PM
> > To: Mitani
> > Cc: ltp-list@lists.sourceforge.net
> > Subject: Re: [LTP] [PATCH] fix "hugetlb" several tests
> >
> > On Wed, Apr 14, 2010 at 1:58 AM, Mitani <mitani@ryobi.co.jp> wrote:
> > >> -----Original Message-----
> > >> From: Garrett Cooper [mailto:yanegomi@gmail.com]
> > >> Sent: Wednesday, April 14, 2010 3:18 PM
> > >> To: Mitani
> > >> Cc: Randy Dunlap; ltp-list@lists.sourceforge.net
> > >> Subject: Re: [LTP] [PATCH] fix "hugetlb" several tests
> > >>
> > >> On Tue, Apr 13, 2010 at 7:17 PM, Mitani <mitani@ryobi.co.jp> wrote:
> > >> > Hi Randy,
> > >> >
> > >> > I couldn't notice a misspelling. Sorry.
> > >> > I decided to use "due to" according to your advice.
> > >> >
> > >> > May I suggest revised patch?
> > >> >
> > > [...]
> > >> >
> > >> > Thank you--
> > >> >
> > >> > -Tomonori Mitani
> > >> >
> > >> >
> > >> >> -----Original Message-----
> > >> >> From: Randy Dunlap [mailto:rdunlap@xenotime.net]
> > >> >> Sent: Wednesday, April 14, 2010 12:04 AM
> > >> >> To: Mitani
> > >> >> Cc: ltp-list@lists.sourceforge.net
> > >> >> Subject: Re: [LTP] [PATCH] fix "hugetlb" several tests
> > >> >>
> > >> >> On 04/12/10 23:58, Mitani wrote:
> > >> >> > ------------
> > >> >> > a) All tests:
> > >> >> > "TBROK : Test cannot be continued owning to sufficient
> > >> >> availability of
> > >> >> > Hugepages on the system"
> > >> >> >
> > >> >> > b) 2), 3), 5), 6), 8), 10), 11) tests:
> > >> >> > "TWARN : tst_rmdir(): TESTDIR was NULL; no removal
> > attempted"
> > >> >> > ------------
> > >> >> >
> > >> >> > Both case a) and case b) are caused by the same reason.
> > >> >> >
> > >> >> > All of case a) failures occured at the following points (for
> > >> example
> > >> >> > hugemmap04):
> > >> >> > ------------<hugemmap04.c - main()>
> > >> >> > /* Check number of hugepages */
> > >> >> > if (get_no_of_hugepages() <= 0 || hugepages_size()
> > <=
> > >> 0)
> > >> >> > tst_brkm(TBROK, cleanup, "Test cannot be
> > >> continued
> > >> >> owning to
> > >> >> > \
> > >> >> > sufficient availability
> > of
> > >> >> Hugepages on the
> > >> >> > system");
> > >> >> > ------------
> > >> >> >
> > >> >> > I found out that "HugePages_Total" parameter of "/proc/meminfo"
> > >> file
> > >> >> > is set to "0". This caused above TBROK failure. It is environment
> > >> >> problem.
> > >> >> >
> > >> >> > But, in this case, tests must not return with TBROK, but with
> > TCONF,
> > >> >> > I think.
> > >> >>
> > >> >> That makes sense to me.
> > >> >>
> > >> >> > And, in case b), these tests try to delete "TESTDIR" directory
> > >> by
> > >> >> > calling "tst_rmdir()" function in "cleanup()" function.
> > >> >> > But, "TESTDIR" never set if "tst_tmpdir()" function isn't
> > called.
> > >> >> > I think that case b)'s tests must not call cleanup() function.
> > >> >> >
> > >> >> >
> > >> >> > I want to suggest following patch.
> > >> >> >
> > >> >> > Signed-off-by: Tomonori Mitani <mitani@ryobi.co.jp>
> >
> > Sorry to ask again, but Gmail always mangles patches. Could you
> > please attach it as a file?
> > Thanks,
> > -Garrett
>
>
> Sorry.
> I attach a patch file.
Applied to next branch. Will wait for someone to Acked/test it before merging to
master.
Thanks
-Rishi
>
>
> Signed-off-by: Tomonori Mitani <mitani@ryobi.co.jp>
>
>
> Regards--
>
> -Tomonori Mitani
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list
--
Thanks & Regards
Rishi
LTP Maintainer
IBM, LTC, Bangalore
Please join IRC #ltp @ irc.freenode.net
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2010-04-15 6:54 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-13 6:58 [LTP] [PATCH] fix "hugetlb" several tests Mitani
2010-04-13 15:03 ` Randy Dunlap
2010-04-14 2:17 ` Mitani
2010-04-14 6:17 ` Garrett Cooper
2010-04-14 8:58 ` Mitani
2010-04-14 9:18 ` Ryan Wang
2010-04-14 9:30 ` Garrett Cooper
2010-04-15 0:56 ` Mitani
2010-04-15 6:54 ` Rishikesh K Rajak [this message]
2010-04-15 8:42 ` Garrett Cooper
2010-04-16 1:33 ` Mitani
2010-04-16 5:15 ` Garrett Cooper
2010-04-14 15:19 ` Randy Dunlap
2010-04-16 2:42 ` Mitani
2010-04-16 5:05 ` Garrett Cooper
2010-04-16 9:23 ` Mitani
2010-04-16 15:12 ` Randy Dunlap
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=20100415065440.GA6261@linux.vnet.ibm.com \
--to=risrajak@linux.vnet.ibm.com \
--cc=kamimura@ryobi.co.jp \
--cc=ltp-list@lists.sourceforge.net \
--cc=mitani@ryobi.co.jp \
/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