New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add [openjdk11] to Travis cross build #25675
Conversation
Thank you for your pull request! After a quick sanity check one of the team will reply with 'OK TO TEST' to kick off our automated validation on Jenkins. This compiles the project, runs the tests, and checks for things like binary compatibility and source code formatting. When two team members have also manually reviewed and (perhaps after asking for some amendments) accepted your contribution, it should be good to be merged. For more details about our contributing process, check out CONTRIBUTING.md - and feel free to ask! |
OK TO TEST |
I guess we can't merge this until #25449 is fixed |
Test PASSed. |
Note that while useful, our travis build doesn't do much, where the actual ci is done is our own jenkins servers. We should probably update the JDK9/10 job to run on 11 instead given that is the LTS. |
We have an 11 build it just doesn't compile :) https://jenkins.akka.io:8498/job/akka-nightly-jdk11/ |
This is a must:) |
For reference it is blocked on a static forwarder methods conflict: scala/bug#11061 |
Oh, wait, that has been fixed now, I'll try out 2.12.7 with Java 11 right away. |
Sorry for the noise, spoke too soon, 2.12.7 isn't out yet, so this should be fixed when it is. We have a ticket tracking the compilation failure: #25449 Edit: which was already noted by Raboof earlier, I'll just shut up now. |
@sullis now that 2.12.7 is released want to add it to this PR and see if it works in travis for JDK11? I've kicked off with 2.12.7 now that genjavadoc has been released |
@sullis it would be great if you could rebase this one! |
4d059c3
to
473e8e6
Compare
Test PASSed. |
Hmm, now it got this:
Wasn't that what we saw in the community build? (@SethTisue ?) |
Hm - might be interesting that it is failing for |
Um, probably, I have trouble keeping all 180 projects straight in my head :-) but a recent run is https://scala-ci.typesafe.com/view/scala-2.12.x/job/scala-2.12.x-jdk11-integrate-community-build/57/ and it has:
in our config file we have:
but anyway actually we're currently frozen at your |
Late answer here for @SethTisue but, those test failures we know about but have yet to look into (#25733) |
What is the status here? Still waiting for some known issue? |
I think this should be working by now, just retriggered the build |
Nope: [info] Compiling 2 Scala sources and 1 Java source to /home/travis/build/akka/akka/akka-stream/target/CompileJdk9-classes ...
[error] Class jdk.internal.HotSpotIntrinsicCandidate not found - continuing with a stub.
[error] Class jdk.internal.HotSpotIntrinsicCandidate not found - continuing with a stub.
[error] Class jdk.internal.HotSpotIntrinsicCandidate not found - continuing with a stub.
[error] Class jdk.internal.HotSpotIntrinsicCandidate not found - continuing with a stub.
[error] Class jdk.internal.HotSpotIntrinsicCandidate not found - continuing with a stub.
[error] 5 errors found |
We have a nightly jenkins job on JDK 11 which compiles fine (https://jenkins.akka.io:8498/job/akka-nightly-jdk11/ ) so it is not a general compile-on-jdk-11-problem. So I guess it is something about the travis infra and finding JDK versions probably, because of the trix we do to compile the Flow APIs. I don't think getting the travis job up is super important, even if it would be useful. |
in the context of the community build, where we are building your |
I've been staring at this and fiddling with it all morning, to no avail... but then I finally had a hunch: maybe using as for what the cause might be, maybe it depends on whether the machine you're on has 9 installed in addition to 11? perhaps the Akka Jenkins has both 9 and 11 but Travis-CI has dropped 9 from the image we're using? (that wouldn't account for why I can reproduce the problem on my laptop inside dbuild but not outside, but there could be some separate cause for that.) |
yeah so Travis went green over at #26078 that's good enough for me to get akka-stream green in the Scala 2.12-on-JDK11 community build, so I'd prefer to stop there and not to take this work any further myself. I suggest y'all follow through by dropping support for building on JDK 9 and 10 and make everything consistently 8 and 11 |
I'm closing this because we have other jobs that are running full tests on JDK 11 and I don't see much value in adding build cycles to Travis build which doesn't do much. And we should use Adopt JDK as in #26170 |
We are now also seeing this but only on some machines.
Yes, that seems to work but we don't really know what the exact effect of changing that setting is. Is that explained somewhere, @SethTisue?
We experimented with that and think that we can rule that out, as least it's not as simple as that. |
see scala/scala#6362 fwiw, I doubt it's worthwhile to get to the bottom of this, there's no reason to use |
Thanks, @SethTisue, I learned something there.
Agreed. |
No description provided.