On Nov 9, 2007 10:25 AM, java <[EMAIL PROTECTED]> wrote:
Thanks for your email. I did try that ('svn update' from my
ccrb/projects/projectname/work dir) and it works perfectly fine. No errror.
That's the reason I am puzzled as to why I get this error during "cruise
start" build loop.
On Nov 9, 2007, at 10:42 AM, Alexey Verkhovsky wrote:
CC.rb only uses username and password to perform svn co the first time
around. Builder loop itself performs 'svn up' without passing the
password. Subversion remembers authentication parameters in
$HOME/.subversion/auth
If you can do svn up without being asked for a password from command
line, CC.rb should be able to do the same. If you are doing both under
the same user account.
Subversion access via svn+ssh is a different story (because in this
case, authentication is performed by SSH tunnel, not by Subversion),
but the error you are getting doesn't look like that problem.
To figure out what's wrong, run 'cruise build abaqis --trace' and see
what it says in verbose mode. If that doesn't ring any bells, mail it
to me off-list, I'll try to help.
--
Alexey Verkhovsky
CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com]
RubyWorks [http://rubyworks.thoughtworks.com]
---------------------------------------
Alex,
Thanks for your reply. Here's what I get when I do the "cruise build abaqis
--trace". I have modified the 'subversion.rb' to print out the svn command
it's running. Even with those, it doesn't make sense to me why I get this
error. Maybe you can help.
/Users/kannan/cruisecontrolrb-1.2.1 >./cruise build abaqis --trace
[debug] Loading plugin builder_status
[debug] Loading plugin email_notifier
[debug] Loading plugin log_publisher
[debug] Loading plugin minimal_console_logger
[debug] Loading plugin project_logger
[info] [2007-11-12 15:20:28] Builder for project 'abaqis' started
Logging to: /Users/kannan/cruisecontrolrb-1.2.1/log/abaqis_builder.log
[debug] [2007-11-12 15:20:28] Polling source control
svn command : 'svn--non-interactiveinfo--xml 'command :
svn--non-interactiveinfo--xml [debug]
/Users/kannan/cruisecontrolrb-1.2.1/projects/abaqis/work kannan$ svn
--non-interactive info --xml
svn command : 'svn--non-interactivelog--revisionHEAD:474--verbose--xml 'command
: svn--non-interactivelog--revisionHEAD:474--verbose--xml [debug]
/Users/kannan/cruisecontrolrb-1.2.1/projects/abaqis/work kannan$ svn
--non-interactive log --revision HEAD:474 --verbose --xml
Build loop failed
BuilderError: svn: PROPFIND request failed on '/svn/abaqis'
./script/../config/../app/models/subversion.rb:100:in `execute_in_local_copy'
./script/../config/../lib/command_line.rb:86:in `call'
./script/../config/../lib/command_line.rb:86:in `e'
./script/../config/../lib/command_line.rb:84:in `popen'
./script/../config/../lib/command_line.rb:84:in `e'
./script/../config/../lib/command_line.rb:71:in `execute'
./script/../config/../lib/command_line.rb:70:in `chdir'
./script/../config/../lib/command_line.rb:70:in `execute'
./script/../config/../app/models/subversion.rb:91:in `execute_in_local_copy'
./script/../config/../app/models/subversion.rb:86:in `chdir'
./script/../config/../app/models/subversion.rb:86:in `execute_in_local_copy'
./script/../config/../app/models/subversion.rb:44:in `latest_revision'
./script/../config/../app/models/project.rb:228:in `new_revisions'
./script/../config/../app/models/change_in_source_control_trigger.rb:8:in
`revisions_to_build'
./script/../config/../vendor/rails/actionpack/lib/../../activesupport/lib/active_support/core_ext/symbol.rb:10:in
`__send__'
./script/../config/../vendor/rails/actionpack/lib/../../activesupport/lib/active_support/core_ext/symbol.rb:10:in
`to_proc'
./script/../config/../app/models/project.rb:223:in `collect'
./script/../config/../app/models/project.rb:223:in `revisions_to_build'
./script/../config/../app/models/project.rb:202:in `build_if_necessary'
./script/../config/../app/models/polling_scheduler.rb:13:in `run'
./script/builder:79
./script/builder:78:in `catch'
./script/builder:78
./cruise:14:in `load'
./cruise:14:in `builder'
./cruise:68:in `send'
./cruise:68
/usr/local/lib/ruby/1.8/fileutils.rb:121:in `chdir'
/usr/local/lib/ruby/1.8/fileutils.rb:121:in `cd'
./cruise:67
[debug] [2007-11-12 15:20:28] Build loop failed
[debug] BuilderError: svn: PROPFIND request failed on '/svn/abaqis'
./script/../config/../app/models/subversion.rb:100:in `execute_in_local_copy'
./script/../config/../lib/command_line.rb:86:in `call'
./script/../config/../lib/command_line.rb:86:in `e'
./script/../config/../lib/command_line.rb:84:in `popen'
./script/../config/../lib/command_line.rb:84:in `e'
./script/../config/../lib/command_line.rb:71:in `execute'
./script/../config/../lib/command_line.rb:70:in `chdir'
...........................
...........................
_______________________________________________
Cruisecontrolrb-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users