Failed to start mongodb service

We use mongodb as a services from our travis.yml (see engine/.travis.yml at devel · Lumeer/engine · GitHub).

Up until approximately this weekend, everything worked. Now all the builds fail to start the service - Travis CI - Test and Deploy with Confidence

The build log reads the following around line 167:

$ sudo systemctl start mongodb
Failed to start mongodb.service: Unit mongodb.service not found.

I did not find anything mentioning that I should update something or so… What could I do? Thanks!

A workaround was suggested to me by support which seems to work:

  - sudo systemctl restart mongod.service
  - sleep 10