Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-5343

[Insights] Insight incorrectly generated by custom rule with non-zero effort

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • MTA 8.1.0
    • MTA 7.2.3
    • MTA CLI
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 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.

      Additional info:

        1. insights_732.png
          79 kB
          Nandini Chandra

              emcmulla@redhat.com Emily McMullan
              rhn-support-nachandr Nandini Chandra
              Nandini Chandra Nandini Chandra
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: