Build should pass
Build failed
This build was terminated due to inactivity: This build was terminated due to inactivity but the it says that only took 34 seconds.
This is done by a Celery task at https://github.com/rtfd/readthedocs.org/blob/df8079a18ed9c15e9c85f0646e3e9169e725b310/readthedocs/projects/tasks.py#L1048-L1089
I'm marking this report as a bug and changing the title.
I found the issue.
Build object is created immediately when it's triggered (that assign the date attribute to now)So, the time where the build is created with the time that it's executed _are slightly_ different. In this case, it happen that for some reason Celery workers where busy for too much time and when your tasks was executed by the worker was immediately killed because it seemed an old running build.
2018-02-02T05:01:46.3476062018-02-02T11:01:53.647017(sicen there are 6hs of difference, this seems that there was a problem with Celery)
You can check those dates in the API, https://readthedocs.org/api/v2/build/6678782/
One possible thing we could do is to check with Celery if the task was deleted/is on queue or similar to make a better decision. Although, I think it doesn't worth the effor on coding that and probably is more error-prone.
The real issue, was that a server problem. I'm closing this issue, but feel free to reopen if you consider.