kbowers-ibm commented on PR #2235:
URL:
https://github.com/apache/incubator-kie-tools/pull/2235#issuecomment-2069671023
Thanks for the PR! It might be a good idea to add python (and python venv)
to the requirements in the main README, as running pnpm bootstrap without them
causes errors.
Findings when trying to build on WSL (Ubuntu 22.04):
**kogito-swf-devmode:**
After following steps in the readme, I ran pnpm -F
@kie-tools/kogito-swf-devmode build:prod:
`Installed Bats to bats/bin/bats
----> running bats
/home/kbowers-ibm/test/incubator-kie-tools/packages/kogito-swf-devmode/build/bats/libexec/bats-core/bats:
line 103: cd: modules/kogito-swf/common/scripts/tests: No such file or
directory
make: *** [Makefile:80: bats] Error 1
make: Leaving directory
'/home/kbowers-ibm/test/incubator-kie-tools/packages/kogito-swf-devmode/build'
ELIFECYCLE Command failed with exit code 2.
[run-script-if] Error executing 'run-script-os'.
ELIFECYCLE Command failed with exit code 1.
`/home/kbowers-ibm/test/incubator-kie-tools/packages/kogito-swf-devmode:`
**kogito-swf-builder:**
Should the builder and devmode have identical readme's? Judging by the
errors below it seems like some additional setup might be required.
After following steps in the readme, I ran pnpm -F
@kie-tools/kogito-swf-builder build:prod:
`2024-04-22 16:15:19,784 steps.py:192 WARNING Exception caught:
ConnectionError(MaxRetryError("HTTPConnectionPool(host='172.17.0.2',
port=8080): Max retries exceeded with url: /q/health/ready (Caused by
NewConnectionError('<urllib3.connection.HTTPConnection object at
0x7f2e351d0250>: Failed to establish a new connection: [Errno 111] Connection
refused'))"))`
` [io.qua.config] (main) Unrecognized configuration key
"kogito.data-index.health-enabled" was provided; it will be ignored; verify
that the dependency extension for this configuration is set or that you did not
make a typo
[docker-java-stream--1709125771] INFO RunTests - STDOUT: 2024-04-22
14:18:53,313 WARN [io.qua.config] (main) Unrecognized configuration key
"kogito.jobs-service.health-enabled" was provided; it will be ignored; verify
that the dependency extension for this configuration is set or that you did not
make a typo
[docker-java-stream--1709125771] INFO RunTests - STDOUT: 2024-04-22
14:18:55,030 WARN
[org.kie.kog.add.qua.kna.eve.KnativeEventingConfigSourceFactory] (main) K_SINK
variable is empty or doesn't exist. Please make sure that this service is a
Knative Source or has a SinkBinding bound to it.
[docker-java-stream--1709125771] INFO RunTests - STDOUT: 2024-04-22
14:18:55,976 WARN [io.sma.rea.mes.provider] (main) SRMSG00207: Some components
are not connected to either downstream consumers or upstream producers:
[docker-java-stream--1709125771] INFO RunTests - STDOUT: -
Emitter{channel:'kogito-job-service-job-request-events'} has no downstream
[docker-java-stream--1709125771] INFO RunTests - STDOUT:
[docker-java-stream--1709125771] INFO RunTests - STDOUT: 2024-04-22
14:18:56,540 INFO
[org.kie.kog.add.qua.mes.com.QuarkusKogitoExtensionInitializer] (main)
Registered Kogito CloudEvent extension
[docker-java-stream--1709125771] INFO RunTests - STDOUT: 2024-04-22
14:18:56,651 WARN [io.sma.rea.mes.provider] (vert.x-eventloop-thread-6)
SRMSG00234: Failed to emit a Message to the channel:
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused:
localhost/127.0.0.1:9090
[docker-java-stream--1709125771] INFO RunTests - STDOUT: Caused by:
java.net.ConnectException: Connection refused`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]