The report said Russia showed a "clear preference" for Donald Trump, the president-elect, and carried out cyber attacks and issued propaganda both to boost his chances and to undermine confidence in American democracy.