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: ARM port of testsuite and general testsuite fixes


On Wed, Jun 06, 2007 at 03:07:26PM -0500, David Smith wrote:
Quentin Barnes wrote:
There wasn't that much in the log:

I need the output from systemtap.log, not systemtap.sum. The former has the complete output.

That _was_ from systemtap.log. That was as complete as the log gets for this test. Is there a way to get it to put more in the log?

Odd. Here's the start of what I get in systemtap.log when I run cache.exp:


====
Running /home/dsmith/src/systemtap/src/testsuite/systemtap.base/cache.exp ...
Pass 1: parsed user script and 54 library script(s) in 510usr/30sys/534real ms.^M
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) in 10usr/0sys/11real ms.^M
Pass 3: translated to C into "/tmp/stap8DZ2HR/stap_8e7402c8418c2026eb9438cf74d7ebf2_143.c" in 0usr/0sys/1real ms.^M
/home/dsmith/src/systemtap/src/testsuite/.cache_test/cache/8e/stap_8e7402c8418c2026eb9438cf74d7ebf2_143.ko^M
Pass 4: compiled C into "stap_8e7402c8418c2026eb9438cf74d7ebf2_143.ko" in 3040usr/930sys/3832real ms.^M
PASS: BASIC1 wasn't cached
====


I'm unsure as why you aren't getting the full information.

Ah, ha! I do now. It's another expect test script bug. It is
missing its timeout parameter. (Patch below log output.) Still
the same six failures though. Here's the output from cache.exp
after adding the timeout patch:
=====
Running /usr/src/systemtap-20070602/testsuite/systemtap.base/cache.exp ...
Pass 1: parsed user script and 53 library script(s) in 8400usr/9330sys/17801real ms.^M
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) in 120usr/140sys/261real ms.^M
Pass 3: translated to C into "/tmp/stapf82Z9z/stap_ea86208e9a0e159926d52fe9d08590cf_132.c" in 0usr/30sys/53real ms.^M
PASS: BASIC1 wasn't cached
Pass 1: parsed user script and 53 library script(s) in 8550usr/8770sys/17322real ms.^M
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) in 170usr/60sys/222real ms.^M
Pass 3: translated to C into "/tmp/stapUl2TCg/stap_ea86208e9a0e159926d52fe9d08590cf_132.c" in 0usr/30sys/35real ms.^M
FAIL: BASIC2 wasn't cached
Pass 1: parsed user script and 53 library script(s) in 8310usr/9060sys/17389real ms.^M
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) in 100usr/130sys/230real ms.^M
Pass 3: translated to C into "/tmp/stapQnfpEe/stap_b44211db289fab36974b74999b647020_137.c" in 30usr/10sys/37real ms.^M
PASS: OPTION1 wasn't cached
Pass 1: parsed user script and 53 library script(s) in 8650usr/8670sys/17318real ms.^M
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) in 110usr/120sys/227real ms.^M
Pass 3: translated to C into "/tmp/stapLeTwRf/stap_b44211db289fab36974b74999b647020_137.c" in 10usr/10sys/40real ms.^M
FAIL: OPTION2 wasn't cached
Pass 1: parsed user script and 53 library script(s) in 8450usr/8930sys/17378real ms.^M
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) in 130usr/100sys/223real ms.^M
Pass 3: translated to C into "/tmp/stapoagcph/stap_e341abf452ea8c3d30ee724d513400c1_132.c" in 10usr/10sys/35real ms.^M
PASS: BULK1 wasn't cached
Pass 1: parsed user script and 53 library script(s) in 8720usr/8590sys/17325real ms.^M
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) in 160usr/70sys/223real ms.^M
Pass 3: translated to C into "/tmp/stapDviH0r/stap_e341abf452ea8c3d30ee724d513400c1_132.c" in 0usr/30sys/34real ms.^M
FAIL: BULK2 wasn't cached
Pass 1: parsed user script and 53 library script(s) in 8230usr/9140sys/17371real ms.^M
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) in 160usr/70sys/224real ms.^M
Pass 3: translated to C into "/tmp/stapUBa1qz/stap_8cc00e3d47f912c8f34fe70279405613_132.c" in 0usr/40sys/35real ms.^M
PASS: MERGE1 wasn't cached
Pass 1: parsed user script and 53 library script(s) in 8430usr/8870sys/17303real ms.^M
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) in 130usr/90sys/226real ms.^M
Pass 3: translated to C into "/tmp/staptDbJWE/stap_8cc00e3d47f912c8f34fe70279405613_132.c" in 10usr/30sys/34real ms.^M
FAIL: MERGE2 wasn't cached
Pass 1: parsed user script and 53 library script(s) in 8560usr/8800sys/17365real ms.^M
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) in 130usr/100sys/223real ms.^M
Pass 3: translated to C into "/tmp/stapHcuKwX/stap_53f464cf5c18e6dd496a4425f9f5dc5e_155.c" in 0usr/30sys/33real ms.^M
PASS: RUNTIME1 wasn't cached
Pass 1: parsed user script and 53 library script(s) in 8420usr/8950sys/17381real ms.^M
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) in 130usr/100sys/223real ms.^M
Pass 3: translated to C into "/tmp/stap2wg8j5/stap_53f464cf5c18e6dd496a4425f9f5dc5e_155.c" in 0usr/40sys/37real ms.^M
FAIL: RUNTIME2 wasn't cached
Warning: failed to create systemtap data directory ("/dev/null"): Not a directory^M
Disabling cache support.^M
Pass 1: parsed user script and 53 library script(s) in 8600usr/8780sys/17396real ms.^M
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) in 70usr/160sys/229real ms.^M Pass 3: translated to C into "/tmp/stapbmimxe/stap_12000.c" in 10usr/10sys/40real ms.^M
PASS: DISABLED1 wasn't cached
Warning: failed to create systemtap data directory ("/dev/null"): Not a directory^M
Disabling cache support.^M
Pass 1: parsed user script and 53 library script(s) in 8740usr/8550sys/17292real ms.^M
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) in 120usr/110sys/231real ms.^M
Pass 3: translated to C into "/tmp/stapiPc9Og/stap_12097.c" in 10usr/10sys/38real ms.^M
PASS: DISABLED2 wasn't cached
Warning: using '-m' disables cache support.^M
Pass 1: parsed user script and 53 library script(s) in 8680usr/8650sys/17339real ms.^M
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) in 170usr/50sys/226real ms.^M
Pass 3: translated to C into "/tmp/stapPBb0Ib/modnam.c" in 0usr/40sys/36real ms.^M
PASS: MODNAM1 wasn't cached
Warning: using '-m' disables cache support.^M
Pass 1: parsed user script and 53 library script(s) in 8200usr/9160sys/17355real ms.^M
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) in 130usr/90sys/227real ms.^M
Pass 3: translated to C into "/tmp/stapiETKfd/modnam.c" in 10usr/20sys/35real ms.^M
PASS: MODNAM2 wasn't cached
Pass 1: parsed user script and 53 library script(s) in 8430usr/8890sys/17334real ms.^M
semantic error: probe point mismatch at position 0 (alternatives: _addevent _lket_internal _signal addevent begin begin(number) end end(number) generic ioblock ioscheduler kernel lket_internal module(string) netdev never nfs nfsd perfmon process process(number) register_event scheduler scsi signal socket sunrpc syscall tcp timer udp vfs vm) while resolving probe point XbeginX^M
Pass 2: analyzed script: 0 probe(s), 0 function(s), 0 embed(s), 0 global(s) in 140usr/150sys/297real ms.^M
Pass 2: analysis failed. Try again with more '-v' (verbose) options.^M
PASS: ERROR1 wasn't cached
Pass 1: parsed user script and 53 library script(s) in 8610usr/8720sys/17330real ms.^M
semantic error: probe point mismatch at position 0 (alternatives: _addevent _lket_internal _signal addevent begin begin(number) end end(number) generic ioblock ioscheduler kernel lket_internal module(string) netdev never nfs nfsd perfmon process process(number) register_event scheduler scsi signal socket sunrpc syscall tcp timer udp vfs vm) while resolving probe point XbeginX^M
Pass 2: analyzed script: 0 probe(s), 0 function(s), 0 embed(s), 0 global(s) in 100usr/120sys/232real ms.^M
Pass 2: analysis failed. Try again with more '-v' (verbose) options.^M
PASS: ERROR2 wasn't cached
Pass 1: parsed user script and 53 library script(s) in 8500usr/8890sys/17387real ms.^M
Pass 2: analyzed script: 2 probe(s), 0 function(s), 0 embed(s), 0 global(s) in 80usr/150sys/225real ms.^M
Pass 3: translated to C into "/tmp/stap5w570l/stap_3b976153d06020741dca6ae5a4999cc5_165.c" in 10usr/30sys/38real ms.^M
PASS: BASIC3 wasn't cached
Pass 1: parsed user script and 53 library script(s) in 8940usr/8380sys/17335real ms.^M
Pass 2: analyzed script: 2 probe(s), 0 function(s), 0 embed(s), 0 global(s) in 110usr/120sys/230real ms.^M
Pass 3: translated to C into "/tmp/stapWuZstx/stap_3b976153d06020741dca6ae5a4999cc5_165.c" in 0usr/30sys/41real ms.^M
FAIL: BASIC4 wasn't cached testcase /usr/src/systemtap-20070602/testsuite/systemtap.base/cache.exp completed in 735 seconds =====



Index: systemtap.base/cache.exp =================================================================== --- systemtap.base/cache.exp (revision 211) +++ systemtap.base/cache.exp (working copy) @@ -27,6 +27,7 @@ set cached 0 set compile_errors 0 expect { + -timeout 30 -re {^Pass\ [1234]:[^\r]*\ in\ .*\ ms\.\r\n} {exp_continue} -re {^Pass\ [34]: using cached [^\r\n]+\r\n} {incr cached 1; exp_continue} # pass-4 output

David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)

Quentin



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