-
Notifications
You must be signed in to change notification settings - Fork 51
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
WIP CI: update to 16.04 + JDK9 #221
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bzz
force-pushed
the
fix-ci
branch
10 times, most recently
from
April 9, 2019 19:02
b7b2b7d
to
7b139ae
Compare
For anyone interested in this journey though CI update rabbit-hole - check individual commit messages. |
bzz
changed the title
Fixing CI before v1.7.3 release
Fix sudden CI failures on cgo profiles
Apr 9, 2019
This was referenced Apr 11, 2019
As it comes with more recent versions of compilers https://docs.travis-ci.com/user/reference/xenial/#compilers-and-build-toolchain That also requires bumping JDK version, and a minimal still supported one - 9 is used (EOL March 2019). Signed-off-by: Alexander Bezzubov <bzz@apache.org>
JDK 9 EOL is March 2018 and 10 Sep 2018 and allthough TravisCI profiles still support it through https://github.com/sormuras/bach#install-jdksh using the former from Oracle fails the build with ``` install-jdk.sh --target "/home/travis/oraclejdk9" --workspace "/home/travis/.cache/install-jdk" --feature "9" --license "BCL" install-jdk.sh 2019-03-23 Variables: feature = 9 license = BCL os = linux-x64 url = http://download.oracle.com/otn-pub/java/jdk/9.0.4+11/c2514751926b4512b076cc82f959763f/jdk-9.0.4_linux-x64_bin.tar.gz status = 302 ``` and the latter `oraclejdk10 is deprecated. See https://www.oracle.com/technetwork/java/javase/eol-135779.html` Most probably deserves an issue similar to travis-ci/travis-ci#9895 or a question at https://travis-ci.community/c/environments/xenialand This change bumps to smallest-but-still-working openjdk10 Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Using latest from https://github.com/paulp/sbt-extras/blob/a47a965e00ecd66793832e2a12a1972d25e6f734/sbt Otherwise with newerd JDK it results in ``` ./sbt: line 230: [[: .: syntax error: operand expected (error token is ".") ``` Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Othrewise build on newer JDK would fail ``` WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.apache.ivy.util.url.IvyAuthenticator (file:/home/travis/.sbt/launchers/0.13.16/sbt-launch.jar) to field java.net.Authenticator.theAuthenticator ``` Signed-off-by: Alexander Bezzubov <bzz@apache.org>
bzz
changed the title
Fix sudden CI failures on cgo profiles
CI: update to 16.04 + JDK9
Apr 12, 2019
Leaving it as-is for now, until there is a consensus on JDK version we want to support in #223 |
Going to close this and just re-use later, as soon as there is progress on #223 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #223
Updates done for CI:
still supportedversion oforaclejdk9
.sbt
wrappersbt
version0.13.x
->1.x
sbt
plugins versionsbuild.sbt
to the new plugins apis