[5/6] Testsuite fix - enhance the error handling of the loop that checks whether the DB server is alive
Related: #2144488
If the server haven't come online even after our last try, say it,
print out the DB log from easier debugging of the issue,
and kill the RPM build, as the testsuite can't be executed.