[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Errors in running pythong tests in make check

From: Hoffman, Aodhan <Aodhan.Hoffman_at_boeing.com>
Date: Wed, 27 Oct 2010 11:14:02 -0700

I am able to configure and build subversion fine now, after some config option tweaking, but the tests still fail half way through.

I drilled down to the first failure to find out more, but based on tests.log it looks like the issue is simply that the python tests are running in my home directory rather than the repository directory. I'm running the tests from /opt/svn/build/subversion-1.6.12/subversion, but they're looking at /net/nnmx-blv-01-tmp/export/home/tx714c/. I've searched for someway to direct the tests to look at the appropriate repository, /opt/svn/repo, but nothing in the documentation discusses this.

Can anyone tell me where to tell make check or configure where the repository is supposed to go? Thanks!

-bash-3.2$ sudo ./getopt_tests.py --verbose
Password:
CMD: svnadmin create svn-test-work/local_tmp/repos --bdb-txn-nosync CMD: /opt/svn/build/subversion-1.6.12/subversion/svnadmin/svnadmin create svn-test-work/local_tmp/repos --bdb-txn-nosync exited with 1
<TIME = 0.029415>
svnadmin: Can't open file '/net/nnmx-blv-01-tmp/export/home/tx714c/.subversion/servers': Permission denied
Traceback (most recent call last):
  File "./getopt_tests.py", line 203, in ?
    svntest.main.run_tests(test_list)
  File "/opt/svn/build/subversion-1.6.12/subversion/tests/cmdline/svntest/main.py", line 1606, in run_tests
    actions.setup_pristine_repository()
  File "/opt/svn/build/subversion-1.6.12/subversion/tests/cmdline/svntest/actions.py", line 50, in setup_pristine_repository
    main.create_repos(main.pristine_dir)
  File "/opt/svn/build/subversion-1.6.12/subversion/tests/cmdline/svntest/main.py", line 698, in create_repos
    raise SVNRepositoryCreateFailure("".join(stderr).rstrip())
svntest.main.SVNRepositoryCreateFailure: svnadmin: Can't open file '/net/nnmx-blv-01-tmp/export/home/tx714c/.subversion/servers': Permission denied

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

                 Aodhan Hoffman
                 Network Tools & Performance Management
                 DNCMS, NAMS, NLS, XTend, VoIP, E911

                 Desk: 425 / 865-6829
                 Mobile: 206 / 478-9568<mailto:206/4789568_at_txt.att.net>
                 Email: aodhan.hoffman_at_boeing.com<mailto:aodhan.hoffman_at_boeing.com>

 ------------------------------------------
Received on 2010-10-27 20:21:32 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.