Diagnostic Aids
WARNING: This page does not describe the selected car, but rather 8 other vehicles, including the 2012 GMC Yukon XL, 2012 GMC Yukon, 2012 Chevrolet Tahoe, 2012 Chevrolet Suburban, and 2012 Chevrolet Avalanche. However, it is still accessible from the selected car via links, so may be relevant.
Inspect the trailer brake output supply voltage control circuit (dark blue wire circuit 47) that runs from the trailer brake relay to the 7-pin trailer connector in the bumper for water intrusion or corrosion.