Skip to content
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

Failing openjdk-6 build #1577

Closed
npathai opened this issue Dec 11, 2018 · 15 comments
Closed

Failing openjdk-6 build #1577

npathai opened this issue Dec 11, 2018 · 15 comments

Comments

@npathai
Copy link
Contributor

npathai commented Dec 11, 2018

Travis Logs

$ ~/bin/install-jdk.sh --target "/home/travis/openjdk6" --workspace "/home/travis/.cache/install-jdk" --feature "6" --license "GPL" --cacerts install-jdk.sh 2018-10-17 Expected feature release number in range of 9 to 12, but got: 6 The command "~/bin/install-jdk.sh --target "/home/travis/openjdk6" --workspace "/home/travis/.cache/install-jdk" --feature "6" --license "GPL" --cacerts" failed and exited with 3 during .

@sormuras
Copy link
Member

sormuras commented Dec 11, 2018

From where did you copy the logs?

Looks good for JUnit 4 on OpenJDK 6 and Travis CI: https://travis-ci.org/junit-team/junit4/jobs/459467441

@sormuras
Copy link
Member

@npathai
Copy link
Contributor Author

npathai commented Dec 11, 2018

@sormuras I faced the issue while working on PR #1569

https://travis-ci.org/junit-team/junit4/builds/466439917

@sormuras
Copy link
Member

Thanks for the heads-up. It seems like "dist: trusty" is also affected...

Will notify @travis-ci / @BanzaiMan

@stefanbirkner
Copy link
Contributor

FYI I have the same problem with System Rules since 6th Dec: https://travis-ci.org/stefanbirkner/system-rules/branches

@marcphilipp
Copy link
Member

@sormuras Any news? Did Travis get back to you?

@sormuras
Copy link
Member

Seems like it is not working as intendend: https://travis-ci.community/t/the-travis-ci-build-could-not-be-completed-due-to-an-error/1345 -- as if legacy JDKs are no longer supported "out of the box".

@kcooney
Copy link
Member

kcooney commented Dec 12, 2018

@sormuras Our .travis.yml doesn't specify trusty. Maybe it should? Or is trusty the default?

@sormuras
Copy link
Member

Trusty is the default, afaik. But it now lacks JDK 6 support.
Xenial only comes with JDK 10 and 11 installed.

@sormuras
Copy link
Member

We might resort to using install-jdk.sh in raw mode and specify a URL that points to a JDK x version in .tar.gz format. Do you known an official repository that hosts such archives?

marcphilipp added a commit that referenced this issue Dec 12, 2018
@marcphilipp
Copy link
Member

It does use trusty but for some reason no longer installs the open-jdk-6 package via apt. Previously it did install the package but did not change the used Java version. Thus, I've removed it in 9b34c4b for now.

@kcooney
Copy link
Member

kcooney commented Dec 12, 2018

Could we configure Travis to use the older images for now? See https://blog.travis-ci.com/2017-12-12-new-trusty-images-q4-launch

@marcphilipp
Copy link
Member

Maybe. I've sent a support request to Travis. Let's hope they'll get back with a solution.

@sormuras
Copy link
Member

Also started a thread Java/JDK on Travis CI over here: https://travis-ci.community/t/java-jdk-on-travis-ci/1380

@kcooney
Copy link
Member

kcooney commented Dec 13, 2018

Sorry, still recovering from the flu when I sent my last comment. That link in my comment was from 2017. 🙄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants