Ukraine ran out 6-0 victors in Andorra to make sure of a runners-up finish in Group 6 and a play-off place at the expense of Croatia, who also won.
Brazil took seven points from a possible nine to win Group G, while Portugal went through as their runners-up, one point clear of Côte d’Ivoire.