[users at bb.net] Unit Tests Failing after clean install

Justin Fehr Justin.Fehr at Kinze.com
Tue Oct 27 18:36:36 UTC 2015


After searching my machine I can only find one version of buildbot. Do you have any other suggestions? Thanks for the help

J

From: djmitche at gmail.com [mailto:djmitche at gmail.com] On Behalf Of Dustin J. Mitchell
Sent: Tuesday, October 27, 2015 8:35 AM
To: Justin Fehr
Cc: users at buildbot.net
Subject: Re: [users at bb.net] Unit Tests Failing after clean install

Hi Justin --
What version of Buildbot do you have installed?
Most times, test failures like this are due to having multiple copies of Buildbot installed in such a way that Python is finding some modules from one version and some modules from another.  Did you, by chance, install Buildbot with your system package manager (dnf or apt-get), then install it systemwide with pip?
Dustin

On Mon, Oct 26, 2015 at 5:32 PM, Justin Fehr <Justin.Fehr at kinze.com<mailto:Justin.Fehr at kinze.com>> wrote:
Hi all,

I am setting up buildbot for the first time, after installing buildbot I ran the unit tests to confirm that everything is installed correctly. I received two errors and now am unsure of how to proceed. They are as follows:

===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/buildbot/test/unit/test_process_buildstep.py", line 386, in test_updateSu
mmary_running_empty_dict
    step._step_status.setText.assert_not_called()
  File "/usr/local/lib/python2.7/dist-packages/mock/mock.py", line 915, in assert_not_called
    raise AssertionError(msg)
exceptions.AssertionError: Expected 'setText' to not have been called. Called 1 times.

buildbot.test.unit.test_process_buildstep.TestBuildStep.test_updateSummary_running_empty_dict
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/buildbot/test/unit/test_util.py", line 269, in test_broken_locale
    config.error.assert_called()
  File "/usr/local/lib/python2.7/dist-packages/mock/mock.py", line 721, in __getattr__
    raise AttributeError(name)
exceptions.AttributeError: assert_called

buildbot.test.unit.test_util.FunctionalEnvironment.test_broken_locale

Thanks,

J

________________________________

Electronic Privacy Notice: This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is confidential and proprietary in nature. If you are not the intended recipient, please be advised that retaining, using, copying, distributing, or otherwise disclosing this information is strictly prohibited. Instead, please reply to the sender that you have received this communication in error, and then immediately delete and/or destroy your copy. Thank you for your cooperation.

_______________________________________________
users mailing list
users at buildbot.net<mailto:users at buildbot.net>
https://lists.buildbot.net/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20151027/0e3149d2/attachment.html>


More information about the users mailing list