Is the question of droid consciousness ever addressed in canon sources? Are they self aware or do they merely pass the turing test by seeming self aware?
If you do a Google Books search for phrases like "Threepio wondered" and "Artoo thought", you'll get hits that are clearly passages from EU novels written from the perspective of a droid. For example, there's this line from Dark Apprentice by Kevin Anderson:
If droids are capable of being perspective characters, I'd say that's the most compelling evidence you could get that they're actually conscious.
The Medstar Duology (Battle Surgeons and Jedi Healer, Clone Wars era) also addresses this issue. The droid I-5YQ comes to the planet and expresses great sadness, remorse, sarcastic capabilities, inquisition about the force and human behavior, and a desire to get drunk. The book compares this seemingly conscious droid with the clones, and the doctors in the Medstar Duology revise their point of view on what exactly can be considered alive. It seems that the consciousness of droids is a common theme throughout the Star Wars saga.
This is an excerpt from the 'Star Wars - The Force Awakens' novel which is canon.
So the droids do have consciousness on some level.
Yes, without a doubt. I will be using some quotes from the novelization of The Force Awakens, which describe BB-8 and his behavior, to support my case (because I happen to have it handy at the moment).
BB-8's dialogue (i.e., beeping) as a reflection of his emotions and consciousness:
BB-8's beeps are variously described as:
BB-8's behavior and thoughts as a reflection of his emotions and consciousness:
His reactions to different situations are similarly varied, and highly suggestive of an advanced level of consciousness:
We even get a glimpse of how he feels about humans and other organic beings:
And at one point he seeks out his own kind; he is well aware that he was a droid, and not a human:
He himself is described as:
As should be clear by now, BB-8 is definitely self aware, and possesses consciousness, albeit "artificial consciousness". He fears for his well-being and the well-being of his friends, he gets annoyed, he is insubordinate, he gets frustrated, he experiences sadness, loyalty, comradeship, happiness, and doubt.
He doesn't feel these emotions and impulses in a vacuum, of course - he acts in accordance to them, and makes decisions based on them. For example, when he sees Finn wearing a jacket that belongs to his master Poe, he alerts Rey to the apparent theft (despite the fact that Rey has no real reason to care, from a perspective of pure self-interest), and after she knocks Finn down, BB-8 makes it abundantly clear that he is enraged by Finn's apparent thievery, and repeatedly shocks him with a Taser. When Finn explains that he came to Jakku with Poe, but believed the latter to be dead, BB-8 reacts appropriately, immediately foregoing his rage and sinking into grief and despair.
He is more limited in his actions than we are: He apparently can't reject a direct order, no matter how much he wants to do so, but can only protest it. His programming inhibits him in less direct ways as well - at one point, he follows Rey, staying "as close to her as protocol allowed". This suggests that he is programmed with a complex set of guidelines, presumably designed to accommodate basic etiquette, including, perhaps, some respect for "personal space".
More to the point of the question - which focuses on consciousness and self-awareness - he knows he is a droid, and wants to be among his own kind, but sees humans as an acceptable substitute - even if he can't "rouse much empathy" for the human need to eat, despite understanding it in an objective sense.
Regardless of the mechanical and artificial source of his sentience, he clearly possesses a wide range of emotions, fears, hopes, desires, and opinions, and these are quite similar to their analogues in humans and other intelligent species. This isn't mere parroting of what he sees, it is intuitive, natural, and authentic. He doesn't just appear to be a thinking, feeling, self-aware entity; he truly does think, feel, and possess a robust awareness of himself.
Although BB-8 would presumably have to obey Poe even if he didn't like him, this clearly isn't the case - BB-8 is not only obedient, but loyal and affectionate. He obviously cares for Poe, and later, Rey and Finn, quite deeply. I don't see any evidence that his affection for his organic companions is substantially different from their affection for one another. And although I haven't touched on it elsewhere in this answer, it is self-evident, in my opinion, that the same is true of R2-D2. The most prominent droids in Star Wars are quite plainly conscious, emotional beings who love their companions and display a full range of emotions throughout the series.
Thus, droids obviously do possess consciousness, self-awareness, emotions, and personalities, and although some aspects of their behavior are regulated by programming and fairly rigid protocol, these limitations and prohibitions seem to be a very minor part of the overall picture. The vast majority of a droid's actions are motivated by internal decision making processes, emotions, and values, in a manner that appears to be almost indistinguishable from our own decision making processes, emotions, and values.
In Tales of the Bounty Hunters you have Ig 88 and counterparts perspectives, in one event attempting to deduce what actions Boba Fett will take to counter them in a starship combat.
In Knights of the Old Republic conversations with the artistically violent and whimsical HK-47, many of which imply sentience.
There are more examples, but I think we can reasonably conclude that some droids at least, are conscious.