The cops had sniffer dogs in Boston at the race BEFORE the race started. The Bomb Squad had prior knowledge.
They told runners not to be concerned as it was a training drill, just like the training drills that happened in Madrid (2004), and at 911, and the London bombing on 7/7. So many lies eh?
Here is a vid on it…. (3.45 mins)