You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I build a maven project on OpenShift Dedicated with S2I, but the build fails with a "Generic Build failure - check logs for details."
However, the build log shows no error. So there is no clue what can cause this.
Apparently, it might be because the maven build went out of memory (although the log would show that normally) or it was killed because a timeout passed and the build took too long. Either way, OpenShift should mention any of such things happening - for example at the end of the log file.
yes most likely the container was oom killed for trying to exceed the resource limit. because of the way builds work (spawning a separate container) k8s is left unaware of what happened.
ultimately we want to move away from doing builds in this way, so once we do that hopefully you'll be able to see a standard oom kill event on the build pod if this happens.
I build a maven project on OpenShift Dedicated with S2I, but the build fails with a "Generic Build failure - check logs for details."
However, the build log shows no error. So there is no clue what can cause this.
Apparently, it might be because the maven build went out of memory (although the log would show that normally) or it was killed because a timeout passed and the build took too long. Either way, OpenShift should mention any of such things happening - for example at the end of the log file.
To reproduce, throw this into SI2: https://github.com/kiegroup/optashift-employee-rostering/tree/c1c0081287917ac8925c170d7325bafdfb3a8a16
Relates to https://stackoverflow.com/questions/49937464/openshift-java-maven-build-generic-build-failure-but-log-shows-no-error
The text was updated successfully, but these errors were encountered: