Tons of errors when running with config

Bug #1544709 reported by Travis McPeak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bandit
Fix Released
Critical
Tim Kelsey

Bug Description

When running against Keystone with the Keystone profile file (-c bandit.yaml -p gate) we get a ton of errors like:

[tester] ERROR Bandit internal error running: blacklist on file /Users/travismcpeak/Documents/projects/OpenStack_projects/keystone/keystone/common/clean.py at line 67: 'qualnames'Traceback (most recent call last):
  File "/Users/travismcpeak/Documents/projects/bandit/bandit/core/tester.py", line 62, in run_tests
    result = test(context, test._config)
  File "/Users/travismcpeak/Documents/projects/bandit/bandit/core/blacklisting.py", line 48, in blacklist
    for qn in check['qualnames']:
KeyError: 'qualnames'

Changed in bandit:
importance: Undecided → Critical
Tim Kelsey (tim-kelsey)
Changed in bandit:
assignee: nobody → Tim Kelsey (tim-kelsey)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to bandit (master)

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

Changed in bandit:
status: New → In Progress
Tim Kelsey (tim-kelsey)
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/279443
Committed: https://git.openstack.org/cgit/openstack/bandit/commit/?id=09bd480e16c6b3a58f7ad68d710f89e831670b88
Submitter: Jenkins
Branch: master

commit 09bd480e16c6b3a58f7ad68d710f89e831670b88
Author: Tim Kelsey <email address hidden>
Date: Fri Feb 12 09:45:41 2016 +0000

    old blacklist imports refered to 'qualnames' as 'imports'

    The field should be 'qualnames' as expected by the new builtin
    blacklist tests.

    Closes-bug: 1544709
    Change-Id: I56182d83be3fbaf72e2527fa21576f68e13362dd

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.