This is caused by MC-154092 and MC-148600
The alarm pigman should alert the pigman who does not have line of sight to the player that the player is there.
The alerted pigman ignores the anger because he cannot see the player.
Zombie pigmen will spread their anger forever if they can continously respawn
Zombie Pigmen lose aggro even when they're in range and have a line of sight