drewsonne commented on issue #4412: [AIRFLOW-3605] Load plugins from entry_points URL: https://github.com/apache/airflow/pull/4412#issuecomment-453110777 Uhhhhh... it's failing on writing a log 😕 https://travis-ci.org/apache/airflow/jobs/477803046#L4897 ```====================================================================== 37) ERROR: test_failed_load_entrpoint_plugins (tests.plugins.test_plugins_manager_www.PluginsTestEntrypointLoad) ---------------------------------------------------------------------- Traceback (most recent call last): tests/plugins/test_plugins_manager_www.py line 128 in test_failed_load_entrpoint_plugins )], []), airflow/plugins_manager.py line 88 in load_entrypoint_plugins log.debug('Importing entry_point plugin %s', entry_point.name) /usr/lib/python2.7/logging/__init__.py line 1155 in debug self._log(DEBUG, msg, args, **kwargs) /usr/lib/python2.7/logging/__init__.py line 1286 in _log self.handle(record) /usr/lib/python2.7/logging/__init__.py line 1296 in handle self.callHandlers(record) /usr/lib/python2.7/logging/__init__.py line 1336 in callHandlers hdlr.handle(record) /usr/lib/python2.7/logging/__init__.py line 759 in handle self.emit(record) .tox/py27-backend_mysql-env_docker/lib/python2.7/site-packages/nose/plugins/logcapture.py line 82 in emit self.buffer.append(self.format(record)) /usr/lib/python2.7/logging/__init__.py line 734 in format return fmt.format(record) /usr/lib/python2.7/logging/__init__.py line 465 in format record.message = record.getMessage() /usr/lib/python2.7/logging/__init__.py line 329 in getMessage msg = msg % self.args TypeError: coercing to Unicode: need string or buffer, MagicMock found``` Initial inspection looks like I'm using logging the same as everywhere else, but I will have to have a closer look later. It looks like a problem with the method of test implementation rather than the code itself... I think.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
