From: Rishikesh <risrajak@linux.vnet.ibm.com>
To: Garrett Cooper <yanegomi@gmail.com>
Cc: LTP list <ltp-list@lists.sourceforge.net>
Subject: Re: [LTP] Race in utimensat.sh
Date: Fri, 05 Feb 2010 11:18:50 +0530 [thread overview]
Message-ID: <4B6BB142.8020303@linux.vnet.ibm.com> (raw)
In-Reply-To: <364299f41002042052p28f48b22i58b16e9cf14bf13f@mail.gmail.com>
On 02/05/2010 10:22 AM, Garrett Cooper wrote:
> There's a race condition somewhere in utimensat.sh from what I've
> seen where one of the processes executes and then it blocks
> indefinitely [I was stracing the script and it was blocking on a
> wait(2) call]. Have others seen similar issues?
>
Hi Garret,
I tested with 2.6.32 kernel and i did not face this issue. Below is the
resule.
Also glibc-2.11.1-0.1.3 .
@List, Please inform us if you are facing the issue with package &
kernel version mentioned by garret.
...
============================================================
tv_sec should be ignored if tv_nsec is UTIME_OMIT or UTIME_NOW
***** Testing times=={ UTIME_NOW, UTIME_NOW } case *****
Pathname test
Owner=nobody; perms=-rw-------; EFAs=---
cp: `/opt/ltp/testcases/bin/utimensat01' and `./utimensat01' are the
same file
./utimensat01 -q /tmp/ltp-yMUOddEzJT/utimensat_tests/utimensat.test_file
1 n 1 n
EXPECTED: SUCCESS y y
RESULT: SUCCESS 1265348846 1265348846
PASSED test 98
***** Testing times=={ UTIME_OMIT, UTIME_OMIT } case *****
Pathname test
Owner=nobody; perms=-rw-------; EFAs=---
cp: `/opt/ltp/testcases/bin/utimensat01' and `./utimensat01' are the
same file
./utimensat01 -q /tmp/ltp-yMUOddEzJT/utimensat_tests/utimensat.test_file
1 o 1 o
EXPECTED: SUCCESS n n
RESULT: SUCCESS 0 0
PASSED test 99
============================================================
Linux mhs21a 2.6.32 #1 SMP 2010-01-25 17:19:14 +0100 x86_64 x86_64
x86_64 GNU/Linux
Fri Feb 5 11:17:27 IST 2010
Total tests: 99; passed: 99; failed: 0
<<<execution_status>>>
initiation_status="ok"
duration=5 termination_type=exited termination_id=0 corefile=no
cutime=162 cstime=308
<<<test_end>>>
INFO: ltp-pan reported all tests PASS
LTP Version: LTP-20100131
###############################################################"
Done executing testcases."
LTP Version: LTP-20100131
###############################################################"
mhs21a:/opt/ltp #
Fri Feb 5 10:39:19 IST 2010
Total tests: 99; passed: 99; failed: 0
Thanks
Rishi
> gcooper@orangebox /scratch/ltp $ emerge --info
> Portage 2.1.7.16 (default/linux/amd64/10.0, gcc-4.3.4,
> glibc-2.10.1-r1, 2.6.31-gentoo-r6 x86_64)
> =================================================================
> System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9400_@_2.66GHz-with-gentoo-1.12.13
> Timestamp of tree: Sat, 30 Jan 2010 09:30:01 +0000
> app-shells/bash: 4.0_p35
> dev-java/java-config: 2.1.9-r2
> dev-lang/python: 2.6.4
> sys-apps/baselayout: 1.12.13
> sys-apps/sandbox: 1.6-r2
> sys-devel/autoconf: 2.13, 2.63-r1
> sys-devel/automake: 1.9.6-r2, 1.10.2
> sys-devel/binutils: 2.18-r3
> sys-devel/gcc-config: 1.4.1
> sys-devel/libtool: 2.2.6b
> virtual/os-headers: 2.6.27-r2
>
> Thanks,
> -Garrett
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list
>
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
prev parent reply other threads:[~2010-02-05 5:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-05 4:52 [LTP] Race in utimensat.sh Garrett Cooper
2010-02-05 5:48 ` Rishikesh [this message]
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=4B6BB142.8020303@linux.vnet.ibm.com \
--to=risrajak@linux.vnet.ibm.com \
--cc=ltp-list@lists.sourceforge.net \
--cc=yanegomi@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