While testing my new SRX at Cadillac showroom the Check Engine Light turn on why on 2013 Cadillac SRX

the car still 0 mileage not used yet we turn the engine on and off several time but nothing change, the gas cap checked and it was ok

1 answer
scan codes and post so we can adv,this could be several issues but under warranty