From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28041 invoked by alias); 30 Jan 2015 01:55:38 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 27737 invoked by uid 48); 30 Jan 2015 01:55:30 -0000 From: "wcohen at redhat dot com" To: systemtap@sourceware.org Subject: [Bug translator/17906] New: The test to restrict nearest probes to ABSOLUTE and RELATIVE causing unprivileged_probes.exp tests with wildcards to fail Date: Fri, 30 Jan 2015 01:55:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: translator X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wcohen at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q1/txt/msg00099.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17906 Bug ID: 17906 Summary: The test to restrict nearest probes to ABSOLUTE and RELATIVE causing unprivileged_probes.exp tests with wildcards to fail Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: translator Assignee: systemtap at sourceware dot org Reporter: wcohen at redhat dot com When reviewing tests I found that a number of the tests (about 60) in unprivileged_probes.exp were failing in: make installcheck RUNTESTFLAGS="--debug systemtap.unprivileged/unprivileged_probes.exp" The tests were working in the systemtap-2.6 release. The tests are now failing like the following expert from systemtap.log: eval exec stap -p2 --unprivileged -e {probe process.library("libfoo.so").statement("libfoofunc@libfoo.c:*").nearest { println ("Hello"); exit (); }} -c ./foo semantic error: while resolving probe point: identifier 'process' at :1:7 source: probe process.library("libfoo.so").statement("libfoofunc@libfoo.c:*").nearest { println ("Hello"); exit (); } ^ semantic error: .nearest is only valid with absolute or relative line numbers Pass 2: analysis failed. [man error::pass2] FAIL: unprivileged probes: --unprivileged process.library(string).statement(string).nearest A git bisect tracked the problem down to: $ git bisect bad 2ff2868418227fcce0319020b02c9f4dc5ef6274 is the first bad commit commit 2ff2868418227fcce0319020b02c9f4dc5ef6274 Author: Jonathan Lebon Date: Tue Sep 2 12:00:42 2014 -0400 nearest probes: restrict to ABSOLUTE and RELATIVE :100644 100644 eda0e3c937da791270a68daf6976362da5e248ef fc45b76e84f556355d52c4c4027f2d978b84bd88 M tapsets.cxx It looks like this doesn't accept wildcards and will cause them to be flagged as errors. -- You are receiving this mail because: You are the assignee for the bug.