rbpac___ has joined #jruby
rbpac___ has quit [Remote host closed the connection]
rbpac___ has joined #jruby
rbpac___ has quit [Client Quit]
cristianrasch has quit [Ping timeout: 250 seconds]
nirvdrum has quit [Ping timeout: 240 seconds]
colinsurprenant has joined #jruby
colinsurprenant has quit [Client Quit]
dinfuehr has joined #jruby
havenwood has quit [Ping timeout: 265 seconds]
tcrawley-away is now known as tcrawley
codefinger has quit [Read error: Connection reset by peer]
jeregrine has quit [Ping timeout: 250 seconds]
jeregrine has joined #jruby
codefinger has joined #jruby
dinfuehr has quit [Ping timeout: 250 seconds]
pietr0 has quit [Ping timeout: 240 seconds]
camlow32_ has joined #jruby
camlow325 has quit [Ping timeout: 260 seconds]
mdedetrich has joined #jruby
camlow32_ has quit [Ping timeout: 250 seconds]
colinsurprenant has joined #jruby
subbu has quit [Ping timeout: 252 seconds]
tcrawley is now known as tcrawley-away
grs has quit [Ping timeout: 264 seconds]
grs has joined #jruby
yfeldblu_ has quit [Remote host closed the connection]
yfeldblum has joined #jruby
b_hoffman has joined #jruby
<b_hoffman> I’m wondering if I should report the following as a bug: in MRI, trying to call ‘open’ on UDPSocket raises an ENETUNREACH error if there’s no network. On Jruby it raises a SocketError
<b_hoffman> This causes selenium webdriver to hang on a machine that’s offline
cristianrasch has joined #jruby
cristianrasch has quit [Remote host closed the connection]
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 240 seconds]
_djbkd has quit [Quit: My people need me...]
b_hoffman has quit [Ping timeout: 240 seconds]
b_hoffman has joined #jruby
lopex has quit [Quit: Connection closed for inactivity]
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 256 seconds]
<GitHub165> [jruby] quoideneuf opened issue #3282: UDPSocket Error inconsistent with MRI http://git.io/vsySt
colinsurprenant has quit [Quit: colinsurprenant]
yfeldblum has quit [Ping timeout: 244 seconds]
dinfuehr has joined #jruby
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dinfuehr has quit [Remote host closed the connection]
dinfuehr has joined #jruby
yfeldblum has joined #jruby
<projectodd-ci> Project jruby-master-dist build #388: STILL FAILING in 7 min 21 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-dist/388/
b_hoffman has quit [Quit: b_hoffman]
skade has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
grs has quit [Ping timeout: 240 seconds]
donV has joined #jruby
grs has joined #jruby
donV has quit [Quit: donV]
jeregrine has quit [Ping timeout: 245 seconds]
fidothe has quit [Ping timeout: 245 seconds]
knowtheory has quit [Ping timeout: 245 seconds]
flavorjones has quit [Ping timeout: 245 seconds]
dfr|work has quit [Ping timeout: 244 seconds]
jeregrine has joined #jruby
fidothe has joined #jruby
flavorjones has joined #jruby
dfr|work has joined #jruby
knowtheory has joined #jruby
nirvdrum has joined #jruby
pitr-ch has joined #jruby
nirvdrum has quit [Ping timeout: 252 seconds]
dinfuehr has quit [Remote host closed the connection]
nirvdrum has joined #jruby
<GitHub93> [jruby] kares pushed 2 new commits to jruby-1_7: http://git.io/vsSCs
<GitHub93> jruby/jruby-1_7 cb85ace kares: make generated Java proxy class fields final
<GitHub93> jruby/jruby-1_7 b8c12ff kares: some notes on Java proxy invocation handler class hierarchy + un-used import
<GitHub80> [jruby] kares closed pull request #3281: Resolves broken spec when `ANT_HOME` is set (master...fix-ant-spec) http://git.io/vsDT7
<GitHub108> [jruby] kares pushed 2 new commits to master: http://git.io/vsSCb
<GitHub108> jruby/master 014c73a Ben Lovell: Resolves broken spec when `ANT_HOME` is set...
<GitHub108> jruby/master d6a583d Karol Bucek: Merge pull request #3281 from benlovell/fix-ant-spec...
<travis-ci> jruby/jruby (jruby-1_7:b8c12ff by kares): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/77110638)
havenwood has joined #jruby
nirvdrum has quit [Ping timeout: 252 seconds]
rsim has joined #jruby
samphippen has joined #jruby
<travis-ci> jruby/jruby (master:d6a583d by Karol Bucek): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/77110875)
sdogruyol has joined #jruby
<projectodd-ci> Yippee, build fixed!
<projectodd-ci> Project jruby-master-spec-ji build #1916: FIXED in 6 min 27 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/1916/
mkristian has joined #jruby
dinfuehr has joined #jruby
rsim1 has joined #jruby
dinfuehr has quit [Ping timeout: 252 seconds]
rsim has quit [Ping timeout: 248 seconds]
rsim1 has quit [Quit: Leaving.]
sdogruyol has quit [Ping timeout: 265 seconds]
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skade has joined #jruby
sdogruyol has joined #jruby
grs has quit [Ping timeout: 256 seconds]
rsim has joined #jruby
jensnockert has joined #jruby
grs has joined #jruby
vtunka has joined #jruby
<GitHub157> [jruby] kares pushed 1 new commit to jruby-1_7: http://git.io/vsSy0
<GitHub157> jruby/jruby-1_7 dad257b kares: less intermediate strings on proxy class name generation
skade has quit [Quit: Computer has gone to sleep.]
<jensnockert> Hello, I'm having an issue with child processes in JRuby (9.0.0.0), it doesn't seem to receive SIGCHLD?
dinfuehr has joined #jruby
sdogruyol has quit [Remote host closed the connection]
<jensnockert> It just leaves zombies.
drbobbeaty has joined #jruby
rsim has quit [Quit: Leaving.]
skade has joined #jruby
dinfuehr has quit [Ping timeout: 272 seconds]
havenwood has quit [Ping timeout: 252 seconds]
samphippen has joined #jruby
shellac has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<GitHub175> [jruby] kares pushed 1 new commit to jruby-1_7: http://git.io/vs9TU
<GitHub175> jruby/jruby-1_7 c2ee8d6 kares: adding a skip-ed test-case for callin abstract (Ruby impl) method in constructor...
skade has quit [Quit: Computer has gone to sleep.]
sdogruyol has joined #jruby
dinfuehr has joined #jruby
<travis-ci> jruby/jruby (jruby-1_7:c2ee8d6 by kares): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/77127804)
anaeem1 has joined #jruby
dinfuehr has quit [Ping timeout: 246 seconds]
jensnockert has quit [Remote host closed the connection]
mkristian has quit [Quit: This computer has gone to sleep]
sdogruyol has quit [Remote host closed the connection]
mkristian has joined #jruby
<GitHub53> [jruby] kares pushed 2 new commits to jruby-1_7: http://git.io/vs9CJ
<GitHub53> jruby/jruby-1_7 f5c974a kares: test skip 1.8.7 test-unit compatibility
<GitHub53> jruby/jruby-1_7 953a44f kares: some more --1.8 skip fixes (4 less future surprises)
jensnockert has joined #jruby
<jensnockert> I'm having an issue with child processes in JRuby (9.0.0.0), it doesn't seem to receive SIGCHLD? If I kill the child processes, they just stay as zombies (OS X).
drbobbeaty has joined #jruby
<travis-ci> jruby/jruby (jruby-1_7:953a44f by kares): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/77131568)
dinfuehr has joined #jruby
benlovell has joined #jruby
dinfuehr has quit [Ping timeout: 260 seconds]
cristianrasch has joined #jruby
sdogruyol has joined #jruby
<jensnockert> Is there any known issue?
skade has joined #jruby
benlovell has quit [Ping timeout: 244 seconds]
<travis-ci> jruby/jruby (jruby-1_7:953a44f by kares): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/77131568)
<jensnockert> I guess https://github.com/jruby/jruby/issues/1033 is mildly related.
lopex has joined #jruby
<GitHub183> [jruby] kares pushed 1 new commit to jruby-1_7: http://git.io/vs9av
<GitHub183> jruby/jruby-1_7 f0e2a9d kares: meh, use the included hook instead to get a simple test skip on --1.8 mode
benlovell has joined #jruby
mkristian has quit [Quit: This computer has gone to sleep]
jensnockert has quit [Remote host closed the connection]
<GitHub55> [jruby] pitr-ch pushed 5 new commits to master: http://git.io/vs96Z
<GitHub55> jruby/master d7ea103 Petr Chalupa: [Truffle] ArrayUtils.boxExtra: assert negative extra
<GitHub55> jruby/master afef369 Petr Chalupa: [Truffle] remove array unnecessary OM property stores
<GitHub55> jruby/master 3c3ba12 Petr Chalupa: [Truffle] remove needless @TruffleBoundary
skade has quit [Quit: Computer has gone to sleep.]
nirvdrum has joined #jruby
skade has joined #jruby
sdogruyol has quit [Read error: Connection reset by peer]
<projectodd-ci> Project jruby-master-spec-ji build #1917: FAILURE in 20 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/1917/
mje113 has joined #jruby
mkristian has joined #jruby
sdogruyol has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
dinfuehr has joined #jruby
skade has joined #jruby
<projectodd-ci> Project jruby-master-spec-compiler build #246: FAILURE in 2 min 25 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/246/
dinfuehr has quit [Ping timeout: 260 seconds]
<travis-ci> jruby/jruby (master:fd7eefe by Petr Chalupa): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/77138527)
shellac has quit [Ping timeout: 246 seconds]
jensnockert has joined #jruby
<benlovell> looks like cloudbees ci is out of disk space?
nirvdrum has quit [Remote host closed the connection]
cristianrasch has quit [Ping timeout: 256 seconds]
bbrowning_away is now known as bbrowning
erikhatcher has joined #jruby
sdogruyol has quit [Read error: Connection reset by peer]
<GitHub95> [jruby] kares pushed 1 new commit to master: http://git.io/vsHeJ
<GitHub95> jruby/master 1889650 kares: Merge branch 'jruby-1_7'...
<GitHub198> [jruby] kares closed issue #2865: Ambiguous method warning when there does not appear to be any ambiguity http://git.io/vfs1g
<GitHub166> [jruby] eregon pushed 1 new commit to master: http://git.io/vsHeH
<GitHub166> jruby/master 6b0d84b Benoit Daloze: [Truffle] Refactor yield dispatch nodes with the DSL.
lanceball is now known as lance|afk
sdogruyol has joined #jruby
nirvdrum has joined #jruby
sdogruyol has quit [Remote host closed the connection]
jensnockert has quit [Remote host closed the connection]
mkristian_ has joined #jruby
b_hoffman has joined #jruby
mkristian has quit [Ping timeout: 265 seconds]
<headius> good morning!
<headius> benlovell: grrr
<headius> I will wipe out old archived stuff
<headius> not sure why it's archivng anyway
<headius> hmm, it is discarding old builds
<headius> recent builds have really big log it seems...will drop it to save only last 10 builds or something
anaeem1 has quit [Remote host closed the connection]
<projectodd-ci> Yippee, build fixed!
<projectodd-ci> Project jruby-master-spec-ji build #1918: FIXED in 7 min 7 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-ji/1918/
jensnockert has joined #jruby
<headius> and I broke the dist build at some point...fixey fixey
<benlovell> \o/
b_hoffman has quit [Quit: b_hoffman]
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dinfuehr has joined #jruby
<headius> I wish 'bees would get maven 3.3.1+
<headius> that's half the problem with these builds, having to get poms to generate right before running the build
sdogruyol has joined #jruby
<projectodd-ci> Yippee, build fixed!
<projectodd-ci> Project jruby-master-spec-compiler build #247: FIXED in 3 min 55 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-spec-compiler/247/
dinfuehr has quit [Ping timeout: 260 seconds]
enebo has joined #jruby
nirvdrum has quit [Remote host closed the connection]
havenwood has joined #jruby
<projectodd-ci> Project jruby-master-dist build #389: STILL FAILING in 10 min: https://projectodd.ci.cloudbees.com/job/jruby-master-dist/389/
nirvdrum has joined #jruby
<headius> harumph
shellac has joined #jruby
<headius> new approach
Aethenelle has joined #jruby
Aethenelle has joined #jruby
<travis-ci> jruby/jruby (master:6b0d84b by Benoit Daloze): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/77146987)
<headius> hmm
<headius> now when did those start failing? :-\
<headius> nirvdrum: what's the status of time specs in truffle? looks like they're still failing
pitr-ch has quit [Ping timeout: 272 seconds]
<headius> kares: 1.7 branch merge appears to be responsible for current test:jruby failures
skade has quit [Quit: Computer has gone to sleep.]
vtunka has quit [Quit: Leaving]
<projectodd-ci> Project jruby-master-dist build #390: STILL FAILING in 9 min 42 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-dist/390/
<headius> dag nabbit
<headius> one more try and I'm giving up on full dist until cloudbees gets mvn 3.3.1
tcrawley-away is now known as tcrawley
skade has joined #jruby
<nirvdrum> headius: They were passing locally for me. I'll take a look at Travis.
<headius> thanks
mkristian_ has quit [Quit: This computer has gone to sleep]
skade has quit [Quit: Computer has gone to sleep.]
sdogruyol has quit [Read error: Connection reset by peer]
vtunka has joined #jruby
sdogruyol has joined #jruby
lance|afk is now known as lanceball
<projectodd-ci> Project jruby-master-dist build #391: STILL FAILING in 18 min: https://projectodd.ci.cloudbees.com/job/jruby-master-dist/391/
sdogruyol has quit [Remote host closed the connection]
b_hoffman has joined #jruby
jensnockert has quit [Remote host closed the connection]
<projectodd-ci> Project jruby-master-dist build #392: STILL FAILING in 10 min: https://projectodd.ci.cloudbees.com/job/jruby-master-dist/392/
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 260 seconds]
<nirvdrum> Well, I can't reproduce locally. So this is fun.
<bbrowning> headius: bees has various maven versions available - 3.0.x, 3.1.x, 3.2.x
<bbrowning> oh you said 3.3.1 :/
<headius> yeah
<bbrowning> I don't have mvn 3.3.1 but I can build master
<headius> we emit pom.xml for most of the main bits on master but not for dist bits normally
<headius> and I can't get bees to run dist properly without them
<bbrowning> what if you ignore the maven build step and just use shell build steps that call ./mvnw ?
<bbrowning> jruby-master-spec-compiler just does "./mvnw -B clean install -Prake -Dtask=spec:compiler" for example
<bbrowning> as a shell build step instead of maven build step
<headius> the final part is a Ruby script that calls mvn and I can't get it to use our copy :-(
<bbrowning> ahh
<headius> I even tried copying mvnw to mvn and putting pwd in PATH
<headius> it still uses bees' mvn
<headius> I can just go back to partial dist for now and hope they add it
<headius> hopefully that still works :-\
jensnockert has joined #jruby
<bbrowning> so I see you have a pre step of "./mvnw -Pdist -Dpolyglot.dump.pom=pom.xml" - that's not dumping all the poms you need?
<headius> I don't know how to get the dist poms to dump
<headius> need to talk to mkristian
<headius> I thought it would but it doesn't seem to
<headius> see bottom of that build
<headius> second most recent
<bbrowning> yeah I'm looking at it
<headius> hmm test
<headius> I tried -Pall with dump too
sdogruyol has joined #jruby
<bbrowning> yeah it may just be a matter of generating the poms for all possible maven modules
<bbrowning> although -Pall should generate it for test
jensnockert has quit [Ping timeout: 260 seconds]
jensnockert has joined #jruby
<projectodd-ci> Project jruby-master-dist build #393: STILL FAILING in 8 min 11 sec: https://projectodd.ci.cloudbees.com/job/jruby-master-dist/393/
<bbrowning> headius: have you ever tried it with the final ./mvnw command in the post build step as -Pall instead of -Pdist?
<bbrowning> although that's effectively running the build multiple times
<bbrowning> I actually wouldn't expect you'd need anything but 1 ./mvnw call to build and dump all poms
<bbrowning> or maybe 1 ./mvnw to dump all poms then a separate maven build step to actually build
<headius> yeah I've tried multiple combinations now
<headius> maybe I have some post step that's blowing up
cremes has quit [Read error: No route to host]
<headius> right now the whole build is just this:
<headius> ./mvnw -B -Pbootstrap
<headius> ./mvnw -B -Pdist -Dpolyglot.dump.pom=pom.xml
<headius> and it's still blowing up...I don't get it
cremes has joined #jruby
<headius> well build step is mvn 3.2.2 and seems to go ok
<headius> then post build tries to do dist and dies
erikhatcher has quit [Ping timeout: 240 seconds]
<bbrowning> hmm it looks like the post build passed to me
<bbrowning> search on the log for "./mvnw -B -Pdist -Dpolyglot.dump.pom=pom.xml" and it passes
<bbrowning> last thing we see is maven BUILD SUCCESS
<headius> yeah this looks like some jenkins thing?
<bbrowning> that's what I'm thinking
<headius> I wonder if it's the S3 copy
<headius> perhaps that runs in maven and it can't resolve everything to execute
<bbrowning> I don't know I see it trying s3 copy after the stack
<bbrowning> it's something post-build but pre-archiving and s3 copy
Aethenelle has quit [Read error: Connection reset by peer]
<bbrowning> perhaps if this was setup as a non-maven build
<bbrowning> it's setup as a maven build so jenkins itself is expecting to find pom.xml files
<headius> hmm I could try that
shellac has quit [Quit: Computer has gone to sleep.]
<bbrowning> my guess is jenkins needs to inspect the maven poms to populate info shown on pages like https://projectodd.ci.cloudbees.com/view/JRuby/job/jruby-master-dist/modules
<headius> yeah that's probably it
erikhatcher has joined #jruby
shellac has joined #jruby
<bbrowning> looks like the build runs entirely on a slave machine but the host/jenkins machine is trying to inspect poms
<bbrowning> and nothing you do in the build step will cause pom.xml to appear on the host machine, which only has a clone of the source
<jensnockert> Can someone help me with a signal problem in JRuby, the following script works on MRI, but not JRuby, https://gist.github.com/jensnockert/05e03714f57ee04ec2da
<jensnockert> I never get the signal on JRuby 9k.
<jensnockert> (9.0.0.0)
colinsurprenant has joined #jruby
colinsurprenant has quit [Client Quit]
benlovell has quit [Ping timeout: 260 seconds]
<headius> trying a freestyle build now
<headius> jensnockert: that might be a bug...I'm using posix_spawn and might not be setting up the signal masks right
<headius> you'd expect sigchld when the child exits, yeah?
<jensnockert> Yes.
<headius> ok, open a bug please
<jensnockert> On github?
<headius> I've wrestled with posix_spawn and signal handling a few times
<headius> yeah
<headius> jruby/jruby
<jensnockert> Super.
<headius> if you can research a bit it would help, I'm messing with a nightly dist build right now
<headius> all our spawning is through posix_spawn
<jensnockert> I'll try to poke through the code.
colinsurprenant has joined #jruby
<GitHub130> [jruby] jensnockert opened issue #3283: Not getting SIGCHLD when a child process dies http://git.io/vsHj8
subbu has joined #jruby
<headius> I *believe* I'm just setting it to do default signal mask for child
erikhatcher_ has joined #jruby
erikhatcher has quit [Ping timeout: 246 seconds]
erikhatcher_ is now known as erikhatcher
skade has joined #jruby
bbrowning is now known as bbrowning_away
shellac_ has joined #jruby
shellac has quit [Read error: Connection reset by peer]
benlovell has joined #jruby
<headius> ok, fancy new build, we'll see how this goes
b_hoffman has quit [Ping timeout: 260 seconds]
nirvdrum has quit [Remote host closed the connection]
b_hoffman has joined #jruby
<headius> bbrowning_away: well that seemed to work so far
skade has quit [Quit: Computer has gone to sleep.]
<headius> enebo: so I ran post_process_artifacts but I don't see jruby-jars gem etc
havenwood has quit [Ping timeout: 265 seconds]
<headius> I'm missing something
<enebo> headius: they must not be building
<enebo> headius: post_proces_artifacts only grabs all of it from where maven builds it
<headius> ah ok
<enebo> headius: except for windows installer
<enebo> headius: interesting it does not complain
<headius> I can't do deploy so I'm trying to figure out what I can run to get everything to build
<headius> your instructions use deploy
<headius> windows installer bails if it can't find install4j
<headius> like safely bails
grs has quit [Ping timeout: 252 seconds]
<headius> mvn clean deploy -Psonatype-oss-release -Prelease
<headius> I wonder if package with -Prelease will be enough?
nirvdrum has joined #jruby
vtunka has quit [Quit: Leaving]
<headius> I think it's working
dinfuehr has joined #jruby
<rtyler> is there a versoin of log4j or something like that included in jruby 1.7.22 (complete)?
<rtyler> I get a Java::JavaLang::ExceptionInInitializerError:
<rtyler> which I don't get on 1.7.20.1 comming from org.apache.log4j.Logger.getLogger(org/apache/log4j/Logger.java:41)
sdogruyol has quit [Read error: Connection reset by peer]
* rtyler is most confused
sdogruyol has joined #jruby
<headius> rtyler: I don't think so...we use slf4j but even that we load reflectively and bail to our own logger
<headius> yay, jruby-jars and jruby-complete are in nightly dist at http://ci.jruby.org/
<headius> ship it!
vtunka has joined #jruby
skade has joined #jruby
dinfuehr has quit [Ping timeout: 245 seconds]
sdogruyol has quit [Ping timeout: 255 seconds]
grs has joined #jruby
<headius> enebo: same rake task for 1.7?
<headius> I'll get that one working too
<enebo> headius: post_process_artifacts yes
<headius> ok
<headius> so then only thing we won't be disting nightly is the windows installer
<headius> enebo: I scrubbed out old snapshots from S3
pitr-ch has joined #jruby
<enebo> oh
<enebo> heh
skade has quit [Quit: Computer has gone to sleep.]
erikhatcher has quit [Ping timeout: 240 seconds]
erikhatcher has joined #jruby
<headius> we had stuff back to 1.7.19 in there
<headius> and 9k pre1
<jensnockert> Okay, figured out that the java process gets the signal but discards it for some reason. *digs deeper*
vtunka has quit [Quit: Leaving]
bbrowning_away is now known as bbrowning
<bbrowning> headius: yay! nice to see jruby-master-dist working again :)
<headius> jensnockert: yeah weird
<headius> so discards it means IGN?
<headius> ignored?
camlow325 has joined #jruby
<jensnockert> I assume so.
<headius> JVM does appear to set its own SIGCHLD handler to default but our trap should take that over
rcvalle has joined #jruby
<jensnockert> The signal is not delivered to the JVM either, I checked via dtrace.
<headius> ah ok
<headius> I see there's some CHLD related flags for posix_spawn on Solaris but that's the only lead I have so far
<jensnockert> So it is not just that the JVM is nomming the signal somehow.
<jensnockert> The spawn seems okay though, the kernel tries to send the signal to the process.
<jensnockert> I'm going to try and see if the jvm is running pthread_sigmask or something.
<nirvdrum> headius: Still looking. But if I can't work it out, I'll just tag the specs.
<headius> the JVM does set up a signal-handling thread, but the traps we register should be running in that thread
<headius> nirvdrum: ok
<nirvdrum> It's something about the env on Travis. Having a debug instance would help.
<headius> I'm looking through our posix_spawn logic (PopenExecutor
<headius> nirvdrum: asarih can get you one (email support@travis)
<bbrowning> nirvdrum: also, sometimes I've found running an Ubuntu VM with only 1-2 CPU threads and limited memory can help
<bbrowning> although I'm usually chasing down what end up being race conditions or memory issues because of WeakReferences being GC'd or etc
<nirvdrum> bbrowning: That's a good reminder. Although in this case I'm fairly certain it's ENV-related.
<headius> hmm ok, I guess I'm not meddling with signals in my posix_spawn call anymore
<headius> so they should be whatever parent process has
<nirvdrum> The Time classes take diverging behavior depending on the setting of $TZ.
<bbrowning> huh
shellac_ has quit [Read error: Connection reset by peer]
donV has joined #jruby
<headius> bbiab
havenwood has joined #jruby
pitr-ch has quit [Ping timeout: 252 seconds]
pietr0 has joined #jruby
pitr-ch has joined #jruby
<rtyler> headius: re log4j this is interesting then, according to some dependency locking plugin for Gradle, all I've changed is from 1.7.20.1 to 1.7.22 and now these tests fail
* rtyler boggles
<jensnockert> I'm not good enough at Java or Dtrace for this :C
<headius> heheh
<headius> well you're better than I am!
dinfuehr has joined #jruby
<jensnockert> Hopefully not at Java <3
<headius> I do see that the posix_spawn gem for MRI twiddles signals
<headius> flags |= POSIX_SPAWN_SETSIGMASK;
<headius> sigemptyset(&mask);
<headius> posix_spawnattr_setsigmask(&attr, &mask);
<headius> I'm not doing that, but I could try...unfortunately mask is sigset_t so I'll have to just allocate something *probably* big enough and hope for the best
<rtyler> anyways, I'm going to dig into this later, gotta deal with some other crap first
* rtyler promises to return and harass people later
<jensnockert> Wouldn't that change the signal mask of the child though?
benlovell has quit [Ping timeout: 250 seconds]
<headius> well it should set it to default for everything, yeah?
<headius> oh but yeah
<headius> it shouldn't change how the child signals the parent
<headius> hmm
subbu is now known as subbu|late_break
sdogruyol has joined #jruby
<jensnockert> I wonder if it is a java thing, maybe it doesn't have anything to do with the code in jruby?
<headius> it's certainly possible
<headius> JVM process subsystem does this on boot:
<headius> sa.sa_handler = SIG_DFL;
<headius> sigemptyset(&sa.sa_mask);
dinfuehr has quit [Ping timeout: 246 seconds]
<headius> sa.sa_flags = SA_NOCLDSTOP | SA_RESTART;
<jensnockert> On the other hand, in 1.7.19 I get the sigchld, so that seems unlikely.
<headius> hmm yeah
<headius> JVM process launching uses for + exec explicitly, and 9k process launching uses posix_spawn
<headius> for=fork
<headius> hmm
<jensnockert> Shouldn't make any difference.
<headius> can you trace to see if that handler is getting installed?
<jensnockert> Yeah, but since you send the sigset, you just get a pointer.
benlovell has joined #jruby
<jensnockert> I could maybe trace sigaddset too…
<headius> hmm
<headius> HAH
<headius> add this line to top of script: java.lang.UNIXProcess
<headius> it works
<headius> so I know the issue now
<headius> you install trap, then proceed into spawning logic; spawning logic references java.lang.Process for a few things, causing UNIXProcess to init and overwrite your trap
<headius> referenceing it early reverses that order
mkristian_ has joined #jruby
<jensnockert> Awesome!
<headius> obviously there's no way for us to agree with JVM on how to handle that signal, but for what you're doing forcing it to init early and taking it over again should be fine (since you're not using JVM process logic when you're doing this in Ruby
<jensnockert> I'll do that as a workaround at least.
<headius> we should probably force java.lang.Process et al to init before we set up Signal
<jensnockert> I'll add that to the bug report.
<headius> yeah thank you
<GitHub184> [jruby] nirvdrum pushed 3 new commits to master: http://git.io/vsQhm
<GitHub184> jruby/master 66dd42b Kevin Menard: [Truffle] Untagged some passing socket specs.
<GitHub184> jruby/master c1f9d00 Kevin Menard: [Truffle] Handle more Socket.getnameinfo cases.
<GitHub184> jruby/master a558250 Kevin Menard: [Truffle] Untag more passing socket specs.
<headius> and yeah, I looked up sigaction and DFL behavior for CHLD is "discard"
<headius> so that was my clue
<jensnockert> Now it works the same in MRI and Jruby \o/
<headius> nice!
<headius> I'm trying to trigger UNIXProcess to load in the boot logic for Signal
<headius> that should guarantee any subsequent traps overwrite the JVM one
benlovell has quit [Ping timeout: 260 seconds]
<travis-ci> jruby/jruby (master:a558250 by Kevin Menard): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/77182975)
<jensnockert> Just one more thing, if I need to check if I am running Jruby 9.0.0.0 or more? What would be the simplest way?
<headius> JRUBY_VERSION
<headius> if you need to guard that, RUBY_ENGINE == 'jruby' && JRUBY_VERSION > '9.0.0.0'
<headius> there's also RUBY_ENGINE_VERSION but I don't think it's supported on anything but MRI 2.2
<headius> (and JRuby 1.7 + 9k)
<headius> jensnockert: you are on linux?
<jensnockert> OS X, but it needs to work on Linux too.
<headius> with this sigchld trap I seem to get a bunch of noise on OS X
<headius> at least when I force early UNIXProcess init
subbu|late_break is now known as subbu
<headius> Aug 25 11:25:16 headius-macbook kernel[0]: Google Chrome He (map: 0xffffff8060e4bd20) triggered DYLD shared region unnest for map: 0xffffff8060e4bd20, region 0x7fff8c800000->0x7fff8ca00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
<headius> noise like that
<headius> about 6-12 of those message but the script works fine
mkristian_ has quit [Quit: This computer has gone to sleep]
<jensnockert> Odd.
<headius> indeed!
<headius> more research needed
mkristian_ has joined #jruby
<headius> they're like syslog messages...wtf
<headius> oh jesus.
<headius> that's what your script does
<headius> I just don't see them every time because sometimes it terms before anything prints
<headius> NEVERMIND
<headius> yeah, have a fix.
<jensnockert> Oh, right.
<jensnockert> Sorry, should have guessed that.
<headius> no worries
<jensnockert> You have a fix, and I have a workaround, epic win! Super-thanks!
<headius> yeah, thanks for bringing it to our attention...I think this came up once before but the reporter just gave up
<headius> and such a simple fix
* jensnockert hugs > Now I need to go home from work, have a good day.
jensnockert has quit [Remote host closed the connection]
jensnockert has joined #jruby
jensnockert has quit [Remote host closed the connection]
jensnockert has joined #jruby
bbrowning is now known as bbrowning_away
jensnockert has quit [Ping timeout: 240 seconds]
anaeem1 has joined #jruby
benlovell has joined #jruby
<travis-ci> pitr-ch/jruby (master:5a96529 by Petr Chalupa): The build failed. (https://travis-ci.org/pitr-ch/jruby/builds/77186579)
lanceball is now known as lance|afk
Aethenelle has joined #jruby
DomKM has quit [Quit: Connection closed for inactivity]
anaeem1__ has joined #jruby
dinfuehr has joined #jruby
anaeem1 has quit [Ping timeout: 240 seconds]
lance|afk is now known as lanceball
mkristian_ has quit [Quit: This computer has gone to sleep]
dinfuehr has quit [Ping timeout: 260 seconds]
<kares> aj-aj broke the build then ... with the jruby-1_7 merge ;(
<kares> oh right, see it - did not review thorough enough some of the updated tests
bbrowning_away is now known as bbrowning
jensnockert has joined #jruby
<headius> no problem
<GitHub49> [jruby] headius pushed 1 new commit to master: http://git.io/vs7Er
<GitHub49> jruby/master 627d84c Charles Oliver Nutter: Force early init of JVM process logic so CHLD traps work....
<GitHub165> [jruby] headius closed issue #3283: Not getting SIGCHLD when a child process dies http://git.io/vsHj8
jensnockert has quit [Ping timeout: 246 seconds]
_djbkd has joined #jruby
<travis-ci> jruby/jruby (master:627d84c by Charles Oliver Nutter): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/77193200)
<GitHub196> [jruby] pitr-ch pushed 1 new commit to master: http://git.io/vs727
<GitHub196> jruby/master e395dd7 Petr Chalupa: [Truffle] tag failing tests on Travis
<GitHub39> [jruby] nirvdrum pushed 2 new commits to master: http://git.io/vs7VQ
<GitHub39> jruby/master 1bafb83 Kevin Menard: [Truffle] Use constants for classloader schemes.
<GitHub39> jruby/master 38c1d3f Kevin Menard: [Truffle] Fixed loading of files from classpath with relative parts in them.
<GitHub10> [jruby] kares pushed 1 new commit to master: http://git.io/vs7Vh
<GitHub10> jruby/master a7e959f kares: messed up require path in test during last 1_7 merge
mkristian has joined #jruby
benlovell has quit [Ping timeout: 272 seconds]
samphippen has joined #jruby
mkristian_ has joined #jruby
mkristian has quit [Ping timeout: 256 seconds]
<travis-ci> jruby/jruby (master:e395dd7 by Petr Chalupa): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/77194523)
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 246 seconds]
sdogruyo_ has joined #jruby
cpuguy83_ has joined #jruby
anaeem1_ has joined #jruby
anaeem1__ has quit [Ping timeout: 260 seconds]
sdogruyol has quit [Read error: Connection reset by peer]
cpuguy83 has quit [Ping timeout: 244 seconds]
cpuguy83_ is now known as cpuguy83
benlovell has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
havenwood has quit [Ping timeout: 246 seconds]
colinsurprenant has joined #jruby
<travis-ci> jruby/jruby (master:38c1d3f by Kevin Menard): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/77195405)
anaeem1 has joined #jruby
anaeem1_ has quit [Ping timeout: 265 seconds]
tenderlove has quit [Quit: Leaving...]
<GitHub62> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/vs5c2
<GitHub62> jruby/master 6c46121 Kevin Menard: [Truffle] Added missing $/ aliases.
b_hoffman has quit [Quit: b_hoffman]
dinfuehr has joined #jruby
<travis-ci> jruby/jruby (master:a7e959f by kares): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/77195470)
dinfuehr has quit [Ping timeout: 245 seconds]
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
<GitHub31> [jruby] kares pushed 1 new commit to master: http://git.io/vs54j
<GitHub31> jruby/master bf3ad9c kares: seems skip helper might be actually needed on 9K as well (test:jruby failing)
<travis-ci> jruby/jruby (master:6c46121 by Kevin Menard): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/77206729)
<GitHub57> [jruby] benlovell opened pull request #3284: Spec improvements (master...spec-improvements) http://git.io/vs5ES
<GitHub158> [jruby] enebo closed pull request #3284: Spec improvements (master...spec-improvements) http://git.io/vs5ES
<GitHub78> [jruby] enebo pushed 5 new commits to master: http://git.io/vs5zu
<GitHub78> jruby/master 6266fc0 Ben Lovell: Removes superfluous trailing line
<GitHub78> jruby/master 825284e Ben Lovell: Remove unused mock visitor
<GitHub78> jruby/master e996bcf Ben Lovell: Removes trailing whitespace
<enebo> benlovell: You are on the hook if those end up not being green but it looked pretty straightforward
benlovell has quit [Ping timeout: 250 seconds]
<enebo> cheeky!
<travis-ci> jruby/jruby (master:a7e959f by kares): The build was canceled. (https://travis-ci.org/jruby/jruby/builds/77195470)
slash_quit is now known as slash_nick
<headius> enebo: how do I get this thing to emit refined call sites?
<slash_nick> headius: have you tried the truffle shuffle?
<headius> awwww c'mon
<enebo> headius: let me look. I am not positive we made one
<headius> you did
<headius> RefinedCachingCallSite
<headius> I'm trying a quick flip to move the refinements into scope and out of self module
<headius> that would at least be closer in spirit even if there's more "refinement" needed
<enebo> hahah ok I should not be looking on 1.7
<headius> indeed!
<headius> it looks like parser marks up the static scope I think?
<enebo> headius: while I am waiting for it to index in intellij
<headius> er no... IRScope?
<enebo> headius: we add flag to IRScope as canPotentiallyBeRefined ot something like that
<headius> yeah, just trying to confirm those are getting there
<enebo> headius: then I think in Call* (base?) .create we pass the scope down
<headius> you have recursive search of cref for refinements
<headius> I think all I need to do is move the place it stores "using" refinements to the static scope
<enebo> headius: the bowels of create should ask scope if it is potentially refined
<headius> ok, I see that
<headius> going to breakpoint because it doesn't seem to pick it up
anaeem1 has quit [Quit: Leaving...]
<headius> ah-ha...starting to work
<enebo> ah hey my memory works sometimes!
cremes has quit [Read error: No route to host]
<enebo> Sometimes I think I dream write code :)
<enebo> Or I nuke thing too often
<headius> hmm
<enebo> headius: I agree…static scope has to be correct place
cremes has joined #jruby
<headius> the change wasn't too hard so far, but it's also not working so...
<enebo> headius: since it is the only place which is lexically alive in the runtime
<headius> yeah
<headius> I just added getOverlayModule to StaticScope and flipped using/call logic to look there
<enebo> headius: I also think you can replace existing cref with the one which is made up with the magical refined hierarchy mixed in
<headius> command line JVM debug flag is the bomb
<headius> debugging -e is sweet
<headius> enebo: hmm maybe
<headius> I think they're kept separate in MRI's cref
<headius> I'm mostly just trying to get them isolated as a first pass
<enebo> headius: I think this because no staticscope can refer to anything but a single lexical piece of code
<headius> ahh true
<headius> oh oops
<headius> top-level using is separate
benlovell has joined #jruby
<headius> ok, if this even sorta works I'll be happy
<headius> I can at least start rigging up JIT a little
<enebo> headius: so in my mind I feel like replacing cref with magical refine-pimped version could even mean not having a special refined site…but refinements hurt my head
<headius> $ jruby -X-C -e "module Blah; refine String do; def yummy; 'yummy'; end; end; end; class Foo; using Blah; p 'foo'.yummy; end; class Foo; p 'foo'.yummy; end"
<headius> "yummy"
<headius> NoMethodError: undefined method `yummy' for "foo":String
<headius> hot crackers
bb010g has joined #jruby
<headius> scoped monkey-patching is ALIVE
<enebo> headius: we did sort of have that case already working at one ponit
<headius> I don't think that worked because you wrote it directly into the target class
<enebo> headius: it was re-entering Blah from a second lexical structure which was broken
<headius> this is a second lexical structure
<headius> sorry, my one-liners
<enebo> oh you did that
<enebo> :)
<enebo> ok yeah
<enebo> that was the big flaw :)
<headius> so this is much closer to MRI now
<headius> shit it
<headius> lol
<headius> ship it
<enebo> headius: funny too since we said back whenever that we should just store it on staticscope
<headius> yeah
<enebo> headius: we just had to do it :)
mkristian_ has quit [Quit: This computer has gone to sleep]
<headius> I could just make JIT bail if it sees refined scopes too
<headius> eff the bozos
<enebo> headius: buit I still wonder if rewiring cref is enough to fix it without special callsite
<headius> oh, you want to use refinements, eh? well here's your 20x slowdown
<enebo> headius: but I think we cannot cache cref if we do that
<enebo> yeah actually I think special site makes sense to do extra did cref change
<headius> stupid dentist office bugs me almost quarterly
<enebo> headius: this also is useful for the include Foo.dup bug too
<headius> well that's a whole other mess
<headius> this avoids the dup losing refinements though
<enebo> yeah actually it won’t help
<headius> since it's still the same scope
<enebo> we do not want to check cref every call
<headius> or at least the scope can copy the overlay module directly
<headius> no, we don't...but we have to right now
<headius> AND all parent cref
<enebo> headius: but only for refinements
<headius> just for those marked as refined
<headius> yeah
<headius> so suck it
<headius> it's a goofy feature
<enebo> headius: I am thinking about include mod.dup
<headius> ahh yeah
<headius> that we need to do the IRScope cloning
<headius> or at least copy the cref scope into a new InterpretedIRMethod
<headius> I still think that would be enough
<enebo> well it is not like we don’t have infrastructure for specialized cloning modes in IR
<headius> sure
<enebo> we do for ensure cloning and inlining cloning already
<enebo> a third mode is possible
<enebo> not too many changes
<enebo> just perhaps mildly undesirable extra check
<headius> yeah
<enebo> but who cares
<headius> yeah that feels weird to me too so I will probably change it to null check on caller
<enebo> I don’t…Not until the planet decides refinments matter anyways
<headius> so that the cref search can just skip the scope quickly
<headius> or actually, perhaps this should be StaticScope.findRefinementFor(mod)
<headius> and it can recurse
<headius> or bail
<headius> OO dood
<enebo> headius: my other big fear with refinements works is I am unsure if I refactored the hierarchy logic code 100% or not. I think so but I guess we will find out
<headius> I'll run their tests for this and see how it looks
<enebo> headius: if those super tests work in test_refinement now then perhaps so
<headius> at least it's not leaking
<enebo> headius: I like the changes I made since I found one particular method IMPOSSIBLE to read
<enebo> headius: RubyModule.getAlreadyActivatedRefinementWrapper is different than MRI source but I think a little bit more understandable
<enebo> anyways if there are failing tests I would review that sooner than later
<headius> enebo: run this for me quick: jruby -X-C test/mri/runner.rb test/mri/ruby/test_refinement.rb
<headius> I guess this never got into MRI test run...adding it now
<enebo> 14 tests, 62 assertions, 2 failures, 4 errors, 0 skips
<enebo> but I believe this is not actually running all tests
<enebo> I think it mysteriously misses some
<enebo> At least that was what I remember from before running this file
<headius> still same count
<enebo> ah ok
<headius> I don't think this tested scope isolation though
<headius> I need to dig up the refinements specs I wrote that got deleted
<enebo> it might but if so it might be the missing part
<enebo> looks like I have 8 snippets but I think all those were passing before
<headius> I'd guess this has to do with framing
<headius> most of these failures
<enebo> headius: fwiw even if 9.0.1.0 only improved isolation it would make our impl much more useful :)
<headius> yeah
erikhatcher has quit [Quit: erikhatcher]
<enebo> The super tests really confuse me the most
<enebo> That is all about wiring up the magical hierarchy
<enebo> The fact they do not pass worries me (see comments above)
<headius> yeah
<headius> they're weird
<headius> I'm going to update this test from MRI
<enebo> This is one language feature which should not have been done in a single file
oblutak has joined #jruby
benlovell has quit [Ping timeout: 260 seconds]
dinfuehr has joined #jruby
skade has joined #jruby
dinfuehr has quit [Ping timeout: 244 seconds]
yfeldblum has quit [Ping timeout: 244 seconds]
<lopex> headius: wrt that IO.read, it works when I force mode: 'rb'
<GitHub55> [jruby] nirvdrum pushed 1 new commit to master: http://git.io/vs57a
<GitHub55> jruby/master 4ef1514 Kevin Menard: [Truffle] Implemented socket `shutdown`.
<lopex> enebo: how many marshal version magic numbers where there in history of mri ?
<enebo> lopex: I don’t know
<lopex> enebo: I got my thing working on 9k
<enebo> lopex: great
<travis-ci> jruby/jruby (master:bf3ad9c by kares): The build was fixed. (https://travis-ci.org/jruby/jruby/builds/77208743)
<headius> kares: than kyou!
<headius> and nirvdrum
<lopex> the cold perf is like ACTIONS : 713, Time: 0.264 (1.7.22) and ACTIONS : 713, Time: 0.406 (9k)
_djbkd has quit [Remote host closed the connection]
<lopex> they write via 'rb' but read with defaults
pitr-ch has quit [Ping timeout: 244 seconds]
<lopex> but it works on linux
<nirvdrum> headius: No problem. Although pitr-ch did all the work ;-)
pitr-ch has joined #jruby
tenderlove has joined #jruby
<enebo> lopex: thanks for the NUMBERS
cristianrasch has joined #jruby
<GitHub199> [jruby] nirvdrum pushed 1 new commit to truffle-head: http://git.io/vs5jY
<GitHub199> jruby/truffle-head 606ff69 Kevin Menard: Merge branch 'master' into truffle-head...
<lopex> enebo: realease is near ?
<enebo> lopex: this week
<lopex> doh I cant find where mri does the IO.read defaulting
<enebo> lopex: We will see where we are tomorrow morning my time
<lopex> oh io_read
_djbkd has joined #jruby
<lopex> I guess it's the set_binary_mode_with_seek_cur
<travis-ci> jruby/jruby (master:b4e2ef3 by Thomas E Enebo): The build was fixed. (https://travis-ci.org/jruby/jruby/builds/77210370)
bbrowning is now known as bbrowning_away
dinfuehr has joined #jruby
lanceball is now known as lance|afk
dinfuehr has quit [Ping timeout: 265 seconds]
tcrawley is now known as tcrawley-away
yfeldblum has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
<travis-ci> jruby/jruby (master:4ef1514 by Kevin Menard): The build was fixed. (https://travis-ci.org/jruby/jruby/builds/77218670)
Aethenelle has quit [Quit: Aethenelle]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jensnockert has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
jensnockert has quit [Ping timeout: 252 seconds]
<rtyler> kares: ping
<rtyler> kares: do you have some good arguments on why ar-jdbc would be better than ar + mysql2?
<donV> You can use ARJDBC with JRuby and concurrency?
<donV> anybody know how to update the maven version that is included with RVM?
<donV> Mine is 3.1.1, and we need 3.3.3 to build jruby-head
dinfuehr has joined #jruby
enebo has quit [Quit: enebo]
<rtyler> donV: that's an easy answer to everything :P
<rtyler> and unfortunately it's not as compelling if you don't have problems that you can prove benefit from /actual/ parallelism
dinfuehr has quit [Ping timeout: 245 seconds]
<rtyler> donV: I'm trying to make sure I build as much of a case for JRuby excluding the parallelism argument, because without data to back up the benefit for an app, it's a hollow argument IMHO
<donV> rtyler: I feel setup with arjdbc is much simpler. no gcc and tooling required.
<cpuguy83> My resp times in rails are 1/3 just switching to jruby.
<rtyler> cpuguy83: because your load is heavily....cpu-bound? *rimshot*
<rtyler> donV: that's a good point
* rtyler writes it down
<donV> rtyler: the embedded solutions are better with arjdbc as well: derbydb, h2, hsqldb very databases compared to sqlite3
<donV> very _good_ databases :)
cristianrasch has quit [Ping timeout: 246 seconds]
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oblutak has left #jruby [#jruby]
mje113 has quit [Quit: Connection closed for inactivity]
subbu is now known as subbu|afk
Aethenelle has joined #jruby
yfeldblum has quit [Ping timeout: 244 seconds]
dinfuehr has joined #jruby
dinfuehr has quit [Ping timeout: 265 seconds]
erikhatcher has joined #jruby
erikhatcher has quit [Client Quit]
erikhatcher has joined #jruby
Aethenelle has quit [Read error: Connection reset by peer]
rcvalle has quit [Quit: rcvalle]