None of the interpretations are correct, necessarily. While players can certainly take many kinds of actions outside of combat, like kicking down a door, activating a magic item or blindly shooting a flaming arrow down a dark passage, which very well may result in combat, the Ready action is generally not meant to be used outside of combat as a means of dealing surprise damage; the official rules for Surprise are in place for purposes of "getting a jump" on someone.
Regardless of whether or not the players are successful, the action of trying to kick the door down would essentially initiate combat, either alerting the ogres to a threat or surprising them. It could look something like this:
PC1: "I kick the door in!"
PC2 and PC3: "We ready our bows for anything on the other side!"
DM: "PC1, make a strength check to see if you break down the door."
PC1: "I rolled a(n) X."
DM: "Okay, you fail/succeed at kicking down the door. Everyone, roll initiative."
Scenario 1
The PCs failed to kick down the door, and the clamor has made the ogres aware of a possible threat, so they are not surprised. The PCs would not be considered surprised, either, because they were intentionally keeping their weapons "ready." Note that this is not the same as the combat option of readying an action. Both parties, however, are prepared for a possible threat on the other side of the door.
The encounter would begin and play out as normal. Neither side got the jump on the other, so there is no surprise. The PCs and ogres would take their turns as usual, per their initiative order. The PCs could potentially continue attempts to kick down the door, and the ogres could ready actions on their turn for anything that comes through the door, or run to the door to open it and bash the intruders. Following initiative order, players could also use their turns to now ready their actions for whenever the door is successfully kicked in or otherwise opened.
Scenario 2
The PCs successfully kick the door down on the first attempt and burst into the room, thus surprising the ogres. The players are not surprised, even if they were unaware of the ogres' presence, because they had called out, "We ready our bows," meaning they were prepared for any possible threat on the opposite side of the door; also, the ogres are simply sitting there eating breakfast, so it's not like they have an ambush set up. Again, note that the PCs are not actually readying an action, but simply keeping prepared for a potential threat.
The encounter would begin with the ogres surprised, since the players effectively "got the jump" on them. Initiative order would be followed as usual, and each player would be able to take actions on their turn as normal. Any player with a feature that grants a bonus against surprised creatures would gain that benefit, such as the Assassin Rogue's Assassinate feature, so long as their turn is before the surprised target's. Additionally, the ogres would not get to take any actions or movement this first round, and would be unable to make any reactions until their first turn has passed, as per the rules for Surprise. Once their first turn has passed, they are no longer considered surprised, so players who take their turn after the ogres would no longer benefit from surprise-specific features against them, like the aforementioned Assassinate feature.
Scenario 3
There would be no need for a perception check. The players stated that they are prepared for a possible threat and the ogres are not intentionally trying to be stealthy. This scenario plays out just like Scenario 1. The only time a perception check would be required for a player who is prepared for a potential threat is if the ogres were actively trying to hide or set up an ambush.
For example, if PC1 failed to kick down the door, the ogres would be alerted to an incoming potential threat and might take advantage of this warning clamor. Because the players are not aware of the ogres' immediate presence, the ogres could choose to go hide in a corner, waiting to spring upon anyone who enters, instead of instantly taking a combat stance. Since they are attempting to set up an ambush for the incoming players, but the players are prepared for a potential threat, you would ask the players to make a perception check against the ogres' stealth check. (If the players had not "readied their bows," you would likely use their passive perception instead of asking for an active roll.)
If the players fail this perception check they would be surprised. In this situation, you may hold off on calling for an initiative roll until after the players enter the room, completely unaware of the threat of the ogres within. Once their guard is a bit lowered, the ogres could then jump out from the corner to initiate combat and surprise the players. Keep in mind the ogres would not have actions readied for the players, since they would not actually be in combat yet. They are simply awaiting an opportune moment to attack the hapless players.
If the players succeed on the perception check in this situation, the ogres would fail at hiding, and initiative would then be rolled.
The whole scenario might go something like this:
PC1: "I kick down the door!"
PC2 and PC3: "We ready our bows for anything on the other side of the door!"
DM: "PC1, make a strength check to attempt to kick down the door."
PC1: "I rolled a(n) X."
DM: "You fail to kick down the door..." (Thinking to self, the noise of kicking the door has alerted the ogres to a threat, so they will try to hide. DM makes a secret stealth check.) "...but you notice it has splintered a bit, leaving a space for you to look through. PC2 and PC3, please make a perception check."
PC2 and PC3: "We rolled a(n) Y and a(n) Z."
If they fail on the perception check...
DM: "The room appears empty. You can reach through the splintered gap to open the door from the other side."
PCs: "Okay, we proceed in. What's in this room?"
DM: "There is a fire crackling in a fireplace on the far wall, and there are two bowls containing lumps of mostly eaten mutton sitting on a large, wooden table."
PC3: "Can I inspect the mutton to determine if it's fresh or old?"
DM: "Sure, right after you roll initiative." (Players would be surprised by the ogres.)
If they succeed on the perception check...
DM: "As you peer through the gap, you notice some large figures shuffling about. Roll for initiative." (Neither side would be surprised, and this encounter would proceed like Scenario 1.)
The Conclusion
Much of the apparent confusion in the proposed situation seems to stem from a misuse of the Ready feature as if it were a "surprise attack" feature. If you keep in mind that actions are not necessarily meant to be readied outside of combat (it is presented specifically in the Combat section of the Player's Handbook,) it all seems a little more simple. When it comes to "surprise attacks," lean on the rules that are in place for the Surprise feature; it's still one side getting a round of attacks before the other has a chance to act, but is organized in a balanced way, relying on initiative.
The reason actions aren't meant to be readied outside of combat is to prevent a "free round" or "free damage" for anyone that "readies a weapon." A player could say they walk around with an arrow nocked at all times. So any time combat starts they instantly get a shot at the enemy? This isn't very fair, and certainly isn't the way the Ready feature is intended to be used. The only way to get a "free round" is through surprising an opponent.
Do keep in mind that this answer is based purely on rules as written. I have a deep suspicion that a lot of the confusion surrounding actions readied outside of combat and surprise rounds is due to the popular web show, Critical Role. It is important to note that they play with many house rules, which are not supported by the official resources. If you want to play by rules as written, pay close attention to the scenarios presented here, and revisit the Player's Handbook anytime you need a refresher.
References:
Ready [PHB 193]
Sometimes you want to get the jump on a foe or wait for a particular circumstance before you act. To do so, you can take the Ready action on your turn, which lets you act using your reaction before the start of your next turn.
Notice the use of the terms "turn" and "reaction." This implies the Ready action is intended to be used in combat, after initiative has been rolled and turn order has been established.
Surprise [PHB 189]
If neither side tries to be stealthy, they automatically notice each other. [...] Any character or monster that doesn't notice a threat is surprised at the start of the encounter. If you're surprised, you can't move or take an action on your first turn of the combat, and you can't take a reaction until that turn ends.
A creature generally has to make a conscious effort to surprise another. (Two lazy ogres sitting at a table eating breakfast wouldn't get a surprise round of combat on prepared adventurers, but alerted ogres that swiftly hide for a chance to ambush them might.) This Surprise rule is the intended method for achieving/resolving a "surprise attack," not actions readied outside of combat.
Final Thoughts on Ready Outside of Combat
Just always remember this: If a player says, "I ready my weapon," outside of combat, it means they are simply on guard for potential threats or are planning to initiate combat at the drop of a hat; it does not mean they get a free attack the instant combat starts. (You might house rule that an enemy has disadvantage on stealth checks against a "readied" character, or that a "readied" character has +2/+5 to its passive Wisdom (Perception) score, to help defend against potential surprise attacks, but that isn't directly supported by official rules.)