Skip to content

Conversation

@theuni
Copy link
Member

@theuni theuni commented May 18, 2016

Now that caches are distinct (travis-ci/travis-ci#4393), we can use the Travis minimal image. The minimal image should take less time to setup and lead to quicker builds.

Also addressed while I'm in here:

  • No need to delete the broken google-chrome repo in the minimal image
  • Set the hostname to work-around an openjdk bug
  • Remove the non-functional apt-cache option
  • Remove useless message at completion
  • Install jre where the java tests are run
  • 'make check' in parallel, since the log will take care of clean output
  • 'make check' verbose, so that test failure causes aren't hidden

@laanwj
Copy link
Member

laanwj commented May 18, 2016

Concept ACK.

Travis failure is extremely scary:

02:08:15 1 H2FullPrunedBlockStore.<init>: org.h2.Driver loaded. 
*** buffer overflow detected ***: /usr/bin/java terminated

@fanquake
Copy link
Member

@laanwj The use of the hostname addon is meant to prevent that issue, so the workaround might not be working as expected. More info about it can be found here

Concept ACK, glad to see the caching issue finally sorted.

.travis.yml Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've already merged this, because I am not sure how long this pull will be in the review queue.

You could try a rebase once travis is running again to get rid of this patch and also trigger a build.

@theuni theuni force-pushed the travis-generic-image branch from 86b66da to 957f895 Compare May 21, 2016 07:49
Now that caches are distinct (travis-ci/travis-ci#4393),
we can use the Travis minimal image.
The minimal image should take less time to setup and lead to quicker builds.

Also addressed while I'm in here:
- No need to delete the broken google-chrome repo in the minimal image
- Set the hostname to work-around an openjdk bug
- Remove the non-functional apt-cache option
- Remove useless message at completion
- Install jre where the java tests are run
@theuni theuni force-pushed the travis-generic-image branch from 957f895 to 9063c64 Compare May 21, 2016 08:20
@arowser
Copy link
Contributor

arowser commented May 25, 2016

Can one of the admins verify this patch?

@laanwj
Copy link
Member

laanwj commented May 26, 2016

Looks like the workaround for the work-around is still failing travis :(

@laanwj
Copy link
Member

laanwj commented Jun 6, 2016

Tried to retrigger travis, still fails

@theuni theuni force-pushed the travis-generic-image branch from 9063c64 to 2ca8962 Compare June 9, 2016 15:31
@theuni
Copy link
Member Author

theuni commented Jun 9, 2016

Ready for review now, the upstream issue has been resolved.

@laanwj
Copy link
Member

laanwj commented Jun 10, 2016

@laanwj laanwj merged commit 2ca8962 into bitcoin:master Jun 10, 2016
laanwj added a commit that referenced this pull request Jun 10, 2016
2ca8962 travis: use slim generic image, and some fixups (Cory Fields)
@fanquake
Copy link
Member

Post merge utACK 2ca8962

@maflcko maflcko mentioned this pull request Jul 5, 2016
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants