My previous comment turned out to be a bit too optimistic. jruby
1.7.21-2ubuntu4 was rebuilt on Launchpad, but it still failed (see below
for details). It seems to get less errors now, but I am not quite sure
why I didn't get similar failures locally.
./bin/jruby spec/mspec/bin/mspec ci
jruby 1.7.21 (1.9.3p551) 2015-09-12 fffffff on OpenJDK 64-Bit Server VM
1.8.0_01-internal-b01 +jit [linux-amd64]
Exception: java.lang.ThreadDeath thrown from the UncaughtExceptionHandler in
thread "Thread-96"
NoMethodError: undefined method `daemon' for Process:Module
daemon_at_exit at /«PKGBUILDDIR»/spec/ruby/core/process/fixtures/daemon.rb:55
run at /«PKGBUILDDIR»/spec/ruby/core/process/fixtures/daemon.rb:11
(root) at /«PKGBUILDDIR»/spec/ruby/core/process/fixtures/daemon.rb:111
NoMethodError: undefined method `daemon' for Process:Module
keep_stdio_open_false_stdout at
/«PKGBUILDDIR»/spec/ruby/core/process/fixtures/daemon.rb:64
run at
/«PKGBUILDDIR»/spec/ruby/core/process/fixtures/daemon.rb:11
(root) at
/«PKGBUILDDIR»/spec/ruby/core/process/fixtures/daemon.rb:111
NoMethodError: undefined method `daemon' for Process:Module
keep_stdio_open_false_stderr at
/«PKGBUILDDIR»/spec/ruby/core/process/fixtures/daemon.rb:69
run at
/«PKGBUILDDIR»/spec/ruby/core/process/fixtures/daemon.rb:11
(root) at
/«PKGBUILDDIR»/spec/ruby/core/process/fixtures/daemon.rb:111
NoMethodError: undefined method `daemon' for Process:Module
keep_stdio_open_false_stdout at
/«PKGBUILDDIR»/spec/ruby/core/process/fixtures/daemon.rb:64
run at
/«PKGBUILDDIR»/spec/ruby/core/process/fixtures/daemon.rb:11
(root) at
/«PKGBUILDDIR»/spec/ruby/core/process/fixtures/daemon.rb:111
NoMethodError: undefined method `daemon' for Process:Module
keep_stdio_open_false_stderr at
/«PKGBUILDDIR»/spec/ruby/core/process/fixtures/daemon.rb:69
run at
/«PKGBUILDDIR»/spec/ruby/core/process/fixtures/daemon.rb:11
(root) at
/«PKGBUILDDIR»/spec/ruby/core/process/fixtures/daemon.rb:111
NoMethodError: undefined method `daemon' for Process:Module
keep_stdio_open_false_stdout at
/«PKGBUILDDIR»/spec/ruby/core/process/fixtures/daemon.rb:64
run at
/«PKGBUILDDIR»/spec/ruby/core/process/fixtures/daemon.rb:11
(root) at
/«PKGBUILDDIR»/spec/ruby/core/process/fixtures/daemon.rb:111
NoMethodError: undefined method `daemon' for Process:Module
keep_stdio_open_false_stderr at
/«PKGBUILDDIR»/spec/ruby/core/process/fixtures/daemon.rb:69
run at
/«PKGBUILDDIR»/spec/ruby/core/process/fixtures/daemon.rb:11
(root) at
/«PKGBUILDDIR»/spec/ruby/core/process/fixtures/daemon.rb:111
The signal EXIT is in use by the JVM and will not work correctly on this
platform
................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E................E......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
1)
File.absolute_path does not expand '~' to a home directory. ERROR
ArgumentError: couldn't find HOME environment -- expanding `~'
org/jruby/RubyFile.java:799:in `expand_path'
/«PKGBUILDDIR»/spec/ruby/core/file/absolute_path_spec.rb:21:in `(root)'
org/jruby/RubyBasicObject.java:1574:in `instance_eval'
org/jruby/RubyEnumerable.java:1412:in `all?'
org/jruby/RubyFixnum.java:275:in `times'
org/jruby/RubyArray.java:1613:in `each'
/«PKGBUILDDIR»/spec/ruby/core/file/absolute_path_spec.rb:4:in `(root)'
/«PKGBUILDDIR»/spec/ruby/core/file/absolute_path_spec.rb:3:in `(root)'
org/jruby/RubyKernel.java:1059:in `load'
org/jruby/RubyBasicObject.java:1574:in `instance_eval'
org/jruby/RubyArray.java:1613:in `each'
2)
File.expand_path expand_path for commoms unix path give a full path ERROR
ArgumentError: couldn't find HOME environment -- expanding `~'
org/jruby/RubyFile.java:799:in `expand_path'
/«PKGBUILDDIR»/spec/ruby/core/file/expand_path_spec.rb:107:in `(root)'
org/jruby/RubyBasicObject.java:1574:in `instance_eval'
org/jruby/RubyEnumerable.java:1412:in `all?'
org/jruby/RubyFixnum.java:275:in `times'
org/jruby/RubyArray.java:1613:in `each'
/«PKGBUILDDIR»/spec/ruby/core/file/expand_path_spec.rb:5:in `(root)'
org/jruby/RubyKernel.java:1059:in `load'
org/jruby/RubyBasicObject.java:1574:in `instance_eval'
org/jruby/RubyArray.java:1613:in `each'
3)
File.expand_path expands ../foo with ~/dir as base dir to
/path/to/user/home/foo ERROR
ArgumentError: couldn't find HOME environment -- expanding `~'
org/jruby/RubyFile.java:799:in `expand_path'
/«PKGBUILDDIR»/spec/ruby/core/file/expand_path_spec.rb:143:in `(root)'
org/jruby/RubyBasicObject.java:1574:in `instance_eval'
org/jruby/RubyEnumerable.java:1412:in `all?'
org/jruby/RubyFixnum.java:275:in `times'
org/jruby/RubyArray.java:1613:in `each'
/«PKGBUILDDIR»/spec/ruby/core/file/expand_path_spec.rb:5:in `(root)'
org/jruby/RubyKernel.java:1059:in `load'
org/jruby/RubyBasicObject.java:1574:in `instance_eval'
org/jruby/RubyArray.java:1613:in `each'
4)
File.expand_path does not modify a HOME string argument ERROR
ArgumentError: couldn't find HOME environment -- expanding `~'
org/jruby/RubyFile.java:799:in `expand_path'
/«PKGBUILDDIR»/spec/ruby/core/file/expand_path_spec.rb:204:in `(root)'
org/jruby/RubyBasicObject.java:1574:in `instance_eval'
org/jruby/RubyEnumerable.java:1412:in `all?'
org/jruby/RubyFixnum.java:275:in `times'
org/jruby/RubyArray.java:1613:in `each'
/«PKGBUILDDIR»/spec/ruby/core/file/expand_path_spec.rb:5:in `(root)'
org/jruby/RubyKernel.java:1059:in `load'
org/jruby/RubyBasicObject.java:1574:in `instance_eval'
org/jruby/RubyArray.java:1613:in `each'
Finished in 573.121000 seconds
3352 files, 19539 examples, 52779 expectations, 0 failures, 4 errors
-----------------------------------------------------
The rubyspec temp directory is not empty. Ensure that
all specs are cleaning up temporary files:
/«PKGBUILDDIR»/rubyspec_temp
-----------------------------------------------------
debian/rules:56: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/«PKGBUILDDIR»'
debian/rules:14: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
** Tags added: wily
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1491526
Title:
jruby FTBFS when running mspec tests
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/jruby/+bug/1491526/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs