Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-1376

org.kie.dmn.validation fails on master with ibm jdk

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 7.8.0.GA
    • 7.8.0.GA
    • DMN
    • None
    • jdk=ibm1.8

    • 3
    • CR1
    • -
    • Hide

      It is possible to reproduce it locally:

      • checkout https://github.com/kiegroup/drools [master]
      • set the project SDK on the IDE to ibm1.8.
      • run testImportNoAddtnAttribute() on org.kie.dmn.validation.ValidatorImportTest
      • AssertionError
      Show
      It is possible to reproduce it locally: checkout https://github.com/kiegroup/drools [master] set the project SDK on the IDE to ibm1.8. run testImportNoAddtnAttribute() on org.kie.dmn.validation.ValidatorImportTest AssertionError
    • 2020 Week 25-27 (from Jun 15)

    Description

      Some tests from org.kie.dmn.validation package are failing on nightly jobs [1]. If you are not on VPN, there is a gist for test results [2].

      They return "No DMNDiagramElement is associated with the element" warning message causing an AssertionError. The tests expect 0 messages.

      Failing tests on classes:

      • org.kie.dmn.validation.ValidatorDMNDITest
      • org.kie.dmn.validation.ValidatorImportTest
      • org.kie.dmn.validation.ValidatorTest

       e.g. org.kie.dmn.validation.ValidatorImportTest is as following:

      When run testImportNoAddtnAttribute() the result is:

      • java.lang.AssertionError: Message [id=0, level=WARNING, path=null, line=-1, column=-1 text=DMN: Missing DMNShape for 'Decision-1' (DMN id: _1361F7E7-846E-408D-B1AB-D4F7D4BD247F, No DMNDiagramElement is associated with the element) ]
      • Message [id=0, level=WARNING, path=null, line=-1, column=-1 text=DMN: Missing DMNShape for 'aaa' (DMN id: _E54727B7-BC41-4499-8652-53221E62BAD4, No DMNDiagramElement is associated with the element) ]
      • Message [id=0, level=WARNING, path=null, line=-1, column=-1 text=DMN: Missing DMNEdge for '_3FAE4777-A801-4216-BC21-0A13D5E16F43' (DMN id: _3FAE4777-A801-4216-BC21-0A13D5E16F43, No DMNDiagramElement is associated with the element) ]
      • Expected: is <0> but: was <3>

      It started to fail after DROOLS-4562 (DMN validation semantic rules for DMNDI) commit [3].

      Links:

      Attachments

        Activity

          People

            rhn-support-tkobayas Toshiya Kobayashi
            drosabrno Daniel Rosa
            Daniel Rosa Daniel Rosa
            Daniel Rosa Daniel Rosa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: