← All tasks
javaapache/incubator-kie #6819Not a task: not reproduced

"CI :: Build" job fails in KJarLoadingTest because of missing kjar build

envgap__apache__incubator-kie-6819

01 / FAILURE SIGNATURE

As reported upstream

2026-07-21T05:43:20.3710060Z [ERROR] Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 7.295 s <<< FAILURE! -- in org.drools.testcoverage.kieci.withdomain.KJarLoadingTest
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
a49891507883b94ec42161d03968da44af93e481
Manifest
drools-test-coverage/standalone/kie-ci-with-domain/tests/pom.xml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

apache/incubator-kie #6819 · read the original issue
See https://github.com/apache/incubator-kie-drools/pull/6818
If we raise a PR updating only a file in `drools-wiring` (or `drools-core` etc.), GHA `CI :: Build` jobs constantly fail with 
```
2026-07-21T05:43:20.3710060Z [ERROR] Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 7.295 s <<< FAILURE! -- in org.drools.testcoverage.kieci.withdomain.KJarLoadingTest
2026-07-21T05:43:20.3711190Z [ERROR] org.drools.testcoverage.kieci.withdomain.KJarLoadingTest.testRulesFireOldCustomerWithAlcohol -- Time elapsed: 7.027 s <<< ERROR!
2026-07-21T05:43:20.3712290Z java.lang.RuntimeException: Cannot find KieModule: org.drools.testcoverage:drools-kie-ci-with-domain-test-kjar:999-SNAPSHOT
2026-07-21T05:43:20.3713110Z    at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieContainer(KieServicesImpl.java:195)
2026-07-21T05:43:20.3713850Z    at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieContainer(KieServicesImpl.java:189)
2026-07-21T05:43:20.3714560Z    at org.drools.testcoverage.kieci.withdomain.KJarLoadingTest.init(KJarLoadingTest.java:50)
...
```
It is because `drools-kie-ci-with-domain-parent` requires `drools-kie-ci-with-domain-test-kjar` but doesn't have it as a dependency (it loads a kjar via maven local repo. Adding a dependency would spoil the purpose of this test). So `CiComputeBuildScopes` cannot list `drools-kie-ci-with-domain-test-kjar` as upstream, so it's not built.
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]