Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LabHub: Use activate and configuration templates #577

Merged
merged 2 commits into from
Aug 10, 2018

Conversation

nvzard
Copy link
Member

@nvzard nvzard commented Jul 4, 2018

__init__ is executed at load time and
and any issue in the plugin will lead
to it not showing up.
LifeCycle: __init__->configured->enable

Adapts to the DefaultConfigMixin and
migrated to using configuration templates.

Closes #554
Closes #382

@TravisBuddy
Copy link

Travis tests have failed

Hey @nvzard,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

python -m pytest
============================= test session starts ==============================
platform linux -- Python 3.6.3, pytest-3.6.2, py-1.5.2, pluggy-0.6.0
rootdir: /home/travis/build/coala/corobo, inifile: setup.cfg
plugins: requests-mock-1.5.0, xdist-1.22.2, timeout-1.3.0, reqs-0.0.7, reorder-0.1.1, profiling-1.3.0, mock-1.10.0, instafail-0.3.0, forked-0.2, error-for-skips-1.0.0, env-0.6.2, cov-2.5.1
collected 38 items                                                             

tests/answer_test.py .                                                   [  2%]
tests/ban_test.py ..                                                     [  7%]
tests/coala_lowercase_c_test.py .E                                       [ 13%]
tests/coatils_test.py ...........                                        [ 42%]
tests/deprecate_bot_prefixes_test.py .                                   [ 44%]
tests/explain_test.py .                                                  [ 47%]
tests/ghetto_test.py .                                                   [ 50%]
tests/git_stats_test.py .                                                [ 52%]
tests/labhub_test.py ...F.....                                           [ 76%]
tests/lmgtfy_test.py .                                                   [ 78%]
tests/nevermind_test.py .                                                [ 81%]
tests/pitchfork_test.py .                                                [ 84%]
tests/searchdocs_test.py .                                               [ 86%]
tests/ship_it_test.py .                                                  [ 89%]
tests/spam_test.py ..waiting on queue
                                                    [ 94%]
tests/the_rules_test.py .                                                [ 97%]
tests/wolfram_alpha_test.py .                                            [100%]

==================================== ERRORS ====================================
__________________________ ERROR at setup of test_cep __________________________

request = <SubRequest 'testbot' for <Function 'test_cep'>>

    @pytest.fixture
    def testbot(request) -> TestBot:
        """
        Pytest fixture to write tests against a fully functioning bot.
    
        For example, if you wanted to test the builtin `!about` command,
        you could write a test file with the following::
    
            def test_about(testbot):
                testbot.push_message('!about')
                assert "Err version" in testbot.pop_message()
    
        It's possible to provide additional configuration to this fixture,
        by setting variables at module level or as class attributes (the
        latter taking precedence over the former). For example::
    
            extra_plugin_dir = '/foo/bar'
    
            def test_about(testbot):
                testbot.push_message('!about')
                assert "Err version" in testbot.pop_message()
    
        ..or::
    
            extra_plugin_dir = '/foo/bar'
    
            class Tests(object):
                # Wins over `extra_plugin_dir = '/foo/bar'` above
                extra_plugin_dir = '/foo/baz'
    
                def test_about(self, testbot):
                    testbot.push_message('!about')
                    assert "Err version" in testbot.pop_message()
    
        ..to load additional plugins from the directory `/foo/bar` or
        `/foo/baz` respectively. This works for the following items, which are
        passed to the constructor of :class:`~errbot.backends.test.TestBot`:
    
        * `extra_plugin_dir`
        * `loglevel`
        """
    
        def on_finish():
            bot.stop()
    
        #  setup the logging to something digestable.
        logger = logging.getLogger('')
        logging.getLogger('yapsy').setLevel(logging.ERROR)  # this one is way too verbose in debug
        logging.getLogger('MARKDOWN').setLevel(logging.ERROR)  # this one is way too verbose in debug
        logging.getLogger('Rocket.Errors').setLevel(logging.ERROR)  # this one is way too verbose in debug
        logger.setLevel(logging.DEBUG)
        console_hdlr = logging.StreamHandler(sys.stdout)
        console_hdlr.setFormatter(logging.Formatter("%(levelname)-8s %(name)-25s %(message)s"))
        logger.handlers = []
        logger.addHandler(console_hdlr)
    
        kwargs = {}
    
        for attr, default in (('extra_plugin_dir', None), ('extra_config', None), ('loglevel', logging.DEBUG),):
            if hasattr(request, 'instance'):
                kwargs[attr] = getattr(request.instance, attr, None)
            if kwargs[attr] is None:
                kwargs[attr] = getattr(request.module, attr, default)
    
        bot = TestBot(**kwargs)
>       bot.start()

../../../virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/test.py:567: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/test.py:405: in start
    if self.bot.pop_message(timeout=1) == "ready":
../../../virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/test.py:308: in pop_message
    return self.outgoing_message_queue.get(timeout=timeout, block=block)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <queue.Queue object at 0x7fab1e65c8d0>, block = True, timeout = 1

    def get(self, block=True, timeout=None):
        '''Remove and return an item from the queue.
    
            If optional args 'block' is true and 'timeout' is None (the default),
            block if necessary until an item is available. If 'timeout' is
            a non-negative number, it blocks at most 'timeout' seconds and raises
            the Empty exception if no item was available within that time.
            Otherwise ('block' is false), return an item if one is immediately
            available, else raise the Empty exception ('timeout' is ignored
            in that case).
            '''
        with self.not_empty:
            if not block:
                if not self._qsize():
                    raise Empty
            elif timeout is None:
                while not self._qsize():
                    self.not_empty.wait()
            elif timeout < 0:
                raise ValueError("'timeout' must be a non-negative number")
            else:
                endtime = time() + timeout
                while not self._qsize():
                    remaining = endtime - time()
                    if remaining <= 0.0:
>                       raise Empty
E                       queue.Empty

/opt/python/3.6.3/lib/python3.6/queue.py:172: Empty
---------------------------- Captured stdout setup -----------------------------
INFO     errbot.specific_plugin_manager storage search paths {'/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/storage'}
INFO     errbot.specific_plugin_manager Found those plugings available:
INFO     errbot.specific_plugin_manager 	     Shelf  (/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/storage/shelf.py)
INFO     errbot.specific_plugin_manager 	    Memory  (/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/storage/memory.py)
INFO     errbot.bootstrap          Found Storage plugin: 'Memory'
Description: This is the storage plugin for an in-memory store (non-persistent).
DEBUG    errbot.specific_plugin_manager Refilter the plugins...
DEBUG    errbot.specific_plugin_manager Load the one remaining...
DEBUG    errbot.specific_plugin_manager Class to load MemoryStoragePlugin
DEBUG    errbot.storage            Opening storage 'repomgr'
DEBUG    errbot.storage            Opening storage 'core'
INFO     errbot.specific_plugin_manager backends search paths {'/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends'}
INFO     errbot.specific_plugin_manager Found those plugings available:
INFO     errbot.specific_plugin_manager 	   Graphic  (/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/graphic.py)
INFO     errbot.specific_plugin_manager 	  Telegram  (/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/telegram_messenger.py)
INFO     errbot.specific_plugin_manager 	      XMPP  (/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/xmpp.py)
INFO     errbot.specific_plugin_manager 	      Null  (/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/null.py)
INFO     errbot.specific_plugin_manager 	     Slack  (/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/slack.py)
INFO     errbot.specific_plugin_manager 	   Hipchat  (/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/hipchat.py)
INFO     errbot.specific_plugin_manager 	      Text  (/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/text.py)
INFO     errbot.specific_plugin_manager 	      Test  (/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/test.py)
INFO     errbot.specific_plugin_manager 	       IRC  (/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/irc.py)
INFO     errbot.bootstrap          Found Backend plugin: 'Test'
						Description: This is the test backend for Err.
DEBUG    errbot.specific_plugin_manager Refilter the plugins...
DEBUG    errbot.specific_plugin_manager Load the one remaining...
DEBUG    errbot.specific_plugin_manager Class to load TestBackend
DEBUG    errbot.core               ErrBot init.
DEBUG    errbot.backends.base      Backend init.
DEBUG    errbot.core               created a thread pool of size 10.
DEBUG    errbot.core               Initializing backend storage
DEBUG    errbot.storage            Opening storage 'test_backend'
DEBUG    errbot.plugin_manager     All plugin roots:
DEBUG    errbot.plugin_manager     -> plugins
DEBUG    errbot.plugin_manager     -> /home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core_plugins
DEBUG    errbot.plugin_manager     plugins has no requirements.txt file
DEBUG    errbot.plugin_manager     /home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core_plugins has no requirements.txt file
DEBUG    errbot.plugins.pitchfork  Logger for plugin initialized...
DEBUG    errbot.plugins.deprecate_bot_prefixes Logger for plugin initialized...
DEBUG    errbot.plugins.explain    Logger for plugin initialized...
DEBUG    errbot.plugins.the_rules  Logger for plugin initialized...
DEBUG    errbot.plugins.ship_it    Logger for plugin initialized...
DEBUG    errbot.plugins.lmgtfy     Logger for plugin initialized...
DEBUG    errbot.plugins.coatils    Logger for plugin initialized...
DEBUG    errbot.plugins.ghetto     Logger for plugin initialized...
DEBUG    errbot.plugins.LabHub     Logger for plugin initialized...
DEBUG    errbot.plugins.nevermind  Logger for plugin initialized...
DEBUG    errbot.plugins.SpammingAlert Logger for plugin initialized...
DEBUG    errbot.plugins.wolfram alpha Logger for plugin initialized...
DEBUG    errbot.plugins.Ban        Logger for plugin initialized...
DEBUG    errbot.plugins.coala_lowercase_c Logger for plugin initialized...
DEBUG    errbot.plugins.git_stats  Logger for plugin initialized...
DEBUG    errbot.plugins.SearchDocs Logger for plugin initialized...
DEBUG    errbot.plugins.answer     Logger for plugin initialized...
DEBUG    errbot.plugins.Backup     Logger for plugin initialized...
DEBUG    errbot.plugins.Utils      Logger for plugin initialized...
DEBUG    errbot.plugins.ACLs       Logger for plugin initialized...
DEBUG    errbot.plugins.Help       Logger for plugin initialized...
INFO     errbot                    webhooks:  Flag to bind /echo to                           echo
DEBUG    errbot.plugins.Webserver  Logger for plugin initialized...
DEBUG    errbot.plugins.ChatRoom   Logger for plugin initialized...
DEBUG    errbot.plugins.VersionChecker Logger for plugin initialized...
DEBUG    errbot.plugins.Health     Logger for plugin initialized...
DEBUG    errbot.plugins.Flows      Logger for plugin initialized...
DEBUG    errbot.plugins.CommandNotFoundFilter Logger for plugin initialized...
DEBUG    errbot.plugins.Plugins    Logger for plugin initialized...
INFO     errbot.core               Activate internal commands
INFO     errbot.plugin_manager     Activate bot plugins...
INFO     errbot.plugin_manager     Activate plugin: pitchfork
DEBUG    errbot.plugin_manager     Plugin pitchfork has no Min Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as min version.
DEBUG    errbot.plugin_manager     Plugin pitchfork has no Max Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as max version.
INFO     errbot.plugin_manager     Activating pitchfork with min_err_version = 9.9.9 and max_version = 9.9.9
DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
DEBUG    errbot.botplugin          Init storage for pitchfork
DEBUG    errbot.storage            Opening storage 'pitchfork'
DEBUG    errbot.core               Adding command : pitchfork -> pitchfork
INFO     errbot.core_plugins.wsview Checking Pitchfork for webhooks
INFO     errbot.plugin_manager     Activate plugin: deprecate_bot_prefixes
DEBUG    errbot.plugin_manager     Plugin deprecate_bot_prefixes has no section [Errbot]. Assuming this plugin is running on any Errbot version.
INFO     errbot.plugin_manager     Activating deprecate_bot_prefixes with min_err_version = 9.9.9 and max_version = 9.9.9
DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
DEBUG    errbot.botplugin          Init storage for deprecate_bot_prefixes
DEBUG    errbot.storage            Opening storage 'deprecate_bot_prefixes'
INFO     errbot.core_plugins.wsview Checking DeprecateBotPrefixes for webhooks
INFO     errbot.plugin_manager     Activate plugin: explain
DEBUG    errbot.plugin_manager     Plugin explain has no Min Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as min version.
DEBUG    errbot.plugin_manager     Plugin explain has no Max Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as max version.
INFO     errbot.plugin_manager     Activating explain with min_err_version = 9.9.9 and max_version = 9.9.9
DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
DEBUG    errbot.botplugin          Init storage for explain
DEBUG    errbot.storage            Opening storage 'explain'
DEBUG    errbot.core               Adding regex command : explain -> explain
INFO     errbot.core_plugins.wsview Checking Explain for webhooks
INFO     errbot.plugin_manager     Activate plugin: the_rules
DEBUG    errbot.plugin_manager     Plugin the_rules has no Min Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as min version.
DEBUG    errbot.plugin_manager     Plugin the_rules has no Max Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as max version.
INFO     errbot.plugin_manager     Activating the_rules with min_err_version = 9.9.9 and max_version = 9.9.9
DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
DEBUG    errbot.botplugin          Init storage for the_rules
DEBUG    errbot.storage            Opening storage 'the_rules'
DEBUG    errbot.core               Adding regex command : the_rules -> the_rules
INFO     errbot.core_plugins.wsview Checking The_rules for webhooks
INFO     errbot.plugin_manager     Activate plugin: ship_it
DEBUG    errbot.plugin_manager     Plugin ship_it has no Min Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as min version.
DEBUG    errbot.plugin_manager     Plugin ship_it has no Max Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as max version.
INFO     errbot.plugin_manager     Activating ship_it with min_err_version = 9.9.9 and max_version = 9.9.9
DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
DEBUG    errbot.botplugin          Init storage for ship_it
DEBUG    errbot.storage            Opening storage 'ship_it'
DEBUG    errbot.core               Adding regex command : ship_it -> ship_it
INFO     errbot.core_plugins.wsview Checking Ship_it for webhooks
INFO     errbot.plugin_manager     Activate plugin: lmgtfy
DEBUG    errbot.plugin_manager     Plugin lmgtfy has no Min Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as min version.
DEBUG    errbot.plugin_manager     Plugin lmgtfy has no Max Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as max version.
INFO     errbot.plugin_manager     Activating lmgtfy with min_err_version = 9.9.9 and max_version = 9.9.9
DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
DEBUG    errbot.botplugin          Init storage for lmgtfy
DEBUG    errbot.storage            Opening storage 'lmgtfy'
DEBUG    errbot.core               Adding regex command : lmgtfy -> lmgtfy
INFO     errbot.core_plugins.wsview Checking Lmgtfy for webhooks
INFO     errbot.plugin_manager     Activate plugin: coatils
DEBUG    errbot.plugin_manager     Plugin coatils has no section [Errbot]. Assuming this plugin is running on any Errbot version.
INFO     errbot.plugin_manager     Activating coatils with min_err_version = 9.9.9 and max_version = 9.9.9
DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
DEBUG    errbot.botplugin          Init storage for coatils
DEBUG    errbot.storage            Opening storage 'coatils'
DEBUG    errbot.core               Adding regex command : contrib_stats -> contrib_stats
DEBUG    errbot.core               Adding regex command : ls -> ls
DEBUG    errbot.core               Adding regex command : run -> run
INFO     errbot.core_plugins.wsview Checking Coatils for webhooks
INFO     errbot.plugin_manager     Activate plugin: ghetto
DEBUG    errbot.plugin_manager     Plugin ghetto has no Min Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as min version.
DEBUG    errbot.plugin_manager     Plugin ghetto has no Max Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as max version.
INFO     errbot.plugin_manager     Activating ghetto with min_err_version = 9.9.9 and max_version = 9.9.9
DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
DEBUG    errbot.botplugin          Init storage for ghetto
DEBUG    errbot.storage            Opening storage 'ghetto'
DEBUG    errbot.core               Adding regex command : ghetto -> ghetto
INFO     errbot.core_plugins.wsview Checking Ghetto for webhooks
INFO     errbot.plugin_manager     Activate plugin: LabHub
DEBUG    errbot.plugin_manager     Plugin LabHub has no Min Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as min version.
DEBUG    errbot.plugin_manager     Plugin LabHub has no Max Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as max version.
INFO     errbot.plugin_manager     Activating LabHub with min_err_version = 9.9.9 and max_version = 9.9.9
DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
ERROR    errbot.plugins.LabHub     Cannot create github object, please check GH_TOKEN
DEBUG    urllib3.connectionpool    Starting new HTTPS connection (1): api.github.com:443
DEBUG    urllib3.connectionpool    https://api.github.com:443 "GET /user/repos?per_page=100 HTTP/1.1" 401 121
ERROR    backoff                   Giving up get_response(...) after 1 tries (RuntimeError: ('{"message":"Requires authentication","documentation_url":"https://developer.github.com/v3/repos/#list-your-repositories"}', 401))
ERROR    errbot.plugins.LabHub     Something went wrong in fetching github repos.
Traceback (most recent call last):
  File "/home/travis/build/coala/corobo/plugins/labhub.py", line 46, in activate
    self.IGH.write_repositories)}
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/IGitt/GitHub/GitHub.py", line 71, in write_repositories
    repo_list = get(self._token, '/user/repos')
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/IGitt/GitHub/__init__.py", line 223, in get
    headers=headers)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/IGitt/Interfaces/__init__.py", line 140, in _fetch
    resp = get_response(method, base_url + url, json=data)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/backoff/_sync.py", line 85, in retry
    ret = target(*args, **kwargs)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/backoff/_sync.py", line 85, in retry
    ret = target(*args, **kwargs)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/IGitt/Interfaces/__init__.py", line 106, in get_response
    raise RuntimeError(response.text, response.status_code)
RuntimeError: ('{"message":"Requires authentication","documentation_url":"https://developer.github.com/v3/repos/#list-your-repositories"}', 401)
DEBUG    urllib3.connectionpool    Starting new HTTPS connection (1): gitlab.com:443
DEBUG    urllib3.connectionpool    https://gitlab.com:443 "GET /api/v4/projects?membership=True&per_page=100 HTTP/1.1" 304 0
DEBUG    errbot.botplugin          Init storage for LabHub
DEBUG    errbot.storage            Opening storage 'LabHub'
DEBUG    errbot.core               Adding regex command : assign_cmd -> assign_cmd
DEBUG    errbot.core               Adding regex command : create_issue_cmd -> create_issue_cmd
DEBUG    errbot.core               Adding regex command : invite_cmd -> invite_cmd
DEBUG    errbot.core               Adding regex command : mark_cmd -> mark_cmd
DEBUG    errbot.core               Adding regex command : pr_stats -> pr_stats
DEBUG    errbot.core               Adding regex command : unassign_cmd -> unassign_cmd
INFO     errbot.core_plugins.wsview Checking LabHub for webhooks
INFO     errbot.plugin_manager     Activate plugin: nevermind
DEBUG    errbot.plugin_manager     Plugin nevermind has no Min Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as min version.
DEBUG    errbot.plugin_manager     Plugin nevermind has no Max Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as max version.
INFO     errbot.plugin_manager     Activating nevermind with min_err_version = 9.9.9 and max_version = 9.9.9
DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
DEBUG    errbot.botplugin          Init storage for nevermind
DEBUG    errbot.storage            Opening storage 'nevermind'
DEBUG    errbot.core               Adding regex command : nevermind -> nevermind
INFO     errbot.core_plugins.wsview Checking Nevermind for webhooks
INFO     errbot.plugin_manager     Activate plugin: SpammingAlert
DEBUG    errbot.plugin_manager     Plugin SpammingAlert has no section [Errbot]. Assuming this plugin is running on any Errbot version.
INFO     errbot.plugin_manager     Activating SpammingAlert with min_err_version = 9.9.9 and max_version = 9.9.9
DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
DEBUG    errbot.botplugin          Init storage for SpammingAlert
DEBUG    errbot.storage            Opening storage 'SpammingAlert'
INFO     errbot.core_plugins.wsview Checking SpammingAlert for webhooks
INFO     errbot.plugin_manager     Activate plugin: wolfram alpha
DEBUG    errbot.plugin_manager     Plugin wolfram alpha has no Min Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as min version.
DEBUG    errbot.plugin_manager     Plugin wolfram alpha has no Max Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as max version.
INFO     errbot.plugin_manager     Activating wolfram alpha with min_err_version = 9.9.9 and max_version = 9.9.9
DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
DEBUG    errbot.botplugin          Init storage for wolfram alpha
DEBUG    errbot.storage            Opening storage 'wolfram alpha'
DEBUG    errbot.core               Adding command : wa -> wa
INFO     errbot.core_plugins.wsview Checking WolframAlpha for webhooks
INFO     errbot.plugin_manager     Activate plugin: Ban
DEBUG    errbot.plugin_manager     Plugin Ban has no section [Errbot]. Assuming this plugin is running on any Errbot version.
INFO     errbot.plugin_manager     Activating Ban with min_err_version = 9.9.9 and max_version = 9.9.9
DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
DEBUG    errbot.botplugin          Init storage for Ban
DEBUG    errbot.storage            Opening storage 'Ban'
DEBUG    errbot.core               Adding command : ban -> ban
DEBUG    errbot.core               Adding command : unban -> unban
INFO     errbot.core_plugins.wsview Checking Ban for webhooks
INFO     errbot.plugin_manager     Activate plugin: coala_lowercase_c
DEBUG    errbot.plugin_manager     Plugin coala_lowercase_c has no section [Errbot]. Assuming this plugin is running on any Errbot version.
INFO     errbot.plugin_manager     Activating coala_lowercase_c with min_err_version = 9.9.9 and max_version = 9.9.9
DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
DEBUG    errbot.botplugin          Init storage for coala_lowercase_c
DEBUG    errbot.storage            Opening storage 'coala_lowercase_c'
INFO     errbot.core_plugins.wsview Checking Coala_lowercase_c for webhooks
INFO     errbot.plugin_manager     Activate plugin: git_stats
DEBUG    errbot.plugin_manager     Plugin git_stats has no Min Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as min version.
DEBUG    errbot.plugin_manager     Plugin git_stats has no Max Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as max version.
INFO     errbot.plugin_manager     Activating git_stats with min_err_version = 9.9.9 and max_version = 9.9.9
DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
ERROR    errbot.plugins.git_stats  Cannot create github object, please check GH_TOKEN
DEBUG    urllib3.connectionpool    Starting new HTTPS connection (1): api.github.com:443
---------------------------- Captured stderr setup -----------------------------
2018-07-04 12:04:40,506 INFO     errbot.specific_plugin_manager storage search paths {'/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/storage'}
2018-07-04 12:04:40,508 INFO     errbot.specific_plugin_manager Found those plugings available:
2018-07-04 12:04:40,508 INFO     errbot.specific_plugin_manager 	     Shelf  (/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/storage/shelf.py)
2018-07-04 12:04:40,508 INFO     errbot.specific_plugin_manager 	    Memory  (/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/storage/memory.py)
2018-07-04 12:04:40,508 INFO     errbot.bootstrap          Found Storage plugin: 'Memory'
Description: This is the storage plugin for an in-memory store (non-persistent).
2018-07-04 12:04:40,509 DEBUG    errbot.specific_plugin_manager Refilter the plugins...
2018-07-04 12:04:40,510 DEBUG    errbot.specific_plugin_manager Load the one remaining...
2018-07-04 12:04:40,511 DEBUG    errbot.specific_plugin_manager Class to load MemoryStoragePlugin
2018-07-04 12:04:40,511 DEBUG    errbot.storage            Opening storage 'repomgr'
2018-07-04 12:04:40,511 DEBUG    errbot.storage            Opening storage 'core'
2018-07-04 12:04:40,513 INFO     errbot.specific_plugin_manager backends search paths {'/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends'}
2018-07-04 12:04:40,522 INFO     errbot.specific_plugin_manager Found those plugings available:
2018-07-04 12:04:40,522 INFO     errbot.specific_plugin_manager 	   Graphic  (/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/graphic.py)
2018-07-04 12:04:40,522 INFO     errbot.specific_plugin_manager 	  Telegram  (/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/telegram_messenger.py)
2018-07-04 12:04:40,522 INFO     errbot.specific_plugin_manager 	      XMPP  (/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/xmpp.py)
2018-07-04 12:04:40,523 INFO     errbot.specific_plugin_manager 	      Null  (/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/null.py)
2018-07-04 12:04:40,523 INFO     errbot.specific_plugin_manager 	     Slack  (/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/slack.py)
2018-07-04 12:04:40,523 INFO     errbot.specific_plugin_manager 	   Hipchat  (/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/hipchat.py)
2018-07-04 12:04:40,523 INFO     errbot.specific_plugin_manager 	      Text  (/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/text.py)
2018-07-04 12:04:40,523 INFO     errbot.specific_plugin_manager 	      Test  (/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/test.py)
2018-07-04 12:04:40,523 INFO     errbot.specific_plugin_manager 	       IRC  (/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/irc.py)
2018-07-04 12:04:40,524 INFO     errbot.bootstrap          Found Backend plugin: 'Test'
						Description: This is the test backend for Err.
2018-07-04 12:04:40,524 DEBUG    errbot.specific_plugin_manager Refilter the plugins...
2018-07-04 12:04:40,528 DEBUG    errbot.specific_plugin_manager Load the one remaining...
2018-07-04 12:04:40,530 DEBUG    errbot.specific_plugin_manager Class to load TestBackend
2018-07-04 12:04:40,530 DEBUG    errbot.core               ErrBot init.
2018-07-04 12:04:40,530 DEBUG    errbot.backends.base      Backend init.
2018-07-04 12:04:40,533 DEBUG    errbot.core               created a thread pool of size 10.
2018-07-04 12:04:40,537 DEBUG    errbot.core               Initializing backend storage
2018-07-04 12:04:40,537 DEBUG    errbot.storage            Opening storage 'test_backend'
2018-07-04 12:04:40,542 DEBUG    errbot.plugin_manager     All plugin roots:
2018-07-04 12:04:40,542 DEBUG    errbot.plugin_manager     -> plugins
2018-07-04 12:04:40,542 DEBUG    errbot.plugin_manager     -> /home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core_plugins
2018-07-04 12:04:40,542 DEBUG    errbot.plugin_manager     plugins has no requirements.txt file
2018-07-04 12:04:40,542 DEBUG    errbot.plugin_manager     /home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core_plugins has no requirements.txt file
2018-07-04 12:04:40,568 DEBUG    errbot.plugins.pitchfork  Logger for plugin initialized...
2018-07-04 12:04:40,571 DEBUG    errbot.plugins.deprecate_bot_prefixes Logger for plugin initialized...
2018-07-04 12:04:40,573 DEBUG    errbot.plugins.explain    Logger for plugin initialized...
2018-07-04 12:04:40,575 DEBUG    errbot.plugins.the_rules  Logger for plugin initialized...
2018-07-04 12:04:40,577 DEBUG    errbot.plugins.ship_it    Logger for plugin initialized...
2018-07-04 12:04:40,580 DEBUG    errbot.plugins.lmgtfy     Logger for plugin initialized...
2018-07-04 12:04:40,608 DEBUG    errbot.plugins.coatils    Logger for plugin initialized...
2018-07-04 12:04:40,610 DEBUG    errbot.plugins.ghetto     Logger for plugin initialized...
2018-07-04 12:04:40,613 DEBUG    errbot.plugins.LabHub     Logger for plugin initialized...
2018-07-04 12:04:40,616 DEBUG    errbot.plugins.nevermind  Logger for plugin initialized...
2018-07-04 12:04:40,619 DEBUG    errbot.plugins.SpammingAlert Logger for plugin initialized...
2018-07-04 12:04:40,621 DEBUG    errbot.plugins.wolfram alpha Logger for plugin initialized...
2018-07-04 12:04:40,623 DEBUG    errbot.plugins.Ban        Logger for plugin initialized...
2018-07-04 12:04:40,626 DEBUG    errbot.plugins.coala_lowercase_c Logger for plugin initialized...
2018-07-04 12:04:40,628 DEBUG    errbot.plugins.git_stats  Logger for plugin initialized...
2018-07-04 12:04:40,631 DEBUG    errbot.plugins.SearchDocs Logger for plugin initialized...
2018-07-04 12:04:40,633 DEBUG    errbot.plugins.answer     Logger for plugin initialized...
2018-07-04 12:04:40,636 DEBUG    errbot.plugins.Backup     Logger for plugin initialized...
2018-07-04 12:04:40,639 DEBUG    errbot.plugins.Utils      Logger for plugin initialized...
2018-07-04 12:04:40,642 DEBUG    errbot.plugins.ACLs       Logger for plugin initialized...
2018-07-04 12:04:40,649 DEBUG    errbot.plugins.Help       Logger for plugin initialized...
2018-07-04 12:04:40,652 INFO     errbot                    webhooks:  Flag to bind /echo to                           echo
2018-07-04 12:04:40,653 DEBUG    errbot.plugins.Webserver  Logger for plugin initialized...
2018-07-04 12:04:40,658 DEBUG    errbot.plugins.ChatRoom   Logger for plugin initialized...
2018-07-04 12:04:40,663 DEBUG    errbot.plugins.VersionChecker Logger for plugin initialized...
2018-07-04 12:04:40,668 DEBUG    errbot.plugins.Health     Logger for plugin initialized...
2018-07-04 12:04:40,673 DEBUG    errbot.plugins.Flows      Logger for plugin initialized...
2018-07-04 12:04:40,676 DEBUG    errbot.plugins.CommandNotFoundFilter Logger for plugin initialized...
2018-07-04 12:04:40,679 DEBUG    errbot.plugins.Plugins    Logger for plugin initialized...
2018-07-04 12:04:40,681 INFO     errbot.core               Activate internal commands
2018-07-04 12:04:40,682 INFO     errbot.plugin_manager     Activate bot plugins...
2018-07-04 12:04:40,682 INFO     errbot.plugin_manager     Activate plugin: pitchfork
2018-07-04 12:04:40,682 DEBUG    errbot.plugin_manager     Plugin pitchfork has no Min Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as min version.
2018-07-04 12:04:40,682 DEBUG    errbot.plugin_manager     Plugin pitchfork has no Max Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as max version.
2018-07-04 12:04:40,683 INFO     errbot.plugin_manager     Activating pitchfork with min_err_version = 9.9.9 and max_version = 9.9.9
2018-07-04 12:04:40,683 DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
2018-07-04 12:04:40,683 DEBUG    errbot.botplugin          Init storage for pitchfork
2018-07-04 12:04:40,683 DEBUG    errbot.storage            Opening storage 'pitchfork'
2018-07-04 12:04:40,684 DEBUG    errbot.core               Adding command : pitchfork -> pitchfork
2018-07-04 12:04:40,684 INFO     errbot.core_plugins.wsview Checking Pitchfork for webhooks
2018-07-04 12:04:40,685 INFO     errbot.plugin_manager     Activate plugin: deprecate_bot_prefixes
2018-07-04 12:04:40,685 DEBUG    errbot.plugin_manager     Plugin deprecate_bot_prefixes has no section [Errbot]. Assuming this plugin is running on any Errbot version.
2018-07-04 12:04:40,685 INFO     errbot.plugin_manager     Activating deprecate_bot_prefixes with min_err_version = 9.9.9 and max_version = 9.9.9
2018-07-04 12:04:40,686 DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
2018-07-04 12:04:40,686 DEBUG    errbot.botplugin          Init storage for deprecate_bot_prefixes
2018-07-04 12:04:40,686 DEBUG    errbot.storage            Opening storage 'deprecate_bot_prefixes'
2018-07-04 12:04:40,687 INFO     errbot.core_plugins.wsview Checking DeprecateBotPrefixes for webhooks
2018-07-04 12:04:40,687 INFO     errbot.plugin_manager     Activate plugin: explain
2018-07-04 12:04:40,687 DEBUG    errbot.plugin_manager     Plugin explain has no Min Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as min version.
2018-07-04 12:04:40,688 DEBUG    errbot.plugin_manager     Plugin explain has no Max Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as max version.
2018-07-04 12:04:40,688 INFO     errbot.plugin_manager     Activating explain with min_err_version = 9.9.9 and max_version = 9.9.9
2018-07-04 12:04:40,688 DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
2018-07-04 12:04:40,688 DEBUG    errbot.botplugin          Init storage for explain
2018-07-04 12:04:40,688 DEBUG    errbot.storage            Opening storage 'explain'
2018-07-04 12:04:40,689 DEBUG    errbot.core               Adding regex command : explain -> explain
2018-07-04 12:04:40,689 INFO     errbot.core_plugins.wsview Checking Explain for webhooks
2018-07-04 12:04:40,690 INFO     errbot.plugin_manager     Activate plugin: the_rules
2018-07-04 12:04:40,690 DEBUG    errbot.plugin_manager     Plugin the_rules has no Min Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as min version.
2018-07-04 12:04:40,690 DEBUG    errbot.plugin_manager     Plugin the_rules has no Max Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as max version.
2018-07-04 12:04:40,690 INFO     errbot.plugin_manager     Activating the_rules with min_err_version = 9.9.9 and max_version = 9.9.9
2018-07-04 12:04:40,690 DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
2018-07-04 12:04:40,691 DEBUG    errbot.botplugin          Init storage for the_rules
2018-07-04 12:04:40,691 DEBUG    errbot.storage            Opening storage 'the_rules'
2018-07-04 12:04:40,691 DEBUG    errbot.core               Adding regex command : the_rules -> the_rules
2018-07-04 12:04:40,692 INFO     errbot.core_plugins.wsview Checking The_rules for webhooks
2018-07-04 12:04:40,692 INFO     errbot.plugin_manager     Activate plugin: ship_it
2018-07-04 12:04:40,693 DEBUG    errbot.plugin_manager     Plugin ship_it has no Min Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as min version.
2018-07-04 12:04:40,693 DEBUG    errbot.plugin_manager     Plugin ship_it has no Max Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as max version.
2018-07-04 12:04:40,693 INFO     errbot.plugin_manager     Activating ship_it with min_err_version = 9.9.9 and max_version = 9.9.9
2018-07-04 12:04:40,693 DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
2018-07-04 12:04:40,693 DEBUG    errbot.botplugin          Init storage for ship_it
2018-07-04 12:04:40,694 DEBUG    errbot.storage            Opening storage 'ship_it'
2018-07-04 12:04:40,694 DEBUG    errbot.core               Adding regex command : ship_it -> ship_it
2018-07-04 12:04:40,694 INFO     errbot.core_plugins.wsview Checking Ship_it for webhooks
2018-07-04 12:04:40,695 INFO     errbot.plugin_manager     Activate plugin: lmgtfy
2018-07-04 12:04:40,695 DEBUG    errbot.plugin_manager     Plugin lmgtfy has no Min Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as min version.
2018-07-04 12:04:40,695 DEBUG    errbot.plugin_manager     Plugin lmgtfy has no Max Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as max version.
2018-07-04 12:04:40,696 INFO     errbot.plugin_manager     Activating lmgtfy with min_err_version = 9.9.9 and max_version = 9.9.9
2018-07-04 12:04:40,696 DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
2018-07-04 12:04:40,696 DEBUG    errbot.botplugin          Init storage for lmgtfy
2018-07-04 12:04:40,696 DEBUG    errbot.storage            Opening storage 'lmgtfy'
2018-07-04 12:04:40,697 DEBUG    errbot.core               Adding regex command : lmgtfy -> lmgtfy
2018-07-04 12:04:40,697 INFO     errbot.core_plugins.wsview Checking Lmgtfy for webhooks
2018-07-04 12:04:40,698 INFO     errbot.plugin_manager     Activate plugin: coatils
2018-07-04 12:04:40,698 DEBUG    errbot.plugin_manager     Plugin coatils has no section [Errbot]. Assuming this plugin is running on any Errbot version.
2018-07-04 12:04:40,698 INFO     errbot.plugin_manager     Activating coatils with min_err_version = 9.9.9 and max_version = 9.9.9
2018-07-04 12:04:40,698 DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
2018-07-04 12:04:40,699 DEBUG    errbot.botplugin          Init storage for coatils
2018-07-04 12:04:40,699 DEBUG    errbot.storage            Opening storage 'coatils'
2018-07-04 12:04:40,699 DEBUG    errbot.core               Adding regex command : contrib_stats -> contrib_stats
2018-07-04 12:04:40,699 DEBUG    errbot.core               Adding regex command : ls -> ls
2018-07-04 12:04:40,699 DEBUG    errbot.core               Adding regex command : run -> run
2018-07-04 12:04:40,700 INFO     errbot.core_plugins.wsview Checking Coatils for webhooks
2018-07-04 12:04:40,700 INFO     errbot.plugin_manager     Activate plugin: ghetto
2018-07-04 12:04:40,701 DEBUG    errbot.plugin_manager     Plugin ghetto has no Min Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as min version.
2018-07-04 12:04:40,701 DEBUG    errbot.plugin_manager     Plugin ghetto has no Max Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as max version.
2018-07-04 12:04:40,701 INFO     errbot.plugin_manager     Activating ghetto with min_err_version = 9.9.9 and max_version = 9.9.9
2018-07-04 12:04:40,701 DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
2018-07-04 12:04:40,701 DEBUG    errbot.botplugin          Init storage for ghetto
2018-07-04 12:04:40,702 DEBUG    errbot.storage            Opening storage 'ghetto'
2018-07-04 12:04:40,702 DEBUG    errbot.core               Adding regex command : ghetto -> ghetto
2018-07-04 12:04:40,702 INFO     errbot.core_plugins.wsview Checking Ghetto for webhooks
2018-07-04 12:04:40,703 INFO     errbot.plugin_manager     Activate plugin: LabHub
2018-07-04 12:04:40,703 DEBUG    errbot.plugin_manager     Plugin LabHub has no Min Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as min version.
2018-07-04 12:04:40,703 DEBUG    errbot.plugin_manager     Plugin LabHub has no Max Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as max version.
2018-07-04 12:04:40,704 INFO     errbot.plugin_manager     Activating LabHub with min_err_version = 9.9.9 and max_version = 9.9.9
2018-07-04 12:04:40,704 DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
2018-07-04 12:04:40,704 ERROR    errbot.plugins.LabHub     Cannot create github object, please check GH_TOKEN
2018-07-04 12:04:40,707 DEBUG    urllib3.connectionpool    Starting new HTTPS connection (1): api.github.com:443
2018-07-04 12:04:41,138 DEBUG    urllib3.connectionpool    https://api.github.com:443 "GET /user/repos?per_page=100 HTTP/1.1" 401 121
2018-07-04 12:04:41,140 ERROR    backoff                   Giving up get_response(...) after 1 tries (RuntimeError: ('{"message":"Requires authentication","documentation_url":"https://developer.github.com/v3/repos/#list-your-repositories"}', 401))
2018-07-04 12:04:41,140 ERROR    errbot.plugins.LabHub     Something went wrong in fetching github repos.
Traceback (most recent call last):
  File "/home/travis/build/coala/corobo/plugins/labhub.py", line 46, in activate
    self.IGH.write_repositories)}
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/IGitt/GitHub/GitHub.py", line 71, in write_repositories
    repo_list = get(self._token, '/user/repos')
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/IGitt/GitHub/__init__.py", line 223, in get
    headers=headers)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/IGitt/Interfaces/__init__.py", line 140, in _fetch
    resp = get_response(method, base_url + url, json=data)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/backoff/_sync.py", line 85, in retry
    ret = target(*args, **kwargs)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/backoff/_sync.py", line 85, in retry
    ret = target(*args, **kwargs)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/IGitt/Interfaces/__init__.py", line 106, in get_response
    raise RuntimeError(response.text, response.status_code)
RuntimeError: ('{"message":"Requires authentication","documentation_url":"https://developer.github.com/v3/repos/#list-your-repositories"}', 401)
2018-07-04 12:04:41,145 DEBUG    urllib3.connectionpool    Starting new HTTPS connection (1): gitlab.com:443
2018-07-04 12:04:41,542 DEBUG    urllib3.connectionpool    https://gitlab.com:443 "GET /api/v4/projects?membership=True&per_page=100 HTTP/1.1" 304 0
2018-07-04 12:04:41,545 DEBUG    errbot.botplugin          Init storage for LabHub
2018-07-04 12:04:41,545 DEBUG    errbot.storage            Opening storage 'LabHub'
2018-07-04 12:04:41,546 DEBUG    errbot.core               Adding regex command : assign_cmd -> assign_cmd
2018-07-04 12:04:41,546 DEBUG    errbot.core               Adding regex command : create_issue_cmd -> create_issue_cmd
2018-07-04 12:04:41,546 DEBUG    errbot.core               Adding regex command : invite_cmd -> invite_cmd
2018-07-04 12:04:41,546 DEBUG    errbot.core               Adding regex command : mark_cmd -> mark_cmd
2018-07-04 12:04:41,546 DEBUG    errbot.core               Adding regex command : pr_stats -> pr_stats
2018-07-04 12:04:41,546 DEBUG    errbot.core               Adding regex command : unassign_cmd -> unassign_cmd
2018-07-04 12:04:41,547 INFO     errbot.core_plugins.wsview Checking LabHub for webhooks
2018-07-04 12:04:41,547 INFO     errbot.plugin_manager     Activate plugin: nevermind
2018-07-04 12:04:41,548 DEBUG    errbot.plugin_manager     Plugin nevermind has no Min Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as min version.
2018-07-04 12:04:41,548 DEBUG    errbot.plugin_manager     Plugin nevermind has no Max Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as max version.
2018-07-04 12:04:41,548 INFO     errbot.plugin_manager     Activating nevermind with min_err_version = 9.9.9 and max_version = 9.9.9
2018-07-04 12:04:41,548 DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
2018-07-04 12:04:41,549 DEBUG    errbot.botplugin          Init storage for nevermind
2018-07-04 12:04:41,549 DEBUG    errbot.storage            Opening storage 'nevermind'
2018-07-04 12:04:41,549 DEBUG    errbot.core               Adding regex command : nevermind -> nevermind
2018-07-04 12:04:41,550 INFO     errbot.core_plugins.wsview Checking Nevermind for webhooks
2018-07-04 12:04:41,550 INFO     errbot.plugin_manager     Activate plugin: SpammingAlert
2018-07-04 12:04:41,550 DEBUG    errbot.plugin_manager     Plugin SpammingAlert has no section [Errbot]. Assuming this plugin is running on any Errbot version.
2018-07-04 12:04:41,551 INFO     errbot.plugin_manager     Activating SpammingAlert with min_err_version = 9.9.9 and max_version = 9.9.9
2018-07-04 12:04:41,551 DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
2018-07-04 12:04:41,551 DEBUG    errbot.botplugin          Init storage for SpammingAlert
2018-07-04 12:04:41,551 DEBUG    errbot.storage            Opening storage 'SpammingAlert'
2018-07-04 12:04:41,552 INFO     errbot.core_plugins.wsview Checking SpammingAlert for webhooks
2018-07-04 12:04:41,553 INFO     errbot.plugin_manager     Activate plugin: wolfram alpha
2018-07-04 12:04:41,553 DEBUG    errbot.plugin_manager     Plugin wolfram alpha has no Min Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as min version.
2018-07-04 12:04:41,553 DEBUG    errbot.plugin_manager     Plugin wolfram alpha has no Max Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as max version.
2018-07-04 12:04:41,553 INFO     errbot.plugin_manager     Activating wolfram alpha with min_err_version = 9.9.9 and max_version = 9.9.9
2018-07-04 12:04:41,554 DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
2018-07-04 12:04:41,554 DEBUG    errbot.botplugin          Init storage for wolfram alpha
2018-07-04 12:04:41,554 DEBUG    errbot.storage            Opening storage 'wolfram alpha'
2018-07-04 12:04:41,555 DEBUG    errbot.core               Adding command : wa -> wa
2018-07-04 12:04:41,555 INFO     errbot.core_plugins.wsview Checking WolframAlpha for webhooks
2018-07-04 12:04:41,556 INFO     errbot.plugin_manager     Activate plugin: Ban
2018-07-04 12:04:41,556 DEBUG    errbot.plugin_manager     Plugin Ban has no section [Errbot]. Assuming this plugin is running on any Errbot version.
2018-07-04 12:04:41,556 INFO     errbot.plugin_manager     Activating Ban with min_err_version = 9.9.9 and max_version = 9.9.9
2018-07-04 12:04:41,556 DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
2018-07-04 12:04:41,557 DEBUG    errbot.botplugin          Init storage for Ban
2018-07-04 12:04:41,557 DEBUG    errbot.storage            Opening storage 'Ban'
2018-07-04 12:04:41,557 DEBUG    errbot.core               Adding command : ban -> ban
2018-07-04 12:04:41,558 DEBUG    errbot.core               Adding command : unban -> unban
2018-07-04 12:04:41,558 INFO     errbot.core_plugins.wsview Checking Ban for webhooks
2018-07-04 12:04:41,558 INFO     errbot.plugin_manager     Activate plugin: coala_lowercase_c
2018-07-04 12:04:41,559 DEBUG    errbot.plugin_manager     Plugin coala_lowercase_c has no section [Errbot]. Assuming this plugin is running on any Errbot version.
2018-07-04 12:04:41,559 INFO     errbot.plugin_manager     Activating coala_lowercase_c with min_err_version = 9.9.9 and max_version = 9.9.9
2018-07-04 12:04:41,559 DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
2018-07-04 12:04:41,560 DEBUG    errbot.botplugin          Init storage for coala_lowercase_c
2018-07-04 12:04:41,560 DEBUG    errbot.storage            Opening storage 'coala_lowercase_c'
2018-07-04 12:04:41,560 INFO     errbot.core_plugins.wsview Checking Coala_lowercase_c for webhooks
2018-07-04 12:04:41,561 INFO     errbot.plugin_manager     Activate plugin: git_stats
2018-07-04 12:04:41,561 DEBUG    errbot.plugin_manager     Plugin git_stats has no Min Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as min version.
2018-07-04 12:04:41,561 DEBUG    errbot.plugin_manager     Plugin git_stats has no Max Option in [Errbot] section. Assuming this plugin is running on this Errbotversion as max version.
2018-07-04 12:04:41,561 INFO     errbot.plugin_manager     Activating git_stats with min_err_version = 9.9.9 and max_version = 9.9.9
2018-07-04 12:04:41,562 DEBUG    errbot.templating         Templates directory found for this plugin [/home/travis/build/coala/corobo/plugins/templates]
2018-07-04 12:04:41,562 ERROR    errbot.plugins.git_stats  Cannot create github object, please check GH_TOKEN
2018-07-04 12:04:41,565 DEBUG    urllib3.connectionpool    Starting new HTTPS connection (1): api.github.com:443
=================================== FAILURES ===================================
_____________________ TestLabHub.test_hello_world_callback _____________________

self = <tests.labhub_test.TestLabHub testMethod=test_hello_world_callback>

    def test_hello_world_callback(self):
        teams = {
            'coala newcomers': self.mock_team,
            'coala developers': self.mock_team,
            'coala maintainers': self.mock_team,
        }
        labhub, testbot = plugin_testbot(plugins.labhub.LabHub, logging.ERROR)
        labhub.activate()
        #testbot = TestBot(extra_plugin_dir='plugins', loglevel=logging.ERROR)
        #testbot.start()
        #labhub = testbot.bot.plugin_manager.get_plugin_obj_by_name('LabHub')
        labhub.TEAMS = teams
        self.mock_team.is_member.return_value = False
>       testbot.assertCommand('hello, world', 'newcomer')

tests/labhub_test.py:124: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/test.py:456: in assertCommand
    msg = self.bot.pop_message(timeout)
../../../virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/test.py:308: in pop_message
    return self.outgoing_message_queue.get(timeout=timeout, block=block)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <queue.Queue object at 0x7fa984180358>, block = True, timeout = 5

    def get(self, block=True, timeout=None):
        '''Remove and return an item from the queue.
    
            If optional args 'block' is true and 'timeout' is None (the default),
            block if necessary until an item is available. If 'timeout' is
            a non-negative number, it blocks at most 'timeout' seconds and raises
            the Empty exception if no item was available within that time.
            Otherwise ('block' is false), return an item if one is immediately
            available, else raise the Empty exception ('timeout' is ignored
            in that case).
            '''
        with self.not_empty:
            if not block:
                if not self._qsize():
                    raise Empty
            elif timeout is None:
                while not self._qsize():
                    self.not_empty.wait()
            elif timeout < 0:
                raise ValueError("'timeout' must be a non-negative number")
            else:
                endtime = time() + timeout
                while not self._qsize():
                    remaining = endtime - time()
                    if remaining <= 0.0:
>                       raise Empty
E                       queue.Empty

/opt/python/3.6.3/lib/python3.6/queue.py:172: Empty
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue
message received
waiting on queue

----------- coverage: platform linux, python 3.6.3-final-0 -----------
Name                                Stmts   Miss  Cover   Missing
-----------------------------------------------------------------
plugins/__init__.py                     0      0   100%
plugins/answer.py                      25      0   100%
plugins/ban.py                         37      0   100%
plugins/coala_lowercase_c.py           12      1    92%   26
plugins/coatils.py                    120      0   100%
plugins/constants.py                    7      0   100%
plugins/deprecate_bot_prefixes.py       6      0   100%
plugins/explain.py                     21      0   100%
plugins/ghetto.py                      10      0   100%
plugins/git_stats.py                   51      0   100%
plugins/labhub.py                     215      6    97%   153-162, 422
plugins/lmgtfy.py                       4      0   100%
plugins/nevermind.py                    5      0   100%
plugins/pitchfork.py                   12      0   100%
plugins/searchdocs.py                  16      0   100%
plugins/ship_it.py                      7      0   100%
plugins/spam.py                        20      0   100%
plugins/the_rules.py                    5      0   100%
plugins/wolfram_alpha.py               18      0   100%
-----------------------------------------------------------------
TOTAL                                 591      7    99%

FAIL Required test coverage of 100% not reached. Total coverage: 98.82%
=============================== warnings summary ===============================
<undetermined location>
  Module already imported so cannot be rewritten: errbot.backends.test

tests/labhub_test.py::TestBot
  cannot collect test class 'TestBot' because it has a __init__ constructor

tests/spam_test.py::TestBot
  cannot collect test class 'TestBot' because it has a __init__ constructor

-- Docs: http://doc.pytest.org/en/latest/warnings.html
========== 1 failed, 36 passed, 3 warnings, 1 error in 129.72 seconds ==========

@nvzard
Copy link
Member Author

nvzard commented Jul 16, 2018

Blocked until corobotestcase in plugins is implemented.

@meetmangukiya
Copy link
Member

Still relevant?

@nvzard nvzard changed the title [WIP] LabHub: Use activate instead of init LabHub: Use activate instead of init Aug 2, 2018
@nvzard nvzard changed the title LabHub: Use activate instead of init [WIP] LabHub: Use activate instead of init Aug 2, 2018
@TravisBuddy
Copy link

Travis tests have failed

Hey @nvzard,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

@nvzard nvzard changed the title [WIP] LabHub: Use activate instead of init LabHub: Use activate and configuration templates Aug 3, 2018
@TravisBuddy
Copy link

Travis tests have failed

Hey @nvzard,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

python -m pytest
============================= test session starts ==============================
platform linux -- Python 3.6.3, pytest-3.6.4, py-1.5.2, pluggy-0.6.0
rootdir: /home/travis/build/coala/corobo, inifile: setup.cfg
plugins: requests-mock-1.5.2, xdist-1.22.5, travis-fold-1.3.0, timeout-1.3.1, reqs-0.0.7, reorder-0.1.1, profiling-1.3.0, mock-1.10.0, instafail-0.3.0, forked-0.2, error-for-skips-1.0.0, env-0.6.2, cov-2.5.1
collected 40 items                                                             

tests/answer_test.py .                                                   [  2%]
tests/ban_test.py ..                                                     [  7%]
tests/coala_lowercase_c_test.py ..                                       [ 12%]
tests/coatils_test.py ...........                                        [ 40%]
tests/deprecate_bot_prefixes_test.py .                                   [ 42%]
tests/explain_test.py .                                                  [ 45%]
tests/ghetto_test.py .                                                   [ 47%]
tests/git_stats_test.py .                                                [ 50%]
tests/labhub_test.py ....F....                                           [ 72%]
tests/lmgtfy_test.py .                                                   [ 75%]
tests/nevermind_test.py .                                                [ 77%]
tests/pitchfork_test.py .                                                [ 80%]
tests/searchdocs_test.py .                                               [ 82%]
tests/ship_it_test.py .                                                  [ 85%]
tests/spam_test.py ....                                                  [ 95%]
tests/the_rules_test.py .                                                [ 97%]
tests/wolfram_alpha_test.py .                                            [100%]

=================================== FAILURES ===================================
__________________________ TestLabHub.test_invite_cmd __________________________

self = <tests.labhub_test.TestLabHub testMethod=test_invite_cmd>

    def test_invite_cmd(self):
        mock_team_newcomers = create_autospec(github3.orgs.Team)
        mock_team_developers = create_autospec(github3.orgs.Team)
        mock_team_maintainers = create_autospec(github3.orgs.Team)
    
        self.teams['coala newcomers'] = mock_team_newcomers
        self.teams['coala developers'] = mock_team_developers
        self.teams['coala maintainers'] = mock_team_maintainers
    
        mock_dict = {
            'TEAMS': self.teams,
            'is_room_member': MagicMock(),
        }
        self.inject_mocks('LabHub', mock_dict)
        testbot = self
    
>       plugins.labhub.os.environ['GH_TOKEN'] = 'patched?'
E       AttributeError: module 'plugins.labhub' has no attribute 'os'

tests/labhub_test.py:81: AttributeError
travis_fold:start:py-5608.stdout.0
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue
message received
travis_fold:end:py-5608.stdout.0

travis_fold:start:py-5608.cov.0
----------- coverage: platform linux, python 3.6.3-final-0 -----------
Name                                Stmts   Miss  Cover   Missing
-----------------------------------------------------------------
plugins/__init__.py                     0      0   100%
plugins/answer.py                      25      0   100%
plugins/ban.py                         37      0   100%
plugins/coala_lowercase_c.py           12      0   100%
plugins/coatils.py                    118      0   100%
plugins/constants.py                    7      0   100%
plugins/deprecate_bot_prefixes.py       6      0   100%
plugins/explain.py                     20      0   100%
plugins/ghetto.py                      10      0   100%
plugins/git_stats.py                   51      0   100%
plugins/labhub.py                     236     28    88%   56, 74-75, 126-174
plugins/lmgtfy.py                       4      0   100%
plugins/nevermind.py                    5      0   100%
plugins/pitchfork.py                   12      0   100%
plugins/searchdocs.py                  16      0   100%
plugins/ship_it.py                      7      0   100%
plugins/spam.py                        13      0   100%
plugins/the_rules.py                    5      0   100%
plugins/wolfram_alpha.py               18      0   100%
-----------------------------------------------------------------
TOTAL                                 602     28    95%
travis_fold:end:py-5608.cov.0

FAIL Required test coverage of 100% not reached. Total coverage: 95.35%
=============================== warnings summary ===============================
<undetermined location>
  Module already imported so cannot be rewritten: errbot.backends.test

tests/labhub_test.py::TestBot
  cannot collect test class 'TestBot' because it has a __init__ constructor

tests/spam_test.py::TestBot
  cannot collect test class 'TestBot' because it has a __init__ constructor

-- Docs: http://doc.pytest.org/en/latest/warnings.html
=============== 1 failed, 39 passed, 3 warnings in 79.29 seconds ===============

@TravisBuddy
Copy link

Travis tests have failed

Hey @nvzard,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

python -m pytest
============================= test session starts ==============================
platform linux -- Python 3.6.3, pytest-3.6.4, py-1.5.2, pluggy-0.6.0
rootdir: /home/travis/build/coala/corobo, inifile: setup.cfg
plugins: requests-mock-1.5.2, xdist-1.22.5, travis-fold-1.3.0, timeout-1.3.1, reqs-0.0.7, reorder-0.1.1, profiling-1.3.0, mock-1.10.0, instafail-0.3.0, forked-0.2, error-for-skips-1.0.0, env-0.6.2, cov-2.5.1
collected 40 items                                                             

tests/answer_test.py .                                                   [  2%]
tests/ban_test.py ..                                                     [  7%]
tests/coala_lowercase_c_test.py ..                                       [ 12%]
tests/coatils_test.py ...........                                        [ 40%]
tests/deprecate_bot_prefixes_test.py .                                   [ 42%]
tests/explain_test.py .                                                  [ 45%]
tests/ghetto_test.py .                                                   [ 47%]
tests/git_stats_test.py .                                                [ 50%]
tests/labhub_test.py .........                                           [ 72%]
tests/lmgtfy_test.py .                                                   [ 75%]
tests/nevermind_test.py .                                                [ 77%]
tests/pitchfork_test.py .                                                [ 80%]
tests/searchdocs_test.py .                                               [ 82%]
tests/ship_it_test.py .                                                  [ 85%]
tests/spam_test.py ....                                                  [ 95%]
tests/the_rules_test.py .                                                [ 97%]
tests/wolfram_alpha_test.py .                                            [100%]

travis_fold:start:py-5520.cov.0
----------- coverage: platform linux, python 3.6.3-final-0 -----------
Name                                Stmts   Miss  Cover   Missing
-----------------------------------------------------------------
plugins/__init__.py                     0      0   100%
plugins/answer.py                      25      0   100%
plugins/ban.py                         37      0   100%
plugins/coala_lowercase_c.py           12      0   100%
plugins/coatils.py                    118      0   100%
plugins/constants.py                    7      0   100%
plugins/deprecate_bot_prefixes.py       6      0   100%
plugins/explain.py                     20      0   100%
plugins/ghetto.py                      10      0   100%
plugins/git_stats.py                   51      0   100%
plugins/labhub.py                     236      3    99%   56, 74-75
plugins/lmgtfy.py                       4      0   100%
plugins/nevermind.py                    5      0   100%
plugins/pitchfork.py                   12      0   100%
plugins/searchdocs.py                  16      0   100%
plugins/ship_it.py                      7      0   100%
plugins/spam.py                        13      0   100%
plugins/the_rules.py                    5      0   100%
plugins/wolfram_alpha.py               18      0   100%
-----------------------------------------------------------------
TOTAL                                 602      3    99%
travis_fold:end:py-5520.cov.0

FAIL Required test coverage of 100% not reached. Total coverage: 99.50%

=============================== warnings summary ===============================
<undetermined location>
  Module already imported so cannot be rewritten: errbot.backends.test

tests/labhub_test.py::TestBot
  cannot collect test class 'TestBot' because it has a __init__ constructor

tests/spam_test.py::TestBot
  cannot collect test class 'TestBot' because it has a __init__ constructor

-- Docs: http://doc.pytest.org/en/latest/warnings.html
==================== 40 passed, 3 warnings in 99.36 seconds ====================

assert gh is not None
except AssertionError:
except AssertionError: # pragma: no cover, for logging

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code does not comply to PEP8.

Origin: PEP8Bear, Section: all.autopep8.

The issue can be fixed by applying the following patch:

--- a/tmp/tmpammsf7vp/plugins/labhub.py
+++ b/tmp/tmpammsf7vp/plugins/labhub.py
@@ -52,7 +52,7 @@
         try:
             gh = github3.login(token=self.config['GH_TOKEN'])
             assert gh is not None
-        except AssertionError: # pragma: no cover, for logging
+        except AssertionError:  # pragma: no cover, for logging
             self.log.error('Cannot create github object, please check GH_TOKEN')
         else:
             self.GH3_ORG = gh.organization(self.config['GH_ORG_NAME'])

self.IGH.write_repositories)}
except RuntimeError:
except RuntimeError: # pragma: no cover, for logging

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code does not comply to PEP8.

Origin: PEP8Bear, Section: all.autopep8.

The issue can be fixed by applying the following patch:

--- a/tmp/tmpammsf7vp/plugins/labhub.py
+++ b/tmp/tmpammsf7vp/plugins/labhub.py
@@ -71,7 +71,7 @@
                              filter(lambda x: (x.full_name.split('/')[0] ==
                                                self.config['GH_ORG_NAME']),
                                     self.IGH.write_repositories)}
-        except RuntimeError: # pragma: no cover, for logging
+        except RuntimeError:  # pragma: no cover, for logging
             self.log.exception('Something went wrong in fetching github repos.')
         else:
             self.REPOS.update(self.gh_repos)

assert gh is not None
except AssertionError:
except AssertionError: # pragma: no cover, for logging

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E261 at least two spaces before inline comment

Origin: PycodestyleBear (E261), Section: all.autopep8.

@TravisBuddy
Copy link

Travis tests have failed

Hey @nvzard,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

coala --non-interactive -V
[WARNING][20:36:53] bears setting has already been defined in section all.python. The previous setting will be overridden.
[WARNING][20:36:53] bears setting has already been defined in section all.python. The previous setting will be overridden.
[DEBUG][20:36:54] Platform Linux -- Python 3.6.3, coalib 0.11.0
Executing section all...
[DEBUG][20:36:54] Files that will be checked:
/home/travis/build/coala/corobo/config.py
/home/travis/build/coala/corobo/plugins/labhub.py
/home/travis/build/coala/corobo/plugins/ship_it.py
/home/travis/build/coala/corobo/plugins/the_rules.py
/home/travis/build/coala/corobo/plugins/ghetto.py
/home/travis/build/coala/corobo/plugins/constants.py
/home/travis/build/coala/corobo/plugins/lmgtfy.py
/home/travis/build/coala/corobo/plugins/searchdocs.py
/home/travis/build/coala/corobo/plugins/git_stats.py
/home/travis/build/coala/corobo/plugins/__init__.py
/home/travis/build/coala/corobo/plugins/spam.py
/home/travis/build/coala/corobo/plugins/coala_lowercase_c.py
/home/travis/build/coala/corobo/plugins/answer.py
/home/travis/build/coala/corobo/plugins/pitchfork.py
/home/travis/build/coala/corobo/plugins/ban.py
/home/travis/build/coala/corobo/plugins/explain.py
/home/travis/build/coala/corobo/plugins/nevermind.py
/home/travis/build/coala/corobo/plugins/deprecate_bot_prefixes.py
/home/travis/build/coala/corobo/plugins/wolfram_alpha.py
/home/travis/build/coala/corobo/plugins/coatils.py
/home/travis/build/coala/corobo/answers/__init__.py
/home/travis/build/coala/corobo/answers/service.py
/home/travis/build/coala/corobo/answers/final.py
/home/travis/build/coala/corobo/answers/extraction.py
/home/travis/build/coala/corobo/answers/utils.py
/home/travis/build/coala/corobo/tests/nevermind_test.py
/home/travis/build/coala/corobo/tests/deprecate_bot_prefixes_test.py
/home/travis/build/coala/corobo/tests/answer_test.py
/home/travis/build/coala/corobo/tests/labhub_test_case.py
/home/travis/build/coala/corobo/tests/wolfram_alpha_test.py
/home/travis/build/coala/corobo/tests/coala_lowercase_c_test.py
/home/travis/build/coala/corobo/tests/searchdocs_test.py
/home/travis/build/coala/corobo/tests/git_stats_test.py
/home/travis/build/coala/corobo/tests/lmgtfy_test.py
/home/travis/build/coala/corobo/tests/the_rules_test.py
/home/travis/build/coala/corobo/tests/__init__.py
/home/travis/build/coala/corobo/tests/coatils_test.py
/home/travis/build/coala/corobo/tests/explain_test.py
/home/travis/build/coala/corobo/tests/ship_it_test.py
/home/travis/build/coala/corobo/tests/spam_test.py
/home/travis/build/coala/corobo/tests/ban_test.py
/home/travis/build/coala/corobo/tests/ghetto_test.py
/home/travis/build/coala/corobo/tests/labhub_test.py
/home/travis/build/coala/corobo/tests/corobo_test_case.py
/home/travis/build/coala/corobo/tests/pitchfork_test.py
/home/travis/build/coala/corobo/tests/isolated_testcase.py
[DEBUG][20:36:54] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
Executing section all.whitespace...
[DEBUG][20:36:54] Files that will be checked:
/home/travis/build/coala/corobo/config.py
/home/travis/build/coala/corobo/plugins/labhub.py
/home/travis/build/coala/corobo/plugins/ship_it.py
/home/travis/build/coala/corobo/plugins/the_rules.py
/home/travis/build/coala/corobo/plugins/ghetto.py
/home/travis/build/coala/corobo/plugins/constants.py
/home/travis/build/coala/corobo/plugins/lmgtfy.py
/home/travis/build/coala/corobo/plugins/searchdocs.py
/home/travis/build/coala/corobo/plugins/git_stats.py
/home/travis/build/coala/corobo/plugins/__init__.py
/home/travis/build/coala/corobo/plugins/spam.py
/home/travis/build/coala/corobo/plugins/coala_lowercase_c.py
/home/travis/build/coala/corobo/plugins/answer.py
/home/travis/build/coala/corobo/plugins/pitchfork.py
/home/travis/build/coala/corobo/plugins/ban.py
/home/travis/build/coala/corobo/plugins/explain.py
/home/travis/build/coala/corobo/plugins/nevermind.py
/home/travis/build/coala/corobo/plugins/deprecate_bot_prefixes.py
/home/travis/build/coala/corobo/plugins/wolfram_alpha.py
/home/travis/build/coala/corobo/plugins/coatils.py
/home/travis/build/coala/corobo/answers/__init__.py
/home/travis/build/coala/corobo/answers/service.py
/home/travis/build/coala/corobo/answers/final.py
/home/travis/build/coala/corobo/answers/extraction.py
/home/travis/build/coala/corobo/answers/utils.py
/home/travis/build/coala/corobo/tests/nevermind_test.py
/home/travis/build/coala/corobo/tests/deprecate_bot_prefixes_test.py
/home/travis/build/coala/corobo/tests/answer_test.py
/home/travis/build/coala/corobo/tests/labhub_test_case.py
/home/travis/build/coala/corobo/tests/wolfram_alpha_test.py
/home/travis/build/coala/corobo/tests/coala_lowercase_c_test.py
/home/travis/build/coala/corobo/tests/searchdocs_test.py
/home/travis/build/coala/corobo/tests/git_stats_test.py
/home/travis/build/coala/corobo/tests/lmgtfy_test.py
/home/travis/build/coala/corobo/tests/the_rules_test.py
/home/travis/build/coala/corobo/tests/__init__.py
/home/travis/build/coala/corobo/tests/coatils_test.py
/home/travis/build/coala/corobo/tests/explain_test.py
/home/travis/build/coala/corobo/tests/ship_it_test.py
/home/travis/build/coala/corobo/tests/spam_test.py
/home/travis/build/coala/corobo/tests/ban_test.py
/home/travis/build/coala/corobo/tests/ghetto_test.py
/home/travis/build/coala/corobo/tests/labhub_test.py
/home/travis/build/coala/corobo/tests/corobo_test_case.py
/home/travis/build/coala/corobo/tests/pitchfork_test.py
/home/travis/build/coala/corobo/tests/isolated_testcase.py
[DEBUG][20:36:54] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
[DEBUG][20:36:54] Running bear SpaceConsistencyBear...
Executing section all.python...
[DEBUG][20:36:55] Files that will be checked:
/home/travis/build/coala/corobo/config.py
/home/travis/build/coala/corobo/plugins/labhub.py
/home/travis/build/coala/corobo/plugins/ship_it.py
/home/travis/build/coala/corobo/plugins/the_rules.py
/home/travis/build/coala/corobo/plugins/ghetto.py
/home/travis/build/coala/corobo/plugins/constants.py
/home/travis/build/coala/corobo/plugins/lmgtfy.py
/home/travis/build/coala/corobo/plugins/searchdocs.py
/home/travis/build/coala/corobo/plugins/git_stats.py
/home/travis/build/coala/corobo/plugins/__init__.py
/home/travis/build/coala/corobo/plugins/spam.py
/home/travis/build/coala/corobo/plugins/coala_lowercase_c.py
/home/travis/build/coala/corobo/plugins/answer.py
/home/travis/build/coala/corobo/plugins/pitchfork.py
/home/travis/build/coala/corobo/plugins/ban.py
/home/travis/build/coala/corobo/plugins/explain.py
/home/travis/build/coala/corobo/plugins/nevermind.py
/home/travis/build/coala/corobo/plugins/deprecate_bot_prefixes.py
/home/travis/build/coala/corobo/plugins/wolfram_alpha.py
/home/travis/build/coala/corobo/plugins/coatils.py
/home/travis/build/coala/corobo/answers/__init__.py
/home/travis/build/coala/corobo/answers/service.py
/home/travis/build/coala/corobo/answers/final.py
/home/travis/build/coala/corobo/answers/extraction.py
/home/travis/build/coala/corobo/answers/utils.py
/home/travis/build/coala/corobo/tests/nevermind_test.py
/home/travis/build/coala/corobo/tests/deprecate_bot_prefixes_test.py
/home/travis/build/coala/corobo/tests/answer_test.py
/home/travis/build/coala/corobo/tests/labhub_test_case.py
/home/travis/build/coala/corobo/tests/wolfram_alpha_test.py
/home/travis/build/coala/corobo/tests/coala_lowercase_c_test.py
/home/travis/build/coala/corobo/tests/searchdocs_test.py
/home/travis/build/coala/corobo/tests/git_stats_test.py
/home/travis/build/coala/corobo/tests/lmgtfy_test.py
/home/travis/build/coala/corobo/tests/the_rules_test.py
/home/travis/build/coala/corobo/tests/__init__.py
/home/travis/build/coala/corobo/tests/coatils_test.py
/home/travis/build/coala/corobo/tests/explain_test.py
/home/travis/build/coala/corobo/tests/ship_it_test.py
/home/travis/build/coala/corobo/tests/spam_test.py
/home/travis/build/coala/corobo/tests/ban_test.py
/home/travis/build/coala/corobo/tests/ghetto_test.py
/home/travis/build/coala/corobo/tests/labhub_test.py
/home/travis/build/coala/corobo/tests/corobo_test_case.py
/home/travis/build/coala/corobo/tests/pitchfork_test.py
/home/travis/build/coala/corobo/tests/isolated_testcase.py
[DEBUG][20:36:55] starting parse of '/home/travis/virtualenv/python3.6.3/bin/python -m pip show autoflake'
[DEBUG][20:36:55] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python'] redirects={})
[DEBUG][20:36:55] returning CommandNode(command=['-m'] redirects={})
[DEBUG][20:36:55] returning CommandNode(command=['pip'] redirects={})
[DEBUG][20:36:55] returning CommandNode(command=['show'] redirects={})
[DEBUG][20:36:55] returning CommandNode(command=['autoflake'] redirects={})
[DEBUG][20:36:55] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autoflake'] redirects={})
[DEBUG][20:36:55] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autoflake'] redirects={})
[DEBUG][20:36:55] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autoflake'] redirects={})
[DEBUG][20:36:55] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autoflake'] redirects={})
[DEBUG][20:36:55] started: CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autoflake'] redirects={}), None, False
[DEBUG][20:36:55] Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autoflake') created
[DEBUG][20:36:55] About to call Popen: ['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autoflake'], {'stdout': -1, 'stderr': -1, 'stdin': None}
[DEBUG][20:36:55] Popen: Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autoflake'), {'stdout': -1, 'stderr': -1, 'stdin': None} -> {'_waitpid_lock': <unlocked _thread.lock object at 0x7fca644132b0>, '_input': None, '_communication_started': False, 'args': ['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autoflake'], 'stdin': None, 'stdout': <_io.BufferedReader name=18>, 'stderr': <_io.BufferedReader name=21>, 'pid': 5203, 'returncode': None, 'universal_newlines': False, 'encoding': None, 'errors': None, '_closed_child_pipe_fds': True, '_child_created': True}
[DEBUG][20:36:55] Created thread Thread-3 as reader for Capture-1
[DEBUG][20:36:55] Capture-1: reader thread about to read line
[DEBUG][20:36:55] Capture-1: reader thread kicked off, waiting start
[DEBUG][20:36:55] Capture-1: reader thread now started
[DEBUG][20:36:55] Created thread Thread-4 as reader for Capture-2
[DEBUG][20:36:55] Capture-2: reader thread about to read line
[DEBUG][20:36:55] Capture-2: reader thread kicked off, waiting start
[DEBUG][20:36:55] Capture-2: reader thread now started
[DEBUG][20:36:55] about to wait for process
[DEBUG][20:36:55] queued chunk of length 16 to <queue.Queue object at 0x7fca6441d6d8>: b'Name: autoflake\n'
[DEBUG][20:36:55] queued chunk of length 15 to <queue.Queue object at 0x7fca6441d6d8>: b'Version: 0.6.6\n'
[DEBUG][20:36:55] queued chunk of length 54 to <queue.Queue object at 0x7fca6441d6d8>: b'Summary: Removes unused import'
[DEBUG][20:36:55] queued chunk of length 46 to <queue.Queue object at 0x7fca6441d6d8>: b'Home-page: https://github.com/'
[DEBUG][20:36:55] queued chunk of length 21 to <queue.Queue object at 0x7fca6441d6d8>: b'Author: Steven Myint\n'
[DEBUG][20:36:55] queued chunk of length 22 to <queue.Queue object at 0x7fca6441d6d8>: b'Author-email: UNKNOWN\n'
[DEBUG][20:36:55] queued chunk of length 23 to <queue.Queue object at 0x7fca6441d6d8>: b'License: Expat License\n'
[DEBUG][20:36:55] queued chunk of length 74 to <queue.Queue object at 0x7fca6441d6d8>: b'Location: /home/travis/virtual'
[DEBUG][20:36:55] queued chunk of length 19 to <queue.Queue object at 0x7fca6441d6d8>: b'Requires: pyflakes\n'
[DEBUG][20:36:55] Capture-1: finished reading stream <_io.BufferedReader name=18>
[DEBUG][20:36:55] Capture-2: finished reading stream <_io.BufferedReader name=21>
[DEBUG][20:36:55] returning Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autoflake') (Popen(returncode=0 stdin=None stdout=<_io.BufferedReader name=18> stderr=<_io.BufferedReader name=21>))
[DEBUG][20:36:55] pipeline closing
[DEBUG][20:36:55] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
|    | [NORMAL] PyUnusedCodeBear:
|    | This file contains unused source code.
|----|    | /home/travis/build/coala/corobo/tests/answer_test.py
|    |++++| /home/travis/build/coala/corobo/tests/answer_test.py
|   1|    |-import os
|   2|   1| import vcr
|   3|   2| import requests_mock
|   4|   3| 
[INFO][20:36:55] Applied 'ShowPatchAction' on 'tests/answer_test.py' from 'PyUnusedCodeBear'.
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
[DEBUG][20:36:55] Running bear PyUnusedCodeBear...
Executing section all.autopep8...
[DEBUG][20:36:56] Files that will be checked:
/home/travis/build/coala/corobo/config.py
/home/travis/build/coala/corobo/plugins/labhub.py
/home/travis/build/coala/corobo/plugins/ship_it.py
/home/travis/build/coala/corobo/plugins/the_rules.py
/home/travis/build/coala/corobo/plugins/ghetto.py
/home/travis/build/coala/corobo/plugins/constants.py
/home/travis/build/coala/corobo/plugins/lmgtfy.py
/home/travis/build/coala/corobo/plugins/searchdocs.py
/home/travis/build/coala/corobo/plugins/git_stats.py
/home/travis/build/coala/corobo/plugins/__init__.py
/home/travis/build/coala/corobo/plugins/spam.py
/home/travis/build/coala/corobo/plugins/coala_lowercase_c.py
/home/travis/build/coala/corobo/plugins/answer.py
/home/travis/build/coala/corobo/plugins/pitchfork.py
/home/travis/build/coala/corobo/plugins/ban.py
/home/travis/build/coala/corobo/plugins/explain.py
/home/travis/build/coala/corobo/plugins/nevermind.py
/home/travis/build/coala/corobo/plugins/deprecate_bot_prefixes.py
/home/travis/build/coala/corobo/plugins/wolfram_alpha.py
/home/travis/build/coala/corobo/plugins/coatils.py
/home/travis/build/coala/corobo/answers/__init__.py
/home/travis/build/coala/corobo/answers/service.py
/home/travis/build/coala/corobo/answers/final.py
/home/travis/build/coala/corobo/answers/extraction.py
/home/travis/build/coala/corobo/answers/utils.py
/home/travis/build/coala/corobo/tests/nevermind_test.py
/home/travis/build/coala/corobo/tests/deprecate_bot_prefixes_test.py
/home/travis/build/coala/corobo/tests/answer_test.py
/home/travis/build/coala/corobo/tests/labhub_test_case.py
/home/travis/build/coala/corobo/tests/wolfram_alpha_test.py
/home/travis/build/coala/corobo/tests/coala_lowercase_c_test.py
/home/travis/build/coala/corobo/tests/searchdocs_test.py
/home/travis/build/coala/corobo/tests/git_stats_test.py
/home/travis/build/coala/corobo/tests/lmgtfy_test.py
/home/travis/build/coala/corobo/tests/the_rules_test.py
/home/travis/build/coala/corobo/tests/__init__.py
/home/travis/build/coala/corobo/tests/coatils_test.py
/home/travis/build/coala/corobo/tests/explain_test.py
/home/travis/build/coala/corobo/tests/ship_it_test.py
/home/travis/build/coala/corobo/tests/spam_test.py
/home/travis/build/coala/corobo/tests/ban_test.py
/home/travis/build/coala/corobo/tests/ghetto_test.py
/home/travis/build/coala/corobo/tests/labhub_test.py
/home/travis/build/coala/corobo/tests/corobo_test_case.py
/home/travis/build/coala/corobo/tests/pitchfork_test.py
/home/travis/build/coala/corobo/tests/isolated_testcase.py
[DEBUG][20:36:56] starting parse of '/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8'
[DEBUG][20:36:56] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python'] redirects={})
[DEBUG][20:36:56] returning CommandNode(command=['-m'] redirects={})
[DEBUG][20:36:56] returning CommandNode(command=['pip'] redirects={})
[DEBUG][20:36:56] returning CommandNode(command=['show'] redirects={})
[DEBUG][20:36:56] returning CommandNode(command=['autopep8'] redirects={})
[DEBUG][20:36:56] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][20:36:56] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][20:36:56] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][20:36:56] returning CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={})
[DEBUG][20:36:56] started: CommandNode(command=['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'] redirects={}), None, False
[DEBUG][20:36:56] Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8') created
[DEBUG][20:36:56] About to call Popen: ['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'], {'stdout': -1, 'stderr': -1, 'stdin': None}
[DEBUG][20:36:56] Popen: Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8'), {'stdout': -1, 'stderr': -1, 'stdin': None} -> {'_waitpid_lock': <unlocked _thread.lock object at 0x7fca64413530>, '_input': None, '_communication_started': False, 'args': ['/home/travis/virtualenv/python3.6.3/bin/python', '-m', 'pip', 'show', 'autopep8'], 'stdin': None, 'stdout': <_io.BufferedReader name=20>, 'stderr': <_io.BufferedReader name=23>, 'pid': 5247, 'returncode': None, 'universal_newlines': False, 'encoding': None, 'errors': None, '_closed_child_pipe_fds': True, '_child_created': True}
[DEBUG][20:36:56] Created thread Thread-6 as reader for Capture-3
[DEBUG][20:36:56] Capture-3: reader thread about to read line
[DEBUG][20:36:56] Capture-3: reader thread kicked off, waiting start
[DEBUG][20:36:56] Capture-3: reader thread now started
[DEBUG][20:36:56] Created thread Thread-7 as reader for Capture-4
[DEBUG][20:36:56] Capture-4: reader thread about to read line
[DEBUG][20:36:56] Capture-4: reader thread kicked off, waiting start
[DEBUG][20:36:56] Capture-4: reader thread now started
[DEBUG][20:36:56] about to wait for process
[DEBUG][20:36:56] queued chunk of length 15 to <queue.Queue object at 0x7fca6440e0f0>: b'Name: autopep8\n'
[DEBUG][20:36:56] queued chunk of length 15 to <queue.Queue object at 0x7fca6440e0f0>: b'Version: 1.3.5\n'
[DEBUG][20:36:56] queued chunk of length 91 to <queue.Queue object at 0x7fca6440e0f0>: b'Summary: A tool that automatic'
[DEBUG][20:36:56] queued chunk of length 46 to <queue.Queue object at 0x7fca6440e0f0>: b'Home-page: https://github.com/'
[DEBUG][20:36:56] queued chunk of length 22 to <queue.Queue object at 0x7fca6440e0f0>: b'Author: Hideo Hattori\n'
[DEBUG][20:36:56] queued chunk of length 34 to <queue.Queue object at 0x7fca6440e0f0>: b'Author-email: hhatto.jp@gmail.'
[DEBUG][20:36:56] queued chunk of length 23 to <queue.Queue object at 0x7fca6440e0f0>: b'License: Expat License\n'
[DEBUG][20:36:56] queued chunk of length 74 to <queue.Queue object at 0x7fca6440e0f0>: b'Location: /home/travis/virtual'
[DEBUG][20:36:56] queued chunk of length 22 to <queue.Queue object at 0x7fca6440e0f0>: b'Requires: pycodestyle\n'
[DEBUG][20:36:56] Capture-3: finished reading stream <_io.BufferedReader name=20>
[DEBUG][20:36:56] Capture-4: finished reading stream <_io.BufferedReader name=23>
[DEBUG][20:36:56] returning Command('/home/travis/virtualenv/python3.6.3/bin/python -m pip show autopep8') (Popen(returncode=0 stdin=None stdout=<_io.BufferedReader name=20> stderr=<_io.BufferedReader name=23>))
[DEBUG][20:36:56] pipeline closing
[DEBUG][20:36:56] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
[DEBUG][20:36:56] Running bear PEP8Bear...
[DEBUG][20:36:56] Running bear PEP8Bear...
[DEBUG][20:36:56] Running bear PycodestyleBear...
[DEBUG][20:36:56] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/deprecate_bot_prefixes.py'
[DEBUG][20:36:56] Running bear PycodestyleBear...
[DEBUG][20:36:56] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/spam.py'
[DEBUG][20:36:56] Running bear PEP8Bear...
[DEBUG][20:36:56] Running bear PycodestyleBear...
[DEBUG][20:36:56] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/nevermind.py'
[DEBUG][20:36:56] Running bear PEP8Bear...
[DEBUG][20:36:56] Running bear PycodestyleBear...
[DEBUG][20:36:56] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/constants.py'
[DEBUG][20:36:56] Running bear PEP8Bear...
[DEBUG][20:36:56] Running bear PycodestyleBear...
[DEBUG][20:36:56] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/pitchfork_test.py'
[DEBUG][20:36:56] Running bear PEP8Bear...
[DEBUG][20:36:57] Running bear PycodestyleBear...
[DEBUG][20:36:57] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/answers/extraction.py'
[DEBUG][20:36:57] Running bear PEP8Bear...
[DEBUG][20:36:57] Running bear PycodestyleBear...
[DEBUG][20:36:57] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/ghetto.py'
[DEBUG][20:36:57] Running bear PEP8Bear...
[DEBUG][20:36:57] Running bear PycodestyleBear...
[DEBUG][20:36:57] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/git_stats.py'
[DEBUG][20:36:57] Running bear PEP8Bear...
[DEBUG][20:36:57] Running bear PycodestyleBear...
[DEBUG][20:36:57] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/nevermind_test.py'
[DEBUG][20:36:57] Running bear PEP8Bear...
[DEBUG][20:36:57] Running bear PEP8Bear...
[DEBUG][20:36:57] Running bear PycodestyleBear...
[DEBUG][20:36:57] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/wolfram_alpha_test.py'
[DEBUG][20:36:57] Running bear PycodestyleBear...
[DEBUG][20:36:57] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/explain.py'
[DEBUG][20:36:57] Running bear PEP8Bear...
[DEBUG][20:36:57] Running bear PEP8Bear...
[DEBUG][20:36:57] Running bear PycodestyleBear...
[DEBUG][20:36:57] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/searchdocs_test.py'
[DEBUG][20:36:57] Running bear PycodestyleBear...
[DEBUG][20:36:57] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/config.py'
[DEBUG][20:36:57] Running bear PEP8Bear...
[DEBUG][20:36:57] Running bear PEP8Bear...
[DEBUG][20:36:57] Running bear PycodestyleBear...
[DEBUG][20:36:57] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/ban.py'
[DEBUG][20:36:57] Running bear PycodestyleBear...
[DEBUG][20:36:57] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/coatils.py'
[DEBUG][20:36:58] Running bear PEP8Bear...
[DEBUG][20:36:58] Running bear PEP8Bear...
[DEBUG][20:36:58] Running bear PycodestyleBear...
[DEBUG][20:36:58] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/lmgtfy_test.py'
[DEBUG][20:36:58] Running bear PEP8Bear...
[DEBUG][20:36:58] Running bear PycodestyleBear...
[DEBUG][20:36:58] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/the_rules.py'
[DEBUG][20:36:58] Running bear PycodestyleBear...
[DEBUG][20:36:58] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/labhub_test.py'
[DEBUG][20:36:58] Running bear PEP8Bear...
[DEBUG][20:36:58] Running bear PycodestyleBear...
[DEBUG][20:36:58] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/answers/service.py'
[DEBUG][20:36:58] Running bear PEP8Bear...
[DEBUG][20:36:58] Running bear PEP8Bear...
[DEBUG][20:36:58] Running bear PycodestyleBear...
[DEBUG][20:36:58] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/ship_it.py'
[DEBUG][20:36:58] Running bear PycodestyleBear...
[DEBUG][20:36:58] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/answer_test.py'
[DEBUG][20:36:58] Running bear PEP8Bear...
[DEBUG][20:36:58] Running bear PEP8Bear...
[DEBUG][20:36:58] Running bear PycodestyleBear...
[DEBUG][20:36:58] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/coala_lowercase_c_test.py'
[DEBUG][20:36:58] Running bear PEP8Bear...
[DEBUG][20:36:59] Running bear PycodestyleBear...
[DEBUG][20:36:59] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/answers/final.py'
[DEBUG][20:36:59] Running bear PycodestyleBear...
[DEBUG][20:36:59] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/labhub.py'
[DEBUG][20:36:59] Running bear PEP8Bear...
[DEBUG][20:36:59] Running bear PycodestyleBear...
[DEBUG][20:36:59] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/answer.py'
[DEBUG][20:36:59] Running bear PEP8Bear...
[DEBUG][20:36:59] Running bear PycodestyleBear...
[DEBUG][20:36:59] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/deprecate_bot_prefixes_test.py'
[DEBUG][20:36:59] Running bear PEP8Bear...
[DEBUG][20:36:59] Running bear PycodestyleBear...
[DEBUG][20:36:59] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/ban_test.py'
[DEBUG][20:36:59] Running bear PEP8Bear...
[DEBUG][20:36:59] Running bear PycodestyleBear...
[DEBUG][20:36:59] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/__init__.py'
[DEBUG][20:36:59] Running bear PEP8Bear...
[DEBUG][20:36:59] Running bear PEP8Bear...
[DEBUG][20:36:59] Running bear PycodestyleBear...
[DEBUG][20:36:59] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/lmgtfy.py'
[DEBUG][20:36:59] Running bear PycodestyleBear...
[DEBUG][20:36:59] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/coala_lowercase_c.py'
[DEBUG][20:36:59] Running bear PEP8Bear...
[DEBUG][20:36:59] Running bear PycodestyleBear...
[DEBUG][20:36:59] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/explain_test.py'
[DEBUG][20:36:59] Running bear PEP8Bear...
[DEBUG][20:36:59] Running bear PycodestyleBear...
[DEBUG][20:36:59] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/wolfram_alpha.py'
[DEBUG][20:36:59] Running bear PEP8Bear...
[DEBUG][20:36:59] Running bear PycodestyleBear...
[DEBUG][20:36:59] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/ghetto_test.py'
[DEBUG][20:37:00] Running bear PEP8Bear...
[DEBUG][20:37:00] Running bear PycodestyleBear...
[DEBUG][20:37:00] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/labhub_test_case.py'
[DEBUG][20:37:00] Running bear PEP8Bear...
[DEBUG][20:37:00] Running bear PycodestyleBear...
[DEBUG][20:37:00] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/answers/utils.py'
[DEBUG][20:37:00] Running bear PEP8Bear...
[DEBUG][20:37:00] Running bear PycodestyleBear...
[DEBUG][20:37:00] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/pitchfork.py'
[DEBUG][20:37:00] Running bear PEP8Bear...
[DEBUG][20:37:00] Running bear PEP8Bear...
[DEBUG][20:37:00] Running bear PycodestyleBear...
[DEBUG][20:37:00] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/coatils_test.py'
[DEBUG][20:37:00] Running bear PycodestyleBear...
[DEBUG][20:37:00] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/ship_it_test.py'
[DEBUG][20:37:00] Running bear PEP8Bear...
[DEBUG][20:37:00] Running bear PycodestyleBear...
[DEBUG][20:37:00] Running bear PEP8Bear...
[DEBUG][20:37:00] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/searchdocs.py'
[DEBUG][20:37:00] Running bear PycodestyleBear...
[DEBUG][20:37:00] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/plugins/__init__.py'
[DEBUG][20:37:00] Running bear PEP8Bear...
[DEBUG][20:37:00] Running bear PEP8Bear...
[DEBUG][20:37:00] Running bear PycodestyleBear...
[DEBUG][20:37:00] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/answers/__init__.py'
[DEBUG][20:37:00] Running bear PycodestyleBear...
[DEBUG][20:37:00] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/spam_test.py'
[DEBUG][20:37:00] Running bear PEP8Bear...
[DEBUG][20:37:00] Running bear PycodestyleBear...
[DEBUG][20:37:00] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/corobo_test_case.py'
[DEBUG][20:37:00] Running bear PEP8Bear...
[DEBUG][20:37:00] Running bear PycodestyleBear...
[DEBUG][20:37:00] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/isolated_testcase.py'
[DEBUG][20:37:00] Running bear PEP8Bear...
[DEBUG][20:37:01] Running bear PEP8Bear...
[DEBUG][20:37:01] Running bear PycodestyleBear...
[DEBUG][20:37:01] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/the_rules_test.py'
[DEBUG][20:37:01] Running bear PycodestyleBear...
[DEBUG][20:37:01] Running 'pycodestyle --format=%(row)d %(col)d %(code)s %(text)s --max-line-length=80 /home/travis/build/coala/corobo/tests/git_stats_test.py'
Executing section all.linelength...
[DEBUG][20:37:01] Files that will be checked:
/home/travis/build/coala/corobo/config.py
/home/travis/build/coala/corobo/plugins/labhub.py
/home/travis/build/coala/corobo/plugins/ship_it.py
/home/travis/build/coala/corobo/plugins/the_rules.py
/home/travis/build/coala/corobo/plugins/ghetto.py
/home/travis/build/coala/corobo/plugins/constants.py
/home/travis/build/coala/corobo/plugins/lmgtfy.py
/home/travis/build/coala/corobo/plugins/searchdocs.py
/home/travis/build/coala/corobo/plugins/git_stats.py
/home/travis/build/coala/corobo/plugins/__init__.py
/home/travis/build/coala/corobo/plugins/spam.py
/home/travis/build/coala/corobo/plugins/coala_lowercase_c.py
/home/travis/build/coala/corobo/plugins/answer.py
/home/travis/build/coala/corobo/plugins/pitchfork.py
/home/travis/build/coala/corobo/plugins/ban.py
/home/travis/build/coala/corobo/plugins/explain.py
/home/travis/build/coala/corobo/plugins/nevermind.py
/home/travis/build/coala/corobo/plugins/deprecate_bot_prefixes.py
/home/travis/build/coala/corobo/plugins/wolfram_alpha.py
/home/travis/build/coala/corobo/plugins/coatils.py
/home/travis/build/coala/corobo/answers/__init__.py
/home/travis/build/coala/corobo/answers/service.py
/home/travis/build/coala/corobo/answers/final.py
/home/travis/build/coala/corobo/answers/extraction.py
/home/travis/build/coala/corobo/answers/utils.py
/home/travis/build/coala/corobo/tests/nevermind_test.py
/home/travis/build/coala/corobo/tests/deprecate_bot_prefixes_test.py
/home/travis/build/coala/corobo/tests/answer_test.py
/home/travis/build/coala/corobo/tests/labhub_test_case.py
/home/travis/build/coala/corobo/tests/wolfram_alpha_test.py
/home/travis/build/coala/corobo/tests/coala_lowercase_c_test.py
/home/travis/build/coala/corobo/tests/searchdocs_test.py
/home/travis/build/coala/corobo/tests/git_stats_test.py
/home/travis/build/coala/corobo/tests/lmgtfy_test.py
/home/travis/build/coala/corobo/tests/the_rules_test.py
/home/travis/build/coala/corobo/tests/__init__.py
/home/travis/build/coala/corobo/tests/coatils_test.py
/home/travis/build/coala/corobo/tests/explain_test.py
/home/travis/build/coala/corobo/tests/ship_it_test.py
/home/travis/build/coala/corobo/tests/spam_test.py
/home/travis/build/coala/corobo/tests/ban_test.py
/home/travis/build/coala/corobo/tests/ghetto_test.py
/home/travis/build/coala/corobo/tests/labhub_test.py
/home/travis/build/coala/corobo/tests/corobo_test_case.py
/home/travis/build/coala/corobo/tests/pitchfork_test.py
/home/travis/build/coala/corobo/tests/isolated_testcase.py
[DEBUG][20:37:01] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
[DEBUG][20:37:01] Running bear LineLengthBear...
Executing section all.links...
[DEBUG][20:37:01] Files that will be checked:
/home/travis/build/coala/corobo/config.py
/home/travis/build/coala/corobo/plugins/labhub.py
/home/travis/build/coala/corobo/plugins/ship_it.py
/home/travis/build/coala/corobo/plugins/the_rules.py
/home/travis/build/coala/corobo/plugins/ghetto.py
/home/travis/build/coala/corobo/plugins/constants.py
/home/travis/build/coala/corobo/plugins/lmgtfy.py
/home/travis/build/coala/corobo/plugins/searchdocs.py
/home/travis/build/coala/corobo/plugins/git_stats.py
/home/travis/build/coala/corobo/plugins/__init__.py
/home/travis/build/coala/corobo/plugins/spam.py
/home/travis/build/coala/corobo/plugins/coala_lowercase_c.py
/home/travis/build/coala/corobo/plugins/answer.py
/home/travis/build/coala/corobo/plugins/pitchfork.py
/home/travis/build/coala/corobo/plugins/ban.py
/home/travis/build/coala/corobo/plugins/explain.py
/home/travis/build/coala/corobo/plugins/nevermind.py
/home/travis/build/coala/corobo/plugins/deprecate_bot_prefixes.py
/home/travis/build/coala/corobo/plugins/wolfram_alpha.py
/home/travis/build/coala/corobo/plugins/coatils.py
/home/travis/build/coala/corobo/answers/__init__.py
/home/travis/build/coala/corobo/answers/service.py
/home/travis/build/coala/corobo/answers/final.py
/home/travis/build/coala/corobo/answers/extraction.py
/home/travis/build/coala/corobo/answers/utils.py
/home/travis/build/coala/corobo/tests/nevermind_test.py
/home/travis/build/coala/corobo/tests/deprecate_bot_prefixes_test.py
/home/travis/build/coala/corobo/tests/answer_test.py
/home/travis/build/coala/corobo/tests/labhub_test_case.py
/home/travis/build/coala/corobo/tests/wolfram_alpha_test.py
/home/travis/build/coala/corobo/tests/coala_lowercase_c_test.py
/home/travis/build/coala/corobo/tests/searchdocs_test.py
/home/travis/build/coala/corobo/tests/git_stats_test.py
/home/travis/build/coala/corobo/tests/lmgtfy_test.py
/home/travis/build/coala/corobo/tests/the_rules_test.py
/home/travis/build/coala/corobo/tests/__init__.py
/home/travis/build/coala/corobo/tests/coatils_test.py
/home/travis/build/coala/corobo/tests/explain_test.py
/home/travis/build/coala/corobo/tests/ship_it_test.py
/home/travis/build/coala/corobo/tests/spam_test.py
/home/travis/build/coala/corobo/tests/ban_test.py
/home/travis/build/coala/corobo/tests/ghetto_test.py
/home/travis/build/coala/corobo/tests/labhub_test.py
/home/travis/build/coala/corobo/tests/corobo_test_case.py
/home/travis/build/coala/corobo/tests/pitchfork_test.py
/home/travis/build/coala/corobo/tests/isolated_testcase.py
[DEBUG][20:37:01] Starting new HTTP connection (1): 216.58.218.174:80
[DEBUG][20:37:01] http://216.58.218.174:80 "HEAD / HTTP/1.1" 301 0
[DEBUG][20:37:01] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
[DEBUG][20:37:01] Running bear InvalidLinkBear...
[DEBUG][20:37:01] Running bear InvalidLinkBear...
[DEBUG][20:37:01] Running bear InvalidLinkBear...
[DEBUG][20:37:01] Running bear InvalidLinkBear...
[DEBUG][20:37:01] Running bear InvalidLinkBear...
[DEBUG][20:37:01] Running bear InvalidLinkBear...
[DEBUG][20:37:01] Running bear InvalidLinkBear...
[DEBUG][20:37:01] Running bear InvalidLinkBear...
[DEBUG][20:37:01] Running bear InvalidLinkBear...
[DEBUG][20:37:01] Starting new HTTP connection (1): www.gizoogle.net:80
[DEBUG][20:37:01] Running bear InvalidLinkBear...
[DEBUG][20:37:01] Running bear InvalidLinkBear...
[DEBUG][20:37:01] Running bear InvalidLinkBear...
[DEBUG][20:37:01] Running bear InvalidLinkBear...
[DEBUG][20:37:01] Running bear InvalidLinkBear...
[DEBUG][20:37:01] Starting new HTTPS connection (1): api.gitmate.io:443
[DEBUG][20:37:02] http://www.gizoogle.net:80 "HEAD /textilizer.php HTTP/1.1" 200 0
[DEBUG][20:37:02] Running bear InvalidLinkBear...
[DEBUG][20:37:02] Starting new HTTPS connection (1): api.gitter.im:443
[DEBUG][20:37:02] https://api.gitmate.io:443 "HEAD /coala_online/ HTTP/1.1" 405 0
[DEBUG][20:37:02] https://api.gitter.im:443 "HEAD /v1/rooms HTTP/1.1" 401 0
[DEBUG][20:37:02] Starting new HTTPS connection (1): api.gitter.im:443
[DEBUG][20:37:02] Running bear InvalidLinkBear...
[DEBUG][20:37:02] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG][20:37:02] https://api.gitter.im:443 "HEAD /v1/rooms/ HTTP/1.1" 401 0
[DEBUG][20:37:02] Starting new HTTPS connection (1): api.gitter.im:443
[DEBUG][20:37:02] https://gitlab.com:443 "HEAD /a/b/merge_requests/2 HTTP/1.1" 302 0
[DEBUG][20:37:02] https://api.gitter.im:443 "HEAD /v1/rooms HTTP/1.1" 401 0
[DEBUG][20:37:02] Starting new HTTPS connection (1): api.gitter.im:443
[DEBUG][20:37:02] Starting new HTTPS connection (1): www.lmgtfy.com:443
[DEBUG][20:37:02] Running bear InvalidLinkBear...
[DEBUG][20:37:02] https://api.gitter.im:443 "HEAD /v1/rooms/ HTTP/1.1" 401 0
[DEBUG][20:37:02] Running bear InvalidLinkBear...
[DEBUG][20:37:02] Running bear InvalidLinkBear...
[DEBUG][20:37:02] Starting new HTTP connection (1): i.imgur.com:80
[DEBUG][20:37:02] Running bear InvalidLinkBear...
[DEBUG][20:37:03] https://www.lmgtfy.com:443 "HEAD /?q=py HTTP/1.1" 200 0
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] Starting new HTTP connection (1): www.gizoogle.net:80
[DEBUG][20:37:03] http://i.imgur.com:80 "HEAD /DPVM1.png HTTP/1.1" 200 0
[DEBUG][20:37:03] Starting new HTTP connection (1): d2f8dzk2mhcqts.cloudfront.net:80
[DEBUG][20:37:03] http://d2f8dzk2mhcqts.cloudfront.net:80 "HEAD /0772_PEW_Roundup/09_Squirrel.jpg HTTP/1.1" 200 0
[DEBUG][20:37:03] Starting new HTTP connection (1): www.cybersalt.org:80
[DEBUG][20:37:03] http://www.gizoogle.net:80 "HEAD /textilizer.php HTTP/1.1" 200 0
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] Starting new HTTPS connection (1): gitter.im:443
[DEBUG][20:37:03] http://www.cybersalt.org:80 "HEAD /images/funnypictures/s/supersquirrel.jpg HTTP/1.1" 200 0
[DEBUG][20:37:03] Starting new HTTP connection (1): www.zmescience.com:80
[DEBUG][20:37:03] http://www.zmescience.com:80 "HEAD /wp-content/uploads/2010/09/squirrel.jpg HTTP/1.1" 301 0
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] Running bear InvalidLinkBear...
[DEBUG][20:37:03] https://gitter.im:443 "HEAD /coala/coala/offtopic HTTP/1.1" 200 0
Executing section jinja2...
[DEBUG][20:37:03] Files that will be checked:
/home/travis/build/coala/corobo/plugins/templates/the_rules.jinja2.md
/home/travis/build/coala/corobo/plugins/templates/spam_alert.jinja2.md
/home/travis/build/coala/corobo/plugins/templates/lmgtfy.jinja2.md
/home/travis/build/coala/corobo/plugins/templates/labhub/hello-world.jinja2.md
/home/travis/build/coala/corobo/plugins/templates/labhub/errors/not-eligible-invite.jinja2.md
/home/travis/build/coala/corobo/plugins/templates/labhub/errors/not-eligible.jinja2.md
/home/travis/build/coala/corobo/plugins/templates/labhub/errors/no-repository.jinja2.md
/home/travis/build/coala/corobo/plugins/templates/labhub/errors/already-assigned.jinja2.md
/home/travis/build/coala/corobo/plugins/templates/labhub/promotions/developers.jinja2.md
/home/travis/build/coala/corobo/plugins/templates/labhub/promotions/newcomers.jinja2.md
/home/travis/build/coala/corobo/plugins/templates/labhub/promotions/maintainers.jinja2.md
/home/travis/build/coala/corobo/plugins/templates/explain/cep.jinja2.md
/home/travis/build/coala/corobo/plugins/templates/explain/gitlab.jinja2.md
/home/travis/build/coala/corobo/plugins/templates/explain/rebase.jinja2.md
/home/travis/build/coala/corobo/plugins/templates/explain/commit.jinja2.md
/home/travis/build/coala/corobo/plugins/templates/explain/closes.jinja2.md
/home/travis/build/coala/corobo/plugins/templates/explain/review.jinja2.md
/home/travis/build/coala/corobo/plugins/templates/explain/fixes.jinja2.md
/home/travis/build/coala/corobo/plugins/templates/explain/promotion.jinja2.md
/home/travis/build/coala/corobo/plugins/templates/explain/google.jinja2.md
[DEBUG][20:37:03] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
[DEBUG][20:37:03] Running bear Jinja2Bear...
[DEBUG][20:37:03] Running bear Jinja2Bear...
[DEBUG][20:37:03] Running bear Jinja2Bear...
[DEBUG][20:37:03] Running bear Jinja2Bear...
[DEBUG][20:37:03] Running bear Jinja2Bear...
[DEBUG][20:37:03] Running bear Jinja2Bear...
[DEBUG][20:37:03] Running bear Jinja2Bear...
[DEBUG][20:37:03] Running bear Jinja2Bear...
[DEBUG][20:37:03] Running bear Jinja2Bear...
[DEBUG][20:37:03] Running bear Jinja2Bear...
[DEBUG][20:37:03] Running bear Jinja2Bear...
[DEBUG][20:37:03] Running bear Jinja2Bear...
[DEBUG][20:37:03] Running bear Jinja2Bear...
[DEBUG][20:37:03] Running bear Jinja2Bear...
[DEBUG][20:37:03] Running bear Jinja2Bear...
[DEBUG][20:37:03] Running bear Jinja2Bear...
[DEBUG][20:37:03] Running bear Jinja2Bear...
[DEBUG][20:37:03] Running bear Jinja2Bear...
[DEBUG][20:37:03] Running bear Jinja2Bear...
[DEBUG][20:37:03] Running bear Jinja2Bear...
Executing section commit...
[DEBUG][20:37:04] Files that will be checked:
[DEBUG][20:37:04] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
Executing section cli...
[DEBUG][20:37:04] Files that will be checked:
[DEBUG][20:37:04] coala is run only on changed files, bears' log messages from previous runs may not appear. You may use the `--flush-cache` flag to see them.
python -m pytest
============================= test session starts ==============================
platform linux -- Python 3.6.3, pytest-3.6.4, py-1.5.2, pluggy-0.6.0
rootdir: /home/travis/build/coala/corobo, inifile: setup.cfg
plugins: requests-mock-1.5.2, xdist-1.22.5, travis-fold-1.3.0, timeout-1.3.1, reqs-0.0.7, reorder-0.1.1, profiling-1.3.0, mock-1.10.0, instafail-0.3.0, forked-0.2, error-for-skips-1.0.0, env-0.6.2, cov-2.5.1
collected 43 items                                                             

tests/answer_test.py F

____________________________ TestAnswer.test_answer ____________________________

self = <tests.answer_test.TestAnswer testMethod=test_answer>

    @vcr.use_cassette('tests/cassettes/answer.yaml')
    def test_answer(self):
>       self.assertCommand('!answer something', 'Dunno')

tests/answer_test.py:13: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.answer_test.TestAnswer testMethod=test_answer>
command = '!answer something', response = 'Dunno', timeout = 5

    def assertCommand(self, command, response, timeout=5):
        """Assert the given command returns the given response"""
        self.bot.push_message(command)
        msg = self.bot.pop_message(timeout)
>       assert response in msg, f'{response} not in {msg}.'
E       AssertionError: Dunno not in Computer says nooo. See logs for details:
E       'ANSWER_END'.

../../../virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/test.py:457: AssertionError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue
message received
waiting on queue
message received
----------------------------- Captured stderr call -----------------------------
ERROR:Error loading GitStats.
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/plugin_manager.py", line 358, in activate_non_started_plugins
    self.activate_plugin(name)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/plugin_manager.py", line 440, in activate_plugin
    depends_on = self._activate_plugin_dependencies(name, dep_track)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/plugin_manager.py", line 460, in _activate_plugin_dependencies
    raise PluginActivationException(f'Unknown plugin dependency {dep_name}.')
errbot.plugin_manager.PluginActivationException: Unknown plugin dependency LabHub.
2018-08-09 20:37:07,515 ERROR    errbot.plugin_manager     Error loading GitStats.
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/plugin_manager.py", line 358, in activate_non_started_plugins
    self.activate_plugin(name)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/plugin_manager.py", line 440, in activate_plugin
    depends_on = self._activate_plugin_dependencies(name, dep_track)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/plugin_manager.py", line 460, in _activate_plugin_dependencies
    raise PluginActivationException(f'Unknown plugin dependency {dep_name}.')
errbot.plugin_manager.PluginActivationException: Unknown plugin dependency LabHub.
ERROR:callback_message on deprecate_bot_prefixes crashed.
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core.py", line 111, in _dispatch_to_plugins
    getattr(plugin, method)(*args, **kwargs)
  File "plugins/deprecate_bot_prefixes.py", line 15, in callback_message
    for deprecated_prefix in self.bot_config.BOT_DEPRECATED_PREFIXES:
AttributeError: 'ShallowConfig' object has no attribute 'BOT_DEPRECATED_PREFIXES'
2018-08-09 20:37:07,522 ERROR    errbot.core               callback_message on deprecate_bot_prefixes crashed.
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core.py", line 111, in _dispatch_to_plugins
    getattr(plugin, method)(*args, **kwargs)
  File "plugins/deprecate_bot_prefixes.py", line 15, in callback_message
    for deprecated_prefix in self.bot_config.BOT_DEPRECATED_PREFIXES:
AttributeError: 'ShallowConfig' object has no attribute 'BOT_DEPRECATED_PREFIXES'
ERROR:callback_message on deprecate_bot_prefixes crashed.
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core.py", line 111, in _dispatch_to_plugins
    getattr(plugin, method)(*args, **kwargs)
  File "plugins/deprecate_bot_prefixes.py", line 15, in callback_message
    for deprecated_prefix in self.bot_config.BOT_DEPRECATED_PREFIXES:
AttributeError: 'ShallowConfig' object has no attribute 'BOT_DEPRECATED_PREFIXES'
2018-08-09 20:37:07,547 ERROR    errbot.core               callback_message on deprecate_bot_prefixes crashed.
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core.py", line 111, in _dispatch_to_plugins
    getattr(plugin, method)(*args, **kwargs)
  File "plugins/deprecate_bot_prefixes.py", line 15, in callback_message
    for deprecated_prefix in self.bot_config.BOT_DEPRECATED_PREFIXES:
AttributeError: 'ShallowConfig' object has no attribute 'BOT_DEPRECATED_PREFIXES'
ERROR:An error happened while processing a message ("!answer something"): Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core.py", line 450, in _execute_and_send
    for reply in replies:
  File "plugins/answer.py", line 29, in answer
    answers = requests.get(urljoin(os.environ['ANSWER_END'], 'answer'),
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/os.py", line 669, in __getitem__
    raise KeyError(key) from None
KeyError: 'ANSWER_END'
"
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core.py", line 450, in _execute_and_send
    for reply in replies:
  File "plugins/answer.py", line 29, in answer
    answers = requests.get(urljoin(os.environ['ANSWER_END'], 'answer'),
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/os.py", line 669, in __getitem__
    raise KeyError(key) from None
KeyError: 'ANSWER_END'
2018-08-09 20:37:07,550 ERROR    errbot.core               An error happened while processing a message ("!answer something"): Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core.py", line 450, in _execute_and_send
    for reply in replies:
  File "plugins/answer.py", line 29, in answer
    answers = requests.get(urljoin(os.environ['ANSWER_END'], 'answer'),
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/os.py", line 669, in __getitem__
    raise KeyError(key) from None
KeyError: 'ANSWER_END'
"
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core.py", line 450, in _execute_and_send
    for reply in replies:
  File "plugins/answer.py", line 29, in answer
    answers = requests.get(urljoin(os.environ['ANSWER_END'], 'answer'),
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/os.py", line 669, in __getitem__
    raise KeyError(key) from None
KeyError: 'ANSWER_END'

tests/answer_test.py F

_________________________ TestAnswer.test_invalid_json _________________________

self = <tests.answer_test.TestAnswer testMethod=test_invalid_json>

    def test_invalid_json(self):
        with requests_mock.Mocker() as m:
>           m.get('{}/answer?question=foo'.format(self.answer_end_point),
                  text='invalid')
E           AttributeError: 'TestAnswer' object has no attribute 'answer_end_point'

tests/answer_test.py:21: AttributeError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue
message received
----------------------------- Captured stderr call -----------------------------
ERROR:Error loading GitStats.
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/plugin_manager.py", line 358, in activate_non_started_plugins
    self.activate_plugin(name)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/plugin_manager.py", line 440, in activate_plugin
    depends_on = self._activate_plugin_dependencies(name, dep_track)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/plugin_manager.py", line 460, in _activate_plugin_dependencies
    raise PluginActivationException(f'Unknown plugin dependency {dep_name}.')
errbot.plugin_manager.PluginActivationException: Unknown plugin dependency LabHub.
2018-08-09 20:37:07,828 ERROR    errbot.plugin_manager     Error loading GitStats.
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/plugin_manager.py", line 358, in activate_non_started_plugins
    self.activate_plugin(name)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/plugin_manager.py", line 440, in activate_plugin
    depends_on = self._activate_plugin_dependencies(name, dep_track)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/plugin_manager.py", line 460, in _activate_plugin_dependencies
    raise PluginActivationException(f'Unknown plugin dependency {dep_name}.')
errbot.plugin_manager.PluginActivationException: Unknown plugin dependency LabHub.
ERROR:callback_message on deprecate_bot_prefixes crashed.
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core.py", line 111, in _dispatch_to_plugins
    getattr(plugin, method)(*args, **kwargs)
  File "plugins/deprecate_bot_prefixes.py", line 15, in callback_message
    for deprecated_prefix in self.bot_config.BOT_DEPRECATED_PREFIXES:
AttributeError: 'ShallowConfig' object has no attribute 'BOT_DEPRECATED_PREFIXES'
2018-08-09 20:37:07,832 ERROR    errbot.core               callback_message on deprecate_bot_prefixes crashed.
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core.py", line 111, in _dispatch_to_plugins
    getattr(plugin, method)(*args, **kwargs)
  File "plugins/deprecate_bot_prefixes.py", line 15, in callback_message
    for deprecated_prefix in self.bot_config.BOT_DEPRECATED_PREFIXES:
AttributeError: 'ShallowConfig' object has no attribute 'BOT_DEPRECATED_PREFIXES'

tests/answer_test.py F

_________________________ TestAnswer.test_invalid_repo _________________________

self = <tests.answer_test.TestAnswer testMethod=test_invalid_repo>

    def test_invalid_repo(self):
        with requests_mock.Mocker() as m:
>           m.get('{}/answer?question=foo'.format(self.answer_end_point),
                  text='[["Wrong answer\\n/wrong/link\\n"]]')
E           AttributeError: 'TestAnswer' object has no attribute 'answer_end_point'

tests/answer_test.py:29: AttributeError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue
message received
----------------------------- Captured stderr call -----------------------------
ERROR:Error loading GitStats.
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/plugin_manager.py", line 358, in activate_non_started_plugins
    self.activate_plugin(name)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/plugin_manager.py", line 440, in activate_plugin
    depends_on = self._activate_plugin_dependencies(name, dep_track)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/plugin_manager.py", line 460, in _activate_plugin_dependencies
    raise PluginActivationException(f'Unknown plugin dependency {dep_name}.')
errbot.plugin_manager.PluginActivationException: Unknown plugin dependency LabHub.
2018-08-09 20:37:07,987 ERROR    errbot.plugin_manager     Error loading GitStats.
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/plugin_manager.py", line 358, in activate_non_started_plugins
    self.activate_plugin(name)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/plugin_manager.py", line 440, in activate_plugin
    depends_on = self._activate_plugin_dependencies(name, dep_track)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/plugin_manager.py", line 460, in _activate_plugin_dependencies
    raise PluginActivationException(f'Unknown plugin dependency {dep_name}.')
errbot.plugin_manager.PluginActivationException: Unknown plugin dependency LabHub.
ERROR:callback_message on deprecate_bot_prefixes crashed.
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core.py", line 111, in _dispatch_to_plugins
    getattr(plugin, method)(*args, **kwargs)
  File "plugins/deprecate_bot_prefixes.py", line 15, in callback_message
    for deprecated_prefix in self.bot_config.BOT_DEPRECATED_PREFIXES:
AttributeError: 'ShallowConfig' object has no attribute 'BOT_DEPRECATED_PREFIXES'
2018-08-09 20:37:07,992 ERROR    errbot.core               callback_message on deprecate_bot_prefixes crashed.
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/core.py", line 111, in _dispatch_to_plugins
    getattr(plugin, method)(*args, **kwargs)
  File "plugins/deprecate_bot_prefixes.py", line 15, in callback_message
    for deprecated_prefix in self.bot_config.BOT_DEPRECATED_PREFIXES:
AttributeError: 'ShallowConfig' object has no attribute 'BOT_DEPRECATED_PREFIXES'

tests/ban_test.py ..                                                     [ 11%]
tests/coala_lowercase_c_test.py ..                                       [ 16%]
tests/coatils_test.py ...........                                        [ 41%]
tests/deprecate_bot_prefixes_test.py .                                   [ 44%]
tests/explain_test.py .                                                  [ 46%]
tests/ghetto_test.py .                                                   [ 48%]
tests/git_stats_test.py .                                                [ 51%]
tests/labhub_test.py ..........                                          [ 74%]
tests/lmgtfy_test.py .                                                   [ 76%]
tests/nevermind_test.py .                                                [ 79%]
tests/pitchfork_test.py .                                                [ 81%]
tests/searchdocs_test.py .                                               [ 83%]
tests/ship_it_test.py .                                                  [ 86%]
tests/spam_test.py ....                                                  [ 95%]
tests/the_rules_test.py .                                                [ 97%]
tests/wolfram_alpha_test.py .                                            [100%]
Profiling (from /home/travis/build/coala/corobo/prof/combined.prof):
Thu Aug  9 20:39:34 2018    /home/travis/build/coala/corobo/prof/combined.prof

         7772259 function calls (7219231 primitive calls) in 142.323 seconds

   Ordered by: cumulative time
   List reduced from 2191 to 20 due to restriction <20>

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
       43    0.000    0.000  142.310    3.310 runner.py:105(pytest_runtest_call)
       43    0.000    0.000  142.309    3.310 unittest.py:182(runtest)
       43    0.000    0.000  142.309    3.310 case.py:652(__call__)
       43    0.003    0.000  142.308    3.309 case.py:570(run)
        1    0.000    0.000  114.220  114.220 labhub_test.py:427(test_alive)
  311/175    1.853    0.006  106.924    0.611 mock.py:2120(create_autospec)
        1    0.000    0.000   88.139   88.139 labhub_test.py:438(<dictcomp>)
     7709    0.403    0.000   86.679    0.011 mock.py:1828(__init__)
    15418   19.919    0.001   53.677    0.003 mock.py:1834(_mock_set_magics)
    15316    0.049    0.000   41.431    0.003 mock.py:63(_get_signature_object)
    15264    1.300    0.000   41.374    0.003 inspect.py:3031(signature)
    15264    0.021    0.000   40.074    0.003 inspect.py:2779(from_callable)
29288/15264    5.671    0.000   40.053    0.003 inspect.py:2173(_signature_from_callable)
     7777    0.071    0.000   32.068    0.004 mock.py:376(__init__)
     7777    3.707    0.000   31.995    0.004 mock.py:442(_mock_add_spec)
     7628    0.052    0.000   31.387    0.004 mock.py:917(__init__)
     5143   31.080    0.006   31.080    0.006 {method 'acquire' of '_thread.lock' objects}
     1147    0.009    0.000   30.516    0.027 threading.py:263(wait)
      205    0.001    0.000   29.802    0.145 test.py:307(pop_message)
      260    0.004    0.000   29.801    0.115 queue.py:147(get)



travis_fold:start:py-5529.cov.0
----------- coverage: platform linux, python 3.6.3-final-0 -----------
Name                                Stmts   Miss Branch BrPart  Cover   Missing
-------------------------------------------------------------------------------
answers/__init__.py                     0      0      0      0   100%
plugins/__init__.py                     0      0      0      0   100%
plugins/coala_lowercase_c.py           12      0      4      0   100%
plugins/coatils.py                    115      0     67      0   100%
plugins/constants.py                    4      0      0      0   100%
plugins/deprecate_bot_prefixes.py       6      0      4      0   100%
plugins/explain.py                     20      0      6      0   100%
plugins/ghetto.py                      10      0      2      0   100%
plugins/git_stats.py                   51      0     19      0   100%
plugins/lmgtfy.py                       4      0      0      0   100%
plugins/nevermind.py                    5      0      0      0   100%
plugins/pitchfork.py                   12      0      2      0   100%
plugins/searchdocs.py                  14      0      2      0   100%
plugins/ship_it.py                      7      0      0      0   100%
plugins/spam.py                        13      0      2      0   100%
plugins/the_rules.py                    5      0      0      0   100%
plugins/wolfram_alpha.py               18      0      6      0   100%
utils/__init__.py                       0      0      0      0   100%
utils/backends.py                       0      0      0      0   100%
utils/mixin.py                         20      0     10      0   100%
plugins/answer.py                      30     17      8      0    34%   17-24, 32-58
-------------------------------------------------------------------------------
TOTAL                                 346     17    132      0    95%
travis_fold:end:py-5529.cov.0

FAIL Required test coverage of 100% not reached. Total coverage: 94.77%
=========================== short test summary info ============================
FAIL tests/answer_test.py::TestAnswer::test_answer
FAIL tests/answer_test.py::TestAnswer::test_invalid_json
FAIL tests/answer_test.py::TestAnswer::test_invalid_repo

==================== 3 failed, 40 passed in 148.36 seconds =====================

@TravisBuddy
Copy link

Travis tests have failed

Hey @nvzard,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

python -m pytest
============================= test session starts ==============================
platform linux -- Python 3.6.3, pytest-3.6.4, py-1.5.2, pluggy-0.6.0
rootdir: /home/travis/build/coala/corobo, inifile: setup.cfg
plugins: requests-mock-1.5.2, xdist-1.22.5, travis-fold-1.3.0, timeout-1.3.1, reqs-0.0.7, reorder-0.1.1, profiling-1.3.0, mock-1.10.0, instafail-0.3.0, forked-0.2, error-for-skips-1.0.0, env-0.6.2, cov-2.5.1
collected 43 items                                                             

tests/answer_test.py F

____________________________ TestAnswer.test_answer ____________________________

self = <tests.answer_test.TestAnswer testMethod=test_answer>

    def setUp(self):
        # Ignore InvalidLinkBear
        self.answer_end_point = 'http://0.0.0.0:8000'
>       os.environ['ANSWER_END'] = self.answer_end_point
E       NameError: name 'os' is not defined

tests/answer_test.py:13: NameError

tests/answer_test.py F

_________________________ TestAnswer.test_invalid_json _________________________

self = <tests.answer_test.TestAnswer testMethod=test_invalid_json>

    def setUp(self):
        # Ignore InvalidLinkBear
        self.answer_end_point = 'http://0.0.0.0:8000'
>       os.environ['ANSWER_END'] = self.answer_end_point
E       NameError: name 'os' is not defined

tests/answer_test.py:13: NameError

tests/answer_test.py F

_________________________ TestAnswer.test_invalid_repo _________________________

self = <tests.answer_test.TestAnswer testMethod=test_invalid_repo>

    def setUp(self):
        # Ignore InvalidLinkBear
        self.answer_end_point = 'http://0.0.0.0:8000'
>       os.environ['ANSWER_END'] = self.answer_end_point
E       NameError: name 'os' is not defined

tests/answer_test.py:13: NameError

tests/ban_test.py ..                                                     [ 11%]
tests/coala_lowercase_c_test.py F

_________________________ CoalaLowercaseTest.test_cep __________________________

self = <tests.coala_lowercase_c_test.CoalaLowercaseTest testMethod=test_cep>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coala_lowercase_c_test.py F

___________________ CoalaLowercaseTest.test_coala_lowercase ____________________

self = <tests.coala_lowercase_c_test.CoalaLowercaseTest testMethod=test_coala_lowercase>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

__________________________ TestCoatils.test_all_langs __________________________

self = <tests.coatils_test.TestCoatils testMethod=test_all_langs>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

_________________________ TestCoatils.test_bear_stats __________________________

self = <tests.coatils_test.TestCoatils testMethod=test_bear_stats>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

_______________________ TestCoatils.test_bear_stats_lang _______________________

self = <tests.coatils_test.TestCoatils testMethod=test_bear_stats_lang>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

_____________________ TestCoatils.test_construct_settings ______________________

self = <tests.coatils_test.TestCoatils testMethod=test_construct_settings>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

________________________ TestCoatils.test_contrib_stats ________________________

self = <tests.coatils_test.TestCoatils testMethod=test_contrib_stats>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

_________________________ TestCoatils.test_lang_stats __________________________

self = <tests.coatils_test.TestCoatils testMethod=test_lang_stats>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

__________________________ TestCoatils.test_ls_bears ___________________________

self = <tests.coatils_test.TestCoatils testMethod=test_ls_bears>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

__________________________ TestCoatils.test_position ___________________________

self = <tests.coatils_test.TestCoatils testMethod=test_position>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

__________________________ TestCoatils.test_run_coala __________________________

self = <tests.coatils_test.TestCoatils testMethod=test_run_coala>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

____________________________ TestCoatils.test_stats ____________________________

self = <tests.coatils_test.TestCoatils testMethod=test_stats>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

_________________________ TestCoatils.test_total_bears _________________________

self = <tests.coatils_test.TestCoatils testMethod=test_total_bears>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/deprecate_bot_prefixes_test.py F

___________ DeprecateBotPrefixesTest.test_deprecated_prefixes_other ____________

self = <tests.deprecate_bot_prefixes_test.DeprecateBotPrefixesTest testMethod=test_deprecated_prefixes_other>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/explain_test.py F

___________________________ ExplainTest.test_explain ___________________________

self = <tests.explain_test.ExplainTest testMethod=test_explain>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/ghetto_test.py F

____________________________ GhettoTest.test_ghetto ____________________________

self = <tests.ghetto_test.GhettoTest testMethod=test_ghetto>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/git_stats_test.py F

__________________________ TestGitStats.test_pr_list ___________________________

self = <tests.git_stats_test.TestGitStats testMethod=test_pr_list>

    def setUp(self):
>       super().setUp((plugins.git_stats.GitStats, plugins.labhub.LabHub,))

tests/git_stats_test.py:17: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

____________________________ TestLabHub.test_alive _____________________________

self = <tests.labhub_test.TestLabHub testMethod=test_alive>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

__________________________ TestLabHub.test_assign_cmd __________________________

self = <tests.labhub_test.TestLabHub testMethod=test_assign_cmd>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

_______________________ TestLabHub.test_create_issue_cmd _______________________

self = <tests.labhub_test.TestLabHub testMethod=test_create_issue_cmd>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

_____________________ TestLabHub.test_hello_world_callback _____________________

self = <tests.labhub_test.TestLabHub testMethod=test_hello_world_callback>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

________________________ TestLabHub.test_invalid_token _________________________

self = <tests.labhub_test.TestLabHub testMethod=test_invalid_token>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

__________________________ TestLabHub.test_invite_cmd __________________________

self = <tests.labhub_test.TestLabHub testMethod=test_invite_cmd>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

______________________ TestLabHub.test_is_newcomer_issue _______________________

self = <tests.labhub_test.TestLabHub testMethod=test_is_newcomer_issue>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

________________________ TestLabHub.test_is_room_member ________________________

self = <tests.labhub_test.TestLabHub testMethod=test_is_room_member>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

___________________________ TestLabHub.test_mark_cmd ___________________________

self = <tests.labhub_test.TestLabHub testMethod=test_mark_cmd>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

_________________________ TestLabHub.test_unassign_cmd _________________________

self = <tests.labhub_test.TestLabHub testMethod=test_unassign_cmd>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/lmgtfy_test.py F

____________________________ LmgtfyTest.test_lmgtfy ____________________________

self = <tests.lmgtfy_test.LmgtfyTest testMethod=test_lmgtfy>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/nevermind_test.py F

_________________________ NevermindTest.test_nevermind _________________________

self = <tests.nevermind_test.NevermindTest testMethod=test_nevermind>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/pitchfork_test.py F

______________________________ PitchForkTest.test ______________________________

self = <tests.pitchfork_test.PitchForkTest testMethod=test>, extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/searchdocs_test.py F

________________________ SearchDocsTest.test_search_cmd ________________________

self = <tests.searchdocs_test.SearchDocsTest testMethod=test_search_cmd>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/ship_it_test.py F

___________________________ ShipItTest.test_ship_it ____________________________

self = <tests.ship_it_test.ShipItTest testMethod=test_ship_it>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/spam_test.py F

_________________________ TestSpam.test_spam_callback __________________________

self = <tests.spam_test.TestSpam testMethod=test_spam_callback>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/spam_test.py F

_______________________ TestSpam.test_spam_configuration _______________________

self = <tests.spam_test.TestSpam testMethod=test_spam_configuration>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/spam_test.py F

_____________ TestSpamExtraConfig.test_spam_extra_config_callback ______________

self = <tests.spam_test.TestSpamExtraConfig testMethod=test_spam_extra_config_callback>

    def setUp(self):
        extra_config = {
            'DEFAULT_CONFIG': {
                'SpammingAlert': {
                    'MAX_MSG_LEN': 500,
                    'MAX_LINES': 5,
                }
            }
        }
>       super().setUp(extra_config=extra_config)

tests/spam_test.py:36: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.spam_test.TestSpamExtraConfig testMethod=test_spam_extra_config_callback>
extra_config = {'DEFAULT_CONFIG': {'SpammingAlert': {'MAX_LINES': 5, 'MAX_MSG_LEN': 500}}}

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/spam_test.py F

___________ TestSpamExtraConfig.test_spam_extra_config_configuration ___________

self = <tests.spam_test.TestSpamExtraConfig testMethod=test_spam_extra_config_configuration>

    def setUp(self):
        extra_config = {
            'DEFAULT_CONFIG': {
                'SpammingAlert': {
                    'MAX_MSG_LEN': 500,
                    'MAX_LINES': 5,
                }
            }
        }
>       super().setUp(extra_config=extra_config)

tests/spam_test.py:36: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.spam_test.TestSpamExtraConfig testMethod=test_spam_extra_config_configuration>
extra_config = {'DEFAULT_CONFIG': {'SpammingAlert': {'MAX_LINES': 5, 'MAX_MSG_LEN': 500}}}

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/the_rules_test.py F

_________________________ TheRulesTest.test_the_rules __________________________

self = <tests.the_rules_test.TheRulesTest testMethod=test_the_rules>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/wolfram_alpha_test.py F

___________________________ WolframAlphaTest.test_wa ___________________________

self = <tests.wolfram_alpha_test.WolframAlphaTest testMethod=test_wa>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError
                                                                         [100%]
Profiling (from /home/travis/build/coala/corobo/prof/combined.prof):
Thu Aug  9 20:49:00 2018    /home/travis/build/coala/corobo/prof/combined.prof

         3880965 function calls (3500844 primitive calls) in 6.113 seconds

   Ordered by: cumulative time
   List reduced from 1172 to 20 due to restriction <20>

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
       43    0.000    0.000    6.104    0.142 runner.py:105(pytest_runtest_call)
       43    0.000    0.000    6.103    0.142 unittest.py:182(runtest)
       43    0.000    0.000    6.102    0.142 case.py:652(__call__)
       43    0.002    0.000    6.102    0.142 case.py:570(run)
       11    0.001    0.000    5.708    0.519 labhub_test_case.py:11(setUp)
       10    0.000    0.000    5.179    0.518 labhub_test.py:21(setUp)
   187/99    0.095    0.001    5.008    0.051 mock.py:2120(create_autospec)
     5510    0.048    0.000    3.671    0.001 mock.py:1828(__init__)
    11020    0.699    0.000    2.457    0.000 mock.py:1834(_mock_set_magics)
    11000    0.041    0.000    1.720    0.000 mock.py:63(_get_signature_object)
    10978    0.015    0.000    1.672    0.000 inspect.py:3031(signature)
    10978    0.019    0.000    1.657    0.000 inspect.py:2779(from_callable)
20834/10978    0.206    0.000    1.638    0.000 inspect.py:2173(_signature_from_callable)
715200/357601    0.657    0.000    1.212    0.000 {built-in method builtins.delattr}
     5424    0.040    0.000    1.104    0.000 mock.py:917(__init__)
     5523    0.047    0.000    1.086    0.000 mock.py:376(__init__)
     5523    0.035    0.000    1.037    0.000 mock.py:442(_mock_add_spec)
       13    0.000    0.000    0.997    0.077 corobo_test_case.py:11(setUp)
       13    0.000    0.000    0.991    0.076 test.py:500(setUp)
       13    0.001    0.000    0.983    0.076 test.py:386(start)



travis_fold:start:py-5512.cov.0
----------- coverage: platform linux, python 3.6.3-final-0 -----------
Name                                Stmts   Miss Branch BrPart  Cover   Missing
-------------------------------------------------------------------------------
answers/__init__.py                     0      0      0      0   100%
plugins/__init__.py                     0      0      0      0   100%
utils/__init__.py                       0      0      0      0   100%
utils/backends.py                       0      0      0      0   100%
plugins/lmgtfy.py                       4      1      0      0    75%   15
plugins/the_rules.py                    5      1      0      0    80%   19
plugins/constants.py                    4      4      0      0     0%   2-6
plugins/nevermind.py                    5      5      0      0     0%   1-14
plugins/deprecate_bot_prefixes.py       6      6      4      0     0%   1-17
plugins/ship_it.py                      7      7      0      0     0%   1-28
plugins/explain.py                     20      9      6      0    50%   30-44
plugins/ghetto.py                      10     10      2      0     0%   1-28
plugins/coala_lowercase_c.py           12     12      4      0     0%   1-26
plugins/pitchfork.py                   12     12      2      0     0%   1-39
plugins/wolfram_alpha.py               18     12      6      0    25%   14-15, 22-31
plugins/spam.py                        13     13      2      0     0%   1-35
plugins/searchdocs.py                  14     14      2      0     0%   1-30
utils/mixin.py                         20     15     10      0    17%   7-9, 12-15, 27-40
plugins/answer.py                      30     20      8      0    26%   17-24, 28-58
plugins/git_stats.py                   51     43     19      0    11%   17-18, 25-77
plugins/coatils.py                    115    100     67      0     8%   20-21, 25-32, 46-97, 108-126, 130-140, 144-159, 172-241
-------------------------------------------------------------------------------
TOTAL                                 346    284    132      0    13%
travis_fold:end:py-5512.cov.0

FAIL Required test coverage of 100% not reached. Total coverage: 13.39%
=========================== short test summary info ============================
FAIL tests/answer_test.py::TestAnswer::test_answer
FAIL tests/answer_test.py::TestAnswer::test_invalid_json
FAIL tests/answer_test.py::TestAnswer::test_invalid_repo
FAIL tests/coala_lowercase_c_test.py::CoalaLowercaseTest::test_cep
FAIL tests/coala_lowercase_c_test.py::CoalaLowercaseTest::test_coala_lowercase
FAIL tests/coatils_test.py::TestCoatils::test_all_langs
FAIL tests/coatils_test.py::TestCoatils::test_bear_stats
FAIL tests/coatils_test.py::TestCoatils::test_bear_stats_lang
FAIL tests/coatils_test.py::TestCoatils::test_construct_settings
FAIL tests/coatils_test.py::TestCoatils::test_contrib_stats
FAIL tests/coatils_test.py::TestCoatils::test_lang_stats
FAIL tests/coatils_test.py::TestCoatils::test_ls_bears
FAIL tests/coatils_test.py::TestCoatils::test_position
FAIL tests/coatils_test.py::TestCoatils::test_run_coala
FAIL tests/coatils_test.py::TestCoatils::test_stats
FAIL tests/coatils_test.py::TestCoatils::test_total_bears
FAIL tests/deprecate_bot_prefixes_test.py::DeprecateBotPrefixesTest::test_deprecated_prefixes_other
FAIL tests/explain_test.py::ExplainTest::test_explain
FAIL tests/ghetto_test.py::GhettoTest::test_ghetto
FAIL tests/git_stats_test.py::TestGitStats::test_pr_list
FAIL tests/labhub_test.py::TestLabHub::test_alive
FAIL tests/labhub_test.py::TestLabHub::test_assign_cmd
FAIL tests/labhub_test.py::TestLabHub::test_create_issue_cmd
FAIL tests/labhub_test.py::TestLabHub::test_hello_world_callback
FAIL tests/labhub_test.py::TestLabHub::test_invalid_token
FAIL tests/labhub_test.py::TestLabHub::test_invite_cmd
FAIL tests/labhub_test.py::TestLabHub::test_is_newcomer_issue
FAIL tests/labhub_test.py::TestLabHub::test_is_room_member
FAIL tests/labhub_test.py::TestLabHub::test_mark_cmd
FAIL tests/labhub_test.py::TestLabHub::test_unassign_cmd
FAIL tests/lmgtfy_test.py::LmgtfyTest::test_lmgtfy
FAIL tests/nevermind_test.py::NevermindTest::test_nevermind
FAIL tests/pitchfork_test.py::PitchForkTest::test
FAIL tests/searchdocs_test.py::SearchDocsTest::test_search_cmd
FAIL tests/ship_it_test.py::ShipItTest::test_ship_it
FAIL tests/spam_test.py::TestSpam::test_spam_callback
FAIL tests/spam_test.py::TestSpam::test_spam_configuration
FAIL tests/spam_test.py::TestSpamExtraConfig::test_spam_extra_config_callback
FAIL tests/spam_test.py::TestSpamExtraConfig::test_spam_extra_config_configuration
FAIL tests/the_rules_test.py::TheRulesTest::test_the_rules
FAIL tests/wolfram_alpha_test.py::WolframAlphaTest::test_wa
===================== 41 failed, 2 passed in 10.28 seconds =====================

@TravisBuddy
Copy link

Travis tests have failed

Hey @nvzard,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

python -m pytest
============================= test session starts ==============================
platform linux -- Python 3.6.3, pytest-3.6.4, py-1.5.2, pluggy-0.6.0
rootdir: /home/travis/build/coala/corobo, inifile: setup.cfg
plugins: requests-mock-1.5.2, xdist-1.22.5, travis-fold-1.3.0, timeout-1.3.1, reqs-0.0.7, reorder-0.1.1, profiling-1.3.0, mock-1.10.0, instafail-0.3.0, forked-0.2, error-for-skips-1.0.0, env-0.6.2, cov-2.5.1
collected 43 items                                                             

tests/answer_test.py F

____________________________ TestAnswer.test_answer ____________________________

self = <tests.answer_test.TestAnswer testMethod=test_answer>

    @vcr.use_cassette('tests/cassettes/answer.yaml')
    def test_answer(self):
>       self.assertCommand('!answer something', 'Dunno')

tests/answer_test.py:21: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/test.py:455: in assertCommand
    self.bot.push_message(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.answer_test.TestAnswer testMethod=test_answer>

    @property
    def bot(self) -> ErrBot:
>       return self._bot
E       AttributeError: 'TestAnswer' object has no attribute '_bot'

../../../virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/test.py:412: AttributeError

tests/answer_test.py F

_________________________ TestAnswer.test_invalid_json _________________________

self = <tests.answer_test.TestAnswer testMethod=test_invalid_json>

    def test_invalid_json(self):
        with requests_mock.Mocker() as m:
            m.get('{}/answer?question=foo'.format(self.answer_end_point),
                  text='invalid')
            self.assertCommand(
                '!answer foo',
>               'Something went wrong, please check logs')

tests/answer_test.py:33: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/test.py:455: in assertCommand
    self.bot.push_message(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.answer_test.TestAnswer testMethod=test_invalid_json>

    @property
    def bot(self) -> ErrBot:
>       return self._bot
E       AttributeError: 'TestAnswer' object has no attribute '_bot'

../../../virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/test.py:412: AttributeError

tests/answer_test.py F

_________________________ TestAnswer.test_invalid_repo _________________________

self = <tests.answer_test.TestAnswer testMethod=test_invalid_repo>

    def test_invalid_repo(self):
        with requests_mock.Mocker() as m:
            m.get('{}/answer?question=foo'.format(self.answer_end_point),
                  text='[["Wrong answer\\n/wrong/link\\n"]]')
            self.assertCommand(
                '!answer foo',
>               'Computer says nooo. See logs for details:\n'
                'Unrecognised answer: /wrong/link')

tests/answer_test.py:41: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/test.py:455: in assertCommand
    self.bot.push_message(command)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.answer_test.TestAnswer testMethod=test_invalid_repo>

    @property
    def bot(self) -> ErrBot:
>       return self._bot
E       AttributeError: 'TestAnswer' object has no attribute '_bot'

../../../virtualenv/python3.6.3/lib/python3.6/site-packages/errbot/backends/test.py:412: AttributeError

tests/ban_test.py ..                                                     [ 11%]
tests/coala_lowercase_c_test.py F

_________________________ CoalaLowercaseTest.test_cep __________________________

self = <tests.coala_lowercase_c_test.CoalaLowercaseTest testMethod=test_cep>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coala_lowercase_c_test.py F

___________________ CoalaLowercaseTest.test_coala_lowercase ____________________

self = <tests.coala_lowercase_c_test.CoalaLowercaseTest testMethod=test_coala_lowercase>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

__________________________ TestCoatils.test_all_langs __________________________

self = <tests.coatils_test.TestCoatils testMethod=test_all_langs>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

_________________________ TestCoatils.test_bear_stats __________________________

self = <tests.coatils_test.TestCoatils testMethod=test_bear_stats>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

_______________________ TestCoatils.test_bear_stats_lang _______________________

self = <tests.coatils_test.TestCoatils testMethod=test_bear_stats_lang>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

_____________________ TestCoatils.test_construct_settings ______________________

self = <tests.coatils_test.TestCoatils testMethod=test_construct_settings>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

________________________ TestCoatils.test_contrib_stats ________________________

self = <tests.coatils_test.TestCoatils testMethod=test_contrib_stats>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

_________________________ TestCoatils.test_lang_stats __________________________

self = <tests.coatils_test.TestCoatils testMethod=test_lang_stats>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

__________________________ TestCoatils.test_ls_bears ___________________________

self = <tests.coatils_test.TestCoatils testMethod=test_ls_bears>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

__________________________ TestCoatils.test_position ___________________________

self = <tests.coatils_test.TestCoatils testMethod=test_position>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

__________________________ TestCoatils.test_run_coala __________________________

self = <tests.coatils_test.TestCoatils testMethod=test_run_coala>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

____________________________ TestCoatils.test_stats ____________________________

self = <tests.coatils_test.TestCoatils testMethod=test_stats>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

_________________________ TestCoatils.test_total_bears _________________________

self = <tests.coatils_test.TestCoatils testMethod=test_total_bears>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/deprecate_bot_prefixes_test.py F

___________ DeprecateBotPrefixesTest.test_deprecated_prefixes_other ____________

self = <tests.deprecate_bot_prefixes_test.DeprecateBotPrefixesTest testMethod=test_deprecated_prefixes_other>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/explain_test.py F

___________________________ ExplainTest.test_explain ___________________________

self = <tests.explain_test.ExplainTest testMethod=test_explain>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/ghetto_test.py F

____________________________ GhettoTest.test_ghetto ____________________________

self = <tests.ghetto_test.GhettoTest testMethod=test_ghetto>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/git_stats_test.py F

__________________________ TestGitStats.test_pr_list ___________________________

self = <tests.git_stats_test.TestGitStats testMethod=test_pr_list>

    def setUp(self):
>       super().setUp((plugins.git_stats.GitStats, plugins.labhub.LabHub,))

tests/git_stats_test.py:17: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

____________________________ TestLabHub.test_alive _____________________________

self = <tests.labhub_test.TestLabHub testMethod=test_alive>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

__________________________ TestLabHub.test_assign_cmd __________________________

self = <tests.labhub_test.TestLabHub testMethod=test_assign_cmd>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

_______________________ TestLabHub.test_create_issue_cmd _______________________

self = <tests.labhub_test.TestLabHub testMethod=test_create_issue_cmd>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

_____________________ TestLabHub.test_hello_world_callback _____________________

self = <tests.labhub_test.TestLabHub testMethod=test_hello_world_callback>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

________________________ TestLabHub.test_invalid_token _________________________

self = <tests.labhub_test.TestLabHub testMethod=test_invalid_token>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

__________________________ TestLabHub.test_invite_cmd __________________________

self = <tests.labhub_test.TestLabHub testMethod=test_invite_cmd>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

______________________ TestLabHub.test_is_newcomer_issue _______________________

self = <tests.labhub_test.TestLabHub testMethod=test_is_newcomer_issue>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

________________________ TestLabHub.test_is_room_member ________________________

self = <tests.labhub_test.TestLabHub testMethod=test_is_room_member>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

___________________________ TestLabHub.test_mark_cmd ___________________________

self = <tests.labhub_test.TestLabHub testMethod=test_mark_cmd>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

_________________________ TestLabHub.test_unassign_cmd _________________________

self = <tests.labhub_test.TestLabHub testMethod=test_unassign_cmd>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/lmgtfy_test.py F

____________________________ LmgtfyTest.test_lmgtfy ____________________________

self = <tests.lmgtfy_test.LmgtfyTest testMethod=test_lmgtfy>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/nevermind_test.py F

_________________________ NevermindTest.test_nevermind _________________________

self = <tests.nevermind_test.NevermindTest testMethod=test_nevermind>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/pitchfork_test.py F

______________________________ PitchForkTest.test ______________________________

self = <tests.pitchfork_test.PitchForkTest testMethod=test>, extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/searchdocs_test.py F

________________________ SearchDocsTest.test_search_cmd ________________________

self = <tests.searchdocs_test.SearchDocsTest testMethod=test_search_cmd>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/ship_it_test.py F

___________________________ ShipItTest.test_ship_it ____________________________

self = <tests.ship_it_test.ShipItTest testMethod=test_ship_it>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/spam_test.py F

_________________________ TestSpam.test_spam_callback __________________________

self = <tests.spam_test.TestSpam testMethod=test_spam_callback>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/spam_test.py F

_______________________ TestSpam.test_spam_configuration _______________________

self = <tests.spam_test.TestSpam testMethod=test_spam_configuration>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/spam_test.py F

_____________ TestSpamExtraConfig.test_spam_extra_config_callback ______________

self = <tests.spam_test.TestSpamExtraConfig testMethod=test_spam_extra_config_callback>

    def setUp(self):
        extra_config = {
            'DEFAULT_CONFIG': {
                'SpammingAlert': {
                    'MAX_MSG_LEN': 500,
                    'MAX_LINES': 5,
                }
            }
        }
>       super().setUp(extra_config=extra_config)

tests/spam_test.py:36: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.spam_test.TestSpamExtraConfig testMethod=test_spam_extra_config_callback>
extra_config = {'DEFAULT_CONFIG': {'SpammingAlert': {'MAX_LINES': 5, 'MAX_MSG_LEN': 500}}}

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/spam_test.py F

___________ TestSpamExtraConfig.test_spam_extra_config_configuration ___________

self = <tests.spam_test.TestSpamExtraConfig testMethod=test_spam_extra_config_configuration>

    def setUp(self):
        extra_config = {
            'DEFAULT_CONFIG': {
                'SpammingAlert': {
                    'MAX_MSG_LEN': 500,
                    'MAX_LINES': 5,
                }
            }
        }
>       super().setUp(extra_config=extra_config)

tests/spam_test.py:36: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.spam_test.TestSpamExtraConfig testMethod=test_spam_extra_config_configuration>
extra_config = {'DEFAULT_CONFIG': {'SpammingAlert': {'MAX_LINES': 5, 'MAX_MSG_LEN': 500}}}

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/the_rules_test.py F

_________________________ TheRulesTest.test_the_rules __________________________

self = <tests.the_rules_test.TheRulesTest testMethod=test_the_rules>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/wolfram_alpha_test.py F

___________________________ WolframAlphaTest.test_wa ___________________________

self = <tests.wolfram_alpha_test.WolframAlphaTest testMethod=test_wa>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError
                                                                         [100%]
Profiling (from /home/travis/build/coala/corobo/prof/combined.prof):
Thu Aug  9 20:52:12 2018    /home/travis/build/coala/corobo/prof/combined.prof

         3896616 function calls (3516392 primitive calls) in 6.305 seconds

   Ordered by: cumulative time
   List reduced from 1322 to 20 due to restriction <20>

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
       43    0.000    0.000    6.296    0.146 runner.py:105(pytest_runtest_call)
       43    0.000    0.000    6.295    0.146 unittest.py:182(runtest)
       43    0.000    0.000    6.294    0.146 case.py:652(__call__)
       43    0.001    0.000    6.294    0.146 case.py:570(run)
       11    0.001    0.000    5.891    0.536 labhub_test_case.py:11(setUp)
       10    0.000    0.000    5.359    0.536 labhub_test.py:21(setUp)
   187/99    0.093    0.000    5.081    0.051 mock.py:2120(create_autospec)
     5510    0.047    0.000    3.813    0.001 mock.py:1828(__init__)
    11020    0.722    0.000    2.476    0.000 mock.py:1834(_mock_set_magics)
    11000    0.039    0.000    1.761    0.000 mock.py:63(_get_signature_object)
    10978    0.015    0.000    1.715    0.000 inspect.py:3031(signature)
    10978    0.019    0.000    1.700    0.000 inspect.py:2779(from_callable)
20834/10978    0.204    0.000    1.681    0.000 inspect.py:2173(_signature_from_callable)
     5428    0.039    0.000    1.226    0.000 mock.py:917(__init__)
715201/357602    0.658    0.000    1.209    0.000 {built-in method builtins.delattr}
     5527    0.047    0.000    1.138    0.000 mock.py:376(__init__)
     5527    0.033    0.000    1.090    0.000 mock.py:442(_mock_add_spec)
       13    0.000    0.000    1.077    0.083 corobo_test_case.py:11(setUp)
       13    0.000    0.000    1.071    0.082 test.py:500(setUp)
       13    0.001    0.000    1.054    0.081 test.py:386(start)



travis_fold:start:py-5522.cov.0
----------- coverage: platform linux, python 3.6.3-final-0 -----------
Name                                Stmts   Miss Branch BrPart  Cover   Missing
-------------------------------------------------------------------------------
answers/__init__.py                     0      0      0      0   100%
plugins/__init__.py                     0      0      0      0   100%
utils/__init__.py                       0      0      0      0   100%
utils/backends.py                       0      0      0      0   100%
plugins/lmgtfy.py                       4      1      0      0    75%   15
plugins/the_rules.py                    5      1      0      0    80%   19
plugins/constants.py                    4      4      0      0     0%   2-6
plugins/nevermind.py                    5      5      0      0     0%   1-14
plugins/deprecate_bot_prefixes.py       6      6      4      0     0%   1-17
plugins/ship_it.py                      7      7      0      0     0%   1-28
plugins/explain.py                     20      9      6      0    50%   30-44
plugins/ghetto.py                      10     10      2      0     0%   1-28
plugins/coala_lowercase_c.py           12     12      4      0     0%   1-26
plugins/pitchfork.py                   12     12      2      0     0%   1-39
plugins/wolfram_alpha.py               18     12      6      0    25%   14-15, 22-31
plugins/spam.py                        13     13      2      0     0%   1-35
plugins/searchdocs.py                  14     14      2      0     0%   1-30
utils/mixin.py                         20     15     10      0    17%   7-9, 12-15, 27-40
plugins/answer.py                      30     20      8      0    26%   17-24, 28-58
plugins/git_stats.py                   51     43     19      0    11%   17-18, 25-77
plugins/coatils.py                    115    100     67      0     8%   20-21, 25-32, 46-97, 108-126, 130-140, 144-159, 172-241
-------------------------------------------------------------------------------
TOTAL                                 346    284    132      0    13%
travis_fold:end:py-5522.cov.0

FAIL Required test coverage of 100% not reached. Total coverage: 13.39%
=========================== short test summary info ============================
FAIL tests/answer_test.py::TestAnswer::test_answer
FAIL tests/answer_test.py::TestAnswer::test_invalid_json
FAIL tests/answer_test.py::TestAnswer::test_invalid_repo
FAIL tests/coala_lowercase_c_test.py::CoalaLowercaseTest::test_cep
FAIL tests/coala_lowercase_c_test.py::CoalaLowercaseTest::test_coala_lowercase
FAIL tests/coatils_test.py::TestCoatils::test_all_langs
FAIL tests/coatils_test.py::TestCoatils::test_bear_stats
FAIL tests/coatils_test.py::TestCoatils::test_bear_stats_lang
FAIL tests/coatils_test.py::TestCoatils::test_construct_settings
FAIL tests/coatils_test.py::TestCoatils::test_contrib_stats
FAIL tests/coatils_test.py::TestCoatils::test_lang_stats
FAIL tests/coatils_test.py::TestCoatils::test_ls_bears
FAIL tests/coatils_test.py::TestCoatils::test_position
FAIL tests/coatils_test.py::TestCoatils::test_run_coala
FAIL tests/coatils_test.py::TestCoatils::test_stats
FAIL tests/coatils_test.py::TestCoatils::test_total_bears
FAIL tests/deprecate_bot_prefixes_test.py::DeprecateBotPrefixesTest::test_deprecated_prefixes_other
FAIL tests/explain_test.py::ExplainTest::test_explain
FAIL tests/ghetto_test.py::GhettoTest::test_ghetto
FAIL tests/git_stats_test.py::TestGitStats::test_pr_list
FAIL tests/labhub_test.py::TestLabHub::test_alive
FAIL tests/labhub_test.py::TestLabHub::test_assign_cmd
FAIL tests/labhub_test.py::TestLabHub::test_create_issue_cmd
FAIL tests/labhub_test.py::TestLabHub::test_hello_world_callback
FAIL tests/labhub_test.py::TestLabHub::test_invalid_token
FAIL tests/labhub_test.py::TestLabHub::test_invite_cmd
FAIL tests/labhub_test.py::TestLabHub::test_is_newcomer_issue
FAIL tests/labhub_test.py::TestLabHub::test_is_room_member
FAIL tests/labhub_test.py::TestLabHub::test_mark_cmd
FAIL tests/labhub_test.py::TestLabHub::test_unassign_cmd
FAIL tests/lmgtfy_test.py::LmgtfyTest::test_lmgtfy
FAIL tests/nevermind_test.py::NevermindTest::test_nevermind
FAIL tests/pitchfork_test.py::PitchForkTest::test
FAIL tests/searchdocs_test.py::SearchDocsTest::test_search_cmd
FAIL tests/ship_it_test.py::ShipItTest::test_ship_it
FAIL tests/spam_test.py::TestSpam::test_spam_callback
FAIL tests/spam_test.py::TestSpam::test_spam_configuration
FAIL tests/spam_test.py::TestSpamExtraConfig::test_spam_extra_config_callback
FAIL tests/spam_test.py::TestSpamExtraConfig::test_spam_extra_config_configuration
FAIL tests/the_rules_test.py::TheRulesTest::test_the_rules
FAIL tests/wolfram_alpha_test.py::WolframAlphaTest::test_wa
===================== 41 failed, 2 passed in 9.93 seconds ======================

@TravisBuddy
Copy link

Travis tests have failed

Hey @nvzard,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

python -m pytest
============================= test session starts ==============================
platform linux -- Python 3.6.3, pytest-3.6.4, py-1.5.2, pluggy-0.6.0
rootdir: /home/travis/build/coala/corobo, inifile: setup.cfg
plugins: requests-mock-1.5.2, xdist-1.22.5, travis-fold-1.3.0, timeout-1.3.1, reqs-0.0.7, reorder-0.1.1, profiling-1.3.0, mock-1.10.0, instafail-0.3.0, forked-0.2, error-for-skips-1.0.0, env-0.6.2, cov-2.5.1
collected 43 items                                                             

tests/answer_test.py F

____________________________ TestAnswer.test_answer ____________________________

self = <tests.answer_test.TestAnswer testMethod=test_answer>

    def setUp(self):
>       super().setUp()

tests/answer_test.py:12: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.answer_test.TestAnswer testMethod=test_answer>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/answer_test.py F

_________________________ TestAnswer.test_invalid_json _________________________

self = <tests.answer_test.TestAnswer testMethod=test_invalid_json>

    def setUp(self):
>       super().setUp()

tests/answer_test.py:12: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.answer_test.TestAnswer testMethod=test_invalid_json>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/answer_test.py F

_________________________ TestAnswer.test_invalid_repo _________________________

self = <tests.answer_test.TestAnswer testMethod=test_invalid_repo>

    def setUp(self):
>       super().setUp()

tests/answer_test.py:12: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.answer_test.TestAnswer testMethod=test_invalid_repo>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/ban_test.py ..                                                     [ 11%]
tests/coala_lowercase_c_test.py F

_________________________ CoalaLowercaseTest.test_cep __________________________

self = <tests.coala_lowercase_c_test.CoalaLowercaseTest testMethod=test_cep>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coala_lowercase_c_test.py F

___________________ CoalaLowercaseTest.test_coala_lowercase ____________________

self = <tests.coala_lowercase_c_test.CoalaLowercaseTest testMethod=test_coala_lowercase>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

__________________________ TestCoatils.test_all_langs __________________________

self = <tests.coatils_test.TestCoatils testMethod=test_all_langs>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

_________________________ TestCoatils.test_bear_stats __________________________

self = <tests.coatils_test.TestCoatils testMethod=test_bear_stats>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

_______________________ TestCoatils.test_bear_stats_lang _______________________

self = <tests.coatils_test.TestCoatils testMethod=test_bear_stats_lang>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

_____________________ TestCoatils.test_construct_settings ______________________

self = <tests.coatils_test.TestCoatils testMethod=test_construct_settings>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

________________________ TestCoatils.test_contrib_stats ________________________

self = <tests.coatils_test.TestCoatils testMethod=test_contrib_stats>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

_________________________ TestCoatils.test_lang_stats __________________________

self = <tests.coatils_test.TestCoatils testMethod=test_lang_stats>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

__________________________ TestCoatils.test_ls_bears ___________________________

self = <tests.coatils_test.TestCoatils testMethod=test_ls_bears>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

__________________________ TestCoatils.test_position ___________________________

self = <tests.coatils_test.TestCoatils testMethod=test_position>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

__________________________ TestCoatils.test_run_coala __________________________

self = <tests.coatils_test.TestCoatils testMethod=test_run_coala>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

____________________________ TestCoatils.test_stats ____________________________

self = <tests.coatils_test.TestCoatils testMethod=test_stats>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py F

_________________________ TestCoatils.test_total_bears _________________________

self = <tests.coatils_test.TestCoatils testMethod=test_total_bears>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/deprecate_bot_prefixes_test.py F

___________ DeprecateBotPrefixesTest.test_deprecated_prefixes_other ____________

self = <tests.deprecate_bot_prefixes_test.DeprecateBotPrefixesTest testMethod=test_deprecated_prefixes_other>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/explain_test.py F

___________________________ ExplainTest.test_explain ___________________________

self = <tests.explain_test.ExplainTest testMethod=test_explain>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/ghetto_test.py F

____________________________ GhettoTest.test_ghetto ____________________________

self = <tests.ghetto_test.GhettoTest testMethod=test_ghetto>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/git_stats_test.py F

__________________________ TestGitStats.test_pr_list ___________________________

self = <tests.git_stats_test.TestGitStats testMethod=test_pr_list>

    def setUp(self):
>       super().setUp((plugins.git_stats.GitStats, plugins.labhub.LabHub,))

tests/git_stats_test.py:17: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

____________________________ TestLabHub.test_alive _____________________________

self = <tests.labhub_test.TestLabHub testMethod=test_alive>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

__________________________ TestLabHub.test_assign_cmd __________________________

self = <tests.labhub_test.TestLabHub testMethod=test_assign_cmd>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

_______________________ TestLabHub.test_create_issue_cmd _______________________

self = <tests.labhub_test.TestLabHub testMethod=test_create_issue_cmd>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

_____________________ TestLabHub.test_hello_world_callback _____________________

self = <tests.labhub_test.TestLabHub testMethod=test_hello_world_callback>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

________________________ TestLabHub.test_invalid_token _________________________

self = <tests.labhub_test.TestLabHub testMethod=test_invalid_token>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

__________________________ TestLabHub.test_invite_cmd __________________________

self = <tests.labhub_test.TestLabHub testMethod=test_invite_cmd>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

______________________ TestLabHub.test_is_newcomer_issue _______________________

self = <tests.labhub_test.TestLabHub testMethod=test_is_newcomer_issue>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

________________________ TestLabHub.test_is_room_member ________________________

self = <tests.labhub_test.TestLabHub testMethod=test_is_room_member>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

___________________________ TestLabHub.test_mark_cmd ___________________________

self = <tests.labhub_test.TestLabHub testMethod=test_mark_cmd>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

_________________________ TestLabHub.test_unassign_cmd _________________________

self = <tests.labhub_test.TestLabHub testMethod=test_unassign_cmd>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/lmgtfy_test.py F

____________________________ LmgtfyTest.test_lmgtfy ____________________________

self = <tests.lmgtfy_test.LmgtfyTest testMethod=test_lmgtfy>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/nevermind_test.py F

_________________________ NevermindTest.test_nevermind _________________________

self = <tests.nevermind_test.NevermindTest testMethod=test_nevermind>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/pitchfork_test.py F

______________________________ PitchForkTest.test ______________________________

self = <tests.pitchfork_test.PitchForkTest testMethod=test>, extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/searchdocs_test.py F

________________________ SearchDocsTest.test_search_cmd ________________________

self = <tests.searchdocs_test.SearchDocsTest testMethod=test_search_cmd>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/ship_it_test.py F

___________________________ ShipItTest.test_ship_it ____________________________

self = <tests.ship_it_test.ShipItTest testMethod=test_ship_it>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/spam_test.py F

_________________________ TestSpam.test_spam_callback __________________________

self = <tests.spam_test.TestSpam testMethod=test_spam_callback>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/spam_test.py F

_______________________ TestSpam.test_spam_configuration _______________________

self = <tests.spam_test.TestSpam testMethod=test_spam_configuration>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/spam_test.py F

_____________ TestSpamExtraConfig.test_spam_extra_config_callback ______________

self = <tests.spam_test.TestSpamExtraConfig testMethod=test_spam_extra_config_callback>

    def setUp(self):
        extra_config = {
            'DEFAULT_CONFIG': {
                'SpammingAlert': {
                    'MAX_MSG_LEN': 500,
                    'MAX_LINES': 5,
                }
            }
        }
>       super().setUp(extra_config=extra_config)

tests/spam_test.py:36: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.spam_test.TestSpamExtraConfig testMethod=test_spam_extra_config_callback>
extra_config = {'DEFAULT_CONFIG': {'SpammingAlert': {'MAX_LINES': 5, 'MAX_MSG_LEN': 500}}}

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/spam_test.py F

___________ TestSpamExtraConfig.test_spam_extra_config_configuration ___________

self = <tests.spam_test.TestSpamExtraConfig testMethod=test_spam_extra_config_configuration>

    def setUp(self):
        extra_config = {
            'DEFAULT_CONFIG': {
                'SpammingAlert': {
                    'MAX_MSG_LEN': 500,
                    'MAX_LINES': 5,
                }
            }
        }
>       super().setUp(extra_config=extra_config)

tests/spam_test.py:36: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.spam_test.TestSpamExtraConfig testMethod=test_spam_extra_config_configuration>
extra_config = {'DEFAULT_CONFIG': {'SpammingAlert': {'MAX_LINES': 5, 'MAX_MSG_LEN': 500}}}

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/the_rules_test.py F

_________________________ TheRulesTest.test_the_rules __________________________

self = <tests.the_rules_test.TheRulesTest testMethod=test_the_rules>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/wolfram_alpha_test.py F

___________________________ WolframAlphaTest.test_wa ___________________________

self = <tests.wolfram_alpha_test.WolframAlphaTest testMethod=test_wa>
extra_config = None

    def setUp(self, extra_config=None):
        file_name = 'labhub.plug'
        file_rename = 'hidden'
        self.file_path = Path(__file__).parent / '..' / 'plugins' / file_name
        self.renamed_file_path = (Path(__file__)
                                  .parent / '..' / 'plugins' / file_rename)
>       os.rename(self.file_path, self.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError
                                                                         [100%]
Profiling (from /home/travis/build/coala/corobo/prof/combined.prof):
Thu Aug  9 20:56:09 2018    /home/travis/build/coala/corobo/prof/combined.prof

         3881495 function calls (3501374 primitive calls) in 5.884 seconds

   Ordered by: cumulative time
   List reduced from 1172 to 20 due to restriction <20>

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
       43    0.000    0.000    5.876    0.137 runner.py:105(pytest_runtest_call)
       43    0.000    0.000    5.875    0.137 unittest.py:182(runtest)
       43    0.000    0.000    5.874    0.137 case.py:652(__call__)
       43    0.001    0.000    5.874    0.137 case.py:570(run)
       11    0.001    0.000    5.454    0.496 labhub_test_case.py:11(setUp)
       10    0.000    0.000    4.969    0.497 labhub_test.py:21(setUp)
   187/99    0.091    0.000    4.801    0.048 mock.py:2120(create_autospec)
     5510    0.046    0.000    3.519    0.001 mock.py:1828(__init__)
    11020    0.675    0.000    2.353    0.000 mock.py:1834(_mock_set_magics)
    11000    0.038    0.000    1.660    0.000 mock.py:63(_get_signature_object)
    10978    0.014    0.000    1.616    0.000 inspect.py:3031(signature)
    10978    0.019    0.000    1.602    0.000 inspect.py:2779(from_callable)
20834/10978    0.198    0.000    1.583    0.000 inspect.py:2173(_signature_from_callable)
715200/357601    0.622    0.000    1.160    0.000 {built-in method builtins.delattr}
     5424    0.037    0.000    1.059    0.000 mock.py:917(__init__)
     5523    0.045    0.000    1.043    0.000 mock.py:376(__init__)
     5523    0.033    0.000    0.996    0.000 mock.py:442(_mock_add_spec)
       13    0.000    0.000    0.914    0.070 corobo_test_case.py:11(setUp)
       13    0.000    0.000    0.909    0.070 test.py:500(setUp)
       13    0.001    0.000    0.894    0.069 test.py:386(start)



travis_fold:start:py-5610.cov.0
----------- coverage: platform linux, python 3.6.3-final-0 -----------
Name                                Stmts   Miss Branch BrPart  Cover   Missing
-------------------------------------------------------------------------------
answers/__init__.py                     0      0      0      0   100%
plugins/__init__.py                     0      0      0      0   100%
utils/__init__.py                       0      0      0      0   100%
utils/backends.py                       0      0      0      0   100%
plugins/lmgtfy.py                       4      1      0      0    75%   15
plugins/the_rules.py                    5      1      0      0    80%   19
plugins/constants.py                    4      4      0      0     0%   2-6
plugins/nevermind.py                    5      5      0      0     0%   1-14
plugins/deprecate_bot_prefixes.py       6      6      4      0     0%   1-17
plugins/ship_it.py                      7      7      0      0     0%   1-28
plugins/explain.py                     20      9      6      0    50%   30-44
plugins/ghetto.py                      10     10      2      0     0%   1-28
plugins/coala_lowercase_c.py           12     12      4      0     0%   1-26
plugins/pitchfork.py                   12     12      2      0     0%   1-39
plugins/wolfram_alpha.py               18     12      6      0    25%   14-15, 22-31
plugins/spam.py                        13     13      2      0     0%   1-35
plugins/searchdocs.py                  14     14      2      0     0%   1-30
utils/mixin.py                         20     15     10      0    17%   7-9, 12-15, 27-40
plugins/answer.py                      30     20      8      0    26%   17-24, 28-58
plugins/git_stats.py                   51     43     19      0    11%   17-18, 25-77
plugins/coatils.py                    115    100     67      0     8%   20-21, 25-32, 46-97, 108-126, 130-140, 144-159, 172-241
-------------------------------------------------------------------------------
TOTAL                                 346    284    132      0    13%
travis_fold:end:py-5610.cov.0

FAIL Required test coverage of 100% not reached. Total coverage: 13.39%
=========================== short test summary info ============================
FAIL tests/answer_test.py::TestAnswer::test_answer
FAIL tests/answer_test.py::TestAnswer::test_invalid_json
FAIL tests/answer_test.py::TestAnswer::test_invalid_repo
FAIL tests/coala_lowercase_c_test.py::CoalaLowercaseTest::test_cep
FAIL tests/coala_lowercase_c_test.py::CoalaLowercaseTest::test_coala_lowercase
FAIL tests/coatils_test.py::TestCoatils::test_all_langs
FAIL tests/coatils_test.py::TestCoatils::test_bear_stats
FAIL tests/coatils_test.py::TestCoatils::test_bear_stats_lang
FAIL tests/coatils_test.py::TestCoatils::test_construct_settings
FAIL tests/coatils_test.py::TestCoatils::test_contrib_stats
FAIL tests/coatils_test.py::TestCoatils::test_lang_stats
FAIL tests/coatils_test.py::TestCoatils::test_ls_bears
FAIL tests/coatils_test.py::TestCoatils::test_position
FAIL tests/coatils_test.py::TestCoatils::test_run_coala
FAIL tests/coatils_test.py::TestCoatils::test_stats
FAIL tests/coatils_test.py::TestCoatils::test_total_bears
FAIL tests/deprecate_bot_prefixes_test.py::DeprecateBotPrefixesTest::test_deprecated_prefixes_other
FAIL tests/explain_test.py::ExplainTest::test_explain
FAIL tests/ghetto_test.py::GhettoTest::test_ghetto
FAIL tests/git_stats_test.py::TestGitStats::test_pr_list
FAIL tests/labhub_test.py::TestLabHub::test_alive
FAIL tests/labhub_test.py::TestLabHub::test_assign_cmd
FAIL tests/labhub_test.py::TestLabHub::test_create_issue_cmd
FAIL tests/labhub_test.py::TestLabHub::test_hello_world_callback
FAIL tests/labhub_test.py::TestLabHub::test_invalid_token
FAIL tests/labhub_test.py::TestLabHub::test_invite_cmd
FAIL tests/labhub_test.py::TestLabHub::test_is_newcomer_issue
FAIL tests/labhub_test.py::TestLabHub::test_is_room_member
FAIL tests/labhub_test.py::TestLabHub::test_mark_cmd
FAIL tests/labhub_test.py::TestLabHub::test_unassign_cmd
FAIL tests/lmgtfy_test.py::LmgtfyTest::test_lmgtfy
FAIL tests/nevermind_test.py::NevermindTest::test_nevermind
FAIL tests/pitchfork_test.py::PitchForkTest::test
FAIL tests/searchdocs_test.py::SearchDocsTest::test_search_cmd
FAIL tests/ship_it_test.py::ShipItTest::test_ship_it
FAIL tests/spam_test.py::TestSpam::test_spam_callback
FAIL tests/spam_test.py::TestSpam::test_spam_configuration
FAIL tests/spam_test.py::TestSpamExtraConfig::test_spam_extra_config_callback
FAIL tests/spam_test.py::TestSpamExtraConfig::test_spam_extra_config_configuration
FAIL tests/the_rules_test.py::TheRulesTest::test_the_rules
FAIL tests/wolfram_alpha_test.py::WolframAlphaTest::test_wa
===================== 41 failed, 2 passed in 9.56 seconds ======================


def setUp(self, extra_config=None):
file_name = 'labhub.plug'
file_rename = 'hidden'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do class initialisation in setUpClass , including creating the hidden directory , and then remove the directory in tearDownClass.

@nvzard nvzard changed the title LabHub: Use activate and configuration templates [WIP] LabHub: Use activate and configuration templates Aug 10, 2018
@TravisBuddy
Copy link

Travis tests have failed

Hey @nvzard,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

python -m pytest
============================= test session starts ==============================
platform linux -- Python 3.6.3, pytest-3.6.4, py-1.5.2, pluggy-0.6.0
rootdir: /home/travis/build/coala/corobo, inifile: setup.cfg
plugins: requests-mock-1.5.2, xdist-1.22.5, travis-fold-1.3.0, timeout-1.3.1, reqs-0.0.7, reorder-0.1.1, profiling-1.3.0, mock-1.10.0, instafail-0.3.0, forked-0.2, error-for-skips-1.0.0, env-0.6.2, cov-2.5.1
collected 43 items                                                             

tests/answer_test.py ...                                                 [  6%]
tests/ban_test.py ..                                                     [ 11%]
tests/coala_lowercase_c_test.py E

________________ ERROR at setup of CoalaLowercaseTest.test_cep _________________

cls = <class 'tests.coala_lowercase_c_test.CoalaLowercaseTest'>
extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coala_lowercase_c_test.py E

__________ ERROR at setup of CoalaLowercaseTest.test_coala_lowercase ___________

cls = <class 'tests.coala_lowercase_c_test.CoalaLowercaseTest'>
extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py E

_________________ ERROR at setup of TestCoatils.test_all_langs _________________

cls = <class 'tests.coatils_test.TestCoatils'>, extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py E

________________ ERROR at setup of TestCoatils.test_bear_stats _________________

cls = <class 'tests.coatils_test.TestCoatils'>, extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py E

______________ ERROR at setup of TestCoatils.test_bear_stats_lang ______________

cls = <class 'tests.coatils_test.TestCoatils'>, extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py E

____________ ERROR at setup of TestCoatils.test_construct_settings _____________

cls = <class 'tests.coatils_test.TestCoatils'>, extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py E

_______________ ERROR at setup of TestCoatils.test_contrib_stats _______________

cls = <class 'tests.coatils_test.TestCoatils'>, extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py E

________________ ERROR at setup of TestCoatils.test_lang_stats _________________

cls = <class 'tests.coatils_test.TestCoatils'>, extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py E

_________________ ERROR at setup of TestCoatils.test_ls_bears __________________

cls = <class 'tests.coatils_test.TestCoatils'>, extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py E

_________________ ERROR at setup of TestCoatils.test_position __________________

cls = <class 'tests.coatils_test.TestCoatils'>, extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py E

_________________ ERROR at setup of TestCoatils.test_run_coala _________________

cls = <class 'tests.coatils_test.TestCoatils'>, extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py E

___________________ ERROR at setup of TestCoatils.test_stats ___________________

cls = <class 'tests.coatils_test.TestCoatils'>, extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/coatils_test.py E

________________ ERROR at setup of TestCoatils.test_total_bears ________________

cls = <class 'tests.coatils_test.TestCoatils'>, extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/deprecate_bot_prefixes_test.py E

__ ERROR at setup of DeprecateBotPrefixesTest.test_deprecated_prefixes_other ___

cls = <class 'tests.deprecate_bot_prefixes_test.DeprecateBotPrefixesTest'>
extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/explain_test.py E

__________________ ERROR at setup of ExplainTest.test_explain __________________

cls = <class 'tests.explain_test.ExplainTest'>, extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/ghetto_test.py E

___________________ ERROR at setup of GhettoTest.test_ghetto ___________________

cls = <class 'tests.ghetto_test.GhettoTest'>, extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/git_stats_test.py F

__________________________ TestGitStats.test_pr_list ___________________________

self = <tests.git_stats_test.TestGitStats testMethod=test_pr_list>

    def setUp(self):
>       super().setUp((plugins.git_stats.GitStats, plugins.labhub.LabHub,))

tests/git_stats_test.py:17: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

____________________________ TestLabHub.test_alive _____________________________

self = <tests.labhub_test.TestLabHub testMethod=test_alive>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

__________________________ TestLabHub.test_assign_cmd __________________________

self = <tests.labhub_test.TestLabHub testMethod=test_assign_cmd>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

_______________________ TestLabHub.test_create_issue_cmd _______________________

self = <tests.labhub_test.TestLabHub testMethod=test_create_issue_cmd>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

_____________________ TestLabHub.test_hello_world_callback _____________________

self = <tests.labhub_test.TestLabHub testMethod=test_hello_world_callback>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

________________________ TestLabHub.test_invalid_token _________________________

self = <tests.labhub_test.TestLabHub testMethod=test_invalid_token>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

__________________________ TestLabHub.test_invite_cmd __________________________

self = <tests.labhub_test.TestLabHub testMethod=test_invite_cmd>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

______________________ TestLabHub.test_is_newcomer_issue _______________________

self = <tests.labhub_test.TestLabHub testMethod=test_is_newcomer_issue>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

________________________ TestLabHub.test_is_room_member ________________________

self = <tests.labhub_test.TestLabHub testMethod=test_is_room_member>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

___________________________ TestLabHub.test_mark_cmd ___________________________

self = <tests.labhub_test.TestLabHub testMethod=test_mark_cmd>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/labhub_test.py F

_________________________ TestLabHub.test_unassign_cmd _________________________

self = <tests.labhub_test.TestLabHub testMethod=test_unassign_cmd>

    def setUp(self):
>       super().setUp((plugins.labhub.LabHub,))

tests/labhub_test.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/labhub_test_case.py:40: in setUp
    super().setUp(klasses)
tests/corobo_test_case.py:20: in setUp
    self.load_plugin_templates(klass)
tests/corobo_test_case.py:26: in load_plugin_templates
    with plug_file_path.open() as plugfile:
/opt/python/3.6.3/lib/python3.6/pathlib.py:1161: in open
    opener=self._opener)
/opt/python/3.6.3/lib/python3.6/pathlib.py:1015: in _opener
    return self._accessor.open(self, flags, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

pathobj = PosixPath('/home/travis/build/coala/corobo/tests/../plugins/labhub.plug')
args = (524288, 438)

    @functools.wraps(strfunc)
    def wrapped(pathobj, *args):
>       return strfunc(str(pathobj), *args)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug'

/opt/python/3.6.3/lib/python3.6/pathlib.py:387: FileNotFoundError
----------------------------- Captured stdout call -----------------------------
waiting on queue
message received
waiting on queue

tests/lmgtfy_test.py E

___________________ ERROR at setup of LmgtfyTest.test_lmgtfy ___________________

cls = <class 'tests.lmgtfy_test.LmgtfyTest'>, extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/nevermind_test.py E

________________ ERROR at setup of NevermindTest.test_nevermind ________________

cls = <class 'tests.nevermind_test.NevermindTest'>, extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/pitchfork_test.py E

_____________________ ERROR at setup of PitchForkTest.test _____________________

cls = <class 'tests.pitchfork_test.PitchForkTest'>, extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/searchdocs_test.py E

_______________ ERROR at setup of SearchDocsTest.test_search_cmd _______________

cls = <class 'tests.searchdocs_test.SearchDocsTest'>, extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/ship_it_test.py E

__________________ ERROR at setup of ShipItTest.test_ship_it ___________________

cls = <class 'tests.ship_it_test.ShipItTest'>, extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/spam_test.py E

________________ ERROR at setup of TestSpam.test_spam_callback _________________

cls = <class 'tests.spam_test.TestSpam'>, extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/spam_test.py E

______________ ERROR at setup of TestSpam.test_spam_configuration ______________

cls = <class 'tests.spam_test.TestSpam'>, extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/spam_test.py E

____ ERROR at setup of TestSpamExtraConfig.test_spam_extra_config_callback _____

cls = <class 'tests.spam_test.TestSpamExtraConfig'>, extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/spam_test.py E

__ ERROR at setup of TestSpamExtraConfig.test_spam_extra_config_configuration __

cls = <class 'tests.spam_test.TestSpamExtraConfig'>, extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/the_rules_test.py E

________________ ERROR at setup of TheRulesTest.test_the_rules _________________

cls = <class 'tests.the_rules_test.TheRulesTest'>, extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError

tests/wolfram_alpha_test.py E

__________________ ERROR at setup of WolframAlphaTest.test_wa __________________

cls = <class 'tests.wolfram_alpha_test.WolframAlphaTest'>, extra_config = None

    @classmethod
    def setUpClass(cls, extra_config=None):
>       os.rename(cls.file_path, cls.renamed_file_path)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/build/coala/corobo/tests/../plugins/labhub.plug' -> '/home/travis/build/coala/corobo/tests/../plugins/hidden'

tests/isolated_testcase.py:16: FileNotFoundError
                                                                         [100%]
Profiling (from /home/travis/build/coala/corobo/prof/combined.prof):
Fri Aug 10 05:24:52 2018    /home/travis/build/coala/corobo/prof/combined.prof

         4130386 function calls (3746578 primitive calls) in 6.792 seconds

   Ordered by: cumulative time
   List reduced from 1581 to 20 due to restriction <20>

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
       16    0.000    0.000    6.788    0.424 runner.py:105(pytest_runtest_call)
       16    0.000    0.000    6.787    0.424 unittest.py:182(runtest)
       16    0.000    0.000    6.787    0.424 case.py:652(__call__)
       16    0.001    0.000    6.787    0.424 case.py:570(run)
       11    0.001    0.000    5.841    0.531 labhub_test_case.py:11(setUp)
       10    0.000    0.000    5.339    0.534 labhub_test.py:21(setUp)
   187/99    0.081    0.000    5.187    0.052 mock.py:2120(create_autospec)
     5510    0.042    0.000    3.956    0.001 mock.py:1828(__init__)
    11020    0.671    0.000    2.380    0.000 mock.py:1834(_mock_set_magics)
    11000    0.032    0.000    1.977    0.000 mock.py:63(_get_signature_object)
    10978    0.012    0.000    1.939    0.000 inspect.py:3031(signature)
    10978    0.014    0.000    1.927    0.000 inspect.py:2779(from_callable)
20834/10978    0.191    0.000    1.912    0.000 inspect.py:2173(_signature_from_callable)
     5428    0.124    0.000    1.474    0.000 mock.py:917(__init__)
     5527    0.045    0.000    1.376    0.000 mock.py:376(__init__)
       16    0.000    0.000    1.357    0.085 test.py:500(setUp)
       16    0.001    0.000    1.348    0.084 test.py:386(start)
     5527    0.030    0.000    1.329    0.000 mock.py:442(_mock_add_spec)
715201/357602    0.616    0.000    1.184    0.000 {built-in method builtins.delattr}
       16    0.001    0.000    1.073    0.067 bootstrap.py:76(setup_bot)



travis_fold:start:py-5595.cov.0
----------- coverage: platform linux, python 3.6.3-final-0 -----------
Name                                Stmts   Miss Branch BrPart  Cover   Missing
-------------------------------------------------------------------------------
answers/__init__.py                     0      0      0      0   100%
plugins/__init__.py                     0      0      0      0   100%
plugins/answer.py                      30      0      8      0   100%
plugins/constants.py                    4      0      0      0   100%
utils/__init__.py                       0      0      0      0   100%
utils/backends.py                       0      0      0      0   100%
plugins/lmgtfy.py                       4      1      0      0    75%   15
plugins/nevermind.py                    5      1      0      0    80%   14
plugins/ship_it.py                      7      1      0      0    86%   28
plugins/the_rules.py                    5      1      0      0    80%   19
plugins/coala_lowercase_c.py           12      2      4      2    75%   17, 26, 16->17, 25->26
plugins/deprecate_bot_prefixes.py       6      2      4      1    50%   16-17, 15->16
plugins/spam.py                        13      4      2      1    67%   19, 29-35, 27->29
plugins/ghetto.py                      10      5      2      0    42%   20-28
utils/mixin.py                         20      5     10      5    67%   9, 15, 29, 33, 36, 7->9, 14->15, 28->29, 32->33, 35->36
plugins/pitchfork.py                   12      6      2      0    43%   18-39
plugins/searchdocs.py                  14      7      2      0    44%   23-30
plugins/explain.py                     20      9      6      0    50%   30-44
plugins/wolfram_alpha.py               18     10      6      0    33%   22-31
plugins/git_stats.py                   51     43     19      0    11%   17-18, 25-77
plugins/coatils.py                    115    100     67      0     8%   20-21, 25-32, 46-97, 108-126, 130-140, 144-159, 172-241
-------------------------------------------------------------------------------
TOTAL                                 346    197    132      9    35%
travis_fold:end:py-5595.cov.0

FAIL Required test coverage of 100% not reached. Total coverage: 35.15%
=========================== short test summary info ============================
FAIL tests/git_stats_test.py::TestGitStats::test_pr_list
FAIL tests/labhub_test.py::TestLabHub::test_alive
FAIL tests/labhub_test.py::TestLabHub::test_assign_cmd
FAIL tests/labhub_test.py::TestLabHub::test_create_issue_cmd
FAIL tests/labhub_test.py::TestLabHub::test_hello_world_callback
FAIL tests/labhub_test.py::TestLabHub::test_invalid_token
FAIL tests/labhub_test.py::TestLabHub::test_invite_cmd
FAIL tests/labhub_test.py::TestLabHub::test_is_newcomer_issue
FAIL tests/labhub_test.py::TestLabHub::test_is_room_member
FAIL tests/labhub_test.py::TestLabHub::test_mark_cmd
FAIL tests/labhub_test.py::TestLabHub::test_unassign_cmd
ERROR tests/coala_lowercase_c_test.py::CoalaLowercaseTest::test_cep
ERROR tests/coala_lowercase_c_test.py::CoalaLowercaseTest::test_coala_lowercase
ERROR tests/coatils_test.py::TestCoatils::test_all_langs
ERROR tests/coatils_test.py::TestCoatils::test_bear_stats
ERROR tests/coatils_test.py::TestCoatils::test_bear_stats_lang
ERROR tests/coatils_test.py::TestCoatils::test_construct_settings
ERROR tests/coatils_test.py::TestCoatils::test_contrib_stats
ERROR tests/coatils_test.py::TestCoatils::test_lang_stats
ERROR tests/coatils_test.py::TestCoatils::test_ls_bears
ERROR tests/coatils_test.py::TestCoatils::test_position
ERROR tests/coatils_test.py::TestCoatils::test_run_coala
ERROR tests/coatils_test.py::TestCoatils::test_stats
ERROR tests/coatils_test.py::TestCoatils::test_total_bears
ERROR tests/deprecate_bot_prefixes_test.py::DeprecateBotPrefixesTest::test_deprecated_prefixes_other
ERROR tests/explain_test.py::ExplainTest::test_explain
ERROR tests/ghetto_test.py::GhettoTest::test_ghetto
ERROR tests/lmgtfy_test.py::LmgtfyTest::test_lmgtfy
ERROR tests/nevermind_test.py::NevermindTest::test_nevermind
ERROR tests/pitchfork_test.py::PitchForkTest::test
ERROR tests/searchdocs_test.py::SearchDocsTest::test_search_cmd
ERROR tests/ship_it_test.py::ShipItTest::test_ship_it
ERROR tests/spam_test.py::TestSpam::test_spam_callback
ERROR tests/spam_test.py::TestSpam::test_spam_configuration
ERROR tests/spam_test.py::TestSpamExtraConfig::test_spam_extra_config_callback
ERROR tests/spam_test.py::TestSpamExtraConfig::test_spam_extra_config_configuration
ERROR tests/the_rules_test.py::TheRulesTest::test_the_rules
ERROR tests/wolfram_alpha_test.py::WolframAlphaTest::test_wa
================ 11 failed, 5 passed, 27 error in 10.30 seconds ================

@nvzard nvzard force-pushed the nvzard/activate branch 2 times, most recently from 277b189 to b0e5fb3 Compare August 10, 2018 06:07
@jayvdb jayvdb changed the title [WIP] LabHub: Use activate and configuration templates LabHub: Use activate and configuration templates Aug 10, 2018
"!hey nEverMINd", 'Command "hey" / "hey nEverMINd" not found.')
class NevermindTest(IsolatedTestCase):
def test_nevermind(self):
self.assertCommand("!nevermind", "I'm sorry :(")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

convert to single quotes

self.assertCommand("!hey nM", 'Command "hey" / "hey nM" not found.')
self.assertCommand("!nevermindxyz", 'Command "nevermindxyz" not found.')
self.assertCommand(
"!hey nEverMINd", 'Command "hey" / "hey nEverMINd" not found.')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

split into two lines

class ShipItTest(IsolatedTestCase):
def test_ship_it(self):
text = errbot.rendering.text()
self.assertCommand("!shipit", text.convert("![ship it!]()"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

single quotes


def test_spam_callback(self):
self.testbot.assertCommand('c'*1001, 'you\'re spamming')
self.testbot.assertCommand('\n\n'*11, 'you\'re spamming')
self.assertCommand('c'*1001, 'you\'re spamming')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add instance variable self.testbot = self

@@ -43,30 +33,24 @@ def setUp(self):
}
}
}
self.testbot = TestBot(extra_plugin_dir='plugins',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self.testbot = self

testbot.assertCommand("!ghetto ...", "Shiznit happens!")
@vcr.use_cassette('tests/cassettes/ghetto.yaml')
def test_ghetto(self):
self.assertCommand("!ghetto hi, whats up?", "hi, wassup?")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

single quotes

with requests_mock.Mocker() as m:
m.register_uri('POST', 'http://www.gizoogle.net/textilizer.php',
text='test text which will not match with the regex')
self.assertCommand("!ghetto ...", "Shiznit happens!")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

single quotes

@@ -65,7 +68,7 @@ def __init__(self, bot, name=None):
filter(lambda x: (x.full_name.split('/')[0] ==
self.GH_ORG_NAME),
self.IGH.write_repositories)}
except RuntimeError:
except RuntimeError: # pragma: no cover, for logging
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should be able to use requests-mock to break IGitt so it gives a RuntimeError , but ... not critical ... this is OK for now

IsolatedTestCase prevents TestBot from loading
LabHub as IGitt imports were delaying loading
time for the bot due to repetitive attempts to
send requests until an HTTP Client Error is
raised.

It was also not possible to patch the IGitt
imports while testing these plugins as plugins in
Errbot are loaded dynamically using yapsy plugin
manager. So it is not possible to patch since the
namespace is unknown.

IsolatedTestCase is able to prevent loading of
labhub plugin by renaming its `.plug` file. This
prevents the TestBot from loading it.
@jayvdb
Copy link
Member

jayvdb commented Aug 10, 2018

ack e302640

@jayvdb
Copy link
Member

jayvdb commented Aug 10, 2018

@gitmate-bot ff

@gitmate-bot
Copy link

Hey! I'm GitMate.io! This pull request is being fastforwarded automatically. Please DO NOT push while fastforward is in progress or your changes would be lost permanently ⚠️

@gitmate-bot gitmate-bot merged commit e302640 into coala:master Aug 10, 2018
@gitmate-bot
Copy link

Automated fastforward with GitMate.io was successful! 🎉

@nvzard nvzard deleted the nvzard/activate branch August 10, 2018 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

5 participants