Recent merge has function missing or referred incorrectly

Bug #1359197 reported by Arun Kant
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Barbican
Fix Released
Critical
Arvind Tiwari

Bug Description

I am seeing following failure when I run unit test for my code branch (https://review.openstack.org/#/c/110817/) and its failing with following error. This issue is because of recent merge of https://review.openstack.org/#/c/87405. Will assign Arvind to address this.

======================================================================
FAIL: barbican.tests.tasks.test_resources.WhenUsingKsEventConsumer.test_existing_project_entities_cleanup_for_plain_secret
tags: worker-2
----------------------------------------------------------------------
Traceback (most recent call last):
  File "barbican/tests/tasks/test_resources.py", line 574, in test_existing_project_entities_cleanup_for_plain_secret
    secret = self._create_secret_for_project(self.project1_data)
  File "barbican/tests/tasks/test_resources.py", line 537, in _create_secret_for_project
    self.repos)
  File "barbican/plugin/resources.py", line 182, in generate_secret
    .get_plugin_generate(key_spec)
  File "barbican/plugin/interface/secret_store.py", line 417, in _check_plugins_configured
    return plugin_related_function(self, *args, **kwargs)
  File "barbican/plugin/interface/secret_store.py", line 484, in get_plugin_generate
    if ext.obj.generate_supports(key_spec):
  File "barbican/plugin/store_crypto.py", line 170, in generate_supports
    return key_spec and sstore.KeyAlgorithm.supports(key_spec.alg.lower())
AttributeError: type object 'KeyAlgorithm' has no attribute 'supports'
======================================================================

Changed in barbican:
assignee: nobody → Arvind Tiwari (arvind-tiwari)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to barbican (master)

Fix proposed to branch: master
Review: https://review.openstack.org/115713

Changed in barbican:
status: New → In Progress
Changed in barbican:
importance: Undecided → Critical
milestone: none → juno-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to barbican (master)

Reviewed: https://review.openstack.org/115713
Committed: https://git.openstack.org/cgit/openstack/barbican/commit/?id=6c8b6a870b246e820e07457d902526d077cd6041
Submitter: Jenkins
Branch: master

commit 6c8b6a870b246e820e07457d902526d077cd6041
Author: Arvind Tiwari <email address hidden>
Date: Wed Aug 20 11:11:49 2014 -0600

    fix for bug #1359197

    This issue occurs due to CR 87405 merge which
    references a non existing function.

    Closes-Bug: 1359197

    Change-Id: If54641532f21c74fbf79706b9196f00e3a40e84f

Changed in barbican:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in barbican:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in barbican:
milestone: juno-3 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.