gitlab-ci.yml: install python-kafka for test suite

7 jobs for api_overhaul in 2 minutes and 38 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Dist
passed #436314
dist:tarball

00:00:29

 
  Build
passed #436316
build:debian:stretch

00:00:42

passed #436315
build:el7

00:00:56

passed #436317
docs

00:01:07

 
  Test
failed #436319
test:debian-python2:stretch

00:00:38

failed #436320
test:debian-python3:stretch

00:00:40

failed #436318
test:el7-python2

00:01:00

 
Name Stage Failure
failed
test:el7-python2 Test
Package python2-pytest-cov-1.6-4.el7.noarch already installed and latest version
$ yum ${YUM_OPTS} --nogpgcheck localinstall dist/el7/python2-ligo-scald-*.rpm
$ pip install python-kafka
Collecting python-kafka
Could not find a version that satisfies the requirement python-kafka (from versions: )
No matching distribution found for python-kafka
You are using pip version 8.1.2, however version 19.2.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
ERROR: Job failed: exit code 1
failed
test:debian-python3:stretch Test
    page = self._get_page(location)
File "/usr/lib/python3/dist-packages/pip/index.py", line 683, in _get_page
return HTMLPage.get_page(link, session=self.session)
File "/usr/lib/python3/dist-packages/pip/index.py", line 795, in get_page
resp.raise_for_status()
File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/models.py", line 893, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://pypi.org/simple/python-kafka/
ERROR: Job failed: exit code 1
failed
test:debian-python2:stretch Test
    page = self._get_page(location)
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 683, in _get_page
return HTMLPage.get_page(link, session=self.session)
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 795, in get_page
resp.raise_for_status()
File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/models.py", line 893, in raise_for_status
raise HTTPError(http_error_msg, response=self)
HTTPError: 404 Client Error: Not Found for url: https://pypi.org/simple/python-kafka/
ERROR: Job failed: exit code 1