OpenSolaris

Printable Version Enter a New Search
Bug ID 6576041
Synopsis ERROR: /opt/SUNWdtrt/tst/common/usdt/tst.dlclose1.ksh stdout mismatch
State 10-Fix Delivered (Fix available in build)
Category:Subcategory utility:dtest
Keywords
Responsible Engineer Adam Leventhal
Reported Against snv_68
Duplicate Of
Introduced In
Commit to Fix snv_72
Fixed In snv_72
Release Fixed solaris_nevada(snv_72)
Related Bugs
Submit Date 2-July-2007
Last Update Date 19-October-2007
Description
During snv_68 testing in ON PIT Ireland we have seen testcase tst.dlclose1.ksh failing twice on a Pentium 4 machine with the following log :

 dtrace: buffer size lowered to 2m
 dtrace: failed to match test_prov*:::: No probe matches description
    ID   PROVIDER            MODULE                          FUNCTION NAME
                      FUNCTION NAME
 
Note that the same testcase passed fine on other P4 machines.
[ahl 7.2.2007]

The test is correct as written as the expectation is that the attempt to list probes will fail. If you look at tst.dlclose1.ksh.out you can see this in the expected output. It sounds like the issue is that there's some spurious difference on this small memory configuration machine. Can you please send or point me to the failure.N directory so I can verify this?
As said above, it turns out that the testcase actually ran fine. The failure is generated because when dtrace buffer is re-sized it generates some unexpected output which does not match the content of tst.dlclose1.ksh.out.

We expect :
dtrace: failed to match test_prov*:::: No probe matches description
   ID   PROVIDER            MODULE                          FUNCTION NAME 

But we get : 
dtrace: buffer size lowered to 2m
dtrace: failed to match test_prov*:::: No probe matches description
    ID   PROVIDER            MODULE                          FUNCTION NAME

So it looks like dtrt harness should remove buffer resizing message before comparing outputs.
Work Around
N/A
Comments
N/A