I have a travis stage which executes a command. This stage runs integration tests which are written using scala test and wiremock.
script: - sbt doSomething
doSomething runs my integration tests. When this runs on travis, my tests fail randomly. Sometimes fail with 598 network timeout, sometimes 404 or 500. It is highly irregular. Sometimes build stops and shows a message
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
Is there a way to set this timeout to larger value for an sbt project ?
but when I start the same stage in
Debug Mode and debug that build in
ssh it opens a path in my mac’s terminal. Then if I run
sbt doSomething I don’t see any failures, with all tests passing no matter how many times I run the same command.
Ideally both are doing same operations. Why is that it is irregular on travis and why it always passes in quiet mode ? Is that a problem with travis CI ? Is there a way to sort it out ?