amphtml: `gulp dist` is frequently timing out on Travis

For example: https://travis-ci.org/ampproject/amphtml/jobs/583921852 https://travis-ci.org/ampproject/amphtml/jobs/581750275 https://travis-ci.org/ampproject/amphtml/jobs/581434498 https://travis-ci.org/ampproject/amphtml/jobs/583763000

dist-bundle-size.js: Running gulp dist --fortesting...
[00:34:44] Using gulpfile ~/build/ampproject/amphtml/gulpfile.js
[00:34:44] Starting 'dist'...
[00:34:54] Performing multi-pass babel transforms in /tmp/c087c16580ed7d5f2d7cf1f10ed49845
.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
[00:35:39] Minifying multi-pass JS with closure-compiler
...............................................................................................................................................................
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received
The build has been terminated

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 17 (15 by maintainers)

Most upvoted comments

@estherkim just found a stalled build. This was the state after 5 minutes of waiting.

image

Here’s the code:

https://github.com/ampproject/amphtml/blob/6695c980b71570a634f252235d87f73cd8c00b80/build-system/tasks/dist.js#L143-L150

Seems like line 149 executed, but line 150 got stuck. I’m going to try and make it non-blocking.