public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/19770] New: on f23 and rawhide, the cast-scope.exp test case has failures
@ 2016-03-04 21:07 dsmith at redhat dot com
  2023-12-06 20:48 ` [Bug translator/19770] " wcohen at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: dsmith at redhat dot com @ 2016-03-04 21:07 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=19770

            Bug ID: 19770
           Summary: on f23 and rawhide, the cast-scope.exp test case has
                    failures
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: dsmith at redhat dot com
  Target Milestone: ---

On f23 (4.4.3-300.fc23.x86_64) and rawhide (4.5.0-0.rc6.git0.1.fc25.x86_64),
the cast-scope.exp test case is failing with the same error:

====
line 1: expected "function direct: {._M_dataplus={._M_p="Hello World!"}}"
Got "semantic error: while processing probe
process("/discer.farm/es/scratch/dsmith/systemtap/f23-64/testsuite/cast-scope-m64.exe").function("length@../../src/testsuite/systemtap.base/cast-scope.cxx:6")
from: process("./cast-scope-m64.exe").function("length@cast-scope.cxx")"
    ""
    "semantic error: type definition 'std::string' not found in
'/discer.farm/es/scratch/dsmith/systemtap/f23-64/testsuite/cast-scope-m64.exe':
operator '@cast' at ../../src/testsuite/systemtap.base/cast-scope.stp:6:53"
    "        source:   function_string .= sprintf("function cast: %s\n",
@cast($str, "std::string")$$)"
    "                                                                    ^"
    ""
    "Pass 2: analysis failed.  [man error::pass2]"
====

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug translator/19770] on f23 and rawhide, the cast-scope.exp test case has failures
  2016-03-04 21:07 [Bug translator/19770] New: on f23 and rawhide, the cast-scope.exp test case has failures dsmith at redhat dot com
@ 2023-12-06 20:48 ` wcohen at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: wcohen at redhat dot com @ 2023-12-06 20:48 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=19770

William Cohen <wcohen at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wcohen at redhat dot com

--- Comment #1 from William Cohen <wcohen at redhat dot com> ---
On x86_64 Fedora 39 stap is able to translate cast-scope.stp, but some of the
tests still FAIL:

Running /usr/share/systemtap/testsuite/systemtap.base/cast-scope.exp ...
Executing on host: g++
/usr/share/systemtap/testsuite/systemtap.base/cast-scope.cxx   -g
-isystem/usr/share/systemtap/testsuite -isystem/usr/include -m64  -lm  -o
cast-scope-m64.exe    (timeout = 300)
spawn -ignore SIGHUP g++
/usr/share/systemtap/testsuite/systemtap.base/cast-scope.cxx -g
-isystem/usr/share/systemtap/testsuite -isystem/usr/include -m64 -lm -o
cast-scope-m64.exe
PASS: cast-scope-m64 compile
executing: stap /usr/share/systemtap/testsuite/systemtap.base/cast-scope.stp -c
./cast-scope-m64.exe
PASS: cast-scope-m64
executing: stap /usr/share/systemtap/testsuite/systemtap.base/cast-scope.stp -c
./cast-scope-m64.exe --runtime=dyninst
PASS: cast-scope-m64-dyninst
Executing on host: g++
/usr/share/systemtap/testsuite/systemtap.base/cast-scope.cxx   -g
-isystem/usr/share/systemtap/testsuite -isystem/usr/include -m32  -lm  -o
cast-scope-m32.exe    (timeout = 300)
spawn -ignore SIGHUP g++
/usr/share/systemtap/testsuite/systemtap.base/cast-scope.cxx -g
-isystem/usr/share/systemtap/testsuite -isystem/usr/include -m32 -lm -o
cast-scope-m32.exe
PASS: cast-scope-m32 compile
executing: stap /usr/share/systemtap/testsuite/systemtap.base/cast-scope.stp -c
./cast-scope-m32.exe
FAIL: cast-scope-m32
line 1: expected "function direct: {._str="Hello World!", ._l=12}"
Got "function direct: ERROR"
    "function cast: ERROR"
    "mark cast: ERROR"
    "statement direct: ERROR"
    "statement cast: ERROR"
executing: stap /usr/share/systemtap/testsuite/systemtap.base/cast-scope.stp -c
./cast-scope-m32.exe --runtime=dyninst
KFAIL: cast-scope-m32-dyninst (PRMS: 14490)
line 1: expected "function direct: {._str="Hello World!", ._l=12}"
Got "--FATAL-- #68: Dyninst was unable to create the specified process"
    "--FATAL-- #68: create process failed bootstrap"
    "stapdyn: ERROR: Couldn't create the target process"
    "WARNING: /usr/bin/stapdyn exited with status: 1"
    "Pass 5: run failed.  [man error::pass5]"
Executing on host: g++
/usr/share/systemtap/testsuite/systemtap.base/cast-scope.cxx   -g
-isystem/usr/share/systemtap/testsuite -isystem/usr/include -m64 -O  -lm  -o
cast-scope-m64-O.exe    (timeout = 300)
spawn -ignore SIGHUP g++
/usr/share/systemtap/testsuite/systemtap.base/cast-scope.cxx -g
-isystem/usr/share/systemtap/testsuite -isystem/usr/include -m64 -O -lm -o
cast-scope-m64-O.exe
PASS: cast-scope-m64-O compile
executing: stap /usr/share/systemtap/testsuite/systemtap.base/cast-scope.stp -c
./cast-scope-m64-O.exe
PASS: cast-scope-m64-O
executing: stap /usr/share/systemtap/testsuite/systemtap.base/cast-scope.stp -c
./cast-scope-m64-O.exe --runtime=dyninst
PASS: cast-scope-m64-O-dyninst
Executing on host: g++
/usr/share/systemtap/testsuite/systemtap.base/cast-scope.cxx   -g
-isystem/usr/share/systemtap/testsuite -isystem/usr/include -m32 -O  -lm  -o
cast-scope-m32-O.exe    (timeout = 300)
spawn -ignore SIGHUP g++
/usr/share/systemtap/testsuite/systemtap.base/cast-scope.cxx -g
-isystem/usr/share/systemtap/testsuite -isystem/usr/include -m32 -O -lm -o
cast-scope-m32-O.exe
PASS: cast-scope-m32-O compile
executing: stap /usr/share/systemtap/testsuite/systemtap.base/cast-scope.stp -c
./cast-scope-m32-O.exe
FAIL: cast-scope-m32-O
line 1: expected "function direct: {._str="Hello World!", ._l=12}"
Got "ERROR: read fault [man error::fault] at 0x4 near identifier '$str' at
/usr/share/systemtap/testsuite/systemtap.base/cast-scope.stp:6:59"
    "WARNING: Number of errors: 1, skipped probes: 0"
    "WARNING: /usr/bin/staprun exited with status: 1"
    "Pass 5: run failed.  [man error::pass5]"
executing: stap /usr/share/systemtap/testsuite/systemtap.base/cast-scope.stp -c
./cast-scope-m32-O.exe --runtime=dyninst
KFAIL: cast-scope-m32-O-dyninst (PRMS: 14490)
line 1: expected "function direct: {._str="Hello World!", ._l=12}"
Got "--FATAL-- #68: Dyninst was unable to create the specified process"
    "--FATAL-- #68: create process failed bootstrap"
    "stapdyn: ERROR: Couldn't create the target process"
    "WARNING: /usr/bin/stapdyn exited with status: 1"
    "Pass 5: run failed.  [man error::pass5]"
Executing on host: g++
/usr/share/systemtap/testsuite/systemtap.base/cast-scope.cxx   -g
-isystem/usr/share/systemtap/testsuite -isystem/usr/include -m64 -O2  -lm  -o
cast-scope-m64-O2.exe    (timeout = 300)
spawn -ignore SIGHUP g++
/usr/share/systemtap/testsuite/systemtap.base/cast-scope.cxx -g
-isystem/usr/share/systemtap/testsuite -isystem/usr/include -m64 -O2 -lm -o
cast-scope-m64-O2.exe
PASS: cast-scope-m64-O2 compile
executing: stap /usr/share/systemtap/testsuite/systemtap.base/cast-scope.stp -c
./cast-scope-m64-O2.exe
PASS: cast-scope-m64-O2
executing: stap /usr/share/systemtap/testsuite/systemtap.base/cast-scope.stp -c
./cast-scope-m64-O2.exe --runtime=dyninst
PASS: cast-scope-m64-O2-dyninst
Executing on host: g++
/usr/share/systemtap/testsuite/systemtap.base/cast-scope.cxx   -g
-isystem/usr/share/systemtap/testsuite -isystem/usr/include -m32 -O2  -lm  -o
cast-scope-m32-O2.exe    (timeout = 300)
spawn -ignore SIGHUP g++
/usr/share/systemtap/testsuite/systemtap.base/cast-scope.cxx -g
-isystem/usr/share/systemtap/testsuite -isystem/usr/include -m32 -O2 -lm -o
cast-scope-m32-O2.exe
PASS: cast-scope-m32-O2 compile
executing: stap /usr/share/systemtap/testsuite/systemtap.base/cast-scope.stp -c
./cast-scope-m32-O2.exe
FAIL: cast-scope-m32-O2
line 1: expected "function direct: {._str="Hello World!", ._l=12}"
Got "ERROR: read fault [man error::fault] at 0x4 near identifier '$str' at
/usr/share/systemtap/testsuite/systemtap.base/cast-scope.stp:6:59"
    "WARNING: Number of errors: 1, skipped probes: 0"
    "WARNING: /usr/bin/staprun exited with status: 1"
    "Pass 5: run failed.  [man error::pass5]"
executing: stap /usr/share/systemtap/testsuite/systemtap.base/cast-scope.stp -c
./cast-scope-m32-O2.exe --runtime=dyninst
KFAIL: cast-scope-m32-O2-dyninst (PRMS: 14490)
line 1: expected "function direct: {._str="Hello World!", ._l=12}"
Got "--FATAL-- #68: Dyninst was unable to create the specified process"
    "--FATAL-- #68: create process failed bootstrap"
    "stapdyn: ERROR: Couldn't create the target process"
    "WARNING: /usr/bin/stapdyn exited with status: 1"
    "Pass 5: run failed.  [man error::pass5]"
testcase /usr/share/systemtap/testsuite/systemtap.base/cast-scope.exp completed
in 53 seconds

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-06 20:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-04 21:07 [Bug translator/19770] New: on f23 and rawhide, the cast-scope.exp test case has failures dsmith at redhat dot com
2023-12-06 20:48 ` [Bug translator/19770] " wcohen at redhat 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).