How to stop the build failing due to timing out
I am running a build which gets stuck on the "Fetch" build activity. This step really takes time and fails with the errror:
TMO Timeout after +300 seconds.
ENV EnvDumpForFailure +999
The Fetch build activity takes more than 5 minutes then the build fails.
I must say that this did not happen before. I am unsure of the cause but I added more components with more files in the stream which I suspect could be causing the problem.
2 answers
Running a build with load option "Load workspace to the load directory at the beginning of the build" unchecked resolves this issue. If you require this option to be enabled then increasing the build timeout duration will work.
You can improve the fetch time by restricting which components are part of the build. If you have good segmentation on your architectural layers, then you should be able to isolate a build to just what is needed. What type of build is this? Java with Maven or ANT? z/OS dependency?
Comments
Krzysztof Kaźmierczyk
Sep 04 '19, 6:52 a.m.Michael Mazibuko
Sep 04 '19, 7:34 a.m.