public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug testsuite/10335] New: systemtap.base/strftime.exp hangs
@ 2009-06-26  7:47 mjw at redhat dot com
  2009-06-26 14:39 ` [Bug testsuite/10335] " mjw at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: mjw at redhat dot com @ 2009-06-26  7:47 UTC (permalink / raw)
  To: systemtap

Occasionally the systemtap.base/strftime.exp hangs. A killall ls (twice) makes
it going again.

Process list looks like:
 2888 ?        Sl     0:01 gnome-terminal --geometry=80x58
 2889 ?        S      0:00  \_ gnome-pty-helper
 2890 pts/0    Ss     0:00  \_ bash
 4303 pts/0    S+     0:00  |   \_ make installcheck
 4560 pts/0    S+     0:00  |       \_ make -C testsuite installcheck RUNTESTFLA
 4562 pts/0    S+     0:00  |           \_ make check-DEJAGNU RUNTESTFLAGS= --to
 4563 pts/0    S+     0:00  |               \_ /bin/sh -c srcdir=`CDPATH="${ZSH_
 4610 pts/0    S+     0:00  |                   \_ /bin/sh ./execrc runtest --to
 4611 pts/0    S+     0:01  |                       \_ expect -- /usr/share/deja
13851 ?        Zs     0:00  |                           \_ [stap] <defunct>
14036 ?        Zs     0:00  |                           \_ [stap] <defunct>
14221 ?        Zs     0:00  |                           \_ [stap] <defunct>
14406 ?        Zs     0:00  |                           \_ [stap] <defunct>
16340 ?        Zs     0:00  |                           \_ [stap] <defunct>
18247 ?        Zs     0:04  |                           \_ [ls_4611] <defunct>
18439 ?        Zs     0:00  |                           \_ [ls_4611] <defunct>
18631 ?        Zs     0:00  |                           \_ [ls_4611] <defunct>
18823 ?        Zs     0:00  |                           \_ [ls_4611] <defunct>
19765 ?        Zs     0:00  |                           \_ [sh] <defunct>
19770 ?        Zs     0:00  |                           \_ [stap] <defunct>
19781 ?        Zs     0:00  |                           \_ [stap] <defunct>
19785 ?        Zs     0:00  |                           \_ [sh] <defunct>
19790 ?        Zs     0:00  |                           \_ [stap] <defunct>
22629 ?        Zs     0:01  |                           \_ [stap] <defunct>
23921 ?        Zs     0:00  |                           \_ [stap] <defunct>
 1513 ?        Zs     0:00  |                           \_ [stap] <defunct>
 1996 ?        Zs     0:00  |                           \_ [stap] <defunct>
 2414 ?        Zs     0:01  |                           \_ [stap] <defunct>
 2850 ?        Zs     0:00  |                           \_ [stap] <defunct>
 2854 ?        Zs     0:00  |                           \_ [stap] <defunct>
 2857 ?        Zs     0:00  |                           \_ [stap] <defunct>
 3062 pts/17   Ss+    0:00  |                           \_ ls -1
 2919 pts/1    Ss     0:00  \_ bash
 7037 pts/1    S+     0:00  |   \_ tail -f testsuite/systemtap.log
 3067 pts/18   Ss     0:00  \_ bash
 3096 pts/18   R+     0:00      \_ ps axf

testsuite/systemtap.log has:
Running /home/mark/src/systemtap/testsuite/systemtap.base/strftime.exp ...
%07_09:36:07

After kill the ls process testsuite/systemtap.log has:
Running /home/mark/src/systemtap/testsuite/systemtap.base/strftime.exp ...
%07_09:36:07PASS: strftime (%S and %T)
%07_09:36:07
%,20,2009,09,06,26,26,2009-06-26,09,09,177, 9, 9,43,09:43,5,5

And another ls process seems stuck:

 2889 ?        S      0:00  \_ gnome-pty-helper
 2890 pts/0    Ss     0:00  \_ bash
 4303 pts/0    S+     0:00  |   \_ make installcheck
 4560 pts/0    S+     0:00  |       \_ make -C testsuite installcheck RUNTESTFLAGS=
 4562 pts/0    S+     0:00  |           \_ make check-DEJAGNU RUNTESTFLAGS=
--tool_opts \'install \'
 4563 pts/0    S+     0:00  |               \_ /bin/sh -c
srcdir=`CDPATH="${ZSH_VERSION+.}:" && cd . && pwd`; export srcdir;
\?EXPECT=expect; export EXPECT; \?runtest="env SYST
 4610 pts/0    S+     0:00  |                   \_ /bin/sh ./execrc runtest
--tool systemtap --tool_opts '' --srcdir /home/mark/src/systemtap/testsuite
--tool_opts 'install '
 4611 pts/0    S+     0:01  |                       \_ expect --
/usr/share/dejagnu/runtest.exp --tool systemtap --tool_opts  --srcdir
/home/mark/src/systemtap/testsuite --tool
13851 ?        Zs     0:00  |                           \_ [stap] <defunct>
14036 ?        Zs     0:00  |                           \_ [stap] <defunct>
14221 ?        Zs     0:00  |                           \_ [stap] <defunct>
14406 ?        Zs     0:00  |                           \_ [stap] <defunct>
16340 ?        Zs     0:00  |                           \_ [stap] <defunct>
18247 ?        Zs     0:04  |                           \_ [ls_4611] <defunct>
18439 ?        Zs     0:00  |                           \_ [ls_4611] <defunct>
18631 ?        Zs     0:00  |                           \_ [ls_4611] <defunct>
18823 ?        Zs     0:00  |                           \_ [ls_4611] <defunct>
19765 ?        Zs     0:00  |                           \_ [sh] <defunct>
19770 ?        Zs     0:00  |                           \_ [stap] <defunct>
19781 ?        Zs     0:00  |                           \_ [stap] <defunct>
19785 ?        Zs     0:00  |                           \_ [sh] <defunct>
19790 ?        Zs     0:00  |                           \_ [stap] <defunct>
22629 ?        Zs     0:01  |                           \_ [stap] <defunct>
23921 ?        Zs     0:00  |                           \_ [stap] <defunct>
 1513 ?        Zs     0:00  |                           \_ [stap] <defunct>
 1996 ?        Zs     0:00  |                           \_ [stap] <defunct>
 2414 ?        Zs     0:01  |                           \_ [stap] <defunct>
 2850 ?        Zs     0:00  |                           \_ [stap] <defunct>
 2854 ?        Zs     0:00  |                           \_ [stap] <defunct>
 2857 ?        Zs     0:00  |                           \_ [stap] <defunct>
 3163 pts/19   Ss+    0:00  |                           \_ ls -1
 2919 pts/1    Ss     0:00  \_ bash
 7037 pts/1    S+     0:00  |   \_ tail -f testsuite/systemtap.log
 3067 pts/18   Rs     0:00  \_ bash
 3166 pts/18   R+     0:00      \_ ps axf

killing that ls -1 process starts things again and testsuite/systemtap.log says:

Running /home/mark/src/systemtap/testsuite/systemtap.base/strftime.exp ...
%07_09:36:07PASS: strftime (%S and %T)
%07_09:36:07
%,20,2009,09,06,26,26,2009-06-26,09,09,177, 9, 9,43,09:43,5,5PASS: strftime
(except %S and %T)
testcase /home/mark/src/systemtap/testsuite/systemtap.base/strftime.exp
completed in 573 seconds

This is on 2.6.29.5-191.fc11.x86_64 against systemtap git version 0.9.8/0.141
commit release-0.9.8-108-gf1d04fa

-- 
           Summary: systemtap.base/strftime.exp hangs
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: mjw at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=10335

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

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

* [Bug testsuite/10335] systemtap.base/strftime.exp hangs
  2009-06-26  7:47 [Bug testsuite/10335] New: systemtap.base/strftime.exp hangs mjw at redhat dot com
@ 2009-06-26 14:39 ` mjw at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: mjw at redhat dot com @ 2009-06-26 14:39 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mjw at redhat dot com  2009-06-26 14:39 -------
commit f0d57904d70d912ca3fc82eeaaacccdac0307a87
Author: Mark Wielaard <mjw@redhat.com>
Date:   Fri Jun 26 16:36:58 2009 +0200

    PR10335 systemtap.base/strftime.exp hangs.
    
    This only happened if there was a lot of cruft in the testsuite dir since
    expect wasn't "draining" the output of the spawned ls command for some
    reason. Work around it by just using tcl file globs to match.
    
    * testsuite/systemtap.base/strftime.exp: Test with glob and file exists.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=10335

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

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

end of thread, other threads:[~2009-06-26 14:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-26  7:47 [Bug testsuite/10335] New: systemtap.base/strftime.exp hangs mjw at redhat dot com
2009-06-26 14:39 ` [Bug testsuite/10335] " mjw 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).