How does a master ball fail to catch? Isn't that the point of a master ball? yikes.
Well there is a very small chance that a masterball will fail to catch a wild pokemon but its less likely then seening a shiny pokemon so its not likely to happen.
Also in the battle tower a nidoking hit my pokemon 3 times in a row using horn drill.