-
Bug
-
Resolution: Unresolved
-
Normal
-
MTA 7.2.3
-
Quality / Stability / Reliability
-
False
-
-
False
-
-
-
None
Description of problem:
An insight is incorrectly generated by a custom rule with non-zero effort.
This issue doesn't occur on 7.3.1.
non-zero_effort, tag and message defined; Insight must not be created
- ruleID: discover-properties-file-TC3
description: "Properties file (Insights TC3)"
labels: - konveyor.io/target=discovery
tag: ["Properties File (Insights TC3)"]
message: Found properties file, Insight must not be created
effort: 1
when:
builtin.file:
pattern: "^.*
.properties$"
Version-Release number of selected component (if applicable):
7.2.3
How reproducible:
Always
Steps to Reproduce:
1. Analyze tackle testapp with the attached custom rule.
2. Command run for analysis:
mta-cli analyze --input tackle-testapp-main --output ./static_report/tc-customrules-source-june3 --mode source-only
--rules ./custom_rule_insights.yaml
Full mode
mta-cli analyze --input tackle-testapp-main --output ./static_report/tc-customrules-source-deps-june3
--rules ./custom_rule_insights.yaml
Actual results:
An insight is incorrectly generated by a custom rule with non-zero effort.
Expected results:
Insight shouldn't be generated.