2008 s6 drivers headlight not working

Ive tried everything. tested both circuit board boxes that mount on outside of the shell. swap actual bulb out with working one.

when i try to put brights on it makes a clicking noise near the main bulb ( theres some sort of mechanism/ switch) that makes that noise. ( thats the brights triying to turn on)

passenger light works flawlessly

anybody else have this issue?