The rsyslog Makefile test target has errors

Bug #1388274 reported by Matt Bruzek
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rsyslog (Juju Charms Collection)
Status tracked in Precise
Precise
Triaged
Medium
Jorge Niedbalski
Trusty
Triaged
Medium
Jorge Niedbalski

Bug Description

The "test" target of the rsyslog Makefile fails in the automated tests. This causes rsyslog to fail in the report section, we should change the test target to work.

Here is the debug log from the automated tests.

DEBUG:runner:call ['/usr/bin/make', '-s', 'test']
DEBUG:runner:
Downloading/unpacking Jinja2 (from -r test_requirements.txt (line 1))
  Running setup.py (path:/home/ubuntu/charms/trusty/rsyslog/.venv/build/Jinja2/setup.py) egg_info for package Jinja2

    warning: no files found matching '*' under directory 'custom_fixers'
    warning: no previously-included files matching '*' found under directory 'docs/_build'
    warning: no previously-included files matching '*.pyc' found under directory 'jinja2'
    warning: no previously-included files matching '*.pyc' found under directory 'docs'
    warning: no previously-included files matching '*.pyo' found under directory 'jinja2'
    warning: no previously-included files matching '*.pyo' found under directory 'docs'
Downloading/unpacking PyYAML (from -r test_requirements.txt (line 2))
  Running setup.py (path:/home/ubuntu/charms/trusty/rsyslog/.venv/build/PyYAML/setup.py) egg_info for package PyYAML

Downloading/unpacking coverage (from -r test_requirements.txt (line 3))
  Running setup.py (path:/home/ubuntu/charms/trusty/rsyslog/.venv/build/coverage/setup.py) egg_info for package coverage

    warning: no previously-included files matching '*.pyc' found anywhere in distribution
Downloading/unpacking mock==1.0.1 (from -r test_requirements.txt (line 4))
  Running setup.py (path:/home/ubuntu/charms/trusty/rsyslog/.venv/build/mock/setup.py) egg_info for package mock

    warning: no files found matching '*.png' under directory 'docs'
    warning: no files found matching '*.css' under directory 'docs'
    warning: no files found matching '*.html' under directory 'docs'
    warning: no files found matching '*.js' under directory 'docs'
Downloading/unpacking nose==1.3.1 (from -r test_requirements.txt (line 5))
  Running setup.py (path:/home/ubuntu/charms/trusty/rsyslog/.venv/build/nose/setup.py) egg_info for package nose

    no previously-included directories found matching 'doc/.build'
Downloading/unpacking python-apt (from -r test_requirements.txt (line 6))
  Could not find any downloads that satisfy the requirement python-apt (from -r test_requirements.txt (line 6))
  Some externally hosted files were ignored (use --allow-external python-apt to allow).
Cleaning up...
No distributions at all found for python-apt (from -r test_requirements.txt (line 6))
Storing debug log for failure in /tmp/tmpuSymbz
make: *** [test] Error 1

DEBUG:runner:Exit Code: 2
    make test

Revision history for this message
Matt Bruzek (mbruzek) wrote :

According to the latest test results by charm http://reports.vapour.ws/charm-tests-by-charm this charm is failing automated testing.

http://reports.vapour.ws/charm-tests/charm-bundle-test-727-results

We are trying to get all the charms with tests passing. Please take some time to look at the `make lint` and the `make test`targets in the Makefile to get this charm passing the automated tests.

Changed in rsyslog (Juju Charms Collection):
assignee: nobody → Jorge Niedbalski (niedbalski)
status: New → Triaged
importance: Undecided → Medium
tags: added: audit auto-test
Revision history for this message
Matt Bruzek (mbruzek) wrote :

The rsyslog charm is also failing on trusty the make test target fails on all three environments.

Here is the latest rsyslog output for trusty:
http://reports.vapour.ws/charm-tests/charm-bundle-test-4980-results

Please fix both precise and trusty versions of this charm or the tests so the automated tests pass. Thanks!

Changed in rsyslog (Charms Trusty):
status: New → Triaged
Matt Bruzek (mbruzek)
Changed in rsyslog (Charms Trusty):
importance: Undecided → Medium
assignee: nobody → Jorge Niedbalski (niedbalski)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.