Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-3837

incidents missing unexpectedly in runs (WINDUP-6.2.0)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Critical Critical
    • MTR-1.2.0
    • None
    • None
    • None
    • False
    • None
    • False
    • Hide
      * *Why we missed the bug?*
       ** Pick to proper answer from drop-down field upper.
       +_Additional comments:_+


       * *What is required:*
       ** Pick to proper answer from drop-down field upper.
       +_Additional comments:_+
      Show
      * *Why we missed the bug?*  ** Pick to proper answer from drop-down field upper.  +_Additional comments:_+  * *What is required:*  ** Pick to proper answer from drop-down field upper.  +_Additional comments:_+
    • ---
    • ---
    • AMM Sprint 235, AMM Sprint 236, AMM Sprint 237, AMM Sprint 238, AMM Sprint 239
    • Critical
    • No

      I wrote a rule to detect logging to file which evolved from an existing Windup rule. I also created test data including XML and properties files for Log4J/LOG4J2/Logback.

      However, in testing I encountered this issue:

      • The number of detected incidents varies from run to run, sometimes detecting 2 incidents, sometimes 3, even though the rule and test data never changed.
      • Files that were not detected in one run, e.g. log4j.properties, were detected when running Windup on just that single file instead of the whole test data.

      This issue has been really bothering me. I spent hours troubleshooting my test to try and find the error in my rule, but now it seems the issue is not due to a rule error.  

      Hope to get a reply on this issue soon. Thanks.

        1. azure-logging.windup.xml
          4 kB
        2. image-2023-04-23-23-00-17-168.png
          image-2023-04-23-23-00-17-168.png
          21 kB
        3. image-2023-04-23-23-00-41-585.png
          image-2023-04-23-23-00-41-585.png
          27 kB
        4. log4j.properties
          0.5 kB
        5. log4j2.xml
          0.4 kB
        6. log4j2-spring.properties
          0.3 kB
        7. log4j-console.xml
          0.5 kB
        8. log4j-spring.xml
          0.8 kB
        9. logback-spring.xml
          0.5 kB
        10. screenshot-1.png
          screenshot-1.png
          35 kB
        11. Screenshot from 2023-07-24 16-53-07.png
          Screenshot from 2023-07-24 16-53-07.png
          99 kB
        12. Screenshot from 2023-07-24 16-56-31.png
          Screenshot from 2023-07-24 16-56-31.png
          147 kB

              mrizzi@redhat.com Marco Rizzi
              kaiqianyang Kaiqian Yang (Inactive)
              Karishma Punwatkar Karishma Punwatkar
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: