failure should be equal to NULL at the end of fd_learnnogood