"Failed" is a relative term, as SpaceX engineers really just need as much real world flight-data as possible right now. Failures were expected.
Flight 2:
Successfully proved hot-staging during ship/booster separation would work.
Flight 3:
Successfully tested tank-to-tank fuel transfer...