I have been trying to tame a ocelot and the mob would just run around like it was afraid still even when i had raw fish in my hand. It would seem like its taking the raw fish, because when I go to feed it to the mob it would lower my stack count but would not give any indication that it is being tamed. And when it does my stack count would then go back up to where it was left off at.
Related issues
duplicates
Comments

Reappear in 1.13 Java Edition.
Follow the steps shown in the video linked on MC-1163. Does that resolve the problem?