public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "Spirakis, Charles" <charles.spirakis@intel.com>
To: <penghb2002@yahoo.com.cn>
Cc: <systemtap@sources.redhat.com>
Subject: RE: Expected errors from make check?
Date: Tue, 30 Aug 2005 02:00:00 -0000	[thread overview]
Message-ID: <2CB9B46A0690824693581340E23B4E1004ED0128@scsmsx401.amr.corp.intel.com> (raw)

Using a similar modification (I used pushd/popd instead of cd), I get the same failures. Interestingly, if I add the -v into the failing scripts, they then are listed as passing...

-- charles

The output of the five.stp without -v (from the command line - same as the make check error):

[cspiraki@cspiraki-lnote src]$ testsuite/buildok/five.stp
Pass 4: compilation failed.  Try again with '-v' (verbose) option.

The output of the five.stp with the -v option (from the command line - make check says success):

[cspiraki@cspiraki-lnote src]$ testsuite/buildok/five.stp
stap: invalid option --
SystemTap translator/driver (version 0.3.1 built 2005-08-29)
Copyright (C) 2005 Red Hat, Inc.
This is free software; see the source for copying conditions.

Usage: stap [options] FILE         Run script in file.
   or: stap [options] -            Run script on stdin.
   or: stap [options] -e SCRIPT    Run given script.

Options:
   --         no more options after this
   -v         verbose [set]
   -h         show help
   -V         show version
   -k         keep temporary directory
   -g         guru mode
   -p NUM     stop after pass NUM 1-5
              (parse, elaborate, translate, compile, run)
   -I DIR     look in DIR for additional .stp script files, in addition to
              /usr/local/share/systemtap/tapset
   -R DIR     look in DIR for runtime, instead of
              /usr/local/share/systemtap/runtime
   -m MODULE  set probe module name, instead of
              stap_500_1125366877
   -o FILE    send output to file instead of stdout
 

> -----Original Message-----
> From: systemtap-owner@sources.redhat.com 
> [mailto:systemtap-owner@sources.redhat.com] On Behalf Of Peng Hongbo
> Sent: Monday, August 29, 2005 6:27 PM
> To: Spirakis, Charles
> Cc: systemtap@sources.redhat.com
> Subject: Re: Expected errors from make check?
> 
> ======= 2005-08-29 17:06:00 from Spirakis, Charles=======
> 
> >All --
> >
> >Seems like there may be a path issue or something with the makefile 
> >check/test scripts (see below). System is i686 running FC4 using the 
> >elfutils 114 via SRPMS.
> >
> 
> After modifying runtest.sh, I found 4 FAILs.
> 
> FAIL: ./testsuite/buildok/five.stp
> FAIL: ./testsuite/buildok/four.stp
> FAIL: ./testsuite/buildok/seven.stp
> FAIL: ./testsuite/buildok/six.stp
> 
> For four.stp, the detail err log is:
> # ./runtest.sh testsuite/buildok/four.stp -v # cat 
> testsuite/buildok-four.stp.err Created temporary directory 
> "/tmp/stapfz7WkA"
> Searched '/tmp/systemtap/src/tapset/2.6.11-1.1369_FC4/*.stp', 
> match count 0 Searched 
> '/tmp/systemtap/src/tapset/2.6.11/*.stp', match count 0 
> Searched '/tmp/systemtap/src/tapset/2.6/*.stp', match count 0 
> Searched '/tmp/systemtap/src/tapset/*.stp', match count 3 
> Pass 1: parsed user script and 3 library script(s).
> parsed '*' -> func '*'
> pattern 'ext3' matches module 'ext3'
> focused on module 'ext3' = [cca56000-cca765c9, bias 0]
> WARNING: dwfl_module_getdwarf() : relocation refers to 
> undefined symbol
> WARNING: no dwarf info found for module ext3 semantic error: 
> no match for probe point
>          while: resolving probe point 
> module("ext3").function("*") Pass 2: analyzed user script.  0 
> probe(s), 0 function(s), 0 global(s).
> Pass 2: analysis failed.  Try again with '-v' (verbose) option.
> Running /bin/rm -rf /tmp/stapfz7WkA
> # 
> 
> 
> 
> --- src/runtest.sh      2005-08-21 20:11:41.000000000 +0800
> +++ src.new/runtest.sh  2005-08-30 10:07:47.000000000 +0800
> @@ -6,8 +6,8 @@ if [ ! -d testsuite ]; then
>    mkdir -p testsuite
>  fi
>  
> -SRCDIR=`dirname $0`
> -export SRCDIR
> +cd `dirname $0`
> +export SRCDIR=${PWD}
>  
>  SYSTEMTAP_TAPSET=$SRCDIR/tapset
>  export SYSTEMTAP_TAPSET
> 
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> 雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱
> http://cn.mail.yahoo.com/?id=77071
> 
> 

             reply	other threads:[~2005-08-30  2:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-30  2:00 Spirakis, Charles [this message]
     [not found] <45305.7544692003$1125365259@news.gmane.org>
2005-08-30  2:14 ` Frank Ch. Eigler
  -- strict thread matches above, loose matches on Subject: below --
2005-08-30  1:27 Peng Hongbo
2005-08-30  0:08 Spirakis, Charles
2005-08-30  1:00 ` Frank Ch. Eigler

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=2CB9B46A0690824693581340E23B4E1004ED0128@scsmsx401.amr.corp.intel.com \
    --to=charles.spirakis@intel.com \
    --cc=penghb2002@yahoo.com.cn \
    --cc=systemtap@sources.redhat.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).