Merge lp://staging/~cjohnston/qa-dashboard/devel into lp://staging/qa-dashboard

Proposed by Chris Johnston
Status: Merged
Approved by: Joe Talbott
Approved revision: 670
Merged at revision: 669
Proposed branch: lp://staging/~cjohnston/qa-dashboard/devel
Merge into: lp://staging/qa-dashboard
Diff against target: 35 lines (+3/-4)
2 files modified
common/tests/test_instance.py (+2/-3)
qa_dashboard/settings.py (+1/-1)
To merge this branch: bzr merge lp://staging/~cjohnston/qa-dashboard/devel
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Joe Talbott Approve
Chris Johnston Needs Resubmitting
Review via email: mp+192873@code.staging.launchpad.net

Commit message

Change default configuration to devel

Description of the change

With the coming implementation of statsd in order to get graphite stats for the dashboard, we want to define between a devel instance, a staging instance, and production instance in order to collect stats from staging and production, but not from devel.

To post a comment you must log in.
Revision history for this message
Joe Talbott (joetalbott) wrote :

+1

review: Approve
Revision history for this message
Chris Johnston (cjohnston) wrote :

The attempt to merge lp:~cjohnston/qa-dashboard/devel into lp:qa-dashboard failed. Below is the output from the failed tests.

Creating test database for alias 'default'...
Destroying test database for alias 'default'...

/usr/lib/python2.7/dist-packages/django/conf/urls/defaults.py:3: DeprecationWarning: django.conf.urls.defaults is deprecated; use django.conf.urls instead
  DeprecationWarning)

....................................................FF.....................WARNING:root:extension: 'error'
.......................................................................................................................................................................
======================================================================
FAIL: test_instance_banner_tag_exports_details (common.tests.test_instance.TestInstanceTags)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ubuntu/dash/common/tests/test_instance.py", line 50, in test_instance_banner_tag_exports_details
    instance_banner()
AssertionError: {'configuration': 'staging'} != {'configuration': 'devel'}
- {'configuration': 'staging'}
? ^^^^^^^

+ {'configuration': 'devel'}
? ^^^^^

======================================================================
FAIL: test_instance_banner_tag_rendered_in_development (common.tests.test_instance.TestInstanceTags)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ubuntu/dash/common/tests/test_instance.py", line 63, in test_instance_banner_tag_rendered_in_development
    rendered
  File "/home/ubuntu/dash/common/tests/test_instance.py", line 39, in assertIn
    item2
AssertionError: '<p>You are accessing the <strong>staging</strong> instance of the <strong>CI Dashboard</strong>' not in u'\n <div class="staging-banner-under"></div>\n <div id="instance" class="staging-banner">\n <p>You are accessing the <strong>devel</strong> instance of the <strong>CI Dashboard</strong>. This should only be used for testing or training.</p>\n <p>Please use the <strong>production</strong> instance instead: <a href="http://reports.qa.ubuntu.com" title="CI Dashboard">http://reports.qa.ubuntu.com</a>.</p>\n </div>\n\n'

----------------------------------------------------------------------
Ran 242 tests in 16.942s

FAILED (failures=2)

Revision history for this message
Chris Johnston (cjohnston) :
review: Needs Resubmitting
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:669
http://10.97.0.26:8080/job/dashboard-ci/238/
Executed test runs:

Click here to trigger a rebuild:
http://10.97.0.26:8080/job/dashboard-ci/238/rebuild

review: Needs Fixing (continuous-integration)
670. By Chris Johnston

Fix tests

Revision history for this message
Joe Talbott (joetalbott) :
review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

PASSED: Continuous integration, rev:670
http://10.97.0.26:8080/job/dashboard-ci/239/
Executed test runs:

Click here to trigger a rebuild:
http://10.97.0.26:8080/job/dashboard-ci/239/rebuild

review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches