You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Hensley, Richard" <Ri...@McKesson.com> on 2003/03/13 19:54:21 UTC
Tests Failing on AIX - I need a direction hint
I'm trying to build and test Subversion on the following configuration
powerpc-ibm-aix5.2.0.0. My goal is to run a Subversion repository on AIX
using an Apache server. I've got Apache running, now I'm working on
Subversion.
I used the following procedure to bootstrap from the tar ball.
tar -xvf subversion-0.19.tar
cd subversion-0.19
tar -xvf ../db-4.0.14.tar
mv db-4.0.14 db
./configure CC=xlc --enable-maintainer-mode
make
make check
I used CC=xlc based on some other AIX traffic in the list. When this was
not present, the compiler dies with an internal error.
The following is the first test failure in tests.log, all of the rest
after basic_tests.py are also failing in a similar manner. My question
is where to I point myself in trying to figure out what the problem is?
If somebody can give me a hint, I will see if I can track this down.
Should I go into the db directory and run the tests there?
START: basic_tests.py
CMD: svnadmin "create" "local_tmp/repos" "--bdb-txn-nosync" <TIME =
0.476614>
CMD: svn "import" "--username" "jrandom" "--password" "rayjandom" "-m"
"Log mess
age for revision 1." "
file:///home/rhensley/subversion-0.19/subversion/tests/cli
<file:///home/rhensley/subversion-0.19/subversion/tests/cli>
ents/cmdline/local_tmp/repos" "local_tmp/greekfiles" <TIME = 18.199162>
svn: Couldn't open a repository.
svn: Unable to open an ra_local session to URL
svn: Unable to open repository '
file:///home/rhensley/subversion-0.19/subversion
<file:///home/rhensley/subversion-0.19/subversion>
/tests/clients/cmdline/local_tmp/repos'
svn: Berkeley DB error
svn: Berkeley DB error while opening environment for filesystem
/home/rhensley/s
ubversion-0.19/subversion/tests/clients/cmdline/local_tmp/repos/db:
Resource temporarily unavailable
Errors during initial 'svn import':
ACTUAL STDERR:
svn: Couldn't open a repository.
svn: Unable to open an ra_local session to URL
svn: Unable to open repository '
file:///home/rhensley/subversion-0.19/subversion
<file:///home/rhensley/subversion-0.19/subversion>
/tests/clients/cmdline/local_tmp/repos'
svn: Berkeley DB error
svn: Berkeley DB error while opening environment for filesystem
/home/rhensley/s
ubversion-0.19/subversion/tests/clients/cmdline/local_tmp/repos/db:
Resource temporarily unavailable
Caught SystemExit(1), skipping cleanup
FAIL: basic_tests.py 1: basic checkout of a wc
END: basic_tests.py
This is the whole lists of tests that fail.
FAIL: basic_tests.py 1: basic checkout of a wc
FAIL: commit_tests.py 1: commit one file.
FAIL: update_tests.py 1: update a locally-modified binary file
FAIL: switch_tests.py 1: test some basic switching operations
FAIL: prop_tests.py 1: write/read props in wc only (ps, pl, pdel)
FAIL: schedule_tests.py 1: schedule: add some files
FAIL: log_tests.py 1: 'svn log', no args, top of wc.
FAIL: copy_tests.py 1: basic copy and move commands -- on files only
FAIL: diff_tests.py 1: update a file
FAIL: externals_tests.py 1: check out a directory with some external
modules at
tached
FAIL: merge_tests.py 1: performing a merge, with mixed results
FAIL: stat_tests.py 1: run status on an unversioned file in the current
directo
ry
FAIL: trans_tests.py 1: commit new files with keywords active from
birth
FAIL: svnadmin_tests.py 1: test 'svnadmin create' subcommand
FAIL: svnlook_tests.py 1: test 'svnlook youngest' subcommand
FAIL: svnversion_tests.py 1: test 'svnversion' on a working copy and
other dire
ctories
Re: Tests Failing on AIX - I need a direction hint
Posted by Branko Čibej <br...@xbc.nu>.
Hensley, Richard wrote:
> I'm trying to build and test Subversion on the following configuration
> powerpc-ibm-aix5.2.0.0. My goal is to run a Subversion repository on
> AIX using an Apache server. I've got Apache running, now I'm working
> on Subversion.
>
> I used the following procedure to bootstrap from the tar ball.
>
> tar -xvf subversion-0.19.tar
> cd subversion-0.19
> tar -xvf ../db-4.0.14.tar
> mv db-4.0.14 db
> ./configure CC=xlc --enable-maintainer-mode
> make
> make check
>
> I used CC=xlc based on some other AIX traffic in the list. When this
> was not present, the compiler dies with an internal error.
>
> The following is the first test failure in tests.log, all of the rest
> after basic_tests.py are also failing in a similar manner. My question
> is where to I point myself in trying to figure out what the problem
> is? If somebody can give me a hint, I will see if I can track this down.
>
> Should I go into the db directory and run the tests there?
>
> START: basic_tests.py
> CMD: svnadmin "create" "local_tmp/repos" "--bdb-txn-nosync" <TIME =
> 0.476614>
> CMD: svn "import" "--username" "jrandom" "--password" "rayjandom" "-m"
> "Log mess
> age for revision 1."
> "file:///home/rhensley/subversion-0.19/subversion/tests/cli
> ents/cmdline/local_tmp/repos" "local_tmp/greekfiles" <TIME = 18.199162>
> svn: Couldn't open a repository.
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository
> 'file:///home/rhensley/subversion-0.19/subversion
> /tests/clients/cmdline/local_tmp/repos'
> svn: Berkeley DB error
> svn: Berkeley DB error while opening environment for filesystem
> /home/rhensley/s
> ubversion-0.19/subversion/tests/clients/cmdline/local_tmp/repos/db:
> Resource temporarily unavailable
> Errors during initial 'svn import':
>
This looks like a BDB problem on AIX. Looking at
http://www.sleepycat.com/docs/ref/build_unix/aix.html
the only thing that might be relevant is the last paragraph in item 5. I
say "might be" because it's not clear from that text if it talks about
actually creating a file larger than 1G, or creating any file with
largefile support enabled.
Maybe you should check the hard limit and file system settings?
> ACTUAL STDERR:
> svn: Couldn't open a repository.
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository
> 'file:///home/rhensley/subversion-0.19/subversion
> /tests/clients/cmdline/local_tmp/repos'
> svn: Berkeley DB error
> svn: Berkeley DB error while opening environment for filesystem
> /home/rhensley/s
> ubversion-0.19/subversion/tests/clients/cmdline/local_tmp/repos/db:
> Resource temporarily unavailable
> Caught SystemExit(1), skipping cleanup
> FAIL: basic_tests.py 1: basic checkout of a wc
> END: basic_tests.py
>
> This is the whole lists of tests that fail.
>
I think all your tests would fail, actually, but we bail out of a test
group if the initial import doesn't work.
--
Brane Čibej <br...@xbc.nu> http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Tests Failing on AIX - I need a direction hint
Posted by Michael Wood <mw...@its.uct.ac.za>.
On Thu, Mar 13, 2003 at 02:54:21PM -0500, Hensley, Richard wrote:
> I'm trying to build and test Subversion on the following configuration
> powerpc-ibm-aix5.2.0.0. My goal is to run a Subversion repository on AIX
> using an Apache server. I've got Apache running, now I'm working on
> Subversion.
[snip]
> START: basic_tests.py
> CMD: svnadmin "create" "local_tmp/repos" "--bdb-txn-nosync" <TIME =
> 0.476614>
> CMD: svn "import" "--username" "jrandom" "--password" "rayjandom" "-m"
> "Log mess
> age for revision 1." "
> file:///home/rhensley/subversion-0.19/subversion/tests/cli
> <file:///home/rhensley/subversion-0.19/subversion/tests/cli>
> ents/cmdline/local_tmp/repos" "local_tmp/greekfiles" <TIME = 18.199162>
> svn: Couldn't open a repository.
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository '
> file:///home/rhensley/subversion-0.19/subversion
> <file:///home/rhensley/subversion-0.19/subversion>
> /tests/clients/cmdline/local_tmp/repos'
> svn: Berkeley DB error
> svn: Berkeley DB error while opening environment for filesystem
> /home/rhensley/s
> ubversion-0.19/subversion/tests/clients/cmdline/local_tmp/repos/db:
> Resource temporarily unavailable
[snip]
hmmm... This rings a faint bell. Maybe Berkeley DB 4.0.14 doesn't
check for both EWOULDBLOCK and EAGAIN.
Have a look at the EWOULDBLOCK section of the following document for why
they might need to do this. (I'm pretty sure there was mention of this
on the parisc-linux mailing list and also the Subversion mailing list at
some point.):
http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_2.html
Maybe upgrading to 4.1.x would help (as someone else suggested.)
--
Michael Wood <mw...@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Tests Failing on AIX - I need a direction hint
Posted by David Kimdon <dw...@debian.org>.
On Thu, Mar 13, 2003 at 02:54:21PM -0500, Hensley, Richard wrote:
> tar -xvf ../db-4.0.14.tar
> mv db-4.0.14 db
> ./configure CC=xlc --enable-maintainer-mode
. . .
> is where to I point myself in trying to figure out what the problem is?
> If somebody can give me a hint, I will see if I can track this down.
>
I was getting a testsuite failure on hppa (Debian GNU/Linux) related
to Berkeley DB as well:
http://buildd.debian.org/fetch.php?&pkg=subversion&ver=0.15.0-2&arch=hppa&stamp=1038784828&file=log&as=raw
When I upgraded to db 4.1.25 the problem went away. Maybe it will
help you as well?
-David
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Tests Failing on AIX - I need a direction hint
Posted by Philip Martin <ph...@codematters.co.uk>.
"Hensley, Richard" <Ri...@McKesson.com> writes:
> CMD: svn "import" "--username" "jrandom" "--password" "rayjandom" "-m"
> "Log mess
> age for revision 1." "
> file:///home/rhensley/subversion-0.19/subversion/tests/cli
> <file:///home/rhensley/subversion-0.19/subversion/tests/cli>
I assume something has mangled the output here.
> ents/cmdline/local_tmp/repos" "local_tmp/greekfiles" <TIME = 18.199162>
18 seconds! What was it doing? Is this a heavily loaded machine?
> svn: Couldn't open a repository.
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository '
> file:///home/rhensley/subversion-0.19/subversion
> <file:///home/rhensley/subversion-0.19/subversion>
> /tests/clients/cmdline/local_tmp/repos'
> svn: Berkeley DB error
> svn: Berkeley DB error while opening environment for filesystem
> /home/rhensley/s
> ubversion-0.19/subversion/tests/clients/cmdline/local_tmp/repos/db:
> Resource temporarily unavailable
I've personally only ever seen this error message on a DEC Alpha when
it was overloaded and unable to create new processes--but that's not
really relevant here...
> Errors during initial 'svn import':
> ACTUAL STDERR:
> svn: Couldn't open a repository.
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository '
> file:///home/rhensley/subversion-0.19/subversion
> <file:///home/rhensley/subversion-0.19/subversion>
> /tests/clients/cmdline/local_tmp/repos'
> svn: Berkeley DB error
> svn: Berkeley DB error while opening environment for filesystem
> /home/rhensley/s
> ubversion-0.19/subversion/tests/clients/cmdline/local_tmp/repos/db:
> Resource temporarily unavailable
> Caught SystemExit(1), skipping cleanup
> FAIL: basic_tests.py 1: basic checkout of a wc
Obviously just about all repository access is failing. What sort of
filesystem is /home/rhensley/subversion-0.19? Is it local or
networked? BDB doesn't usually work on network filesystems, so
repositories have to be on local disks.
Do things work if you do them manually? Can you do the following
(from the build dir)
$ rm -rf repo wc wc2
$ subversion/svnadmin/svnadmin create repo
$ subversion/clients/cmdline/svn ls file://`pwd`/repo
$ subversion/clients/cmdline/svn co file://`pwd`/repo wc
$ echo foo > wc/foo
$ subversion/clients/cmdline/svn add wc/foo
$ subversion/clients/cmdline/svn ci -m msg wc/foo
$ subversion/clients/cmdline/svn ls file://`pwd`/repo
$ subversion/clients/cmdline/svn export wc wc2
$ subversion/clients/cmdline/svn import -m msg file://`pwd`/repo wc2 wc2
--
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org