public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/5480] New: Long send/expect sequences in the hpd test harness get lost
@ 2007-12-12 17:50 rmoseley at redhat dot com
  2007-12-12 18:50 ` [Bug general/5480] " rmoseley at redhat dot com
  2007-12-17 18:56 ` cagney at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: rmoseley at redhat dot com @ 2007-12-12 17:50 UTC (permalink / raw)
  To: frysk-bugzilla

Long sequences of "e.send/e.expect" seem to make the hpd test harness lose its
mind/get out of sync or something of the sort.  After about 5-6
"e.send/e.expect" exchanges errors start occuring, AFAICT for not reason other
than the test harness  has lost its mind.

I'll put together a test case for this and set it to unresolved.

-- 
           Summary: Long send/expect sequences in the hpd test harness get
                    lost
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: rmoseley at redhat dot com
OtherBugsDependingO 2246
             nThis:


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

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


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

* [Bug general/5480] Long send/expect sequences in the hpd test harness get lost
  2007-12-12 17:50 [Bug general/5480] New: Long send/expect sequences in the hpd test harness get lost rmoseley at redhat dot com
@ 2007-12-12 18:50 ` rmoseley at redhat dot com
  2007-12-17 18:56 ` cagney at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: rmoseley at redhat dot com @ 2007-12-12 18:50 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From rmoseley at redhat dot com  2007-12-12 18:50 -------
Added new test and set it to unresolved:
frysk-core/frysk/hpd/TestHpdTestHarness.java.

-- 


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

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


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

* [Bug general/5480] Long send/expect sequences in the hpd test harness get lost
  2007-12-12 17:50 [Bug general/5480] New: Long send/expect sequences in the hpd test harness get lost rmoseley at redhat dot com
  2007-12-12 18:50 ` [Bug general/5480] " rmoseley at redhat dot com
@ 2007-12-17 18:56 ` cagney at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: cagney at redhat dot com @ 2007-12-17 18:56 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From cagney at redhat dot com  2007-12-17 18:56 -------
After improving EofException and TimeoutException I'm seeing:

./TestRunner -u frysk.hpd.TestHpdTestHarness
Running testKillHpdTestHarness(frysk.hpd.TestHpdTestHarness) ...ERROR (UNRESOLVED)
  http://sourceware.org/bugzilla/show_bug.cgi?id=5480
  frysk.expunit.TimeoutException: timeout of 5expired; expecting:  <<Attached to
process*>>; buffer <<:
/home/scratch/frysk/git/native/frysk-core/frysk/pkglibdir/funit-threads-looper
(fhpd) run
java.lang.RuntimeException: not added
   at frysk.proc.live.LinuxProcState$3.handleDeleteObservation(fhpd)
   at frysk.proc.Proc$16.execute(fhpd)
   at frysk.event.EventLoop.runEventLoop(fhpd)
   at frysk.event.EventLoop.run(fhpd)
Exception in thread "Thread-1" frysk.sys.Errno$Esrch: ptrace: No such process
(op 0x11 (PTRACE_DETACH), pid 19102, addr 0x0, data 0x0)
   at frysk.proc.live.LinuxTask.sendDetach(fhpd)
   at frysk.proc.live.LinuxTaskState$BlockedSignal.handleDetach(fhpd)
   at frysk.proc.Task.performDetach(fhpd)
   at frysk.proc.live.LinuxProcState$Detaching.<init>(fhpd)
   at frysk.proc.live.LinuxProcState$3.handleDetach(fhpd)
   at frysk.proc.Proc$8.execute(fhpd)
   at frysk.event.EventLoop.runEventLoop(fhpd)
   at frysk.event.EventLoop.run(fhpd)
>>

Two things to notice:

-> Expecting <<Attached to process*>>
The pattern should read <<... process.*>>

-> there was a crash - the backtrace in <<...>> is from fhpd



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|frysk-bugzilla at sourceware|rmoseley at redhat dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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

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


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

end of thread, other threads:[~2007-12-17 18:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-12 17:50 [Bug general/5480] New: Long send/expect sequences in the hpd test harness get lost rmoseley at redhat dot com
2007-12-12 18:50 ` [Bug general/5480] " rmoseley at redhat dot com
2007-12-17 18:56 ` cagney 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).