Macy’s stock rises on mixed earnings, warns of a choppy year ahead