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

[QE] Containerless cli does not fire XML custom rules

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • MTA 7.2.0
    • MTA 7.2.0
    • MTA CLI
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • None

      Description of problem:

      The analyze-bin subcommand is not raising violations coming from custom rules in XML format

      Version-Release number of selected component (if applicable): 7.2.0-8 

      How reproducible: Always 

      Steps to Reproduce:
      1. Run the following command:
      App: https://github.com/melix/jmh-gradle-example

      /MTA-7.2.0-6/mta-7.2.0-cli-linux-amd64/mta-cli analyze -i ~/apps/jmh-gradle-example/ -o ~/Desktop/containerized-jmh-report --overwrite --rules ~/Desktop/customcustom.xml

      Actual results:

      There are no incidents reported for the custom rule 

      Expected results:

      The analysis should report more than 300 incidents for this rule

       Additional info:

      Attached you'll find the custom rule, the analysis output and the output of the same analysis executed using the containerized version

        1. containerized-jmh-report.zip
          2.88 MB
        2. containerless-jmh-report.zip
          3.79 MB
        3. customcustom.xml
          2 kB
        4. image-2024-11-15-11-41-28-902.png
          image-2024-11-15-11-41-28-902.png
          11 kB
        5. report-custom-rule.tar
          12.03 MB
        6. report-no-custom-rule.tar
          11.85 MB

              emcmulla@redhat.com Emily McMullan
              rh-ee-abrugaro Alejandro Brugarolas
              Alejandro Brugarolas Alejandro Brugarolas
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: