View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013349CMakeCMakepublic2012-06-25 16:322013-01-09 10:56
ReporterDaniel Richard G. 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformSPARCOSSolarisOS Version8
Product VersionCMake 2.8.8 
Target VersionCMake 2.8.9Fixed in VersionCMake 2.8.9 
Summary0013349: CTest.UpdateSVN test fails due to Subversion limitation
DescriptionThis test failure...

    http://open.cdash.org/testDetails.php?test=150750394&build=2384124 [^]

...does not appear to be due to a problem with CMake.

$ ls /tmp/foo
ls: /tmp/foo: No such file or directory

$ svnadmin --version
svnadmin, version 1.7.5 (r1336830)
   compiled Jun 18 2012, 22:44:31

Copyright (C) 2012 The Apache Software Foundation.
This software consists of contributions made by many people; see the NOTICE
file for more information.
Subversion is open source software, see http://subversion.apache.org/ [^]

The following repository back-end (FS) modules are available:

* fs_fs : Module for working with a plain file (FSFS) repository.

$ svnadmin create --config-dir /tmp/foo/config /tmp/foo/repo
svnadmin: E000002: Repository creation failed
svnadmin: E000002: Could not create top-level directory
svnadmin: E000002: Can't create directory '/tmp/foo/repo': No such file or directory
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0029837)
David Cole (manager)
2012-06-26 10:57

The error output on the dashboard, though, is a different error message:

  svnadmin: E200011: '/export/home/cport/Dashboards/MyTests/CMake-build/Tests/CTest UpdateSVN/repo' exists and is non-empty

What's in that directory?

Does the same problem occur if you run the svn admin command on a directory without a space in its full path?
(0029841)
Daniel Richard G. (reporter)
2012-06-26 17:23

(Whoops, missed the different error message!)

It appears to be an empty directory:

$ ls -al '/export/home/cport/Dashboards/MyTests/CMake-build/Tests/CTest UpdateSVN/repo'
total 2
drwxr-xr-x 2 cport staff 512 Jun 26 16:31 ./
drwxr-xr-x 3 cport staff 512 Jun 26 16:31 ../

The space in the pathname appears not to have an effect:

$ mkdir -p '/export/home/cport/Dashboards/MyTests/CMake-build/Tests/CTest_UpdateSVN/repo'

$ svnadmin create --config-dir '/export/home/cport/Dashboards/MyTests/CMake-build/Tests/CTest_UpdateSVN/config' '/export/home/cport/Dashboards/MyTests/CMake-build/Tests/CTest_UpdateSVN/repo'
svnadmin: E200011: Repository creation failed
svnadmin: E200011: Could not create top-level directory
svnadmin: E200011: '/export/home/cport/Dashboards/MyTests/CMake-build/Tests/CTest_UpdateSVN/repo' exists and is non-empty


It only works if the "repo" directory doesn't exist when svnadmin is invoked:

$ rmdir /export/home/cport/Dashboards/MyTests/CMake-build/Tests/CTest_UpdateSVN/repo

$ svnadmin create --config-dir '/export/home/cport/Dashboards/MyTests/CMake-build/Tests/CTest_UpdateSVN/config' '/export/home/cport/Dashboards/MyTests/CMake-build/Tests/CTest_UpdateSVN/repo'
(works correctly; no output)
(0029843)
David Cole (manager)
2012-06-26 18:23

Great, thanks for investigating. Sounds like we should be able to add a rmdir call prior to running the test as a workaround.
(0029999)
Brad King (manager)
2012-07-09 09:16

Perhaps svnadmin 1.7 introduced this safety check? Anyway, this should fix it:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c785c6bd [^]
(0032033)
Robert Maynard (manager)
2013-01-09 10:56

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2012-06-25 16:32 Daniel Richard G. New Issue
2012-06-26 10:57 David Cole Note Added: 0029837
2012-06-26 17:23 Daniel Richard G. Note Added: 0029841
2012-06-26 18:23 David Cole Note Added: 0029843
2012-07-09 09:16 Brad King Note Added: 0029999
2012-07-09 09:16 Brad King Assigned To => Brad King
2012-07-09 09:16 Brad King Status new => resolved
2012-07-09 09:16 Brad King Resolution open => fixed
2012-08-09 19:41 David Cole Fixed in Version => CMake 2.8.9
2012-08-09 19:41 David Cole Target Version => CMake 2.8.9
2013-01-09 10:56 Robert Maynard Note Added: 0032033
2013-01-09 10:56 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team