[jboss-dev] testsuite run again hosed with localDB.lck problem

Ryan Campbell rcampbel at redhat.com
Mon Dec 17 10:55:41 EST 2007


>=/qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x-TestSuite-sun15/trunk/build/output/jboss-5.0.0.Beta3/server/all/data/hypersonic/localDB.lck,
> exists=true, locked=false, valid=false, fl =null]:

What does locked=false & valid=false mean?  Does this mean that the lock
exists, but doesn't seem to be a valid lock?

I don't understand why we are seeing this.  We do a full clean, checkout
& rebuild.  If this was left over from a previous build, we would get an
NFS lock exception at the beginning of the build when we clean the
workspace.

So that only leaves the possibility that "someone" is starting the "all"
server after the rebuild, but before the JBoss-AS-5.0.x-TestSuite-sun15
job tries to run it.

One way this could theoretically happen is that a rogue job is using
this job's JBoss home, instead of copying it over in to it's own job
directory.  IE, another job besides "JBoss-AS-5.0.x-TestSuite-sun15"
running simultaneously on a different node in the test grid.



Scott M Stark wrote:
> The testsuite run is broken again
> https://hudson.jboss.org/hudson/view/JBoss%20AS/job/JBoss-AS-5.0.x-TestSuite-sun15/lastSuccessfulBuild/
> 
> with the same hsql lock problem:
> 
> 2007-12-15 00:49:40,873 DEBUG [org.jboss.jdbc.HypersonicDatabase]
> Starting failed jboss:service=Hypersonic,database=localDB
> java.sql.SQLException: The database is already in use by another
> process: org.hsqldb.persist.NIOLockFile at f654de53[file
> =/qa/services/hudson/hudson_workspace/workspace/JBoss-AS-5.0.x-TestSuite-sun15/trunk/build/output/jboss-5.0.0.Beta3/server/all/data/hypersonic/localDB.lck,
> exists=true, locked=false, valid=false, fl =null]:
>         at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
>         at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
>         at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
>         at org.hsqldb.jdbcDriver.connect(Unknown Source)
>         at java.sql.DriverManager.getConnection(DriverManager.java:525)
>         at java.sql.DriverManager.getConnection(DriverManager.java:171)
>         at
> org.jboss.jdbc.HypersonicDatabase.getConnection(HypersonicDatabase.java:777)
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development




More information about the jboss-development mailing list