Project

General

Profile

Actions

Bug #23085

open

rudder-compliance python script does not support techniques with blocks when some of the methods inside report an error

Added by Félix DALLIDET over 1 year ago. Updated 6 months ago.

Status:
Pending release
Priority:
N/A
Category:
Scripts
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

The script fails with the following:

Traceback (most recent call last):
  File "./rudder-compliance", line 301, in <module>
    rules_compliance(compliance_in, args['rules'], csv_file_string)
  File "./rudder-compliance", line 213, in rules_compliance
    if get_non_compliance_rule(rule_compliance, non_compliances):
  File "./rudder-compliance", line 66, in get_non_compliance_rule
    extract_non_compliance_by_directive(rule_name, directive_compliance, non_compliances)
  File "./rudder-compliance", line 87, in extract_non_compliance_by_directive
    for nodes in components_compliance["nodes"]:
KeyError: 'nodes'

To reproduce import the attached technique.


Files


Subtasks 1 (0 open1 closed)

Bug #23091: Typo in parent ticketReleasedFélix DALLIDETActions
Actions

Also available in: Atom PDF