image builder and test runner API test failures

Bug #1292159 reported by Chris Johnston
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu CI Engine
Fix Released
Medium
Vincent Ladeuil

Bug Description

Filing as one bug for now...

======================================================================
FAIL: test_test_image_succeeds (__main__.TestTestRunner)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./tests/test_runner/test.py", line 36, in test_test_image_succeeds
    self.assertEqual('204', resp['status'])
AssertionError: '204' != '400'

ERROR: test_get_status (__main__.TestTestRunner)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./tests/image_builder/test.py", line 62, in test_get_status
    self.assertEqual(True, data['rabbit_configured'])
TypeError: list indices must be integers, not str

======================================================================
FAIL: test_build_good_args (__main__.TestTestRunner)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./tests/image_builder/test.py", line 49, in test_build_good_args
    self.assertEqual('204', resp['status'])
AssertionError: '204' != '400'
======================================================================
ERROR: test_get_status (__main__.TestTestRunner)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./tests/image_builder/test.py", line 62, in test_get_status
    self.assertEqual(True, data['rabbit_configured'])
TypeError: list indices must be integers, not str

======================================================================
FAIL: test_build_good_args (__main__.TestTestRunner)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./tests/image_builder/test.py", line 49, in test_build_good_args
    self.assertEqual('204', resp['status'])
AssertionError: '204' != '400'

----------------------------------------------------------------------

Tags: airline

Related branches

Revision history for this message
Andy Doan (doanac) wrote :

i caused most of those when i re-did the parameters to support sub-tickets :/

This shouldn't block phase-0. So I'm putting in the backlog

Changed in ubuntu-ci-services-itself:
milestone: none → backlog
Andy Doan (doanac)
Changed in ubuntu-ci-services-itself:
milestone: backlog → phase-1
Evan (ev)
Changed in ubuntu-ci-services-itself:
milestone: phase-1 → phase-0.5
Ursula Junque (ursinha)
Changed in uci-engine:
milestone: none → phase-0.5
Evan (ev)
no longer affects: ubuntu-ci-services-itself
Evan (ev)
Changed in uci-engine:
importance: Undecided → Medium
assignee: nobody → Vincent Ladeuil (vila)
status: New → Confirmed
Vincent Ladeuil (vila)
Changed in uci-engine:
status: Confirmed → In Progress
Revision history for this message
Vincent Ladeuil (vila) wrote :

I filed https://bugs.launchpad.net/uci-engine/+bug/1301333 for some other failures, focusing on the image builder and test runner ones here. As Andy mentioned they were introduced when we change the API (which is good, we do have tests failing when the API change so we have a way to check it's properly implemented ;)

description: updated
Changed in uci-engine:
status: In Progress → Fix Committed
Vincent Ladeuil (vila)
summary: - Amulet test failures
+ image builder and test runner API test failures
Vincent Ladeuil (vila)
Changed in uci-engine:
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.