A trying that may not succeed. Naming something an attempt is what makes failure survivable.
Latin attemptare (to try, to test, to make an attack on), from ad- (to) + temptare (to feel, to test); a trying that may not succeed.
A trying that may not succeed, named as such so the failure is survivable.