Labor 's Julia Gillard said it was a " major failure of coastal surveillance " .