Online monitoring and control of a cyber-physical manufacturing process under uncertainty