Project

General

Profile

Actions

Defect #9073

closed

JRuby + Windows: Bazaar does not work

Added by Toshi MARUYAMA over 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2011-08-17
Due date:
% Done:

0%

Estimated time:
Resolution:
Wont fix
Affected version:

Description

$ jruby.exe --version
jruby 1.6.2 (ruby-1.8.7-p330) (2011-05-23 e2ea975) (Java HotSpot(TM) Client VM 1.6.0_23) [Windows Vista-x86-java]
$ bzr --version
Bazaar (bzr) 2.4b5
$ jruby.exe test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb
JRuby limited openssl loaded. http://jruby.org/openssl
gem install jruby-openssl for full support.
Loaded suite test/unit/lib/redmine/scm/adapters/bazaar_adapter_test
Started
bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
Ebzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
Fbzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
..
Finished in 2.713 seconds.

  1) Error:
test_annotate(BazaarAdapterTest):
NoMethodError: undefined method `lines' for nil:NilClass
    org/jruby/RubyKernel.java:238:in `method_missing'
    test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb:31:in `test_annotate'
    org/jruby/RubyKernel.java:2059:in `send'
    org/jruby/RubyArray.java:1602:in `each'
    org/jruby/RubyArray.java:1602:in `each'

  2) Failure:
test_cat(BazaarAdapterTest)
    [test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb:26:in `test_cat'
     org/jruby/RubyKernel.java:2059:in `send'
     org/jruby/RubyArray.java:1602:in `each'
     org/jruby/RubyArray.java:1602:in `each']:
<false> is not true.

4 tests, 7 assertions, 1 failures, 1 errors

$ jruby.exe test/unit/repository_bazaar_test.rb
JRuby limited openssl loaded. http://jruby.org/openssl
gem install jruby-openssl for full support.
Loaded suite test/unit/repository_bazaar_test
Started
.bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
Ebzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
Ebzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
Fbzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
Fbzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
Ebzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
Ebzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
Ebzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
E
Finished in 7.48 seconds.

  1) Error:
test_entries(RepositoryBazaarTest):
NoMethodError: You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.size
    test/unit/repository_bazaar_test.rb:58:in `test_entries'

  2) Error:
test_entries_in_subdirectory(RepositoryBazaarTest):
NoMethodError: You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.size
    test/unit/repository_bazaar_test.rb:69:in `test_entries_in_subdirectory'

  3) Failure:
test_fetch_changesets_from_scratch(RepositoryBazaarTest)
    [test/unit/repository_bazaar_test.rb:40:in `test_fetch_changesets_from_scratch'
     org/jruby/RubyKernel.java:2059:in `send'
     org/jruby/RubyArray.java:1602:in `each'
     org/jruby/RubyArray.java:1602:in `each']:
<4> expected but was
<0>.

  4) Failure:
test_fetch_changesets_incremental(RepositoryBazaarTest)
    [test/unit/repository_bazaar_test.rb:50:in `test_fetch_changesets_incremental'
     org/jruby/RubyKernel.java:2059:in `send'
     org/jruby/RubyArray.java:1602:in `each'
     org/jruby/RubyArray.java:1602:in `each']:
<2> expected but was
<0>.

  5) Error:
test_next(RepositoryBazaarTest):
NoMethodError: undefined method `next' for nil:NilClass
    org/jruby/RubyKernel.java:238:in `method_missing'
    test/unit/repository_bazaar_test.rb:93:in `test_next'
    org/jruby/RubyKernel.java:2059:in `send'
    org/jruby/RubyArray.java:1602:in `each'
    org/jruby/RubyArray.java:1602:in `each'

  6) Error:
test_next_nil(RepositoryBazaarTest):
NoMethodError: undefined method `next' for nil:NilClass
    org/jruby/RubyKernel.java:238:in `method_missing'
    test/unit/repository_bazaar_test.rb:100:in `test_next_nil'
    org/jruby/RubyKernel.java:2059:in `send'
    org/jruby/RubyArray.java:1602:in `each'
    org/jruby/RubyArray.java:1602:in `each'

  7) Error:
test_previous(RepositoryBazaarTest):
NoMethodError: undefined method `previous' for nil:NilClass
    org/jruby/RubyKernel.java:238:in `method_missing'
    test/unit/repository_bazaar_test.rb:79:in `test_previous'
    org/jruby/RubyKernel.java:2059:in `send'
    org/jruby/RubyArray.java:1602:in `each'
    org/jruby/RubyArray.java:1602:in `each'

  8) Error:
test_previous_nil(RepositoryBazaarTest):
NoMethodError: undefined method `previous' for nil:NilClass
    org/jruby/RubyKernel.java:238:in `method_missing'
    test/unit/repository_bazaar_test.rb:86:in `test_previous_nil'
    org/jruby/RubyKernel.java:2059:in `send'
    org/jruby/RubyArray.java:1602:in `each'
    org/jruby/RubyArray.java:1602:in `each'

9 tests, 10 assertions, 2 failures, 6 errors

$ jruby.exe test/functional/repositories_bazaar_controller_test.rb
JRuby limited openssl loaded. http://jruby.org/openssl
gem install jruby-openssl for full support.
R:/work/hg-workdir/REDMINE/redmine-all/app/controllers/repositories_controller.r
b:244 warning: already initialized constant REV_PARAM_RE
Loaded suite test/functional/repositories_bazaar_controller_test
Started
.bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
Fbzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
Fbzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
Fbzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
Fbzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
Fbzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
Fbzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
Fbzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
Fbzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
Fbzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
bzr: ERROR: Not a branch: "R:/work/hg-workdir/REDMINE/redmine-all/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
F
Finished in 13.387 seconds.

  1) Failure:
test_annotate(RepositoriesBazaarControllerTest)
    [test/functional/repositories_bazaar_controller_test.rb:129:in `test_annotate'
     org/jruby/RubyKernel.java:2059:in `send'
     org/jruby/RubyArray.java:1602:in `each'
     org/jruby/RubyArray.java:1602:in `each']:
Expected response to be a <:success>, but was <404>

  2) Failure:
test_browse_at_given_revision(RepositoriesBazaarControllerTest)
    [test/functional/repositories_bazaar_controller_test.rb:75:in `test_browse_at_given_revision'
     org/jruby/RubyKernel.java:2059:in `send'
     org/jruby/RubyArray.java:1602:in `each'
     org/jruby/RubyArray.java:1602:in `each']:
Expected response to be a <:success>, but was <404>

  3) Failure:
test_browse_directory(RepositoriesBazaarControllerTest)
    [test/functional/repositories_bazaar_controller_test.rb:63:in `test_browse_directory'
     org/jruby/RubyKernel.java:2059:in `send'
     org/jruby/RubyArray.java:1602:in `each'
     org/jruby/RubyArray.java:1602:in `each']:
Expected response to be a <:success>, but was <404>

  4) Failure:
test_browse_root(RepositoriesBazaarControllerTest)
    [test/functional/repositories_bazaar_controller_test.rb:53:in `test_browse_root'
     org/jruby/RubyKernel.java:2059:in `send'
     org/jruby/RubyArray.java:1602:in `each'
     org/jruby/RubyArray.java:1602:in `each']:
Expected response to be a <:success>, but was <404>

  5) Failure:
test_changes(RepositoriesBazaarControllerTest)
    [test/functional/repositories_bazaar_controller_test.rb:83:in `test_changes'
     org/jruby/RubyKernel.java:2059:in `send'
     org/jruby/RubyArray.java:1602:in `each'
     org/jruby/RubyArray.java:1602:in `each']:
Expected response to be a <:success>, but was <404>

  6) Failure:
test_diff(RepositoriesBazaarControllerTest)
    [test/functional/repositories_bazaar_controller_test.rb:120:in `test_diff'
     org/jruby/RubyKernel.java:2059:in `send'
     org/jruby/RubyArray.java:1602:in `each'
     org/jruby/RubyArray.java:1602:in `each']:
expected tag, but no tag found matching {:tag=>"th", :content=>/11/, :sibling=>{
:tag=>"td", :attributes=>{:class=>/diff_out/}, :content=>/Display more informati
on/}} in:

(snip).

<nil> is not true.

  7) Failure:
test_directory_entry(RepositoriesBazaarControllerTest)
    [test/functional/repositories_bazaar_controller_test.rb:108:in `test_directory_entry'
     org/jruby/RubyKernel.java:2059:in `send'
     org/jruby/RubyArray.java:1602:in `each'
     org/jruby/RubyArray.java:1602:in `each']:
Expected response to be a <:success>, but was <404>

  8) Failure:
test_entry_download(RepositoriesBazaarControllerTest)
    [test/functional/repositories_bazaar_controller_test.rb:101:in `test_entry_download'
     org/jruby/RubyKernel.java:2059:in `send'
     org/jruby/RubyArray.java:1602:in `each'
     org/jruby/RubyArray.java:1602:in `each']:
Expected response to be a <:success>, but was <406>

  9) Failure:
test_entry_show(RepositoriesBazaarControllerTest)
    [test/functional/repositories_bazaar_controller_test.rb:90:in `test_entry_show'
     org/jruby/RubyKernel.java:2059:in `send'
     org/jruby/RubyArray.java:1602:in `each'
     org/jruby/RubyArray.java:1602:in `each']:
Expected response to be a <:success>, but was <404>

 10) Failure:
test_show(RepositoriesBazaarControllerTest)
    [test/functional/repositories_bazaar_controller_test.rb:45:in `test_show'
     org/jruby/RubyKernel.java:2059:in `send'
     org/jruby/RubyArray.java:1602:in `each'
     org/jruby/RubyArray.java:1602:in `each']:
Expected response to be a <:success>, but was <404>

11 tests, 22 assertions, 10 failures, 0 errors


Related issues

Related to Redmine - Defect #8825: JRuby + Windows: SCMs do not work on Redmine 1.2ClosedToshi MARUYAMA2011-07-15

Actions
Related to Redmine - Defect #9061: JRuby + Windows: CVS does not workClosed2011-08-16

Actions
Actions #1

Updated by Marius BÄ‚LTEANU about 6 years ago

  • Status changed from New to Closed
  • Resolution set to Wont fix

Jruby is no longer supported starting with Redmine 3.0.0.

Actions

Also available in: Atom PDF