I try tried that, now it gives me another error message :{"error":{"code":500,"message":"Error performing execute operation","details":[]}} here is the server log for the error.
But after I install the patch, Arcgis pro starts to consolidating data before uploading the webtool. Before the patch it just jumps to uploading services definition without consolidating the data.