You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
? github.com/kiegroup/kie-cloud-operator [no test files]
? github.com/kiegroup/kie-cloud-operator/cmd/manager [no test files]
? github.com/kiegroup/kie-cloud-operator/cmd/ui [no test files]
? github.com/kiegroup/kie-cloud-operator/pkg/apis [no test files]
? github.com/kiegroup/kie-cloud-operator/pkg/apis/app [no test files]
? github.com/kiegroup/kie-cloud-operator/pkg/apis/app/v2 [no test files]
? github.com/kiegroup/kie-cloud-operator/pkg/components [no test files]
? github.com/kiegroup/kie-cloud-operator/pkg/controller [no test files]
ok github.com/kiegroup/kie-cloud-operator/pkg/controller/kieapp 15.491s
? github.com/kiegroup/kie-cloud-operator/pkg/controller/kieapp/constants [no test files]
ok github.com/kiegroup/kie-cloud-operator/pkg/controller/kieapp/defaults 3.059s
? github.com/kiegroup/kie-cloud-operator/pkg/controller/kieapp/defaults/packrd [no test files]
? github.com/kiegroup/kie-cloud-operator/pkg/controller/kieapp/packrd [no test files]
ok github.com/kiegroup/kie-cloud-operator/pkg/controller/kieapp/shared 0.369s
ok github.com/kiegroup/kie-cloud-operator/pkg/controller/kieapp/status 0.020s
ok github.com/kiegroup/kie-cloud-operator/pkg/controller/kieapp/test 0.843s
ok github.com/kiegroup/kie-cloud-operator/pkg/ui 0.143s
? github.com/kiegroup/kie-cloud-operator/pkg/ui/packrd [no test files]
? github.com/kiegroup/kie-cloud-operator/tools/csv-gen [no test files]
? github.com/kiegroup/kie-cloud-operator/tools/util [no test files]
? github.com/kiegroup/kie-cloud-operator/version [no test files]
kogito-operator
Build is successful.
$ make
....
Successfully tagged localhost/operator-runtime:1.0.0
Successfully tagged localhost/operator-runtime:latest
ae63df3b7352039b50c2fe4e31b7a278824f4cbd5b6e5e7e936539d820bc12ab
2022-02-28 10:39:04,107 podman.py:61 INFO Image built and available under following tags: operator-runtime:1.0.0, operator-runtime:latest
2022-02-28 10:39:04,107 cli.py:343 INFO Finished!
podman tag operator-runtime quay.io/kiegroup/kogito-operator:2.0.0-snapshot
Tests cases fail to run due to kogito bundle failing to install on Openshift
$ make run-tests
...
DEBUG=false go test ../hack/../test -v -timeout "240m" --godog.tags=""
I0302 14:26:18.500662 382783 request.go:655] Throttling request took 1.036550007s, request: GET:https://api.qe2-crw-s390x.s390g.lab.eng.rdu2.redhat.com:6443/apis/security.openshift.io/v1?timeout=32s
{"level":"info","T":"2022-03-02T14:26:20.404-0500","logger":"bdd-b5a9","msg":"Scenario Configure GitHub webhook trigger in remote S2I using KogitoBuild"}
{"level":"info","T":"2022-03-02T14:26:20.404-0500","logger":"bdd-b5a9","msg":"Step","stepText":"Namespace is created"}
{"level":"info","T":"2022-03-02T14:26:20.404-0500","logger":"bdd-b5a9","msg":"Creating namespace","namespace":"bdd-b5a9"}
{"level":"info","T":"2022-03-02T14:26:20.413-0500","logger":"bdd-b5a9","msg":"Step","stepText":"Kogito Operator is deployed"}
{"level":"info","T":"2022-03-02T14:26:20.413-0500","logger":"main","msg":"Installing Kogito operator using community catalog."}
{"level":"info","T":"2022-03-02T14:26:20.434-0500","logger":"openshift-operators","msg":"Subscribing to operator","subscriptionName":"kogito-operator","catalogSource":"community-operators","channel":"alpha","namespace":"openshift-operators"}
{"level":"info","T":"2022-03-02T14:26:20.434-0500","logger":"kubernetes_client","msg":"Create resource if not exists","kind":"","name":"kogito-operator","namespace":"openshift-operators"}
{"level":"info","T":"2022-03-02T14:26:20.449-0500","logger":"kubernetes_client","msg":"Skip creating - object already exists"}
{"level":"info","T":"2022-03-02T14:26:20.454-0500","logger":"openshift-operators","msg":"Wait 5m0s for kogito-operator operator running"}
{"level":"error","T":"2022-03-02T14:31:20.454-0500","logger":"bdd-b5a9","msg":"Error in step","step":"Kogito Operator is deployed","error":"Timeout waiting for kogito-operator operator running"}
{"level":"info","T":"2022-03-02T14:31:20.454-0500","logger":"bdd-b5a9","msg":"Step","stepText":"Build quarkus example service \"process-quarkus-example\" with configuration:"}
{"level":"info","T":"2022-03-02T14:31:20.454-0500","logger":"bdd-b5a9","msg":"Step","stepText":"BuildConfig \"process-quarkus-example\" is created with webhooks within 2 minutes"}
{"level":"error","T":"2022-03-02T14:31:20.504-0500","logger":"bdd-b5a9","msg":"Error in scenario","scenarioName":"Configure GitHub webhook trigger in remote S2I using KogitoBuild","error":"Timeout waiting for kogito-operator operator running"}
{"level":"info","T":"2022-03-02T14:31:20.504-0500","logger":"bdd-b5a9","msg":"Scenario duration","duration":"5m0.10050625s"}
{"level":"info","T":"2022-03-02T14:31:20.513-0500","logger":"bdd-b5a9","msg":"Wait 1m0s for Removal of all related CRs for service kogito-operator"}
{"level":"info","T":"2022-03-02T14:31:21.573-0500","logger":"bdd-b5a9","msg":"'Removal of all related CRs for service kogito-operator' is successful"}
{"level":"info","T":"2022-03-02T14:31:21.579-0500","logger":"bdd-b5a9","msg":"Delete created namespace","namespace":"bdd-b5a9"}
{"level":"info","T":"2022-03-02T14:31:21.579-0500","logger":"bdd-b5a9","msg":"Deleting namespace","namespace":"bdd-b5a9"}
{"level":"info","T":"2022-03-02T14:31:21.628-0500","logger":"bdd-dc40","msg":"Scenario Build quarkus binary build with native disabled using KogitoBuild"}
{"level":"info","T":"2022-03-02T14:31:21.628-0500","logger":"bdd-dc40","msg":"Step","stepText":"Namespace is created"}
{"level":"info","T":"2022-03-02T14:31:21.628-0500","logger":"bdd-dc40","msg":"Creating namespace","namespace":"bdd-dc40"}
{"level":"info","T":"2022-03-02T14:31:21.679-0500","logger":"bdd-dc40","msg":"Step","stepText":"Kogito Operator is deployed"}
{"level":"info","T":"2022-03-02T14:31:21.679-0500","logger":"main","msg":"Installing Kogito operator using community catalog."}
{"level":"info","T":"2022-03-02T14:31:21.741-0500","logger":"openshift-operators","msg":"Wait 5m0s for kogito-operator operator running"}
failed tests: Impact Analysis Graph : Graphviz:
Test dependency of j2v8 is not available for Z
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.drools.impact.analysis.graph.graphviz.GraphvizOutputTest
17:40:30.331 [main] INFO guru.nidi.graphviz.engine.AbstractGraphvizEngine - Could not initialize guru.nidi.graphviz.engine.GraphvizCmdLineEngine
guru.nidi.graphviz.engine.GraphvizException: [dot] command not found
17:40:30.334 [main] INFO guru.nidi.graphviz.engine.V8JavascriptEngine - Starting V8 runtime...
17:40:30.354 [main] INFO guru.nidi.graphviz.engine.AbstractGraphvizEngine - Could not initialize guru.nidi.graphviz.engine.GraphvizV8Engine
java.lang.IllegalStateException: J2V8 native library not loaded
at com.eclipsesource.v8.V8.checkNativeLibraryLoaded(V8.java:195)
.....
at com.eclipsesource.v8.V8.createV8Runtime(V8.java:145)
... 46 common frames omitted
Warning: Nashorn engine is planned to be removed from a future JDK release
17:40:37.062 [Thread-3] INFO guru.nidi.graphviz.engine.AbstractGraphvizEngine - Could not initialize guru.nidi.graphviz.engine.GraphvizJdkEngine
guru.nidi.graphviz.engine.GraphvizException: Runtime error: expected the system to be little-endian!
at guru.nidi.graphviz.engine.ResultHandler.waitFor(ResultHandler.java:42)
Implementation ideas
No response
The text was updated successfully, but these errors were encountered:
Description
This is and archival documentation of the work done so far or enabling kogito on s390x.
Buling and running tests
Build is successful on a RHEL8 s390x machine
Install Dependencies
sudo dnf in net-tools java-11-openjdk-devel.s390x
install maven 3.8.4 from https://maven.apache.org/download.cgi
Install docker
rhel8 instructions https://docs.docker.com/engine/install/rhel/
Clone repo
git clone https://github.com/kiegroup/kogito-runtimes.git
git checkout 1.11.1.Final
Quarkus needs port 8081 for tests
Kill process using it
Building Kafka image for Z
Building base image
Build image dependencies (can ignore errors)
Build kafka image
https://github.com/confluentinc/kafka-images
kafka-image/kafka
, update the dockerfile : Dockerfile.ubi8 with this patch https://gist.github.com/jdao-rh/2c5fb5f6a88d456553360cb920c2ee054 .Build zstd-jni-1.5.1-1.jar from repo with installing sbt
Building image + run tests
Build and run tests for Kogito Runtimes with
mvn clean install -fn -Dproductized
Tests cases fail because of missing images
Can be built from source
See above
Working with downstream Redhat Datagrid s390x image
No image available, and unable to build due to seastar and V8 dependencies
After resolving missing images, 2 tests fail dues to missing vectorized/redpanda image
Related Projects
optaplanner
Build and tests all pass
See build instructions at https://github.com/kiegroup/optaplanner#quick-development-start
Download Maven and follow the installation instructions
https://maven.apache.org/download.cgi
Build and run tests
Tests summary
kie-cloud-operator
dependencies
Build is successful with command
tests Pass but some tests cases have no files
kogito-operator
Build is successful.
Tests cases fail to run due to kogito bundle failing to install on Openshift
kogito-apps
see issue https://github.com/kiegroup/kogito-apps/issues/1285
kogito-examples
see issue https://github.com/kiegroup/kogito-examples/issues/1200
drools
The project is able to be built, but 1 test fail due to missing dependencies on s390x
Build commands
failed tests: Impact Analysis Graph : Graphviz:
Test dependency of j2v8 is not available for Z
Implementation ideas
No response
The text was updated successfully, but these errors were encountered: