Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-5808

Fix test for quarkus-platform: kogito-codegen-integration-tests

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 1.19.0.Final
    • 1.11.0.Final
    • Core Engine
    • None
    • 2021 Week 34-36 (from Aug 23), 2021 Week 37-39 (from Sep 13), 2021 Week 40-42 (from Oct 4), 2021 Week 43-45 (from Oct 25), 2021 Week 46-48 (from Nov 15), 2021 Week 49-51 (from Dec 6th), 2022 Week 02-04 (from Jan 10), 2022 Week 05-07 (from Jan 31), 2022 Week 08-10 (from Feb 21)

      The test is failing in quarkus platform build due to wrong handling of files (relying on local location). Resulting in failures like:

      ...
      Caused by: org.kie.kogito.codegen.process.ProcessParsingException: Could not parse file /home/jstastny/gitrepo/quarkus-platform/generated-platform-project/quarkus-kogito/integration-tests/kogito-codegen-integration-tests/src/test/resources/links/MultipleCatchLinkProcess.bpmn2
      Caused by: org.kie.kogito.codegen.process.ProcessParsingException: Could not parse file /home/jstastny/gitrepo/quarkus-platform/generated-platform-project/quarkus-kogito/integration-tests/kogito-codegen-integration-tests/src/test/resources/links/MultipleCatchLinkProcess.bpmn2 at org.kie.kogito.codegen.process.ProcessCodegen.parseProcessFile(ProcessCodegen.java:259) at org.kie.kogito.codegen.process.ProcessCodegen.parseProcesses(ProcessCodegen.java:224) ... 70 more
      Caused by: java.io.FileNotFoundException: src/test/resources/links/MultipleCatchLinkProcess.bpmn2 (No such file or directory) at java.base/java.io.FileInputStream.open0(Native Method) at java.base/java.io.FileInputStream.open(FileInputStream.java:219) at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157) at org.drools.core.io.impl.FileSystemResource.getInputStream(FileSystemResource.java:126) at org.drools.core.io.impl.FileSystemResource.getReader(FileSystemResource.java:133) at org.kie.kogito.codegen.process.ProcessCodegen.parseProcessFile(ProcessCodegen.java:253) ... 71 more

              cnicolai@redhat.com Cristiano Nicolai (Inactive)
              jstastny@redhat.com Jan Stastny
              Marian Macik Marian Macik
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: