tests get mismatch errors on python 3.5

Bug #1609113 reported by Corey Bryant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
taskflow
Fix Released
Undecided
Unassigned

Bug Description

A number of tests are failing with mismatch errors on assertions for python 3.5 on Debian builds. For example:

======================================================================
FAIL: taskflow.tests.unit.worker_based.test_creation.TestWorkerBasedActionEngine.test_creation_custom
taskflow.tests.unit.worker_based.test_creation.TestWorkerBasedActionEngine.test_creation_custom
----------------------------------------------------------------------
_StringException: Empty attachments:
  stderr
  stdout

pythonlogging:'': {{{
DEBUG [taskflow.persistence.backends] Looking for 'memory' backend driver in 'taskflow.persistence'
   DEBUG [stevedore.extension] found extension EntryPoint.parse('file = taskflow.persistence.backends.impl_dir:DirBackend')
   DEBUG [stevedore.extension] found extension EntryPoint.parse('mysql = taskflow.persistence.backends.impl_sqlalchemy:SQLAlchemyBackend')
   DEBUG [stevedore.extension] found extension EntryPoint.parse('dir = taskflow.persistence.backends.impl_dir:DirBackend')
   DEBUG [stevedore.extension] found extension EntryPoint.parse('sqlite = taskflow.persistence.backends.impl_sqlalchemy:SQLAlchemyBackend')
   DEBUG [stevedore.extension] found extension EntryPoint.parse('memory = taskflow.persistence.backends.impl_memory:MemoryBackend')
   DEBUG [stevedore.extension] found extension EntryPoint.parse('postgresql = taskflow.persistence.backends.impl_sqlalchemy:SQLAlchemyBackend')
   DEBUG [stevedore.extension] found extension EntryPoint.parse('zookeeper = taskflow.persistence.backends.impl_zookeeper:ZkBackend')
 WARNING [taskflow.utils.persistence_utils] No logbook provided for flow linear_flow.Flow: test-flow(len=1), creating one.
}}}

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/taskflow/tests/unit/worker_based/test_creation.py", line 83, in test_creation_custom
    self.assertEqual(expected_calls, self.master_mock.mock_calls)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 350, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 435, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = [call.executor_class(exchange='test-exchange', retry_options={}, topics=['test-topic1', 'test-topic2'], transition_timeout=200, transport='memory', transport_options={}, url='test-url', uuid=$
e594c2b3-5f67-4f53-8521-8bb9ac3d1c18', worker_expiry=1)]
actual = []

Here's a full list of errors: http://paste.ubuntu.com/21940010/

Any thoughts as to what the problem might be?

description: updated
Revision history for this message
Ben Nemec (bnemec) wrote :

Are you still seeing failures on py35? The tests are passing for me locally.

Changed in taskflow:
status: New → Incomplete
Revision history for this message
Corey Bryant (corey.bryant) wrote :

This appears to no loner be an issue for us in queens.

Revision history for this message
Sowmya Divvi (sowmya) wrote :

Hello,

This Bug can be closed as it is fixed in queens.

Best Regards,
sowmya Divvi

Changed in taskflow:
status: Incomplete → 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.