dev@glassfish.java.net

Re: 3 Test Failures on runtest

From: David Harrigan <dharrigan_at_gmail.com>
Date: Thu, 19 Oct 2006 11:12:03 +0100

Hi,

updated to the nightly build

database started, and now I'm getting the reproducible failure on running
the web-ejb test. I've
included an attachment of the generated output. I'm doing this:

in appserv-test

export APS_HOME=$PWD && export
S1AS_HOME=/home/david/projects/glassfish/publish/glassfish

$S1AS_HOME/bin/asant startDomain (starts successfully)
$S1AS_HOME/bin/asant startDerby (starts successfully)
cd sqetests/web/subclassing
$S1AS_HOME/bin/asant run-test

and the output is as described (i just modified the build.xml to remove the
undeploy because I wanted
to see if it was actually being deployed on the appserver (the test tears it
down again)). It isn't.

-=david=-

On 10/18/06, Sivakumar Thyagarajan <Sivakumar.Thyagarajan_at_sun.com> wrote:
>
> > test you highlighted below, it says that it can't connect to localhost
> > on port 1527.
> Sorry David, I missed mentioning that derby also needs to be started
> using the startDerby target. This should fix the issue you are mentioning.
>
> The corrected instructions:
> > - cd $APS_HOME
> > - $S1AS_HOME/bin/asant startDomain
> > - $S1AS_HOME/bin/asant startDerby
> > - cd sqetests/connector/cci
> > - $S1AS_HOME/bin/asant all
>
> Thanks
> --Siva.
> David Harrigan wrote:
> > Hi,
> >
> > Thanks for your email. I tried following your instructions, but during
> > the individual
> > test you highlighted below, it says that it can't connect to localhost
> > on port 1527.
> > This is the derby port naturally, so guess I need the database
> > running...the app
> > server itself is not running. It doesn't mention on this page:
> >
> >
> https://glassfish.dev.java.net/public/BuildGlassFish.html#Complete_Instructions_on_how_to_Build
> > <
> https://glassfish.dev.java.net/public/BuildGlassFish.html#Complete_Instructions_on_how_to_Build
> >
> >
> > near the bottom about running tests that derby needs to run...
> >
> > BTW, after doing a complete update and rebuild I only get 1 error now,
> > that's in
> > the web-to-ejb module.
> >
> > -=david=-
> >
> > On 10/18/06, *Sivakumar Thyagarajan* <Sivakumar.Thyagarajan_at_sun.com
> > <mailto:Sivakumar.Thyagarajan_at_sun.com>> wrote:
> >
> > Hi David
> >
> > The QL tests seems to be passing in the last couple of builds [1].
> >
> > > Any ideas on where to start looking to solve this?
> > One way to debug these failures is to run a test alone and watch out
> > for
> > errors/exceptions in the server/client log.
> >
> > Here are instructions to run a test
> > [assume domain/derby is stopped and APS_HOME/S1AS_HOME is
> configured]
> > - cd $APS_HOME
> > - $S1AS_HOME/bin/asant startDomain
> > - $S1AS_HOME/bin/asant stopDomain
> > - cd sqetests/connector/cci
> > - $S1AS_HOME/bin/asant all
> >
> > Thanks
> > --Siva.
> > [1]
> >
> http://glassfishbuildtools.sun.com:8000/hudson/job/glassfish/build/2006-10-17_21-27-45/console
> > David Harrigan wrote:
> > > Hi,
> > >
> > > I'm getting three test failures on running appserv-tests runtest
> at:
> > >
> > > Connector:cci Connector standalone rar Test status:ID
> > > Connector:cci Connector Embedded rar Test status:ID
> > > web-to-ejb (ear based)
> > >
> > > on v2 b21
> > >
> > > I've just checked out the sources and followed the build
> > instructions
> > > and running the test instructions.
> > >
> > > Any ideas on where to start looking to solve this?
> > >
> > > TIA
> > >
> > > -=david=-
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> > <mailto:dev-unsubscribe_at_glassfish.dev.java.net>
> > For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
> > <mailto:dev-help_at_glassfish.dev.java.net>
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>