Add sudo functional test, fix rabbitmq error
Merge branch 'release/v2.2.0'