'ant spec' failures on on MacOS
-------------------------------
Key: JRUBY-2369
URL: http://jira.codehaus.org/browse/JRUBY-2369
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1
Environment: Latest JRuby 1.1, Mac OS X 10.5.2, Java 1.5.0_13
Reporter: Vladimir Sizikov
Stephen Bannasch reports:
'ant spec' on Mac OS X produces 6 errors:
{noformat}
1)
File.expand_path expands ~ENV['USER'] to the user's home directory ERROR
user stephen doesn't exist
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:112:in
`/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/core/file/expand_path_spec.rb'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:112:in `call'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:112:in `protect'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:46:in `each'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:46:in `protect'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:60:in `process'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:56:in `each'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:56:in `process'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:19:in `describe'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/object.rb:11:in `describe'
/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/core/file/expand_path_spec.rb:3:in
`/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/core/file/expand_path_spec.rb'
/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/core/file/expand_path_spec.rb:37:in
`load'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:37:in `files'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:112:in `call'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:112:in `protect'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:37:in `files'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:34:in `each'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:34:in `files'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:26:in `process'
mspec/bin/mspec-ci:66:in `run'
/Users/stephen/dev/rubinius/rbx/./mspec/bin/script.rb:66:in `main'
mspec/bin/mspec-ci:71
2)
File#flock should lock a file FAILED
Expected 0
to equal false
/Users/stephen/dev/rubinius/rbx/./mspec/expectations.rb:10:in `fail_with'
/Users/stephen/dev/rubinius/rbx/./mspec/matchers/base.rb:9:in `=='
/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/core/file/flock_spec.rb:16:in
`/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/core/file/flock_spec.rb'
/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/core/file/flock_spec.rb:15:in
`open'
/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/core/file/flock_spec.rb:15:in
`/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/core/file/flock_spec.rb'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:112:in `call'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:112:in `protect'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:46:in `each'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:46:in `protect'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:60:in `process'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:56:in `each'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:56:in `process'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:19:in `describe'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/object.rb:11:in `describe'
/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/core/file/flock_spec.rb:3:in
`/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/core/file/flock_spec.rb'
/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/core/file/flock_spec.rb:37:in
`load'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:37:in `files'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:112:in `call'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:112:in `protect'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:37:in `files'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:34:in `each'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:34:in `files'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:26:in `process'
mspec/bin/mspec-ci:66:in `run'
/Users/stephen/dev/rubinius/rbx/./mspec/bin/script.rb:66:in `main'
mspec/bin/mspec-ci:71
3)
Process::Constants should have the correct constant values on Darwin ERROR
uninitialized constant Process::RLIM_SAVED_MAX
/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/core/process/constants_spec.rb:25:in
`const_missing'
/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/core/process/constants_spec.rb:25:in
`/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/core/process/constants_spec.rb'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:112:in `call'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:112:in `protect'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:46:in `each'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:46:in `protect'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:60:in `process'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:56:in `each'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:56:in `process'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:19:in `describe'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/object.rb:11:in `describe'
/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/core/process/constants_spec.rb:2:in
`/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/core/process/constants_spec.rb'
/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/core/process/constants_spec.rb:37:in
`load'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:37:in `files'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:112:in `call'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:112:in `protect'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:37:in `files'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:34:in `each'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:34:in `files'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:26:in `process'
mspec/bin/mspec-ci:66:in `run'
/Users/stephen/dev/rubinius/rbx/./mspec/bin/script.rb:66:in `main'
mspec/bin/mspec-ci:71
4)
Process.setpriority sets the scheduling priority for a specified process FAILED
Expected Errno::EACCES but no exception was raised
/Users/stephen/dev/rubinius/rbx/./mspec/expectations.rb:10:in `fail_with'
/Users/stephen/dev/rubinius/rbx/./mspec/expectations/should.rb:6:in `should'
/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/core/process/setpriority_spec.rb:23:in
`/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/core/process/setpriority_spec.rb'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:112:in `call'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:112:in `protect'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:46:in `each'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:46:in `protect'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:60:in `process'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:56:in `each'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:56:in `process'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:19:in `describe'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/object.rb:11:in `describe'
/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/core/process/setpriority_spec.rb:3:in
`/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/core/process/setpriority_spec.rb'
/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/core/process/setpriority_spec.rb:37:in
`load'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:37:in `files'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:112:in `call'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:112:in `protect'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:37:in `files'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:34:in `each'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:34:in `files'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:26:in `process'
mspec/bin/mspec-ci:66:in `run'
/Users/stephen/dev/rubinius/rbx/./mspec/bin/script.rb:66:in `main'
mspec/bin/mspec-ci:71
5)
DRb.start_service should run a basic remote call ERROR
Address already in use - Address in use
/Users/stephen/dev/jruby_trunk/jruby/lib/ruby/1.8/drb/drb.rb:865:in `new'
/Users/stephen/dev/jruby_trunk/jruby/lib/ruby/1.8/drb/drb.rb:865:in `open'
/Users/stephen/dev/jruby_trunk/jruby/lib/ruby/1.8/drb/drb.rb:865:in
`open_server'
/Users/stephen/dev/jruby_trunk/jruby/lib/ruby/1.8/drb/drb.rb:759:in
`open_server'
/Users/stephen/dev/jruby_trunk/jruby/lib/ruby/1.8/drb/drb.rb:757:in `each'
/Users/stephen/dev/jruby_trunk/jruby/lib/ruby/1.8/drb/drb.rb:757:in
`open_server'
/Users/stephen/dev/jruby_trunk/jruby/lib/ruby/1.8/drb/drb.rb:1339:in
`initialize'
/Users/stephen/dev/jruby_trunk/jruby/lib/ruby/1.8/drb/drb.rb:1627:in `new'
/Users/stephen/dev/jruby_trunk/jruby/lib/ruby/1.8/drb/drb.rb:1627:in
`start_service'
/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/library/drb/start_service_spec.rb:8:in
`/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/library/drb/start_service_spec.rb'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:112:in `call'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:112:in `protect'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:46:in `each'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:46:in `protect'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:60:in `process'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:56:in `each'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:56:in `process'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:19:in `describe'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/object.rb:11:in `describe'
/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/library/drb/start_service_spec.rb:5:in
`/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/library/drb/start_service_spec.rb'
/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/library/drb/start_service_spec.rb:37:in
`load'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:37:in `files'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:112:in `call'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:112:in `protect'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:37:in `files'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:34:in `each'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:34:in `files'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:26:in `process'
mspec/bin/mspec-ci:66:in `run'
/Users/stephen/dev/rubinius/rbx/./mspec/bin/script.rb:66:in `main'
mspec/bin/mspec-ci:71
6)
Socket#getaddrinfo gets the address information FAILED
Expected [["AF_INET", 80, "localhost", "127.0.0.1", 2, 2, 17], ["AF_INET", 80,
"localhost", "127.0.0.1", 2, 1, 6]]
to include ["AF_INET", 80, "localhost", "0:0:0:0:0:0:0:1", 2, 2, 17]
/Users/stephen/dev/rubinius/rbx/./mspec/expectations.rb:10:in `fail_with'
/Users/stephen/dev/rubinius/rbx/./mspec/expectations/should.rb:6:in `should'
/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/library/socket/getaddrinfo_spec.rb:34:in
`/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/library/socket/getaddrinfo_spec.rb'
/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/library/socket/getaddrinfo_spec.rb:34:in
`each'
/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/library/socket/getaddrinfo_spec.rb:34:in
`/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/library/socket/getaddrinfo_spec.rb'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:112:in `call'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:112:in `protect'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:46:in `each'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:46:in `protect'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:60:in `process'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:56:in `each'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/state.rb:56:in `process'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:19:in `describe'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/object.rb:11:in `describe'
/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/library/socket/getaddrinfo_spec.rb:4:in
`/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/library/socket/getaddrinfo_spec.rb'
/Users/stephen/dev/rubinius/rbx/./spec/ruby/1.8/library/socket/getaddrinfo_spec.rb:37:in
`load'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:37:in `files'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:112:in `call'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:112:in `protect'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:37:in `files'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:34:in `each'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:34:in `files'
/Users/stephen/dev/rubinius/rbx/./mspec/runner/mspec.rb:26:in `process'
mspec/bin/mspec-ci:66:in `run'
/Users/stephen/dev/rubinius/rbx/./mspec/bin/script.rb:66:in `main'
mspec/bin/mspec-ci:71
Finished in 61.541000 seconds
1712 files, 5829 examples, 19872 expectations, 3 failures, 3 errors
{noformat}
Ideally, there should be 0 failures out of ant spec.
Problem #5 - race condition in DRb itself, we have a bug for that.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email