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

KOGITO-9662 - Index node metadata #1846

Merged
merged 1 commit into from
Sep 1, 2023

Conversation

cristianonicolai
Copy link
Contributor

@kie-ci3
Copy link
Contributor

kie-ci3 commented Aug 30, 2023

(tests) - kogito-apps job #1301 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

export BUILD_MVN_OPTS_CURRENT=-Dvalidate-formatting -Prun-code-coverage
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-apps -u https://github.com/kiegroup/kogito-apps/pull/1846 --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://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-apps.tests.kogito-apps/1301/display/redirect

Test results:

  • PASSED: 2753
  • FAILED: 13

Those are the test failures:

org.kie.kogito.index.infinispan.ProcessDataIndexInfinispanHttpIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.infinispan.ProcessDataIndexInfinispanKafkaIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.inmemory.ProcessDataIndexInMemoryIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.mongodb.ProcessDataIndexMongoDBHttpIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.mongodb.ProcessDataIndexMongoDBKafkaIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.oracle.ProcessDataIndexOracleHttpIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.oracle.ProcessDataIndexOracleKafkaIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlHttpIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlKafkaIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.ProcessDataIndexInfinispanIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.ProcessDataIndexMongoDBIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.ProcessDataIndexOracleIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.ProcessDataIndexPostgreSqlIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.

@kie-ci3
Copy link
Contributor

kie-ci3 commented Aug 30, 2023

(tests) - serverless-workflow-examples job #700 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

export BUILD_MVN_OPTS_CURRENT=-Pkogito-apps-downstream
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-examples -u https://github.com/kiegroup/kogito-apps/pull/1846 --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://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-apps.tests.downstream.serverless-workflow-examples/700/display/redirect

Test results:

  • PASSED: 81
  • FAILED: 1

Those are the test failures:

org.kie.kogito.examples.OpenVinoRestIT.testOpenvino 1 expectation failed.
JSON path workflowdata.group doesn't match.
Expected: a string containing "flat-coated retriever"
Actual: <[]>

@kie-ci3
Copy link
Contributor

kie-ci3 commented Aug 30, 2023

(tests) - kogito-apps job #1302 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

export BUILD_MVN_OPTS_CURRENT=-Dvalidate-formatting -Prun-code-coverage
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-apps -u https://github.com/kiegroup/kogito-apps/pull/1846 --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://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-apps.tests.kogito-apps/1302/display/redirect

Test results:

  • PASSED: 2753
  • FAILED: 13

Those are the test failures:

org.kie.kogito.index.infinispan.ProcessDataIndexInfinispanHttpIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.infinispan.ProcessDataIndexInfinispanKafkaIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.inmemory.ProcessDataIndexInMemoryIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.mongodb.ProcessDataIndexMongoDBHttpIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.mongodb.ProcessDataIndexMongoDBKafkaIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.oracle.ProcessDataIndexOracleHttpIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.oracle.ProcessDataIndexOracleKafkaIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlHttpIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlKafkaIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.ProcessDataIndexInfinispanIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.ProcessDataIndexMongoDBIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.ProcessDataIndexOracleIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.ProcessDataIndexPostgreSqlIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.

@kie-ci3
Copy link
Contributor

kie-ci3 commented Aug 30, 2023

(tests) - kogito-apps job #1303 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

export BUILD_MVN_OPTS_CURRENT=-Dvalidate-formatting -Prun-code-coverage
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-apps -u https://github.com/kiegroup/kogito-apps/pull/1846 --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://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-apps.tests.kogito-apps/1303/display/redirect

Test results:

  • PASSED: 2758
  • FAILED: 14

Those are the test failures:

org.kie.kogito.index.infinispan.ProcessDataIndexInfinispanHttpIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.infinispan.ProcessDataIndexInfinispanKafkaIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.inmemory.ProcessDataIndexInMemoryIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.mongodb.ProcessDataIndexMongoDBHttpIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.mongodb.ProcessDataIndexMongoDBKafkaIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.oracle.ProcessDataIndexOracleHttpIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.oracle.ProcessDataIndexOracleKafkaIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlHttpIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlKafkaIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.ProcessDataIndexInfinispanIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.ProcessDataIndexMongoDBIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.ProcessDataIndexOracleIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.index.ProcessDataIndexPostgreSqlIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodeDefinitions doesn't match.
Expected: not null
Actual: null
within 30 seconds.
org.kie.kogito.jobs.service.management.JobServiceInstanceManagerTest.heartbeatLeader
repository.heartbeat(
JobServiceManagementInfo[id=null, lastHeartbeat=2023-08-30T14:08:06.439Z, token=d9ccb846-3a94-404a-bf8e-4ff3a868b1d0]
);
Wanted 1 time:
-> at org.kie.kogito.jobs.service.management.JobServiceInstanceManagerTest.heartbeatLeader(JobServiceInstanceManagerTest.java:154)
But was 2 times:
-> at org.kie.kogito.jobs.service.management.JobServiceInstanceManager.heartbeat(JobServiceInstanceManager.java:183)
-> at org.kie.kogito.jobs.service.management.JobServiceInstanceManager.heartbeat(JobServiceInstanceManager.java:183)

@cristianonicolai cristianonicolai marked this pull request as ready for review August 30, 2023 22:48
@cristianonicolai
Copy link
Contributor Author

jenkins please retest this

@kie-ci3
Copy link
Contributor

kie-ci3 commented Aug 31, 2023

(tests) - kogito-apps job #1305 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer

export BUILD_MVN_OPTS_CURRENT=-Dvalidate-formatting -Prun-code-coverage
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-apps -u https://github.com/kiegroup/kogito-apps/pull/1846 --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://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-apps.tests.kogito-apps/1305/display/redirect

Test results:

  • PASSED: 2769
  • FAILED: 3

Those are the test failures:

org.kie.kogito.index.infinispan.ProcessDataIndexInfinispanKafkaIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodes[0].name doesn't match.
Expected: is "StartProcess"
Actual: First Line Approval
within 30 seconds.
org.kie.kogito.index.oracle.ProcessDataIndexOracleKafkaIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodes[0].name doesn't match.
Expected: is "StartProcess"
Actual: First Line Approval
within 30 seconds.
org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlKafkaIT.testProcessInstanceEvents Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.
JSON path data.ProcessInstances[0].nodes[0].name doesn't match.
Expected: is "StartProcess"
Actual: First Line Approval
within 30 seconds.

@sonarcloud
Copy link

sonarcloud bot commented Aug 31, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

76.9% 76.9% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@cristianonicolai
Copy link
Contributor Author

@nmirasch ready for review

@cristianonicolai cristianonicolai merged commit 19a248e into apache:main Sep 1, 2023
5 of 6 checks passed
@cristianonicolai cristianonicolai deleted the KOGITO-9662 branch September 1, 2023 02:36
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