Bug#955433: sahara-plugin-vanilla: FTBFS: AttributeError: 'NoneType' object has no attribute 'get_plugin'

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#955433: sahara-plugin-vanilla: FTBFS: AttributeError: 'NoneType' object has no attribute 'get_plugin'

Andreas Beckmann-4
Source: sahara-plugin-vanilla
Version: 2.0.0-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source

sahara-plugin-vanilla/experimental FTBFS:

======================================================================
FAIL: sahara_plugin_vanilla.tests.unit.plugins.vanilla.v2_8_2.test_versionhandler.VersionHandlerTest.test_get_edp_engine
sahara_plugin_vanilla.tests.unit.plugins.vanilla.v2_8_2.test_versionhandler.VersionHandlerTest.test_get_edp_engine
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/mock/mock.py", line 1330, in patched
    return func(*args, **keywargs)
  File "/build/sahara-plugin-vanilla-2.0.0/sahara_plugin_vanilla/tests/unit/plugins/vanilla/v2_8_2/test_versionhandler.py", line 216, in test_get_edp_engine
    ret = self.vh.get_edp_engine(self.cluster, job_type)
  File "/build/sahara-plugin-vanilla-2.0.0/sahara_plugin_vanilla/plugins/vanilla/v2_8_2/versionhandler.py", line 147, in get_edp_engine
    return edp_engine.EdpOozieEngine(cluster)
  File "/usr/lib/python3/dist-packages/sahara/plugins/edp.py", line 64, in __init__
    super(PluginsOozieJobEngine, self).__init__(cluster)
  File "/usr/lib/python3/dist-packages/sahara/service/edp/oozie/engine.py", line 48, in __init__
    self.plugin = job_utils.get_plugin(self.cluster)
  File "/usr/lib/python3/dist-packages/sahara/service/edp/job_utils.py", line 48, in get_plugin
    return plugin_base.PLUGINS.get_plugin(cluster.plugin_name)
AttributeError: 'NoneType' object has no attribute 'get_plugin'


----------------------------------------------------------------------
Ran 165 tests in 6.247s

FAILED (failures=1)


Andreas

sahara-plugin-vanilla_2.0.0-1.log.gz (30K) Download Attachment