Traceback (most recent call last):


 "/<<PKGBUILDDIR>>/tests/unit/transport/test_zeromq.py", line 283, in setUp

with patch('salt.transport.zeromq.AsyncReqMessageClient.__init__', MagicMock(return_value=None)):
AttributeError: __enter__

Traceback (most recent call last):

 "/usr/local/bin/bench", line 9, in <module>
load_entry_point('bench==0.1', 'console_scripts', 'bench')()

 "/home/erpnext/bench-repo/bench/cli.py", line 55, in cli
bench()

 "/usr/local/lib/python2.7/dist-packages/click/core.py", line 610, in __call__
return self.main(_args, *_kwargs)

 "/usr/local/lib/python2.7/dist-packages/click/core.py", line 590, in main
rv = self.invoke(ctx)

 "/usr/local/lib/python2.7/dist-packages/click/core.py", line 936, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))

 "/usr/local/lib/python2.7/dist-packages/click/core.py", line 782, in invoke
return ctx.invoke(self.callback, *_ctx.params)

 "/usr/local/lib/python2.7/dist-packages/click/core.py", line 416, in invoke
return callback(_args, **kwargs)

 "/home/erpnext/bench-repo/bench/cli.py", line 244, in update
patch_sites()

 "/home/erpnext/bench-repo/bench/utils.py", line 117, in patch_sites
run_frappe_cmd('--site', 'all', 'migrate', bench=bench)

 "/home/erpnext/bench-repo/bench/utils.py", line 422, in run_frappe_cmd
subprocess.check_call((f, '-m', 'frappe.utils.bench_helper', 'frappe') + args, cwd=sites_dir)

 "/usr/lib/python2.7/subprocess.py", line 511, in check_call
raise CalledProcessError(retcode, cmd)subprocess.CalledProcessError: Command '('/home/erpnext/frappe-bench/env/bin/python', '-m', 'frappe.utils.bench_helper', 'frappe', '--site', 'all', 'migrate')' returned non-zero exit status 255