Is the cake real in Portal?

Quick answer: GLaDOS’s promised party is a trap, and the walls behind the scenes warn that "the cake is a lie". A real cake is only shown in the final scene after you beat GLaDOS.
Show walkthrough (story spoilers)
The promise
Throughout the tests, GLaDOS promises cake and a party when you finish. At the end of Test Chamber 19, the party turns out to be a fire pit. The promise was a way to keep you testing.
The cake is a lie
In small hidden dens behind the chamber walls, a former test subject has written warnings. The most famous is "the cake is a lie", scrawled on the walls. You see the most of these messages after escaping the fire pit.
The real cake
After you beat GLaDOS, the final scene shows a real cake with a candle in a room full of personality cores. So the cake does exist, but you never get to eat it. The credits song "Still Alive" plays after this.
