internal error running: blacklist

Bug #1546777 reported by Eric Brown
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bandit
Fix Released
High
Tim Kelsey

Bug Description

The gate-bandit-integration-sahara job is full of errors like the following:

[tester] ERROR Bandit internal error running: blacklist on file sahara/api/middleware/auth_valid.py at line 17: 'qualnames'Traceback (most recent call last):
2016-02-17 19:15:38.740 | File "/home/jenkins/workspace/gate-bandit-integration-sahara/openstack/sahara/.tox/bandit/local/lib/python2.7/site-packages/bandit/core/tester.py", line 62, in run_tests
2016-02-17 19:15:38.740 | result = test(context, test._config)
2016-02-17 19:15:38.740 | File "/home/jenkins/workspace/gate-bandit-integration-sahara/openstack/sahara/.tox/bandit/local/lib/python2.7/site-packages/bandit/core/blacklisting.py", line 69, in blacklist
2016-02-17 19:15:38.740 | for qn in check['qualnames']:
2016-02-17 19:15:38.740 | KeyError: 'qualnames'

Tim Kelsey (tim-kelsey)
Changed in bandit:
importance: Undecided → High
assignee: nobody → Tim Kelsey (tim-kelsey)
Changed in bandit:
status: New → In Progress
Eric Brown (ericwb)
Changed in bandit:
milestone: none → 1.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to bandit (master)

Reviewed: https://review.openstack.org/281937
Committed: https://git.openstack.org/cgit/openstack/bandit/commit/?id=00405e9b922faf23a7af39d41124e0e8a526d494
Submitter: Jenkins
Branch: master

commit 00405e9b922faf23a7af39d41124e0e8a526d494
Author: Tim Kelsey <email address hidden>
Date: Thu Feb 18 16:29:16 2016 +0000

    Legacy blacklist data is missing some expected fields

    Change-Id: If15d4df4986e204caa954b57fe39975478f1f81e
    Partial-Bug: #1546777

Tim Kelsey (tim-kelsey)
Changed in bandit:
status: In Progress → Fix Released
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.