morganey-lang / Morganey

Lambda Calculus based, interpreted programming language that recognizes Church encoded structures.
43 stars 4 forks source link

Periodic failures on CI #299

Open rexim opened 7 years ago

rexim commented 7 years ago

Derived from https://github.com/morganey-lang/Morganey/pull/296#issuecomment-259325563

Symptoms

Sometimes the build (both on Travis and AppVeyor) hangs without producing any output for quite some time which makes both of the platform kill the build by their timeouts.

Never reproducible locally.

rexim commented 7 years ago

I believe this affects both AppVeyor and Travis now. The symptoms are similar. I'm extending the scope of this incident.

rexim commented 7 years ago

@ForNeVeR suggested that the problem might be with the caches. We have to try to flush them or disable completely.

rexim commented 7 years ago

Ran the following command locally 5 times:

$ sbt clean compile && sbt test-only && sbt funtests

This command is close to the configuration on CI. The average time is 1m13s. The symptoms were not reproduced.

Environment

ForNeVeR commented 7 years ago

I just want to note that this kind of behavior is unusual for these CI sites; I can't observe this kind of behavior with any other projects known to me.

rexim commented 7 years ago

I stopped working on this issue, because of the lack of time. In #337 I've collected some data from different build experiments. I'd recommend to try to reproduce the problem in the corresponding Travis docker image https://docs.travis-ci.com/user/common-build-problems/#Troubleshooting-Locally-in-a-Docker-Image