unittest test_end2end_sync_goals_with_modified_goal_and_strategy failed

Bug #1784758 reported by licanwei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
watcher
Fix Released
Undecided
licanwei

Bug Description

2018-08-01 00:45:23.491045 | ubuntu-xenial | watcher.tests.decision_engine.test_sync.TestSyncer.test_end2end_sync_goals_with_modified_goal_and_strategy
2018-08-01 00:45:23.491192 | ubuntu-xenial | ----------------------------------------------------------------------------------------------------------
2018-08-01 00:45:23.491223 | ubuntu-xenial |
2018-08-01 00:45:23.491267 | ubuntu-xenial | Captured traceback:
2018-08-01 00:45:23.491311 | ubuntu-xenial | ~~~~~~~~~~~~~~~~~~~
2018-08-01 00:45:23.491381 | ubuntu-xenial | b'Traceback (most recent call last):'
2018-08-01 00:45:23.491614 | ubuntu-xenial | b' File "/home/zuul/src/git.openstack.org/openstack/watcher/watcher/tests/decision_engine/test_sync.py", line 461, in test_end2end_sync_goals_with_modified_goal_and_strategy'
2018-08-01 00:45:23.491721 | ubuntu-xenial | b' [g.efficacy_specification for g in after_goals])'
2018-08-01 00:45:23.491963 | ubuntu-xenial | b' File "/home/zuul/src/git.openstack.org/openstack/watcher/.tox/py35/lib/python3.5/site-packages/testtools/testcase.py", line 411, in assertEqual'
2018-08-01 00:45:23.492058 | ubuntu-xenial | b' self.assertThat(observed, matcher, message)'
2018-08-01 00:45:23.492282 | ubuntu-xenial | b' File "/home/zuul/src/git.openstack.org/openstack/watcher/.tox/py35/lib/python3.5/site-packages/testtools/testcase.py", line 498, in assertThat'
2018-08-01 00:45:23.492342 | ubuntu-xenial | b' raise mismatch_error'
2018-08-01 00:45:23.492459 | ubuntu-xenial | b'testtools.matchers._impl.MismatchError: !=:'
2018-08-01 00:45:23.492550 | ubuntu-xenial | b"reference = [[{'description': 'Dummy indicator',"
2018-08-01 00:45:23.492602 | ubuntu-xenial | b" 'name': 'dummy',"
2018-08-01 00:45:23.492694 | ubuntu-xenial | b' \'schema\': \'{"type": "integer", "minimum": 0}\','
2018-08-01 00:45:23.492743 | ubuntu-xenial | b" 'unit': '%'}],"
2018-08-01 00:45:23.492776 | ubuntu-xenial | b' []]'
2018-08-01 00:45:23.492862 | ubuntu-xenial | b"actual = [[{'description': 'Dummy indicator',"
2018-08-01 00:45:23.492913 | ubuntu-xenial | b" 'name': 'dummy',"
2018-08-01 00:45:23.493005 | ubuntu-xenial | b' \'schema\': \'{"minimum": 0, "type": "integer"}\','
2018-08-01 00:45:23.493054 | ubuntu-xenial | b" 'unit': '%'}],"
2018-08-01 00:45:23.493087 | ubuntu-xenial | b' []]'
2018-08-01 00:45:23.493116 | ubuntu-xenial | b''
2018-08-01 00:45:23.493145 | ubuntu-xenial | b''

licanwei (li-canwei2)
Changed in watcher:
assignee: nobody → licanwei (li-canwei2)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to watcher (master)

Fix proposed to branch: master
Review: https://review.openstack.org/587692

Changed in watcher:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to watcher (master)

Reviewed: https://review.openstack.org/587692
Committed: https://git.openstack.org/cgit/openstack/watcher/commit/?id=927d094907b173565c13771a9492ee0a7b8a6635
Submitter: Zuul
Branch: master

commit 927d094907b173565c13771a9492ee0a7b8a6635
Author: licanwei <email address hidden>
Date: Tue Jul 31 22:47:39 2018 -0700

    Fix unittest MismatchError

    Change-Id: I4030fb2c4ec89c6c653c2882be1052ed5cbd2cd7
    Closes-Bug: #1784758

Changed in watcher:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/watcher 1.12.0

This issue was fixed in the openstack/watcher 1.12.0 release.

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.