You are viewing a plain text version of this content. The canonical link for it is here.
Posted to olio-user@incubator.apache.org by hao zhang <ju...@gmail.com> on 2010/06/26 00:55:50 UTC

Some exception causes the benchmark to terminate

Hi,
Sometimes when I run a olio-java benchmark, I get this error message
   Message:
  UIDriverAgent[0].71.doAddEvent: Sleep interrupted. Run terminating.

  The stack trace is like
   Message:
java.lang.RuntimeException: Sleep interrupted. Run terminating.

Stack Trace:
Class 	Method 	Line
com.sun.faban.driver.util.Timer 	wakeupAt 	403
com.sun.faban.driver.engine.DriverContext 	recordStartTime 	584
com.sun.faban.driver.transport.util.TimedOutputStream 	write 	115
java.io.BufferedOutputStream 	flushBuffer 	65
java.io.BufferedOutputStream 	flush 	123
org.apache.commons.httpclient.HttpConnection 	flushRequestOutputStream 	828
org.apache.commons.httpclient.HttpMethodBase 	writeRequest 	2116
org.apache.commons.httpclient.HttpMethodBase 	execute 	1096
org.apache.commons.httpclient.HttpMethodDirector 	executeWithRetry 	398
org.apache.commons.httpclient.HttpMethodDirector 	executeMethod 	171
org.apache.commons.httpclient.HttpClient 	executeMethod 	397
org.apache.commons.httpclient.HttpClient 	executeMethod 	323
com.sun.faban.driver.transport.hc3.ApacheHC3Transport 	readURL 	235
com.sun.faban.driver.transport.hc3.ApacheHC3Transport 	readURL 	252
org.apache.olio.workload.driver.UIDriver 	doAddEvent 	498
sun.reflect.GeneratedMethodAccessor9 	invoke 	
sun.reflect.DelegatingMethodAccessorImpl 	invoke 	25
java.lang.reflect.Method 	invoke 	597
com.sun.faban.driver.engine.TimeThread 	doRun 	169
com.sun.faban.driver.engine.AgentThread 	run 	202

This does not happen each time, but probably higher than 40%. When it
happends, it will kill the benchmark run.
I reload the database before each run. Can anyone help on this?

- Hao

Re: Some exception causes the benchmark to terminate

Posted by Amanda Waite <am...@googlemail.com>.
Hi Hao,

Can you post the run.xml file for one of the runs that fails along with
details of the platform that the agent is running on (OS, Hardware, Java
version).

Thanks

Amanda

On Sat, Jun 26, 2010 at 1:55 AM, hao zhang <ju...@gmail.com>wrote:

> Hi,
> Sometimes when I run a olio-java benchmark, I get this error message
>   Message:
>  UIDriverAgent[0].71.doAddEvent: Sleep interrupted. Run terminating.
>
>  The stack trace is like
>   Message:
> java.lang.RuntimeException: Sleep interrupted. Run terminating.
>
> Stack Trace:
> Class   Method  Line
> com.sun.faban.driver.util.Timer         wakeupAt        403
> com.sun.faban.driver.engine.DriverContext       recordStartTime         584
> com.sun.faban.driver.transport.util.TimedOutputStream   write   115
> java.io.BufferedOutputStream    flushBuffer     65
> java.io.BufferedOutputStream    flush   123
> org.apache.commons.httpclient.HttpConnection    flushRequestOutputStream
>      828
> org.apache.commons.httpclient.HttpMethodBase    writeRequest    2116
> org.apache.commons.httpclient.HttpMethodBase    execute         1096
> org.apache.commons.httpclient.HttpMethodDirector        executeWithRetry
>      398
> org.apache.commons.httpclient.HttpMethodDirector        executeMethod   171
> org.apache.commons.httpclient.HttpClient        executeMethod   397
> org.apache.commons.httpclient.HttpClient        executeMethod   323
> com.sun.faban.driver.transport.hc3.ApacheHC3Transport   readURL         235
> com.sun.faban.driver.transport.hc3.ApacheHC3Transport   readURL         252
> org.apache.olio.workload.driver.UIDriver        doAddEvent      498
> sun.reflect.GeneratedMethodAccessor9    invoke
> sun.reflect.DelegatingMethodAccessorImpl        invoke  25
> java.lang.reflect.Method        invoke  597
> com.sun.faban.driver.engine.TimeThread  doRun   169
> com.sun.faban.driver.engine.AgentThread         run     202
>
> This does not happen each time, but probably higher than 40%. When it
> happends, it will kill the benchmark run.
> I reload the database before each run. Can anyone help on this?
>
> - Hao
>