My Siemens dishwasher, about nine years old, makes a really loud squealing noise for 10-20 minutes at a time while it's in the middle of its programme. Think banshee with a stubbed toe, about 2kHz, and loud enough to be heard throughout the house.
It doesn't do that when filling or emptying...