Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kie-issues#1599: Remove Task Console usage from kogito-examples #2033

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ljmotta
Copy link

@ljmotta ljmotta commented Oct 31, 2024

@kie-ci3
Copy link
Contributor

kie-ci3 commented Nov 1, 2024

PR job #2 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

build-chain build full_downstream -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-examples -u #2033 --skipParallelCheckout

NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-examples-pr/job/PR-2033/2/display/redirect

Test results:

  • PASSED: 393
  • FAILED: 1

Those are the test failures:

org.kie.kogito.examples.quarkus.GrafanaDockerComposeIT.testGrafanaDashboards 1 expectation failed.
JSON path title doesn't match.
Expected: a collection containing "dmn-drools-quarkus-metrics_999-SNAPSHOT - Hello - Domain Dashboard"
Actual: <[dmn-drools-quarkus-metrics_999-SNAPSHOT - Custom - Domain Dashboard, dmn-drools-quarkus-metrics_999-SNAPSHOT - Custom - Operational Dashboard, dmn-drools-quarkus-metrics_999-SNAPSHOT - hello - Operational Dashboard, dmn-drools-quarkus-metrics_999-SNAPSHOT - LoanEligibility - Domain Dashboard, dmn-drools-quarkus-metrics_999-SNAPSHOT - LoanEligibility - Operational Dashboard]>

Copy link

@jomarko jomarko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR. Nice cleanup. The feedback I share is based on executing scripts on Ubuntu 24.04.

@kie-ci3
Copy link
Contributor

kie-ci3 commented Nov 7, 2024

PR job #4 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

build-chain build full_downstream -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-examples -u #2033 --skipParallelCheckout

NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-examples-pr/job/PR-2033/4/display/redirect

Test results:

  • PASSED: 393
  • FAILED: 1

Those are the test failures:

org.kie.kogito.examples.quarkus.GrafanaDockerComposeIT.testGrafanaDashboards 1 expectation failed.
JSON path title doesn't match.
Expected: a collection containing "dmn-drools-quarkus-metrics_999-SNAPSHOT - hello - Operational Dashboard"
Actual: <[dmn-drools-quarkus-metrics_999-SNAPSHOT - Custom - Operational Dashboard]>

Copy link

@jomarko jomarko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for updates @ljmotta . I was able to move forward with executing commands from README files, however spotted some errors good to mention before merge. Maybe they are expected?


```
mvn clean package
java -jar target/quarkus-app/quarkus-run.jar
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for this additional instruction. It helped me to run the UI (localhost:8080), unfortunately, I was not able to see travels in the board, once I clicked Book your trip, Here is the form screenshot that I submitted.
image

```

or

```bash
sh ./startServices.sh postgresql
./startServices.sh postgresql
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for updates in the README of this project, I was not able to finish the steps:

  • mvn clean install -DskipTests -Ppostgresql 🆗
  • cd docker-compose 🆗
  • ./startServices.sh postgresql 🔴

getting this error:

Script requires your Kogito Quickstart to be compiled
Project version: 999-SNAPSHOT
Kogito Image version: main
Have you compiled the project before with the right profile: ../mvn clean install -DskipTests -Ppostgresql
WARNING: Found orphan containers (grafana, infinispan, prometheus) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Creating docker-compose_postgres_1 ... done
Creating zookeeper                 ... done
Creating keycloak                  ... done
Creating docker-compose_pgadmin_1  ... done
Creating kafka                     ... done
Creating data-index                ... done
Creating jobs-service              ... done

ERROR: for management-console  Container "3d084b0c7de2" is unhealthy.
ERROR: Encountered errors while bringing up the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants