Italy qualified for Euro 2024 finals after drawing 0-0 against Ukraine in their final Group C qualifier on Monday, although the Ukrainians can still secure a spot through the playoffs.
European champions Italy finished second, level on 14 points with third-placed Ukraine, but with a better head-to-head record after a tense affair that could have gone either way.
Luciano Spalletti and the Italians ended six points behind England, who had sealed qualification after beating Italy 3-1 at Wembley in October.
Ukraine, who have never beaten Italy, had strong claims for a penalty after Bryan Cristante's clumsy challenge on Mykhailo Mudryk in stoppage time, but nothing was given.
They can still book a spot at a fourth consecutive European Championship via the playoffs in March. The playoff draw will take place on Thursday in Nyon.
"Ukraine showed that they are an equipped team and they gave us a hard time," Spalletti told Rai Sport. "Today we played a good match because in the first half we had many opportunities to secure the result. Then when we didn't manage to do so the match became dirtier and more physical.
"They brought in more physical players but at that moment they no longer played football."
Italy, who will make their eighth consecutive appearance at the Euros, had most possession and created more chances, but Ukraine remained composed as they looked to counter-attack.
Italy's Federico Chiesa had a chance to break the deadlock in the seventh minute, but his effort from inside the box flew narrowly over the bar before Donnarumma denied Ukraine an opener seven minutes later by keeping out Georgiy Sudakov's low shot.
Defender Giovanni Di Lorenzo then nearly nodded home for Italy from a corner just before the half-hour mark before Trubin pulled off a stunning save to deny Davide Frattesi.
Italy continued to dominate after the break, but Ukraine's probing increased and Mudryk came close in the 66th minute only to be denied by Donnarumma, who pulled off another fine save.
"We are very happy," Donnarumma said. "We are where we deserve to be with all the difficulties we had, but thanks to the new coach and staff we are back."
Under Spalletti, who took over from Roberto Mancini in August, Italy have won three times, drawn twice and lost once. They failed to qualify for last year's World Cup in Qatar.
The European Championship will be held in Germany.
In an interview with Star+, Lionel Messi said, a year after lifting the World Cup trophy in Qatar, that one of his top triumphs is having turned criticism into praise from Argentina fans.Ronaldo faces $1B lawsuit for promoting NFTs
Portuguese soccer star Cristiano Ronaldo has been hit with class-action lawsuit seeking at least $1 billion in damages for his role in promoting cryptocurrency-related NFTs, issued by the beleaguered cryptocurrency exchange Binance.Everton appeal against 10-point deduction by PL
Everton have filed an appeal against their 10-point deduction by the Premier League, the club said on Friday.Ange on sin-bin idea: Refs should stop interfering
Ange Postecoglou has urged football's lawmakers to scrap plans to introduce sin-bins and stop making unnecessary changes that could have a detrimental effect on the game.Ten Hag: Onana is the 2nd best keeper in PL
Erik ten Hag has backed under-fire André Onana by insisting the Manchester United goalkeeper is "the second best" in the Premier League.Sources: Arsenal in talks with White over new deal
Arsenal are increasingly hopeful of agreeing a new contract with Ben White after opening talks with the defender, sources have told ESPN.Mourinho hits out at 'superficial' Roma players
Roma manager Jose Mourinho said some of his players had adopted a "superficial approach" in Thursday's Europa League game against Servette in Geneva.