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'
-----------------------------------------------------
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
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 internal- b01 +jit [linux-amd64]
jruby 1.7.21 (1.9.3p551) 2015-09-12 fffffff on OpenJDK 64-Bit Server VM 1.8.0_01-
Exception: java.lang. ThreadDeath thrown from the UncaughtExcepti onHandler in thread "Thread-96" /spec/ruby/ core/process/ fixtures/ daemon. rb:55 /spec/ruby/ core/process/ fixtures/ daemon. rb:11 /spec/ruby/ core/process/ fixtures/ daemon. rb:111 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 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 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 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 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 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 ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ...E... ....... ......E. ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... ....... .....
NoMethodError: undefined method `daemon' for Process:Module
daemon_at_exit at /«PKGBUILDDIR»
run at /«PKGBUILDDIR»
(root) at /«PKGBUILDDIR»
NoMethodError: undefined method `daemon' for Process:Module
keep_
NoMethodError: undefined method `daemon' for Process:Module
keep_
NoMethodError: undefined method `daemon' for Process:Module
keep_
NoMethodError: undefined method `daemon' for Process:Module
keep_
NoMethodError: undefined method `daemon' for Process:Module
keep_
NoMethodError: undefined method `daemon' for Process:Module
keep_
The signal EXIT is in use by the JVM and will not work correctly on this platform
.......
1) RubyFile. java:799: in `expand_path' /spec/ruby/ core/file/ absolute_ path_spec. rb:21:in `(root)' RubyBasicObject .java:1574: in `instance_eval' RubyEnumerable. java:1412: in `all?' RubyFixnum. java:275: in `times' RubyArray. java:1613: in `each' /spec/ruby/ core/file/ absolute_ path_spec. rb:4:in `(root)' /spec/ruby/ core/file/ absolute_ path_spec. rb:3:in `(root)' RubyKernel. java:1059: in `load' RubyBasicObject .java:1574: in `instance_eval' RubyArray. java:1613: in `each'
File.absolute_path does not expand '~' to a home directory. ERROR
ArgumentError: couldn't find HOME environment -- expanding `~'
org/jruby/
/«PKGBUILDDIR»
org/jruby/
org/jruby/
org/jruby/
org/jruby/
/«PKGBUILDDIR»
/«PKGBUILDDIR»
org/jruby/
org/jruby/
org/jruby/
2) RubyFile. java:799: in `expand_path' /spec/ruby/ core/file/ expand_ path_spec. rb:107: in `(root)' RubyBasicObject .java:1574: in `instance_eval' RubyEnumerable. java:1412: in `all?' RubyFixnum. java:275: in `times' RubyArray. java:1613: in `each' /spec/ruby/ core/file/ expand_ path_spec. rb:5:in `(root)' RubyKernel. java:1059: in `load' RubyBasicObject .java:1574: in `instance_eval' RubyArray. java:1613: in `each'
File.expand_path expand_path for commoms unix path give a full path ERROR
ArgumentError: couldn't find HOME environment -- expanding `~'
org/jruby/
/«PKGBUILDDIR»
org/jruby/
org/jruby/
org/jruby/
org/jruby/
/«PKGBUILDDIR»
org/jruby/
org/jruby/
org/jruby/
3) user/home/ foo ERROR RubyFile. java:799: in `expand_path' /spec/ruby/ core/file/ expand_ path_spec. rb:143: in `(root)' RubyBasicObject .java:1574: in `instance_eval' RubyEnumerable. java:1412: in `all?' RubyFixnum. java:275: in `times' RubyArray. java:1613: in `each' /spec/ruby/ core/file/ expand_ path_spec. rb:5:in `(root)' RubyKernel. java:1059: in `load' RubyBasicObject .java:1574: in `instance_eval' RubyArray. java:1613: in `each'
File.expand_path expands ../foo with ~/dir as base dir to /path/to/
ArgumentError: couldn't find HOME environment -- expanding `~'
org/jruby/
/«PKGBUILDDIR»
org/jruby/
org/jruby/
org/jruby/
org/jruby/
/«PKGBUILDDIR»
org/jruby/
org/jruby/
org/jruby/
4) RubyFile. java:799: in `expand_path' /spec/ruby/ core/file/ expand_ path_spec. rb:204: in `(root)' RubyBasicObject .java:1574: in `instance_eval' RubyEnumerable. java:1412: in `all?' RubyFixnum. java:275: in `times' RubyArray. java:1613: in `each' /spec/ruby/ core/file/ expand_ path_spec. rb:5:in `(root)' RubyKernel. java:1059: in `load' RubyBasicObject .java:1574: in `instance_eval' RubyArray. java:1613: in `each'
File.expand_path does not modify a HOME string argument ERROR
ArgumentError: couldn't find HOME environment -- expanding `~'
org/jruby/
/«PKGBUILDDIR»
org/jruby/
org/jruby/
org/jruby/
org/jruby/
/«PKGBUILDDIR»
org/jruby/
org/jruby/
org/jruby/
Finished in 573.121000 seconds
3352 files, 19539 examples, 52779 expectations, 0 failures, 4 errors
------- ------- ------- ------- ------- ------- ------- ---- »/rubyspec_ temp ------- ------- ------- ------- ------- ------- ----
The rubyspec temp directory is not empty. Ensure that
all specs are cleaning up temporary files:
/«PKGBUILDDIR
-------
debian/rules:56: recipe for target 'override_ dh_auto_ test' failed dh_auto_ test] Error 1
make[1]: *** [override_
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