<projectodd-ci> Project jruby-master-test-slow_suites build #2540: STILL FAILING in 1 min 17 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/2540/
<travis-ci> jruby/jruby (master:de1981a by Chris Seaton): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/104514423)
elia has joined #jruby
<chrisseaton> Flaky tests!
<GitHub187> [jruby] chrisseaton pushed 1 new commit to truffle-head: https://git.io/vzKuv
<GitHub187> jruby/truffle-head cb0634a Chris Seaton: Merge branch 'master' into truffle-head
enebo has joined #jruby
<travis-ci> jruby/jruby (master:5441536 by Chris Seaton): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/104515998)
<projectodd-ci> Project jruby-master-spec-compiler build #893: STILL FAILING in 1 hr 2 min: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/893/
brightball has quit [Read error: Connection reset by peer]
elia has quit [Quit: Computer has gone to sleep.]
qmx has quit [Ping timeout: 264 seconds]
tcrawley-away has quit [Quit: ZNC - http://znc.in]
tcrawleyz has joined #jruby
tcrawleyz is now known as tcrawley
tcrawley has quit [Changing host]
tcrawley has joined #jruby
qmx has joined #jruby
qmx has quit [Changing host]
qmx has joined #jruby
yfeldblum has joined #jruby
tjohnson has quit [Quit: Connection closed for inactivity]
enebo has quit [Quit: enebo]
e_dub has joined #jruby
thedarkone2 has quit [Quit: thedarkone2]
nirvdrum has joined #jruby
erick has joined #jruby
erick is now known as Guest91079
e_dub has quit [Ping timeout: 256 seconds]
Guest91079 has quit [Remote host closed the connection]
e_dub has joined #jruby
tomjoro has joined #jruby
dfr has quit [Ping timeout: 260 seconds]
elia has joined #jruby
vtunka has joined #jruby
dfr has joined #jruby
waka has joined #jruby
skade has joined #jruby
blaxter has joined #jruby
vtunka has quit [Quit: Leaving]
vtunka has joined #jruby
ITXpander has joined #jruby
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #jruby
vtunka has quit [Quit: Leaving]
yfeldblum has quit [Ping timeout: 240 seconds]
vtunka has joined #jruby
vtunka has quit [Quit: Leaving]
bbrowning has joined #jruby
enebo has joined #jruby
<headius> g'day
<headius> we have some fails eh?
<kares> headius: yy
<headius> org.ow2.asm:asm:jar:5.0.3
<headius> wha?
<kares> it does not show up on mri test runs
enebo has quit [Client Quit]
<kares> seems an interned assertion failure
<kares> headius: if you :
<kares> bin/jruby -X-C -r ./test/mri_test_env.rb test/mri/runner.rb -v --color=never --tty=no -q -- ruby/test_syntax.rb
<kares> than it fails - although the runner does not mind
<headius> hmm
<kares> kares: there's a non interned "_$0" going into StaticScope
<kares> trying to understand whats going on ... but no luck so far :)
<headius> there's a maven failure fetching asm 5.0.3 on cloudbees
<headius> kares: oh that's interesting
<kares> only happens on test_syntax parsing
<kares> but it was working since the last import ... I recall https://github.com/jruby/jruby/commit/366b9da57da1460025f2dca576d5e6805142991c
<kares> so it must be a parser/grammar regression?
shellac has joined #jruby
<headius> I'm going to boot these 'bees builds and see if they clear up
<headius> looking at your issue now kares
<projectodd-ci> Project jruby-master-spec-ji build #2588: STILL FAILING in 1 min 31 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/2588/
<headius> kares: did you run locally with assertions enabled?
<kares> headius: yy
<projectodd-ci> Project jruby-master-test-slow_suites build #2541: STILL FAILING in 1 min 37 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/2541/
<projectodd-ci> Project jruby-master-spec-compiler build #894: STILL FAILING in 1 min 54 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/894/
<headius> hmm
<kares> whats confusing is how the parser sets a _$0 name ... is that smt special?
<headius> now truffle is failing to build
<chrisseaton> hello
<chrisseaton> let me take a look...
<headius> kares: I think that's a hidden variable we use for flipflop
<kares> ahaa
<headius> chrisseaton: cloudbees env seems goofy lately, first it couldn't find ASM 5.0.3 and now it can't build jruby+truffle
<kares> now the q is why everything else is interned and flip-flop isnt
<chrisseaton> yeah it's fine on Travis
<headius> kares: found a couple references to it
<chrisseaton> where can I see a CloudBees failure? I always see grey and 1ms next to Truffle
<headius> it's not flip-flop..looks like it's a dummy var we use to indicate repeated uses of _ for ignoring args
<chrisseaton> it's just permgen isn't it?
vtunka has joined #jruby
<headius> oh, I see that now
<headius> hmm
<headius> I'm going to move these to 8 for the moment so I can see that they run green
<kares> running with LoadService patched not to re-wrap at least AssertionError : https://github.com/kares/jruby/commit/65f040f8c69b7eb087b63b637301c0dccada166c
<kares> its catch-ing(Throwable) on a few places
<headius> -d works
<headius> usually
<headius> to print the original
<kares> that made it show fail under mri runner not just the it tests
<headius> ok
<headius> something swallowing the load error in other runs then perhaps
<kares> definitely
<kares> test_syntax.rb when failing to parse not reporting a failed run :(
lance|afk is now known as lanceball
<projectodd-ci> Yippee, build fixed!
<projectodd-ci> Project jruby-master-spec-compiler build #895: FIXED in 4 min 55 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/895/
<kares> headius: go it ...
<headius> oh yeah?
<kares> needs to be interned
<kares> makes sense, right?
<kares> well actually it does not make sense :)
<kares> oh looking at the wrong line - so it does
<kares> headius: https://github.com/kares/jruby/commit/5436c4f6665417a42aad2446eafc647b5593a923 fixed the issue and revealed there's actual (new) failures in test_syntax.rb
<headius> nice!
<headius> kares: btw, I think enebo wants to put out 9.0.5 this week, and then we're just going to merge ruby-2.3 in
<kares> headius: should the AssertionError re-throw in LoadService be kept or should I skip that commit while pushing upstream?
<kares> headius: najs!
<headius> kares: probably should not stay but I'd like to know why it was masking failures
<kares> headius: ok - going to push to master without it than
<kares> on first look catch(Throwable) feels wrong - e.g. OutOfMemoryError re-packed into Ruby LoadError but I have not tested MRI and there are no reported issues so guess its good :)
<GitHub158> [jruby] kares pushed 4 new commits to master: https://git.io/vzifh
<GitHub158> jruby/master 9fc39a4 kares: adjust LoadService exporting a private class for sub-classes + list of <String> please
<GitHub158> jruby/master 5f7551d kares: this seems obviously as a missing throw statement
<GitHub158> jruby/master fcc07a4 kares: align where catch(Throwable) stack traces are printed + find-bugs-style cleanup
<kares> new failures where false alarm on my end ... thus the next travis-ci is expected green!
<eregon> headius: Hi!
<headius> eregon: hello
<headius> kares: ok excellent!
<headius> kares: it probably should be catch (everything that's not Error) and propagate Error
<eregon> headius: The question of making JRuby+Truffle Java 8 came up again, what do you think if the jruby-truffle.jar was Java 8 and core JRuby Java 7 bytecode?
<headius> I'm wary to change it, though, since there are libraries that want to be able to rescue LoadError to swallow all potential reasons a library might fail to load
<headius> eregon: since they're shipped as separate jars I don't see a problem with it
<headius> we can chat with enebo about it today
<eregon> that would be great
<kares> headius: agreed some Error types make sense e.g. ExceptionInInitializerError for java exts
Puffball_ has quit [Read error: Connection reset by peer]
<eregon> ping me when he's around then :)
Puffball has joined #jruby
csfranci1 is now known as csfrancis
e_dub has quit [Quit: ZZZzzz…]
tomjoro has quit [Remote host closed the connection]
tomjoro has joined #jruby
tomjoro has quit [Ping timeout: 264 seconds]
<headius> kares: we could also have a subclass of LoadError that propagates more info when it's a Java error
<headius> FYI all, I'll be working on slides for FOSDEM this week so not hacking much, but I'll be around
vtunka has quit [Quit: Leaving]
<projectodd-ci> Project jruby-master-spec-ji build #2589: STILL FAILING in 1 min 35 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/2589/
<projectodd-ci> Project jruby-master-test-slow_suites build #2542: STILL FAILING in 1 min 29 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/2542/
thedarkone2 has joined #jruby
vtunka has joined #jruby
cremes has quit [Quit: cremes]
skade has quit [Read error: Connection reset by peer]
skade has joined #jruby
camlow325 has joined #jruby
thedarkone2 has quit [Quit: thedarkone2]
<headius> I really don't get why it can't find asm
<headius> going to bump to 5.0.4 and see if it corrects
<GitHub142> [jruby] headius pushed 1 new commit to master: https://git.io/vziZG
<GitHub142> jruby/master 08ade3e Charles Oliver Nutter: Bump to ASM 5.0.4 to try to fix up cloudbees builds.
<travis-ci> jruby/jruby (master:d13f91e by kares): The build was fixed. (https://travis-ci.org/jruby/jruby/builds/104647535)
<headius> kares: yay
tjohnson has joined #jruby
<travis-ci> kares/jruby (master:fcc07a4 by kares): The build was canceled. (https://travis-ci.org/kares/jruby/builds/104637734)
<projectodd-ci> Project jruby-master-test-slow_suites build #2543: STILL FAILING in 29 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/2543/
<headius> ugh
<projectodd-ci> Yippee, build fixed!
<projectodd-ci> Project jruby-master-spec-ji build #2590: FIXED in 6 min 10 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/2590/
blaxter has quit [Quit: foo]
Freaky has joined #jruby
cremes has joined #jruby
blaxter has joined #jruby
subbu is now known as subbu|afk
enebo has joined #jruby
<projectodd-ci> Yippee, build fixed!
<projectodd-ci> Project jruby-master-test-slow_suites build #2544: FIXED in 7 min 24 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/2544/
oblutak has joined #jruby
subbu|afk is now known as subbu
skade has quit [Quit: Computer has gone to sleep.]
<travis-ci> jruby/jruby (master:08ade3e by Charles Oliver Nutter): The build was fixed. (https://travis-ci.org/jruby/jruby/builds/104660071)
shellac has quit [Quit: Ex-Chat]
<headius> enebo: good morning
thedarkone2 has joined #jruby
GitHub190 has joined #jruby
<GitHub190> [jcodings] headius pushed 1 new commit to master: https://git.io/vziVv
<GitHub190> jcodings/master a7840bb Charles Oliver Nutter: [maven-release-plugin] prepare release jcodings-1.0.17
GitHub190 has left #jruby [#jruby]
GitHub9 has joined #jruby
<GitHub9> [jcodings] headius tagged jcodings-1.0.17 at 3e6c5a7: https://git.io/vziVf
GitHub9 has left #jruby [#jruby]
GitHub4 has joined #jruby
<GitHub4> [jcodings] headius pushed 1 new commit to master: https://git.io/vziVJ
GitHub4 has left #jruby [#jruby]
<GitHub4> jcodings/master 0cc8ced Charles Oliver Nutter: [maven-release-plugin] prepare for next development iteration
<eregon> headius: same, need to do my slides as well
<headius> hmm, well I have an unboxed loop working again
<GitHub0> [jruby] headius pushed 1 new commit to master: https://git.io/vziwf
<GitHub0> jruby/master 41e1f5f Charles Oliver Nutter: Get boolean unboxing working a bit better. Simple loops compile.
bbrowning is now known as bbrowning_away
<headius> enebo, subbu: I had an idea regarding unboxed operations that might return an object
<projectodd-ci> Project jruby-master-spec-ji build #2591: FAILURE in 30 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/2591/
<headius> we could specify a single value of fixnum and float that we always recognize as a "try again" marker, like Integer.MIN_VALUE or something
<subbu> headius, am in the middle of some "unbreak now" investigation .. so, later. :)
<headius> 0xFFFFFFFF = retry operation using objects
<headius> subbu: sure, no rush...just brainstorming
<bga57> Hey headius, enebo! I'm making a pitch for you (or one of you) to take about jruby 9.x and/or truffle at next month's TCRUG.
<headius> bga57: sounds cool! What day? I have some travel
vtunka has quit [Quit: Leaving]
<bga57> It's the last monday of the month
<bga57> There's one tonight
skade has joined #jruby
<bga57> I 2/28
e_dub has joined #jruby
<bga57> At least there's supposed to be one tonight, it's not showing up on the ruby.mn website.
<bga57> If there is one, I'll make sure I know who you should talk to about volunteering to talk at an upcoming meeting.
<headius> ok
<projectodd-ci> Project jruby-master-test-slow_suites build #2545: FAILURE in 1 min 23 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/2545/
<bga57> If it's there, it's at the Day Block Brewery, 1103 Washington, upstairs
<enebo> headius: so in your idea it would not be to deopt but to retry?
<headius> yeah, branch over to the object-based logic from then on
<headius> or that could be used as a sign to do a heavy deopt without adding a lot of exception-handling around unboxed operations
<headius> if we value-doubled we wouldn't have to fully deopt though
<enebo> headius: I think right now a deopt strategy proposed would be to raise a saved instance of an exception saying, “deopt” which would be likely a full deopt
subbu is now known as subbu|meeting
<enebo> headius: I guess the need to keep return primitive is the motivation right?
<headius> yes
skade has quit [Ping timeout: 264 seconds]
<enebo> headius: seems reasonable to me but as an if in IR means it will end up being 2 BBs and I wonder about analysis since one path will be primitive and one will be object (although it seems better than one path which is always Object)
<enebo> headius: this split-if is why our current inliner is not the greatest
<enebo> headius: but with that said it still improves things
bb010g has quit [Quit: Connection closed for inactivity]
<enebo> ah anyways this is why we need a generic deopt since unboxed math at least for things like arith. we can assume primitive return and force deopt. Then though our IR will be all primitive and it potentially can lead to more discovery
<enebo> but it might still be a good short run opt if we can unbox with fail path for now?
<bga57> BTW, tonight's ruby,mn meeting is a meetup with Sandi Metz.
<enebo> bga57: Val and I will be there
<GitHub105> [jruby] chrisseaton pushed 3 new commits to master: https://git.io/vziX5
<GitHub105> jruby/master dc55fc3 Chris Seaton: [Truffle] Lower some Fixnum parameters in IO primitives.
<GitHub105> jruby/master 4447fc3 Chris Seaton: [Truffle] A couple of new Java guards.
<GitHub105> jruby/master 0655a20 Chris Seaton: [Truffle] Handle CharSequence, rather than just String, in interop.
elia has quit [Quit: Computer has gone to sleep.]
<enebo> chrisseaton: if you want anything additionally said about Truffle for 9.0.5.0 can you email me something or gist or whatever
<GitHub194> [jruby] chrisseaton created truffle-execjs (+2 new commits): https://git.io/vziXp
<GitHub194> jruby/truffle-execjs b5c6696 Chris Seaton: [Truffle] Support for ExecJS.
<GitHub194> jruby/truffle-execjs 54d5d4a Chris Seaton: [Truffle] Integration tests for ExecJS.
<chrisseaton> enebo: at FOSDEM?
<enebo> chrisseaton: no for release notes
<chrisseaton> oh the release email - yes I have a paragraph... will send you in a minute
<enebo> chrisseaton: not sure it will be today or not
<enebo> chrisseaton: I hope so though :)
bbrowning_away is now known as bbrowning
<GitHub120> [jruby] enebo pushed 1 new commit to master: https://git.io/vzi1B
<GitHub120> jruby/master 239158d Thomas E. Enebo: Update to released version of jcodings
<GitHub183> [jruby] chrisseaton opened pull request #3614: Support ExecJS in Truffle using Graal.js (master...truffle-execjs) https://git.io/vzi1Q
<headius> man, errors in asm are the hardest blasted things to sort out
skade has joined #jruby
rsim has joined #jruby
subbu|meeting is now known as subbu
e_dub has quit [Quit: ZZZzzz…]
skade has quit [Read error: Connection reset by peer]
e_dub has joined #jruby
<headius> enebo: looks like I have mandelbrot working again
<headius> with a minor modification: comparing values against Ruby constants force us to box right now, so I made those values literals
<headius> without unboxing, bailout = 16, max_iters = 1000... time = 0.325s
<headius> with unboxing, same parameters...time = 0.045s
<headius> hmm, still seeing some boxing in the bytecode
<enebo> neat
<projectodd-ci> Project jruby-master-spec-ji build #2592: STILL FAILING in 1 min 24 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/2592/
<headius> ahh, I see
<headius> it's a comparison between a float and fixnum, we don't have an operation for that
<headius> I'll fix that...should get the last boxing out of this
<headius> actually I can modify the script so it doesn't box
<headius> enebo: with really truly no boxing except at the end, time = 0.016s or so
<headius> so there's 50x
<headius> no boxing, yay
rsim has quit [Quit: Leaving.]
<enebo> makinh some lunch…afk a bit
<enebo> cool though
<headius> at least I can show updated results for it now
<projectodd-ci> Project jruby-master-test-slow_suites build #2546: STILL FAILING in 1 min 43 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/2546/
tomjoro has joined #jruby
ITXpander1 has joined #jruby
bb010g has joined #jruby
donValentin has joined #jruby
ITXpander has quit [Ping timeout: 250 seconds]
donV has quit [Ping timeout: 240 seconds]
<enebo> headius: (or anyone else)…can someone confirm the command ‘jruby -S gem install rails’
<enebo> I am getting a nil to Float coercion error
<GitHub101> [jruby] chrisseaton pushed 2 new commits to truffle-execjs: https://git.io/vzPf0
<GitHub101> jruby/truffle-execjs 8eb9751 Chris Seaton: [Truffle] Explain why we're not using the remote file.
<GitHub101> jruby/truffle-execjs ba1e729 Chris Seaton: [Truffle] Add primitives to interop boxing nodes.
<enebo> This also means you need some gems which are not already installed
<headius> willl try here
<enebo> wow it works this time
<enebo> but I got master to fail once and these test bits to fail once
<headius> hmm
<headius> I'm rebuilding
<headius> hmmm
<headius> I got some odd errors
<enebo> chrisseaton: great thanks
<enebo> headius: yeah I think it only succeeds after first run because problem gem is thought to be installed after previous failure
<headius> I got a bunch of these so I think my gems got corrupted:
<headius> Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/rspec-support-3.4.1.gemspec]: undefined method `prerelease?' for nil:NilClass
<enebo> wow
<enebo> I am only seeing: ERROR: While executing gem ... (TypeError)
<enebo> nil can't be coerced into Float
<headius> my issues was a local problem from unboxing work
<headius> enebo: still rebuilding after patching that
<enebo> headius: yeah I think either my assumption on block var CP was wrong (parser-only) which I think it will be ok as-is or kares making a seemingly obvious change to raise is a mistake
<enebo> unless ASM is broken
<enebo> but I can test that one quickly by running interp only
<headius> seems unlikely to be asm
<enebo> yeah I would think so too
<headius> Successfully installed nokogiri-1.6.7.2-java
<headius> ERROR: While executing gem ... (TypeError)
<headius> nil can't be coerced into Float
<headius> the fact that it works a second time does make me suspect jit
<enebo> -X+C works
<enebo> but I am trying activesupport which seemed like it failed for me once
<headius> -X+C doesn't really do anything right now
<enebo> -Xjit.threshold=0 also does not fail so far as I can tell
<headius> k
<enebo> but I am only trying one gem
<headius> hmm
<headius> can you get a backtrace?
<enebo> I have not looked up the verbosity flag to rubygems
<enebo> this is fascinating to see us green yet have this issue
<headius> indeed
<enebo> although the jcodings commit has not finished in CI yet
<headius> that would also be a pretty weird one to fail
<headius> bleh, of course I can't reproduce it with verbose
<headius> there we go
<headius> /Users/headius/projects/jruby/lib/ruby/stdlib/net/http.rb:921:in `connect'
<headius> seems off a line
<headius> kares: something recent/new with ssl_session?
<headius> Process.clock_gettime(Process::CLOCK_REALTIME) < @ssl_session.time.to_f + @ssl_session.timeout
<headius> I would guess timeout is coming back as nil
<enebo> /Users/enebo/work/release/release/jruby-9.0.5.0/bin/jruby -S gem install rails -- -V --backtrace
<enebo> Is this really not the right CLI
<headius> no
<enebo> I need it before install
<headius> I just passed --verbose and --debug to install
<enebo> yeah ok I have it also now
<enebo> same line
<headius> timeout does return nil for us if not set
<headius> MRI appears to always return a numeric result from SSL_SESSION_get_timeout
<enebo> @ssl_session.timeout
<enebo> hmmm
<enebo> so this must be newish no?
<enebo> I mean we just released 1.7.24
<enebo> perhaps we are using a newer jossl on 9k
<enebo> I don’t really follow this gem as much
<headius> somewhat new
<headius> timeout is 300 at that line in MRI
<headius> 5 min
<headius> not sure if that's an openssl default or an MRI default though
<enebo> hmm
<enebo> could it be retrieved?
<enebo> like a ttl from the server thing?
camlow325 has quit [Remote host closed the connection]
<headius> no reference to 300 in all of ossl
<headius> certainly could be, I don't know
camlow325 has joined #jruby
<headius> "Whenever a new session is created, it is assigned a maximum lifetime. This lifetime is specified by storing the creation time of the session and the timeout value valid at this time."
<headius> "The default value for session timeout is decided on a per protocol basis, see SSL_get_default_timeout. All currently supported protocols have the same default timeout value of 300 seconds."
<headius> openssl docs
<enebo> hmm
<enebo> ok well that sounds like it is coded into the lib
blaxter has quit [Ping timeout: 245 seconds]
<enebo> so we would have that value but MRI would not
<headius> right
<headius> I'm looking at javax ssl stuff
<enebo> headius: I am wondering if this is the only problem if we just hack http to check 300 here with an issue or we fix jossl on the spot
<headius> hmmm yeah, I dunno
skade has joined #jruby
<headius> it would be a small fix if this is the only place
<enebo> heh that is really gross
<headius> huge if we need to spin jossl
<enebo> checking to see if I see other stuff
<enebo> hahaha
<enebo> ./test/mri/openssl/test_ssl_session.rb: assert_equal(300, session.timeout)
<enebo> yay
<headius> nice
skade has quit [Read error: Connection reset by peer]
<headius> it doesn't work in current jruby-openssl because it needs an "ssl context" to have been established to report the timeout
<headius> for this case I assume it's not there because otherwise it would provide a fixnum result
<enebo> webrick/ssl.rb has a config for setting timeout but I do not see a default
<enebo> so I wonder if it is an issue or not there too
<enebo> since I do not see anything consuming the timeout I am not sure I can know or not
<headius> well the patch for ossl is simple enough for now...I'll just have it return 300
<headius> trying to figure out of there's a default for java ssl or not
<donValentin> Hi all!
<enebo> headius: ok
<enebo> donValentin: did you nick just get longer or are you someone else?
<donValentin> It is my alternate nick for when IRC gets confused :)
<enebo> headius: seems we should revv jossl to be safe…my grepping did not look horrible but it feels like I would hit myself if I did a hack like that and it failed
<donValentin> I am donV :)
<headius> enebo: ok
<enebo> donValentin: ok…I keep forgetting what V stands for
<donValentin> That’s why I use this nick once in a while, just to remind you :)
<enebo> donValentin: thank you :)
<donValentin> Gratz on the 1.7.24 release. It seems to work well on Ruboto.
<headius> enebo: trying with 0.9.15-SNAPSHOT of jossl
<headius> seems to have worked
<enebo> headius: yeah makes sense it would unless we had other code depending on it being nil
<enebo> headius: but this bugs me a little bit…how did this start triggering?
<enebo> headius: like some server-side change from rubygems.org perhaps?
<GitHub115> [jruby-openssl] headius pushed 2 new commits to master: https://git.io/vzPZC
<GitHub115> jruby-openssl/master aefb6c3 Charles Oliver Nutter: Always return a Fixnum here. openssl defaults to 300.
<GitHub115> jruby-openssl/master 79af044 Charles Oliver Nutter: Rev pom version.
<enebo> Seems very possible to me but I wonder if now whether jruby-1_7 is broken
<headius> it's possible...I only got a couple 300 prints for dozens of gems in rails so it may be doing keepalive now or something?
<headius> we were defaulting to 0.9.13 on master up to now btw
<enebo> I guess I will clone 1.7 and try it
vmarcetic has joined #jruby
<enebo> hmmm I wonder what was 1.7
<headius> 1.7 appears to use 0.9.13 too
skade has joined #jruby
<enebo> yay
<headius> but this may not exist in 1.7 stdlib
<enebo> yeah maybe not
<headius> do not know why it would have started breaking recently though
<enebo> building 1.7 in a fresh clone (seems easier than dealing with gemhome)
<headius> my changes are pushed to jruby-openssl...you can mvn install and then update jruby lib/pom.rb to point at 0.9.15-SNAPSHOT to test
<enebo> headius: since you are testing perhaps you can see what we have commented out in MRI openssl tests
<enebo> we must have had this one not running
<enebo> or perhaps we don’t run all ext tests
<headius> those lines in http.rb haven't been updated since we pulled in 2.2 stdlib
<headius> fyi
<enebo> yeah so seems like it is likely a server change having us hit that logic
<headius> I'm not sure we run the session tests at all
<headius> it was only partially implemented recently
<enebo> ah
<enebo> well I sure hope this passes :)
<enebo> yay…I still have debug flags in here
<enebo> well seems like it did not error on 1.7
<enebo> so that begs a different question about how safe 1.7.x is over time since no one is updating some of these stdlibs any more
<enebo> but that is not a problem for today
skade has quit [Ping timeout: 240 seconds]
<headius> a commit by naruse in 2014
<headius> c7855be25c379206a1bddd2bbd76e11cc642c8f8
<headius> hmm no
<headius> before that, this just refined it
<headius> anyway it has been around for a while
<enebo> yeah this still had that logic
<headius> + * lib/net/http.rb: Do not attempt SSL session resumption when the
<headius> + session is expired. [Bug #10533]
<headius> nov 2014
<headius> drbrain
<enebo> headius: yeah different logic in 1.9/net/http.rb
<headius> ok...so something change network-wise to trigger it now, and it wasn't there before 2014 so 1.7 doesn't see it
<headius> and previous releases wouldn't have seen it because we didn't have ssl_session
<chrisseaton> Travis tells me I'm running something on 'Legacy Precise', but I'm not sure what I'm supposed to do about that - anyone know?
<headius> chrisseaton: that would be ubuntu precise protozoan or whatever...maybe it's reporting it because we're still using sudo containers?
<headius> oh, not sudo anymore
<headius> I'm not sure then
<chrisseaton> This is for our Truffle builds actually. I've used defaults for everything, not enabled sudo or anything
<headius> sudo is true by default
<headius> you might try turning it off
<chrisseaton> It's a terrible error message - I'm not even sure it is an error message
<chrisseaton> I'll try that thanks
<headius> sudo: false at root of .travis.yml
<chrisseaton> 'Precise' is also a ludicrous codename
<headius> heheh
<chrisseaton> I don't get why I'd get something that is 'legacy' for a brand-new setup though
<headius> I think they're trying to deprecate that setup but haven't flipped switch to default to new setup
<headius> enebo: how's it looking
<enebo> headius: so you think this may be a problem with 9.0.4 then ?
<headius> could be
<enebo> can you just push the snapshot
<enebo> I don’t want to build this
<enebo> I just updated to the snapshot version and I cannot build
<headius> 9.0.4 shipped with jossl 0.9.11
yipdw has quit [Ping timeout: 250 seconds]
Osho has quit [Ping timeout: 260 seconds]
<enebo> would that matter?
<headius> if session didn't exist until after 0.9.11, then yes :-)
yfeldblum has joined #jruby
<enebo> so there is some conditional logic which works around us not having session
<enebo> if so then I am less worried
<headius> I was unable to get 9.0.4 to tail with updated jossl
<headius> fail
<enebo> ok…weird
<headius> enebo: I did mvn deploy in jruby-openssl, not sure if that's the right way to push a snapshot gem or what
<enebo> I don’t know
skade has joined #jruby
<headius> ok, I guess that isn't right
<headius> you can't build jossl?
<enebo> yay the entire internet is loading to build it
<headius> ahh yeah, it goes into rubygems group
<headius> we haven't set that aside as ours in central
<enebo> well I am doing it so
<enebo> time for coffee
<headius> yeah I guess the right way is pushing this to rubygems
yipdw has joined #jruby
<headius> I have not released jruby-openssl since the new build
Osho has joined #jruby
<enebo> headius: ok built
<enebo> headius: I will try some stuff out at least
<headius> ok
<enebo> headius: I guess I now feel a little leery
<headius> I don't know the procedure to pushing jossl gem
<headius> this is a pretty tiny change but touching jossl always scares me
<enebo> headius: I definitely don’t have confidence on a release today
<headius> kares: what's the process for releasing jruby-openssl?
skade has quit [Ping timeout: 272 seconds]
<headius> kares: I assume I can just push the gem that's built but I'd like confirmation
skade has joined #jruby
<GitHub47> [jruby] nirvdrum pushed 5 new commits to truffle-ropes-on-head: https://git.io/vzPBk
<GitHub47> jruby/truffle-ropes-on-head 9ca086f Kevin Menard: [Truffle] Allow Graal to optimize fetching the byte[] from a rope.
<GitHub47> jruby/truffle-ropes-on-head 71dbedf Kevin Menard: [Truffle] Guard on ropes instead of ByteLists.
<GitHub47> jruby/truffle-ropes-on-head d9d7536 Kevin Menard: [Truffle] Removed lazy code range scanning code since we always eagerly compute it.
<enebo> Fetching: nokogiri-1.6.7.2-java.gem (100%)
<enebo> Successfully installed nokogiri-1.6.7.2-java
<enebo> WARNING: SSLSocket#session= is not supported
<enebo> Fetching: rails-deprecated_sanitizer-1.0.3.gem (100%)
<enebo> heh…so something it decided to set the value we are returning as 300 unconditionally now
<headius> not unconditionally
<enebo> oh only if not set
<enebo> ok
<headius> yeah
<enebo> so what is this warning saying…we can read and set the value but nothing uses it?
<headius> that warning comes up with there's no context established
<headius> so same reason the other method returned nil
<headius> we can read it and set it but if context is not established we have nowhere to put it in java APIs
<headius> I have not been able to learn what the lifecycle is for ssl session context
<enebo> ok so I can run my runner to install rails and make a sample rails app with this change
skade has quit [Ping timeout: 240 seconds]
<enebo> yeah so there could be lots of breaking behavior here in the case the session timeout is important
<enebo> but probably not a big deal in normal case
<enebo> I mean if the lifecycle is potentially wrong then perhaps we have other landmines here too
<headius> well it doesn't seem like the context is associated with a live connection or anything, so I'm trying to see if we should be more eagerly triggering it
<headius> but yeah without lifecycle knowledge I'd be really worried about a larger change
<headius> docs on these classes are so poor
<headius> A SSLSessionContext represents a set of SSLSessions associated with a single entity. For example, it could be associated with a server or client who participates in many sessions concurrently.
<headius> no way to construct it, no indication of what creates it
<headius> "This context may be unavailable in some environments, in which case this method returns null."
<enebo> another option to consider is whether we fall back to 9.11 for 9.0.5.0 or if there is a critical change we need
<headius> there's a lot of code examples that assume it's never null
<headius> hmmm
<enebo> hmmm I wonder if MRI just has a stack struct of it
<enebo> I would think even MRI would need these to be thread local
<enebo> or hell sorry per connection
<headius> yeah
<enebo> GetSSLCTX(self, ctx);
<enebo> SafeGetSSLSession(arg, sess);
<enebo> I see these two lines all over the place
<headius> in our source?
<enebo> not always right next to each other though
<enebo> in MRI’s
<enebo> Just thinking it might inform on lifecycle at least as much as MRI is correct about lifecycle
<enebo> which I hope is totally correct
<headius> hmmm yeah
<enebo> an ex-coworker had to do a bunch of crap for us with openssl many years ago and it was super difficult to know for sure :)
<headius> what does GetSSLCTX do?
<enebo> TypedData_Get_Struct((obj), SSL_CTX, &ossl_sslctx_type, (ctx));\
<enebo> ossl_sslctx_s_alloc(VALUE klass) and a free method I can see
<enebo> ok so SSLContext has an alloc function which allocates this struct
<enebo> So any SSLContext.new will make one
<enebo> I guess that might mean all ext methods define assume an instance of this has been made in Ruby already to work
<enebo> or they call alloc/new internally in C somewhere
<enebo> I know nothing about this library so I am just spelunking
<enebo> BUT … If we are missing something critical with lifecycle of openssl I really don’t feel comfortable rolling with it a day later
<headius> hmm
<headius> yeah
subbu is now known as subbu|lunch
<enebo> so we have three options
<enebo> 1) we fall back to 0.9.11 which 1.7.x uses. Will this cause problems with stdlib 2.2?
<enebo> 2) we just make the single timeout change.
<enebo> 3) We spend some more time to figure out why context is null and fix it
<enebo> 3 feels the most risky so I think we should do that soon but not use it in this release
<enebo> 1 I have no feeling for so I don’t think I should argue for or against it
<enebo> 2 obviously works enough to pass our acceptance testing but it mildly gives me feelings of fear :)
<headius> the single timeout change = in jruby-openssl right?
<enebo> I guess maybe another thing going for 1) is that it was what we released for 9.0.4.0 and we have not had issues reported
<enebo> headius: correct
<headius> there's a lot of changes since 0.9.11
<headius> I don't think we can go back older than 9.0.4 though
<enebo> headius: you mean ones in JRuby which depend on them
<enebo> headius: if so then yeah I agree
<headius> ok yeah, reconfirmed 9.0.4 used 0.9.11
<headius> I mean changes in jruby-openssl since 0.9.11
<headius> there's lots of commits
<enebo> oh yeah
<enebo> ok so #1 is still a candidate
<headius> it was released in august
<enebo> in my mind fixing openssl bugs may or may not be a big deal for 9.0.5.0 unless people are dead in the water with 9.0.4.0
<enebo> if they are then we obviously have a harder decision to make
<headius> given that this small item is broken I'd vote for keeping jossl the same
<headius> kares just updated it on master on dec 21: 1df6315e
<enebo> headius: the same meaning 0.9.11
<headius> yes
<headius> seems like he only updated it because it pulls in some features missing from 2.2 and 2.3
<enebo> headius: ok that is my default instinct :)
<enebo> kares: are you around?
<headius> so I'd say we hold back on that, spin 9.0.5 with jossl 0.9.11, and look at getting jossl updated and verified for 9.1
<enebo> headius: is kares is not online I think we should send an email and ask him how important the changes are since I know he also recently updated jruby-rack
<headius> there might be other things that break from having a half-implemented SSLSession
<enebo> headius: yeah seems like best plan barring any new info
<enebo> I will set back to 0.9.11 and make some new bits
<enebo> maybe we can feel good enough in the morning to push it out
<headius> ok
<GitHub132> [jruby] enebo pushed 2 new commits to master: https://git.io/vzPKv
<GitHub132> jruby/master 177258a Thomas E. Enebo: Bump for release
<GitHub132> jruby/master 930dc8d Thomas E. Enebo: Back on jruby-openssl due to a couple of discoveries on new session support
<enebo> ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
<enebo> ok so 0.9.11 works for a while and then craps out
<enebo> I am curious though to see if ci will die or not
<headius> geh
<headius> that's not great
<enebo> so perhaps we have to push forward? bleh
<enebo> I will get a stacktrace
<headius> that happened installing rails
<headius> ?
<enebo> during gem install rails
<enebo> made it to same point gemwise where we started to see the timeout check
<enebo> so a persistent connection probably is hitting a boundary (and it happens in the same approx. place for my connection)
<enebo> IOError: HTTP session not yet started (https://api.rubygems.org/gems/nokogiri-1.6.7.2-java.gem)
<enebo> heh
<enebo> headius: maybe we committed something in JRuby itself which is making it look like we have this support
<enebo> headius: possibly the rollback is not just the gem
<GitHub147> [jruby] chrisseaton created truffle-execjs-list-languages (+1 new commit): https://git.io/vzPPx
<GitHub147> jruby/truffle-execjs-list-languages 0a53b78 Chris Seaton: [Truffle] Use-case for getSupportedMimeTypes
<headius> ugh
<headius> well then I think we're moving toward the small patch and spinning 0.9.15 as the least worrisome
bbrowning is now known as bbrowning_away
<enebo> headius: do you know what is needed to push one?
<headius> I think I can just push the gem it builds
bb010g has quit [Quit: Connection closed for inactivity]
subbu|lunch is now known as subbu
elia has joined #jruby
<projectodd-ci> Project jruby-master-spec-ji build #2593: STILL FAILING in 3 min 3 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/2593/
<enebo> headius: are you releasing?
<headius> I was waiting for official word from you :-)
<enebo> haha
<enebo> headius: yeah I think we do it since I can see gem is expecting ssl session
<enebo> headius: I am a tad worried but moving forward I can at least run everything I normally run
<headius> ok
<headius> jossl doesn't seem to have anything set up to push gem anywhere so I'm just going to assume the rubygems release is enough
<headius> we'll have to find out from kares or mkristian what's proper and get it into docs
<projectodd-ci> Project jruby-master-test-slow_suites build #2547: STILL FAILING in 2 min 13 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/2547/
<headius> hmm, permgen error building 1.7 head
<headius> enebo: released and updated jruby
<GitHub72> [jruby] headius pushed 2 new commits to master: https://git.io/vzP5U
<GitHub72> jruby/master c8cfc25 Charles Oliver Nutter: Handle other unboxed types in BTrue and BFalse in JIT.
<GitHub72> jruby/master f098bf6 Charles Oliver Nutter: Bump to latest jruby-openssl.
<headius> I mean released jossl and updated master to point
<enebo> oh great
<headius> send it through some of your crucible
<enebo> haha
yfeldblu_ has joined #jruby
yfeldblu_ has quit [Remote host closed the connection]
yfeldblu_ has joined #jruby
yfeldblum has quit [Ping timeout: 250 seconds]
lanceball is now known as lance|afk
enebo has quit [Quit: enebo]
<headius> ok, I'm calling it a day
<headius> feels like I did nothing but wrestle with CI and openssl today
<headius> bleh.
tcrawley is now known as tcrawley-away
<projectodd-ci> Project jruby-master-spec-ji build #2594: STILL FAILING in 1 min 18 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/2594/
bbrowning_away is now known as bbrowning
<travis-ci> jruby/jruby-openssl (master:79af044 by Charles Oliver Nutter): The build is still failing. (https://travis-ci.org/jruby/jruby-openssl/builds/104727211)
vmarcetic has quit [Remote host closed the connection]
hobodave has joined #jruby
bbrowning is now known as bbrowning_away
<projectodd-ci> Project jruby-master-test-slow_suites build #2548: STILL FAILING in 1 min 11 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-test-slow_suites/2548/
<GitHub112> [jruby-openssl] headius pushed 1 new commit to master: https://git.io/vzXvt
<GitHub112> jruby-openssl/master 672ab06 Charles Oliver Nutter: Bump to 0.9.15 for release.
<GitHub132> [jruby-openssl] headius tagged v0.9.15 at master: https://git.io/vzXvq
<GitHub128> [jruby-openssl] headius pushed 1 new commit to master: https://git.io/vzXvc
<GitHub128> jruby-openssl/master 26675f9 Charles Oliver Nutter: Bump for dev.
<GitHub12> [jruby-openssl] headius opened issue #80: Failing tests on 1.7.22+ in recent weeks https://git.io/vzXJO
<chrisseaton> Argh why is JavaPOSIX final?!
hobodave has quit [Quit: Computer has gone to sleep.]
<chrisseaton> Thank god for IntelliJ 'Delegate to...'
ITXpander1 has quit [Quit: Leaving.]
vmarcetic has joined #jruby
yfeldblu_ has quit [Ping timeout: 240 seconds]
vmarcetic has quit []