* [Bug testsuite/4902] New: systemtap.syscall/futime test failing.
@ 2007-08-07 8:12 dwilder at us dot ibm dot com
2007-08-10 20:19 ` [Bug testsuite/4902] " wcohen at redhat dot com
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: dwilder at us dot ibm dot com @ 2007-08-07 8:12 UTC (permalink / raw)
To: systemtap
Here is the expected results and the real results. The format of the "times" do
not match(??) This was observered on a s390.
---cut----
futimes: utime ("foobar", [2001/09/09-01:46:40, 2033/05/18-03:33:20]) = 0
--------- EXPECTED and NOT MATCHED ----------
futimes: utimes \("foobar", \[1000000000.001234\]\[2000000000.005678\]\)
--
Summary: systemtap.syscall/futime test failing.
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: testsuite
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: dwilder at us dot ibm dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=4902
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/4902] systemtap.syscall/futime test failing.
2007-08-07 8:12 [Bug testsuite/4902] New: systemtap.syscall/futime test failing dwilder at us dot ibm dot com
@ 2007-08-10 20:19 ` wcohen at redhat dot com
2007-08-16 16:38 ` hunt at redhat dot com
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: wcohen at redhat dot com @ 2007-08-10 20:19 UTC (permalink / raw)
To: systemtap
------- Additional Comments From wcohen at redhat dot com 2007-08-10 14:41 -------
The futimes test has passed on other machines. Does the s390 have a wrapper that
uses utime for utimes? That would explain the differences in the system calls
(utime vs. utimes) and the difference in the argument handling.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4902
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/4902] systemtap.syscall/futime test failing.
2007-08-07 8:12 [Bug testsuite/4902] New: systemtap.syscall/futime test failing dwilder at us dot ibm dot com
2007-08-10 20:19 ` [Bug testsuite/4902] " wcohen at redhat dot com
@ 2007-08-16 16:38 ` hunt at redhat dot com
2007-09-06 18:56 ` dwilder at us dot ibm dot com
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: hunt at redhat dot com @ 2007-08-16 16:38 UTC (permalink / raw)
To: systemtap
------- Additional Comments From hunt at redhat dot com 2007-08-16 16:03 -------
I'm not sure what is going on here. Please try the following
Do a cvs update
cd to testsuite/systemtap.syscall
compile futimes; gcc -o futimes futimes.c
./all_syscalls.stp -c ./futimes | grep utim
Then post the output here.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |hunt at redhat dot com
Status|NEW |WAITING
http://sourceware.org/bugzilla/show_bug.cgi?id=4902
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/4902] systemtap.syscall/futime test failing.
2007-08-07 8:12 [Bug testsuite/4902] New: systemtap.syscall/futime test failing dwilder at us dot ibm dot com
2007-08-10 20:19 ` [Bug testsuite/4902] " wcohen at redhat dot com
2007-08-16 16:38 ` hunt at redhat dot com
@ 2007-09-06 18:56 ` dwilder at us dot ibm dot com
2007-09-11 4:00 ` dwilder at us dot ibm dot com
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: dwilder at us dot ibm dot com @ 2007-09-06 18:56 UTC (permalink / raw)
To: systemtap
------- Additional Comments From dwilder at us dot ibm dot com 2007-09-06 17:22 -------
Here is th output you wanted. (this is from the the 9/1 snapshot. I did not do
the cvs update. Is there a change you needed me to pickup? Do to firewalls I
can run cvs update directly on the target system. But will update the code if
it is needed)
kernel.function("sys_utime@fs/utimes.c:26")
kernel.function("sys_utime@fs/utimes.c:26")
kernel.function("sys_futimesat@fs/utimes.c:158")
kernel.function("sys_futimesat@fs/utimes.c:158")
Clearly userspace is mapping utimes to utime. Here is strace output of the same.
futimes.creat("foobar", 0666) = 3
utime("foobar", [2001/09/08-18:46:40, 2033/05/17-20:33:20]) = 0
utime("/proc/self/fd/3", [2001/09/08-18:46:40, 2033/05/17-20:33:20]) = 0
futimesat(7, "foobar", {1000000000, 1234}) = -1 EBADF (Bad file descriptor)
futimesat(AT_FDCWD, "foobar", {1000000000, 1234}) = 0
exit_group(0) = ?
I am not sure why the mapping is done as both utimes and utime syscalls are
defined in the kernel. I don't see much we can do here other than make a s390
spicific test or just make it a KFAIL on S390.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
http://sourceware.org/bugzilla/show_bug.cgi?id=4902
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/4902] systemtap.syscall/futime test failing.
2007-08-07 8:12 [Bug testsuite/4902] New: systemtap.syscall/futime test failing dwilder at us dot ibm dot com
` (2 preceding siblings ...)
2007-09-06 18:56 ` dwilder at us dot ibm dot com
@ 2007-09-11 4:00 ` dwilder at us dot ibm dot com
2007-09-11 12:11 ` dwilder at us dot ibm dot com
2007-09-11 13:52 ` dwilder at us dot ibm dot com
5 siblings, 0 replies; 7+ messages in thread
From: dwilder at us dot ibm dot com @ 2007-09-11 4:00 UTC (permalink / raw)
To: systemtap
------- Additional Comments From dwilder at us dot ibm dot com 2007-09-11 01:26 -------
It s390 spicific so I will assign it my myself.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
http://sourceware.org/bugzilla/show_bug.cgi?id=4902
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/4902] systemtap.syscall/futime test failing.
2007-08-07 8:12 [Bug testsuite/4902] New: systemtap.syscall/futime test failing dwilder at us dot ibm dot com
` (3 preceding siblings ...)
2007-09-11 4:00 ` dwilder at us dot ibm dot com
@ 2007-09-11 12:11 ` dwilder at us dot ibm dot com
2007-09-11 13:52 ` dwilder at us dot ibm dot com
5 siblings, 0 replies; 7+ messages in thread
From: dwilder at us dot ibm dot com @ 2007-09-11 12:11 UTC (permalink / raw)
To: systemtap
------- Additional Comments From dwilder at us dot ibm dot com 2007-09-11 01:28 -------
Woops updated the wrong bug. Back to systemtap.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4902
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/4902] systemtap.syscall/futime test failing.
2007-08-07 8:12 [Bug testsuite/4902] New: systemtap.syscall/futime test failing dwilder at us dot ibm dot com
` (4 preceding siblings ...)
2007-09-11 12:11 ` dwilder at us dot ibm dot com
@ 2007-09-11 13:52 ` dwilder at us dot ibm dot com
5 siblings, 0 replies; 7+ messages in thread
From: dwilder at us dot ibm dot com @ 2007-09-11 13:52 UTC (permalink / raw)
To: systemtap
------- Additional Comments From dwilder at us dot ibm dot com 2007-09-11 03:59 -------
How about
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|systemtap at sources dot |dwilder at us dot ibm dot
|redhat dot com |com
http://sourceware.org/bugzilla/show_bug.cgi?id=4902
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-09-11 4:00 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-07 8:12 [Bug testsuite/4902] New: systemtap.syscall/futime test failing dwilder at us dot ibm dot com
2007-08-10 20:19 ` [Bug testsuite/4902] " wcohen at redhat dot com
2007-08-16 16:38 ` hunt at redhat dot com
2007-09-06 18:56 ` dwilder at us dot ibm dot com
2007-09-11 4:00 ` dwilder at us dot ibm dot com
2007-09-11 12:11 ` dwilder at us dot ibm dot com
2007-09-11 13:52 ` dwilder at us dot ibm dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).