[Compass-ci] [PATCH compass-ci] sparrow/4-docker: delete duplicate functions code