unit tests fail to run using Django 1.8.*

Bug #1496412 reported by Valeriy Ponomaryov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
manila-ui
Fix Released
High
Valeriy Ponomaryov

Bug Description

Horizon supports Django version upto 1.8.*, but manila-ui unit tests fail to run with following error:

2015-09-14 22:01:15.050 | py27 runtests: commands[0] | /bin/bash run_tests.sh -N --no-pep8
2015-09-14 22:01:15.050 | /home/jenkins/workspace/gate-manila-ui-python27$ /bin/bash run_tests.sh -N --no-pep8
2015-09-14 22:01:18.325 | Running application tests
2015-09-14 22:01:19.750 | Usage: manage.py [options]
2015-09-14 22:01:19.750 |
2015-09-14 22:01:19.750 | manage.py: error: --verbosity option requires an argument
2015-09-14 22:01:19.753 | nosetests manila_ui --nocapture --nologcapture --cover-package=openstack_dashboard --cover-inclusive --all-modules --verbosity
2015-09-14 22:01:19.791 | Tests failed.
2015-09-14 22:01:19.795 | ERROR: InvocationError: '/bin/bash run_tests.sh -N --no-pep8'

See change: https://review.openstack.org/222652

Note, that Horizon works ok with manila-ui and Django 1.8.4

Changed in manila-ui:
milestone: none → liberty-rc1
assignee: nobody → Valeriy Ponomaryov (vponomaryov)
status: New → In Progress
summary: - unit tests fail to run updating requirements to consistent ones with
- Horizon
+ unit tests fail to run using Django 1.8.*
description: updated
description: updated
Changed in manila-ui:
importance: Undecided → High
Revision history for this message
Valeriy Ponomaryov (vponomaryov) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila-ui (master)

Reviewed: https://review.openstack.org/222652
Committed: https://git.openstack.org/cgit/openstack/manila-ui/commit/?id=9175d98493e633976c69f1e21f4aa8968c5d5945
Submitter: Jenkins
Branch: master

commit 9175d98493e633976c69f1e21f4aa8968c5d5945
Author: vponomaryov <email address hidden>
Date: Fri Sep 11 17:56:59 2015 +0300

    Updated requirements and unit tests config

    Changes:

    1) Updated from global requirements

    2) Updated "run_tests.sh" script to be able to run unit tests
    using Django 1.8.* removing "--verbosity" opt.

    3) Added tox jobs 'py27dj17' and 'py27dj18' to be able to run
    unit tests for Django 1.7.* and 1.8.* in separate envs.

    Change-Id: I267c8e7a6cb8d67d7331f4f00cb79ad98832d0e7
    Closes-Bug: #1496412

Changed in manila-ui:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila-ui 1.2.0

This issue was fixed in the openstack/manila-ui 1.2.0 release.

Changed in manila-ui:
status: Fix Committed → Fix Released
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.