travis builds without cache are timing out #15372

issue MarcoFalke opened this issue on February 8, 2019
  1. MarcoFalke commented at 8:11 PM on February 8, 2019: member

    travis builds are getting more expensive, as the executables are built with more instrumentation (memory-, or address-sanitizers, ...) and the number of functional tests increases. Thus, a vanilla build (without depends cache and compile cache) would time out. Since depends is only touched rarely, a workaround was to quit travis early in case of a vanilla build, store the cache and mark the build as failed. The next run would take the cache and continue from there. C.f. https://github.com/bitcoin/bitcoin/blob/2945492424934fa360f86b116184ee8e34f19d0a/.travis.yml#L35

    I tried to do the same for the regular compilation of Bitcoin Core, but it would run into issues in the mac build: https://travis-ci.org/bitcoin/bitcoin/builds/490661548

    To solve my oversight, someone could set a flag to not run any later scripts after the first one timed out.

    However, I am creating this issue to see if anyone has other ideas to solve the issue more cleanly.

  2. MarcoFalke added the label Tests on Feb 8, 2019
  3. MarcoFalke added this to the milestone 0.18.0 on Feb 8, 2019
  4. MarcoFalke commented at 8:14 PM on February 8, 2019: member

    It might be possible to purchase additional minutes for a travis build (more than the default 50 min), but that would make it harder for developers to run builds in their own fork of Bitcoin Core. Also, we should aim to run all tests in as little time as possible and hour-long tests seem suboptimal.

  5. promag commented at 7:27 PM on February 11, 2019: member

    Just asking, what if we just use depends on branch master?

  6. MarcoFalke removed this from the milestone 0.18.0 on Feb 13, 2019
  7. MarcoFalke closed this on Apr 9, 2019

  8. MarcoFalke referenced this in commit 23712f8ab9 on Apr 9, 2019
  9. DrahtBot locked this on Dec 16, 2021
  10. knst referenced this in commit 8c48dc2a0a on Mar 1, 2023
  11. knst referenced this in commit 879989cf05 on Mar 2, 2023
  12. knst referenced this in commit 595bd82734 on Mar 15, 2023
  13. knst referenced this in commit b711dfaa99 on Mar 15, 2023
  14. knst referenced this in commit 149a38d84c on Mar 19, 2023
  15. knst referenced this in commit 16884101c6 on Mar 28, 2023
  16. knst referenced this in commit 274c7b628b on Apr 6, 2023
  17. UdjinM6 referenced this in commit 27b5d68562 on Apr 6, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 06:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me