Warden indefinitely roars when the attack target is invulnerable.
And after a period of time, stuck in place and no longer looking for new targets.
Summon a warden.
Use the following command:
/summon pig ~ ~ ~ {Invulnerable:1b}
Notice that the warden starts to indefinitely roar.
I can confirm this behavior.