The nail-biter poll is being "very closely" watched by US President Donald Trump, who has championed Latin America's swing to the right in recent elections.
Washington suspended consular services in Brasilia over "security concerns," and Australia closed its embassy for the same reason. Neither gave details.