Unit test failures when building debian package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
taskflow |
Won't Fix
|
High
|
Joshua Harlow |
Bug Description
Hi,
Building taskflow for Liberty b2 in Debian experimental, I still have one unit test failure:
=======
FAIL: taskflow.
taskflow.
-------
_StringException: Empty attachments:
stderr
stdout
Traceback (most recent call last):
File "taskflow/
self.
File "taskflow/
output = run_example(name)
File "taskflow/
% (name, rc, stdout, stderr))
RuntimeError: Example 99_bottles failed, return code=1
<<<Begin captured STDOUT>>>
Starting poster with pid: 7542
<<<End captured STDOUT>>>
<<<Begin captured STDERR>>>
No handlers could be found for logger "kazoo.client"
Traceback (most recent call last):
File "/home/
main()
File "/home/
main_local()
File "/home/
run_poster()
File "/home/
job_
File "/usr/lib/
return f(self, *args, **kwargs)
File "/home/
"Failed to connect to zookeeper")
File "/home/
excutils.
File "/usr/lib/
six.
File "/usr/lib/
raise value
taskflow.
KazooTimeoutE
<<<End captured STDERR>>>
Do I need to actually run a zookeeper daemon to run this test? Shouldn't it be mocked?
Until I have an answer on how to fix this one, I'll disable the test. Please let me know your thoughts.
Disabling it is fine, I'll work on making it use a mock if no zookeeper is fine. Thanks!