Is rabbitmq service down?

As the log shows here, the rabbitmq service cannot be started:

e[0Ktravis_fold:start:services
e[0Ktravis_time:start:0088e906
e[0K$ sudo systemctl start redis-server
travis_time:end:0088e906:start=1563958140869165696,finish=1563958140935211880,duration=66046184
e[0Ktravis_time:start:0572c1fc
e[0K$ sudo systemctl start rabbitmq-server
Failed to start rabbitmq-server.service: Unit rabbitmq-server.service not found.
travis_time:end:0572c1fc:start=1563958140939145809,finish=1563958140951256738,duration=12110929

I have my .travis.yml as:

branches:
  only:
  - master
language: python
python:
  - "3.5"
  - "3.6"
  - "3.7"
services:
  - redis-server
  - rabbitmq
  - mysql
# command to install dependencies
install: "pip install -r requirements.txt"
before_script:
  - mysql -e 'CREATE DATABASE FFXIV_DEV;'
  - mysql -u root -e "CREATE USER 'FFXIV_DEV'@'localhost' IDENTIFIED BY 'PASSWORD';"
  - mysql -u root -e "GRANT ALL ON *.* TO 'FFXIV_DEV'@'localhost';"
  - mv FFXIV/settings_example.py FFXIV/settings.py
  - python manage.py makemigrations ffxivbot
  - python manage.py makemigrations
  - python manage.py migrate
# command to run tests
script:
  - python manage.py test

after_success:
  - bash <(curl -s https://codecov.io/bash)

Sorry for the troubles.

Since you aren’t specifying a dist: in your .travis.yml file, this is a side-effect of our migration to change the default distribution from Trusty to Xenial. Unfortunately, rabbitmq isn’t available on Xenial at this time.

The workaround would be to add dist: trusty to your .travis.yml file or install rabbitmq “manually”.

Hope this helps!

Imprint