[feat] update bitmask-root if needed

Chech the hash of the installed bitmask root and sign as not installed
if doesn't match the one we have in the bundle. Also for running
bitmask-root, if there is more than one (in /usr/local/sbin and
/usr/sbin) run the one with higher version number.

- Resolves: #9020
12 jobs from master in 142 minutes 44 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Test
passed #29131
docker-in-docker
build_docker_image

00:45

passed #29129
linux
linux_test

15:48

failed #29130
osx yosemite allowed to fail
osx_test

 
  E2e
failed #29132
linux allowed to fail
e2e_tests

01:00:05

 
  Functional
passed #29133
linux
functional_tests

08:54

 
  Bundle
passed #29134
linux
bitmask_latest_bundle

06:50

 
  Build Ui
passed #29135
linux
build_ui

01:08

 
  Package
passed #29140
package:amd64_artful

20:07

passed #29137
package:amd64_buster

49:57

passed #29138
package:amd64_sid

47:12

passed #29136
package:amd64_stretch

24:52

passed #29139
package:amd64_zesty

30:02

 
E2e e2e_tests
++ echo 'token     None
user tmp_user_20171207220121@ci.leap.se'
++ head -n 1
++ cut '-d ' -f 2
++ sed 's/ */ /g'
+ imap_pw=None
+ [[ None == *\N\o\n\e* ]]
++ bitmaskctl mail get_token
ERROR: Job failed: execution took longer than 1h0m0s seconds
Test osx_test
No job trace