Puffball has joined #jruby
<headius[m]> mspec ci, you mean?
<headius[m]> Just running mspec defaults to "run" which doesn't pick up tags
<headius[m]> There's a few tags but not much I'd expect people to care about
<headius[m]> awk mode and old encoding flags and such
<headius[m]> I believe some of those might depend on bin being in path, not sure. I always have bin in path
_whitelogger has joined #jruby
<ChrisSeatonGitte> @headius do you know what I run to run specs with tags? I tried `bin/jruby spec/mspec/bin/mspec ci :command_line` but that still seems to run tagged specs. It's not about `command_line` specifically - just can't work out the proper way to run specs with tags at all.
<headius[m]> ci should do it
<headius[m]> Is it not picking up jruby config or something?
<ChrisSeatonGitte> That's possibly it... `mspec` is too magic in some ways, and then also relies in manual configuration for things which should be magic like finding tags.
<headius[m]> I run mspec ci on almost a daily basis, so I know that's the correct way to do it
<ChrisSeatonGitte> Do you use `ci :foo` though?
<headius[m]> Yes
<headius[m]> Is bin in PATH? Perhaps it is picking up some other ruby during setup
<headius[m]> Is there some spec you are trying to confirm?
<ChrisSeatonGitte> I was looking at updating specs but can't figure out how they all run - I think I'll leave it to Benoit.
<ChrisSeatonGitte> `PATH=`pwd`/bin:$PATH bin/jruby spec/mspec/bin/mspec ci :command_line` doesn't fix it - still get `The --internal-encoding command line option sets Encoding.default_internal if given an encoding as a separate argument` for example
<headius[m]> In order to pass as many specs as possible, we usually run it through rake so it passes additional flags like object space etc
<ChrisSeatonGitte> What `rake` command would you run?
<headius[m]> But mspec ci ought to be fine
<headius[m]> rake spec:ruby:slow probably has the cli specs
<headius[m]> I haven't looked in awhile but I assume they launched a subprocess for almost everything
<ChrisSeatonGitte> To be really specific, `bin/jruby spec/mspec/bin/mspec spec/ruby/command_line/dash_internal_encoding_spec.rb` fails for me, and that's not about tags because that's not tagged.
<ChrisSeatonGitte> Tried `-t bin/jruby` as well
<ChrisSeatonGitte> Yes they do. Ok never mind I'll just leave these specs.
<headius[m]> I'll give it a try in a bit
<ChrisSeatonGitte> Cheers
<headius[m]> Did you get any further playing with JRuby native image?
<headius[m]> I'm planning to start working on that after RailsConf
<headius[m]> I need to figure out a good way to isolate places we use method handles directly but otherwise I'm hoping JRuby proper can be shoehorned in easily enough
lum has joined #jruby
lum has quit [Client Quit]
<headius[m]> Serbia so many different run time configurations, need to figure out a way to pair that down
<headius[m]> Pare
<headius[m]> Ha, JRuby
<headius[m]> Not Serbia
<ChrisSeatonGitte> No, I got as far as some failures in your static initialisers but didn't know as much about your internal architecture to easily figure out how to fix it.
<headius[m]> Oh right, the file descriptor cracking stuff.
<ChrisSeatonGitte> Yes that was it. I guess there must be some fallback for other JVMs?
<headius[m]> Most of that could be commented out for early experiments. We generally run okay without it, but some native operations don't be quite right
<headius[m]> The fallback is that they just allowed to fail to crack open the file descriptor
<ChrisSeatonGitte> I thought maybe if you turned on all options for using as basic Java as possible, no unsafe, it may work?
<headius[m]> In which case we use other tricks to pretend channels are file descriptors
<headius[m]> Yeah, that's what I'm thinking as well
<headius[m]> Disabling native features should cover most of that, but the static initializers we just allowed to run and then ignore it
<headius[m]> Might need to look at a jnr back end for the graal ffi as well
<headius[m]> I don't suppose you guys ever made one of those
<ChrisSeatonGitte> Native Image used to support JNR, not sure about now.
<ChrisSeatonGitte> (Because we moved to Truffle NFI.)
<headius[m]> Ah, well that's a good start
<headius[m]> Maybe one less thing to worry about
<ChrisSeatonGitte> You unlikely ever want to use Graal FFI by the way - that's something very specialist. Ask if you're trying to use that for something when you get to that point.
<headius[m]> Okay thanks
<headius[m]> If JNR works or can be made to work then no big deal
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Antiarc_ has quit [Ping timeout: 246 seconds]
xmj has joined #jruby
<xmj> moin
<xmj> is there a workaround to otto.takari.io timing out and maven fetching some artifact instead from maven central?
<xmj> it looks like i've jumped into a time machine, https://irclog.whitequark.org/jruby/2015-08-20
aqd has quit [Remote host closed the connection]
aqd has joined #jruby
_whitelogger has joined #jruby
aqd has quit [Ping timeout: 255 seconds]
Osho has quit [Ping timeout: 264 seconds]
Osho has joined #jruby
aqd has joined #jruby
aqd has quit [Remote host closed the connection]
<headius[m]> xmj: yeah I remember this
<xmj> i've had a bunch of timeouts with that box today ... before stuff ended up cached
<xmj> took quite a while, and the settings.xml where i set timeout to 5s was ignored =(
<headius[m]> Are you building a current version of JRuby? my memory is fuzzy on this but I feel like we just removed that source because the plugins could get those dependencies elsewhere
<headius[m]> Chris Seaton (Gitter): I get this for command_line: 29 files, 137 examples, 155 expectations, 22 failures, 0 errors, 10 tagged
<headius[m]> so it's picking up tags but either the right flags aren't getting passed to JRuby or we stopped running command_line specs at some point and have not picked up the newer specs
<headius[m]> none of these look critical...mostly stuff that was added that we aren't redirecting to existing flags
<headius[m]> I don't think I even knew about --internal-encoding for example...but it would just be the same as a -E flag
Puffball has quit [Quit: Puffball]
<xmj> not quite, i'm trying to port HBase 2.1 to FreeBSD and we had patched jruby-complete into the predecessor
<headius[m]> aha...so that might be an older jruby-complete with a takari dep?
<xmj> so that patch was carried over to the new one, and the timeouts were only happening with jruby dependencies
<xmj> 9.0.3.0, can't be too recent as i've worked on that predecessor some three years ago
<xmj> maybe four :-)
<headius[m]> wow yeah
<headius[m]> that's like 3 years old
<headius[m]> so things have definitely changed
<headius[m]> current JRuby builds shouldn't have dependencies in the takari repo
<xmj> oh sweet
<xmj> 9.1.13.0, which comes in the newer pom, seems more recent
<headius[m]> what pom is that?
<headius[m]> that might be better but it's still over a year old
<headius[m]> So hbase has not updated jruby in awhile
<headius[m]> That JRuby was released Sept 2017
<xmj> hmmm yes, at least that version downloads fast :)
<headius[m]> ok cool, so it's past that problem anyway!
<xmj> yep, thank you!
<headius[m]> if you have the time you could try to file an issue to update hbase to a newer jruby but I'm glad we found a path for you
<headius[m]> Chris Seaton (Gitter): if you could, file a bug about the command_line specs not lining up with tags...I suspect it fell out of the complicated mspec magic and we just missed some new flag features and spec additions
Antiarc has joined #jruby
xardion has quit [Remote host closed the connection]
xardion has joined #jruby
subbu is now known as subbu|lunch
subbu|lunch is now known as subbu
fredmorcos has joined #jruby
fredmorcos has quit [Remote host closed the connection]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lopex has quit [Ping timeout: 252 seconds]
lopex has joined #jruby
lucasb has joined #jruby
ilbelkyr_ has joined #jruby
ilbelkyr has quit [Read error: Connection reset by peer]
quadz_ has joined #jruby
jeremyevans_ has joined #jruby
lanceball_ has joined #jruby
quadz has quit [Ping timeout: 250 seconds]
lanceball has quit [Ping timeout: 250 seconds]
jeremyevans has quit [Ping timeout: 250 seconds]
Osho has quit [Ping timeout: 246 seconds]
Osho has joined #jruby