Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [stellation-res] Volunteer - Installing the core

Hello,

> If you want to dig into the system, I'd suggest not spending too much time
> on 7.2.1, but moving on to a real, and open problem -- why are tests
> failing under the new postgres release, 7.3? This was discussed in list a
> couple of weeks back. I spent a little time on this, but was unable to sort
> it out.

This sounds like the better option.  First, I installed PostgreSQL
7.2.3 in order to verify that I could run through the tests correctly.
Because I'm likely to be moving to trying to work on the problems with
7.3 soon, I downloaded the stellation-core-2002-12-19-src.tar.gz file.
In the process of building it, I found one place where I believe
there's a bug in the build file.

When I run the build command "ant -f build-core.xml bin", I get the
following error:

compile:

BUILD FAILED
file:/home/jhoward/opt/stellation/build-core.xml:250: srcdir
"/home/jhoward/opt/org.eclipse.stellation.cli/src" does not exist!


Looking at build.xml, there is a property called "src.dir.cli" that's
defined as location="../org.eclipse.stellation.cli/src".  Just to see
what would happen, I changed the location to "src", the same location
used as src.dir.core.  The build then worked without any unsatisfied
dependencies, so I assume that all the files necessary are in the core
tar.gz file.  Perhaps the reference to org.eclipse.stellation.cli is a
holdover from the way the build system works when hosted in Eclipse
and running against a checkout from the repository?


In any case, I then moved on to running the tests with PostgreSQL
version 7.2.3.  Unfortunately, my setup still has no joy.  The test
hangs in the same place: test 02, on the command to add dir1, dir2,
and files 3 through 9.

To see what of probative value might pop up, I went ahead and followed
your instructions for running the remainder of the tests with the
following results.

00:  Passes

01:  Passes

02:  Hangs on the add command

03:  Hangs on the command to add file3, file4, ..., file9
     I believe this is the first add command in the test.

04:  Hangs on the command to add MissingStart, MissingEnd, MissingBoth
     I believe this is the first add command in the test.

05:  Hangs on the command to add a, b, and c
     I believe this is the first add command in the test.

06:  Passes

07:  Passes

08:  Passes

09:  Hangs part way through the test.  The test had just copied
several files, the most recent two being test/build/09/input/text.1
and data.1 to test/build/09/ws.  The test then executes tsvc with a
command line including "--workspace=build/09/ws synchronize".  It then
executes the same command a second time.  That second time, the test hangs.

10: Hangs part way through the test.  The test executes a tsvc command
with parameters including "--workspace=build/10/ws checkin".  The test
freezes up there.  (If the test does a checkin multiple times, I can
try to find more context for where exactly it halts.)

11: Failed.  The test proceeded until it ran a command including
command line arguments of "--workspace=build/11/ws merge f"  It caught
an exception as follows:

Exception in thread "main" java.lang.NullPointerException
    at org.eclipse.stellation.cli.workspace.Merge.cleanCompound(Merge.java:262)
    at org.eclipse.stellation.cli.workspace.Merge.cleanup(Merge.java:234)
    at org.eclipse.stellation.cli.workspace.Merge.performMerge(Merge.java:169)
    at org.eclipse.stellation.cli.workspace.Merge.command(Merge.java:64)
    at org.eclipse.stellation.cli.workspace.Svc.command(Svc.java:106)
    at org.eclipse.stellation.cli.workspace.Svc.run(Svc.java:625)
    at org.eclipse.stellation.cli.workspace.Svc.main(Svc.java:377)

The next command to tsvc, with arguments of 
"--options=CVS,SVC perform compare build/11/input2 build/11/ws"
failed due to build/11/input2, file not found, presumably because the
preceeding command was interrupted by an exception.

12: Passes

13: Hangs part way through the test, at a command including
"--workspace=build/13/ws synchronize" that comes shortly after
test/build/13/input/2/f is copied to test/build/13/ws/f.

14: Passes

I wanted to rule out any bizarre coincidences of system/database
timing or resource contention, so I ran a few of the nonterminating
tests more than once.  They froze up in the same places each time.

Unless the test results above suggest something obvious to someone on
this mail list, I'll start trying to trace through the code the tests
exercise and figure out what's causing all these hangs with my
installation.  (Of course, for that the Eclipse Java debugger would
probably be helpful, so I may be exercising the instructions for
working with the public CVS repository in Eclipse next...)

Jeffrey





Back to the top