This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: systemtap testsuite summary report - s390x


Hi Mark,
My comments inline.

Mark Wielaard wrote:
Hi Maran,

On Tue, 2009-08-25 at 10:45 +0530, Maran wrote:
SystemTap translator/driver (version 0.9.9/0.142.90 commit release-0.9.9-172-g4893043)
Arch : s390x
Kernel version : 2.6.31-rc6
Distro : RHEL 5.3

So this is a really old toolchain (gcc 4.1?) but very recent kernel, systemtap and elfutils.

FAIL: compiling inlinedvars.c -O0
FAIL: compiling inlinedvars.c -O1
FAIL: compiling inlinedvars.c -O2
FAIL: compiling inlinedvars.c -O3

They should at least compile :{ Could you post the relevant testsuite/systemtap.log output for these failures?

testsuite/systemtap.log excerpt for the above failures
Running /root/maran/systemtap/s390test/systemtap.git/systemtap/testsuite/systemtap.base/inlinedvars.exp ...
Executing on host: gcc /root/maran/systemtap/s390test/systemtap.git/systemtap/testsuite/systemtap.base/inlinedvars.c -g -O0 -lm -o inlinedvars.exe (timeout = 300)
/tmp/cckvNtVq.s: Assembler messages:
/tmp/cckvNtVq.s:185: Error: missing operand
compiler exited with status 1
output is:
/tmp/cckvNtVq.s: Assembler messages:
/tmp/cckvNtVq.s:185: Error: missing operand
FAIL: K_MARKER23 was cached

This one should be fixed by a recent commit:


commit eee1205e70ce33fd3276baeafea85a77e4bca2e1
Author: Mark Wielaard <mjw@redhat.com>
Date:   Mon Aug 24 17:40:12 2009 +0200

Rename cache.exp proc stap_compile to cache_compile to not conflict.
* testsuite/systemtap.base/cache.exp: Rename proc stap_compile to
cache_compile, to prevent conflict with proc stap_compile from
lib/stap_compile.exp.


Ok I will check this commit.
FAIL: 64-bit access
FAIL: 64-bit acct
FAIL: 64-bit chmod
FAIL: 64-bit dir
FAIL: 64-bit link
FAIL: 64-bit mmap
FAIL: 64-bit net1
FAIL: 64-bit openclose
FAIL: 64-bit poll
FAIL: 64-bit readwrite
FAIL: 64-bit stat
FAIL: 64-bit unlink
FAIL: 32-bit access
FAIL: 32-bit acct
FAIL: 32-bit chmod
FAIL: 32-bit dir
FAIL: 32-bit link
FAIL: 32-bit mmap
FAIL: 32-bit net1
FAIL: 32-bit openclose
FAIL: 32-bit poll
FAIL: 32-bit readwrite
FAIL: 32-bit signal
FAIL: 32-bit stat
FAIL: 32-bit statfs
FAIL: 32-bit unlink

Any hints in the testsuite/systemtap.log file why these are failing?


I could not find any hint from systemtap.log. However I am pasting the relevant log from testsuite/systemtap.log for
FAIL: 64-bit mmap
-------------------------------------------
Testing 64-bit mmap
Executing on host: gcc /root/maran/systemtap/s390test/systemtap.git/systemtap/testsuite/systemtap.syscall/mmap.c -m64 -lm -o /root/maran/systemtap/s390test/systemtap.git/systemtap/testsuite/staptestfp9494/mmap (timeout = 300)
mmap FAILED. output of "stap --skip-badvars -c /root/maran/systemtap/s390test/systemtap.git/systemtap/testsuite/staptestfp9494/mmap /root/maran/systemtap/s390test/systemtap.git/systemtap/testsuite/systemtap.syscall/sys.stp" was:
------------------------------------------
stapio: sigreturn () = -4 (EINTR)
stapio: rt_sigaction (SIGUSR1, {SIG_DFL}, 0x0000000000000000, 8) = 0
stapio: execve (/root/maran/systemtap/s390test/systemtap.git/systemtap/testsuite/staptestfp9494/mmap ) =
mmap: close (5) = 0
0
mmap: brk (0x0000000000000000) = 2147491840
mmap: mmap (0x0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x20000002000
mmap: mmap (0x0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x20000003000
mmap: access (NULL, F_OK) =
mmap: faccessat (AT_FDCWD, "/etc/ld.so.preload", R_OK) = -2 (ENOENT)
-2 (ENOENT)
mmap: open (NULL, O_RDONLY) = -2 (ENOENT)
mmap: stat ("/usr/local/lib/systemtap/tls/z9-109", 0x000003ffffcdb128) =
mmap: stat ("/usr/local/lib/systemtap/tls/z9-109", 0x000003ffffcdb128) = -2 (ENOENT)
-2 (ENOENT)
mmap: open (NULL, O_RDONLY) = -2 (ENOENT)
mmap: stat ("/usr/local/lib/systemtap/tls", 0x000003ffffcdb128) =
mmap: stat ("/usr/local/lib/systemtap/tls", 0x000003ffffcdb128) = -2 (ENOENT)
-2 (ENOENT)
mmap: open (NULL, O_RDONLY) = -2 (ENOENT)
mmap: stat ("/usr/local/lib/systemtap/z9-109", 0x000003ffffcdb128) =
mmap: stat ("/usr/local/lib/systemtap/z9-109", 0x000003ffffcdb128) = -2 (ENOENT)
-2 (ENOENT)
mmap: open (NULL, O_RDONLY) = -2 (ENOENT)
mmap: stat ("/usr/local/lib/systemtap", 0x000003ffffcdb128) =
mmap: stat ("/usr/local/lib/systemtap", 0x000003ffffcdb128) = 0
0
mmap: open (NULL, O_RDONLY) = 5
mmap: fstat (5, 0x000003ffffcdb058) =
mmap: fstat (5, 0x000003ffffcdb058) = 0
0
mmap: mmap (0x0, 69714, PROT_READ, MAP_PRIVATE, 5, 0) = 0x20000004000
mmap: close (5) = 0
mmap: open (NULL, O_RDONLY) = 5
mmap: read (5, 0x000003ffffcdb2b8, 832) = 832
mmap: fstat (5, 0x000003ffffcdb128) =
mmap: fstat (5, 0x000003ffffcdb128) = 0
0
mmap: mmap (0x4a449e9000, 652096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x4a449e9000
mmap: mmap (0x4a44a87000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 643072) = 0x4a44a87000
mmap: close (5) = 0
mmap: open (NULL, O_RDONLY) = -2 (ENOENT)
mmap: open (NULL, O_RDONLY) = 5
mmap: read (5, 0x000003ffffcdb298, 832) = 832
mmap: fstat (5, 0x000003ffffcdb108) =
mmap: fstat (5, 0x000003ffffcdb108) = 0
0
mmap: mmap (0x4a44841000, 1572552, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x4a44841000
mmap: mmap (0x4a449b8000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 1531904) = 0x4a449b8000
mmap: mmap (0x4a449bd000, 16072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4a449bd000
mmap: close (5) = 0
mmap: mmap (0x0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x20000016000
mmap: mmap (0x0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x20000017000
mmap: mprotect (0x0000004a449b8000, 16384, PROT_READ) = 0
mmap: mprotect (0x0000004a44a87000, 4096, PROT_READ) = 0
mmap: mprotect (0x0000004a4483d000, 4096, PROT_READ) = 0
mmap: munmap (0x0000020000004000, 69714) = 0
mmap: open (NULL, O_RDONLY) = 5
mmap: lseek (5, 1024, SEEK_SET) = 1024
mmap: write (5, "abcdef", 6) = 6
mmap: close (5) = 0
mmap: open (NULL, O_RDONLY) = 5
mmap: fstat (5, 0x000003ffffcdbdc0) =
mmap: fstat (5, 0x000003ffffcdbdc0) = 0
0
mmap: mmap (0x0, 1030, PROT_READ, MAP_SHARED, 5, 0) = 0x20000004000
mmap: close (5) = 0
mmap: mlock (0x0000020000004000, 1030) = 0
mmap: msync (0x0000020000004000, 1030, MS_SYNC) = 0
mmap: munlock (0x0000020000004000, 1030) = 0
mmap: mlockall (MCL_CURRENT) = 0
mmap: munlockall () = 0
mmap: munmap (0x0000020000004000, 1030) = 0
mmap: exit_group (0) =
mmap: exit (0) =
WARNING: Bad $context variable being substituted with literal 0: identifier '$fd' at /usr/local/share/systemtap/tapset/syscalls.stp:35:11
source: sockfd = $fd
^
------------------------------------------
RESULTS: ('*' = MATCHED EXPECTED)
mmap: close (5) = 0
mmap: brk (0x0000000000000000) = 2147491840
mmap: mmap (0x0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x20000002000
mmap: mmap (0x0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x20000003000
mmap: access (NULL, F_OK) =
mmap: faccessat (AT_FDCWD, "/etc/ld.so.preload", R_OK) = -2 (ENOENT)
mmap: open (NULL, O_RDONLY) = -2 (ENOENT)
mmap: stat ("/usr/local/lib/systemtap/tls/z9-109", 0x000003ffffcdb128) =
mmap: stat ("/usr/local/lib/systemtap/tls/z9-109", 0x000003ffffcdb128) = -2 (ENOENT)
mmap: open (NULL, O_RDONLY) = -2 (ENOENT)
mmap: stat ("/usr/local/lib/systemtap/tls", 0x000003ffffcdb128) =
mmap: stat ("/usr/local/lib/systemtap/tls", 0x000003ffffcdb128) = -2 (ENOENT)
mmap: open (NULL, O_RDONLY) = -2 (ENOENT)
mmap: stat ("/usr/local/lib/systemtap/z9-109", 0x000003ffffcdb128) =
mmap: stat ("/usr/local/lib/systemtap/z9-109", 0x000003ffffcdb128) = -2 (ENOENT)
mmap: open (NULL, O_RDONLY) = -2 (ENOENT)
mmap: stat ("/usr/local/lib/systemtap", 0x000003ffffcdb128) =
mmap: stat ("/usr/local/lib/systemtap", 0x000003ffffcdb128) = 0
mmap: open (NULL, O_RDONLY) = 5
mmap: fstat (5, 0x000003ffffcdb058) =
mmap: fstat (5, 0x000003ffffcdb058) = 0
mmap: mmap (0x0, 69714, PROT_READ, MAP_PRIVATE, 5, 0) = 0x20000004000
mmap: close (5) = 0
mmap: open (NULL, O_RDONLY) = 5
mmap: read (5, 0x000003ffffcdb2b8, 832) = 832
mmap: fstat (5, 0x000003ffffcdb128) =
mmap: fstat (5, 0x000003ffffcdb128) = 0
mmap: mmap (0x4a449e9000, 652096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x4a449e9000
mmap: mmap (0x4a44a87000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 643072) = 0x4a44a87000
mmap: close (5) = 0
mmap: open (NULL, O_RDONLY) = -2 (ENOENT)
mmap: open (NULL, O_RDONLY) = 5
mmap: read (5, 0x000003ffffcdb298, 832) = 832
mmap: fstat (5, 0x000003ffffcdb108) =
mmap: fstat (5, 0x000003ffffcdb108) = 0
mmap: mmap (0x4a44841000, 1572552, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x4a44841000
mmap: mmap (0x4a449b8000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 1531904) = 0x4a449b8000
mmap: mmap (0x4a449bd000, 16072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4a449bd000
mmap: close (5) = 0
mmap: mmap (0x0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x20000016000
mmap: mmap (0x0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x20000017000
mmap: mprotect (0x0000004a449b8000, 16384, PROT_READ) = 0
mmap: mprotect (0x0000004a44a87000, 4096, PROT_READ) = 0
mmap: mprotect (0x0000004a4483d000, 4096, PROT_READ) = 0
mmap: munmap (0x0000020000004000, 69714) = 0
mmap: open (NULL, O_RDONLY) = 5
mmap: lseek (5, 1024, SEEK_SET) = 1024
mmap: write (5, "abcdef", 6) = 6
mmap: close (5) = 0
mmap: open (NULL, O_RDONLY) = 5
mmap: fstat (5, 0x000003ffffcdbdc0) =
mmap: fstat (5, 0x000003ffffcdbdc0) = 0
mmap: mmap (0x0, 1030, PROT_READ, MAP_SHARED, 5, 0) = 0x20000004000
mmap: close (5) = 0
mmap: mlock (0x0000020000004000, 1030) = 0
mmap: msync (0x0000020000004000, 1030, MS_SYNC) = 0
mmap: munlock (0x0000020000004000, 1030) = 0
mmap: mlockall (MCL_CURRENT) = 0
mmap: munlockall () = 0
mmap: munmap (0x0000020000004000, 1030) = 0
mmap: exit_group (0) =
mmap: exit (0) =
--------- EXPECTED and NOT MATCHED ----------
mmap: open \("foobar", O_WRONLY\|O_CREAT\|O_TRUNC, 0600\) = [\-0-9]+
mmap: close \([\-0-9]+\) = 0
mmap: open \("foobar", O_RDONLY\) = [\-0-9]+
mmap: fstat \([\-0-9]+, [x0-9a-fA-F]+\) = 0
mmap: mmap[2]* \([x0-9a-fA-F]+, 1030, PROT_READ, MAP_SHARED, [\-0-9]+, [x0-9a-fA-F]+\) = [x0-9a-fA-F]+
mmap: mlock \([x0-9a-fA-F]+, 1030\) = 0
mmap: msync \([x0-9a-fA-F]+, 1030, MS_SYNC\) = 0
mmap: munlock \([x0-9a-fA-F]+, 1030\) = 0
mmap: mlockall \(MCL_CURRENT\) =
mmap: munlockall \(\) = 0
mmap: munmap \([x0-9a-fA-F]+, 1030\) = 0
FAIL: 64-bit mmap
FAIL mmap
Thanks,

Mark

Regards,
Maran P.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]