python-barbicanclient functional tests with KMIP

Bug #1570166 reported by Max
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-barbicanclient
Fix Released
Undecided
Max

Bug Description

When using KMIP backend, following python-barbicanclient functional test cases are failing: functionaltests.client.v1.smoke.test_secrets.SecretsTestCase.test_create_secret_with_type*

1) Version of Barbican/client we are using:
     - origin/master

2) Reproduce steps:
a) Enable KMIP backend

b) Run test
 tox -e functional -- client/v1/smoke/test_secrets.py

functionaltests.client.v1.smoke.test_secrets.SecretsTestCase.test_create_secret_defaults ... ok
functionaltests.client.v1.smoke.test_secrets.SecretsTestCase.test_create_secret_with_type_certificate ... ERROR
functionaltests.client.v1.smoke.test_secrets.SecretsTestCase.test_create_secret_with_type_opaque ... ok
functionaltests.client.v1.smoke.test_secrets.SecretsTestCase.test_create_secret_with_type_passphrase ... ok
functionaltests.client.v1.smoke.test_secrets.SecretsTestCase.test_create_secret_with_type_private ... ERROR
functionaltests.client.v1.smoke.test_secrets.SecretsTestCase.test_create_secret_with_type_public ... ERROR
functionaltests.client.v1.smoke.test_secrets.SecretsTestCase.test_create_secret_with_type_symmetric ... ERROR
functionaltests.client.v1.smoke.test_secrets.SecretsTestCase.test_secret_create_defaults_no_expiration ... ERROR
functionaltests.client.v1.smoke.test_secrets.SecretsTestCase.test_secret_delete_defaults ... ERROR
functionaltests.client.v1.smoke.test_secrets.SecretsTestCase.test_secret_delete_minimal_secret_w_no_metadata ... ok
functionaltests.client.v1.smoke.test_secrets.SecretsTestCase.test_secret_get_defaults_payload ... ERROR
functionaltests.client.v1.smoke.test_secrets.SecretsTestCase.test_secrets_get_defaults_multiple_secrets ... ERROR
...
functionaltests.client.v1.smoke.test_secrets.SecretsTestCase.test_create_secret_with_type_certificate - BARBICAN-262 – 500 Error - Error: [('PEM routines', 'PEM_read_bio', 'no start line')]

functionaltests.client.v1.smoke.test_secrets.SecretsTestCase.test_create_secret_with_type_symmetric – BARBICAN-262 - key length (128) not equal to key value length(192)

Max (maxaa)
Changed in python-barbicanclient:
assignee: nobody → Max (max-abidi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-barbicanclient (master)

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

Changed in python-barbicanclient:
status: New → In Progress
Revision history for this message
Max (maxaa) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-barbicanclient (master)

Reviewed: https://review.openstack.org/305594
Committed: https://git.openstack.org/cgit/openstack/python-barbicanclient/commit/?id=d6d5f8600916222a6ac61a9cc9ded486b5ed0b06
Submitter: Jenkins
Branch: master

commit d6d5f8600916222a6ac61a9cc9ded486b5ed0b06
Author: Max Abidi <email address hidden>
Date: Wed Apr 13 20:11:58 2016 -0700

    Fixed python-barbicanclient functional tests.

    When using KMIP backend, some barbican client functional
    tests failed in payload length validation. Fixed the test case
    payload data.

    Change-Id: I9d0b2d04662b3a7399603b9eff20d9daf406e069
    Closes-Bug: #1570166

Changed in python-barbicanclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-barbicanclient (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-barbicanclient (master)

Reviewed: https://review.openstack.org/328876
Committed: https://git.openstack.org/cgit/openstack/python-barbicanclient/commit/?id=b128a4d2e1382002bace3768613f0c2a92a7de19
Submitter: Jenkins
Branch: master

commit b128a4d2e1382002bace3768613f0c2a92a7de19
Author: Max Abidi <email address hidden>
Date: Mon Jun 13 00:20:17 2016 -0700

    Fixed python-barbicanclient functional tests.

    When using KMIP backend, some barbican client functional
    tests failed in payload length validation. Fixed the test case
    payload data, for client/v1/functional/test_secrets and
    cli/v1/smoke/test_secret

    Change-Id: Ic0abe8b6094d838fb4ec33cf22a5ca4c0450de31
    Closes-Bug: #1570166

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-barbicanclient 4.1.0

This issue was fixed in the openstack/python-barbicanclient 4.1.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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