It calls this once for each system in the config file (except the master). Depending on your config file, this may not be an issue. But I'll dig further based on your logs here. Thanks.

-Akara

William Voorsluys wrote:
Hello Akara,

Now I changed the log level to FINE and I could get more information.
I looks like the 'interface' script is being called several times,
each time with one octet of the IP address as parameter. I reckon this
is a strange behavior, isn't it?

Please see the error below. These errors haven't got a detailed exception!

FINE    Detecting interface: /home/williamv/faban/bin/Linux/interface
111     11      com.sun.faban.harness.engine.CmdService.getIfMap
SEVERE  connect: Invalid argument       11
        com.sun.faban.harness.engine.CmdService.getIfMap
FINE    Detecting interface: /home/williamv/faban/bin/Linux/interface
111.222.333.444         11      com.sun.faban.harness.engine.CmdService.getIfMap
CONFIG  Interface Address = 128.250.33.130      11
        com.sun.faban.harness.engine.CmdService.getIfMap
FINE    Detecting interface: /home/williamv/faban/bin/Linux/interface
222     11      com.sun.faban.harness.engine.CmdService.getIfMap
SEVERE  connect: Invalid argument       11
        com.sun.faban.harness.engine.CmdService.getIfMap
FINE    Detecting interface: /home/williamv/faban/bin/Linux/interface
333     11      com.sun.faban.harness.engine.CmdService.getIfMap
SEVERE  connect: Invalid argument       11
        com.sun.faban.harness.engine.CmdService.getIfMap
FINE    Detecting interface: /home/williamv/faban/bin/Linux/interface
444     11      com.sun.faban.harness.engine.CmdService.getIfMap
SEVERE  connect: Invalid argument       11
        com.sun.faban.harness.engine.CmdService.getIfMap

Cheers,

William.



On Tue, Jan 13, 2009 at 3:56 PM, Akara Sucharitakul
<[email protected]> wrote:
This is not the error we're looking for. Can you please send me your log
showing the error in html (just like you attached this one)? Thanks.

-Akara

William Voorsluys wrote:
On Tue, Jan 13, 2009 at 3:34 PM, Akara Sucharitakul
<[email protected]> wrote:
The interface script tries to obtain the best interface address for
communicating to a certain target system and back. So this seems to be
right.

Does the "SEVERE" logs have a hyperlink to a stack trace? Can you please
provide me the stack trace? Thanks.
Yes, one of the errors shows a stacktrace. The output html is attached!

-Akara

William Voorsluys wrote:
Hello,

System1, running Faban master, runs Ubuntu Server 7.10, kernel
2.6.22-15.
System2, which runs the webapp, is a Xen VM running Debian Etch kernel
version 2.6.18

I tried to manually run the 'interface' script at
$FABAN_HOME/bin/Linux on System 1. The output for 'interface System2'
is the IP address of System1. I presume this is the expected behavior.

Cheers,

William


On Tue, Jan 13, 2009 at 6:12 AM, Akara Sucharitakul
<[email protected]> wrote:
Can you please provide more detail of your system, i.e. OS/version? If
it
is
Solaris or Linux, getIfMap will call an interface script. That script
may
be
failing with invalid argument. The args used in the script may not be
compatible with some versions of Linux. Thanks.

-Akara

William Voorsluys wrote:
Both systems are running Sun JVM 1.6

$ java -version
java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) 64-Bit Server VM (build 11.0-b16, mixed mode)


On Sun, Jan 11, 2009 at 8:08 AM, Hubert Wong <[email protected]>
wrote:
What implementation and what version of JVM are you running?

Sent from my iPhone

On Jan 9, 2009, at 10:40 PM, "William Voorsluys"
<[email protected]>
wrote:

Hello,

I've been trying to run Olio's php benchmark, based on the
documentation available in the SVN.
The web app appears to be working fine, but I'm unable to drive load
against it.

I'm running the latest Olio version from the SVN and Faban version
"faban-kit-091008". I'm using two systems; System 1 runs Faban
master
and the Geocoder, and System 2 runs the Web App, MySQL and a Faban
agent. SSH access is working from System 1 to System 2 without
prompting for a password.

All scheduled runs fail. In the run log I can see several "Invalid
argument" errors.

----
2009-01-08T18:00:30          SEVERE     connect: Invalid argument
 11
 com.sun.faban.harness.engine.CmdService.getIfMap
2009-01-08T18:00:30          SEVERE     connect: Invalid argument
 11
 com.sun.faban.harness.engine.CmdService.getIfMap
2009-01-08T18:00:30          SEVERE     connect: Invalid argument
 11
 com.sun.faban.harness.engine.CmdService.getIfMap
2009-01-08T18:00:30          SEVERE     connect: Invalid argument
 11
 com.sun.faban.harness.engine.CmdService.getIfMap
2009-01-08T18:00:30          SEVERE     CmdService setup failed.
Exiting
 11
 com.sun.faban.harness.engine.GenericBenchmark.start
2009-01-08T18:00:30          SEVERE
exception    FenXi process command [fenxi, process,
/home/williamv/faban/output/Web20Driver.1M/,
/home/williamv/faban/output/Web20Driver.1M/, Web20Driver.1M] failed.
 11    com.sun.faban.harness.engine.GenericBenchmark.postProcess
----

I couldn't figure out a way of knowing which arguments are invalid.

In the web app system, under $FABAN_HOME/logs/agent.SYSTEM_NAME.log,
I
see an RMI connection problem:

---
java.rmi.ConnectIOException: error during JRMP connection
establishment; nested exception is:
   java.net.SocketException: Connection reset
   at

sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:286)
   at
sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
   at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
   at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
   at



com.sun.faban.common.RegistryLocator.getRegistry(RegistryLocator.java:137)
   at



com.sun.faban.harness.agent.AgentBootstrap.startAgents(AgentBootstrap.java:272)
   at


com.sun.faban.harness.agent.AgentBootstrap.main(AgentBootstrap.java:92)
Caused by: java.net.SocketException: Connection reset
   at java.net.SocketInputStream.read(SocketInputStream.java:168)
   at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
   at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
   at java.io.DataInputStream.readByte(DataInputStream.java:248)
   at

sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:228)
   ... 6 more
---

Please advise me if there is any additional information I should
post
to this list.

Thanks in advance!

William.




------------------------------------------------------------------------

Record: 5                       Level:  SEVERE


Message:
FenXi process command [fenxi, process,
/home/williamv/faban/output/Web20Driver.1Q/,
/home/williamv/faban/output/Web20Driver.1Q/, Web20Driver.1Q] failed.

------------------------------------------------------------------------


   Details:

Host    Sequence        Date    Millis
       206     2009-01-13T11:37:02     1231807022489


Logger: com.sun.faban.harness.engine.GenericBenchmark
Thread  Class   Method
11      com.sun.faban.harness.engine.GenericBenchmark   postProcess

------------------------------------------------------------------------


   Exception:

Message:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0


Stack Trace:
Class   Method  Line
java.util.ArrayList     RangeCheck      547
java.util.ArrayList     get     322
com.sun.faban.harness.engine.CmdService         findCmdAgent    1551
com.sun.faban.harness.engine.CmdService         execute         923
com.sun.faban.harness.engine.CmdService         execute         908
com.sun.faban.harness.engine.GenericBenchmark   postProcess     429
com.sun.faban.harness.engine.GenericBenchmark   start   327
com.sun.faban.harness.engine.RunDaemon  run     297
java.lang.Thread        run     619






Reply via email to