Ethiopia held Algeria 3-3 to prevent the Desert Foxes booking their place at the 2017 Africa Cup of Nations.
Algeria would have qualified for the tournament had they beaten Ethiopia, who they had thrashed 7-1 in Blida in their first group meeting on Friday.
This time Ethiopia took the lead three times but a late penalty by Faouzi Ghoulam secured a point for Algeria.
Algeria are top of Group J with 10 points, five points clear of Ethiopia with two matches left to play.
The 13 group winners are guaranteed a place at the finals in Gabon, with the two best-placed runners-up also going through. Gabon qualify automatically as hosts.
Getaneh Kebede scored either side of Islam Slimani's equaliser to put Ethiopia 2-1 up on Tuesday.
Aissa Mandi levelled again and Dawit Fikadu restored Ethiopia's advantage only for Ghoulam to slot home from the spot with five minutes remaining.
In the other match in the group Lesotho were surprise victors over Seychelles.
Tumelo Khutlang struck the winning goal for the hosts, avenging the 2-0 away defeat Lesotho suffered in Seychelles four days ago and giving Lesotho their first points of the group stage.
The results mean Algeria will qualify for the finals if they avoid defeat against Seychelles in June.
Senegal also had a chance of booking their place in Gabon following their 2-1 win in Niger - but they needed a draw between Burundi and Namibia.
Instead, Burundi secured a 3-1 away to sustain the competition in Group K.
However, leaders Senegal need only to avoid defeat against Burundi in June to ensure their qualification.
Guinea came back from a goal down to win 2-1 in Malawi in Group L.
The victory lifts Guinea from bottom spot to second place in the table, above Swaziland on goal difference.
Chiukepo Msowoya put Malawi ahead on 32 minutes but Mohamed Yattara equalised just before half-time.
And visitors Guinea pushed on in the second half, securing an excellent away victory through Idrissa Sylla's 60th-minute goal.
Guinea are three points behind group leaders Zimbabwe with two games remaining.
Rwanda thumped Mauritius 5-0 with Ernest Sugira scoring a rapid-fire brace in their Group H tie in Kigali.
It gave Northern Irishman Johnny McKinstry's side sweet revenge for their 1-0 defeat in Mauritius three days ago.
Dominique Nshuti started the rout on 11 minutes, followed on the half hour by two goals in a minute from Sugira to make it 3-0 at half-time.
Fitina Omborenga and Jean-Baptiste Mugiraneza score a goal apiece in the send half to complete a comprehensive victory.
Rwanda move up to second in the table on six points., four points behind Ghana.