-
Notifications
You must be signed in to change notification settings - Fork 132
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
[incubator-kie-issues-1324] Live reload does not work for KN CLI plugin #2074
Conversation
The cause of this issue is that we continue to send the heartbeat when the CDI container is already shutting down and the This issue can be easily reproduced using the To verify the fix, build incubator-kie-kogito-apps followed by incubator-kie-tools, replacing |
PR job Reproducerbuild-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-apps -u #2074 --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-apps-pr/job/PR-2074/1/display/redirect Test results:
Those are the test failures: org.kie.kogito.index.ProcessDataIndexMongoDBIT.testProcessInstanceEvents1 expectation failed.JSON path errors doesn't match. Expected: null Actual: <[{message=Exception while fetching data (/UserTaskInstances[0]/schema) : Runtime service URL not defined, please review the kogito.service.url system property to point the public URL for this runtime., locations=[{line=1, column=85}], path=[UserTaskInstances, 0, schema], extensions={classification=DataFetchingException}}]> |
PR job Reproducerbuild-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-apps -u #2074 --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-apps-pr/job/PR-2074/2/display/redirect Test results:
Those are the test failures: org.kie.kogito.index.service.InfinispanDomainIndexingServiceIT.testConcurrentProcessInstanceIndexAssertion condition defined as a org.kie.kogito.index.service.AbstractIndexingServiceIT 1 expectation failed.JSON path data.ProcessInstances[0].state doesn't match. Expected: is "COMPLETED" Actual: ACTIVE within 30 seconds. |
PR job Reproducerbuild-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-apps -u #2074 --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-apps-pr/job/PR-2074/3/display/redirect Test results:
Those are the test failures: org.kie.kogito.index.infinispan.ProcessDataIndexInfinispanHttpIT.testProcessInstanceEvents1 expectation failed.JSON path data.UserTaskInstances[0].potentialGroups[0] doesn't match. Expected: managers Actual: null org.kie.kogito.index.mongodb.ProcessDataIndexMongoDBHttpIT.testProcessInstanceEvents1 expectation failed.JSON path data.UserTaskInstances[0].potentialGroups[0] doesn't match. Expected: managers Actual: null org.kie.kogito.index.mongodb.ProcessDataIndexMongoDBKafkaIT.testProcessInstanceEventsCannot invoke method size() on null objectorg.kie.kogito.index.ProcessDataIndexMongoDBIT.testProcessInstanceEventsCannot invoke method size() on null object |
@ricardozanini @wmedvede @dgutierr From what I see, this error is not related to the PR. Moreover, the other PRs also contain the same error (3 out of 4). I agree with @domhanak, who suggests investigating this. WDYT? |
@treblereel where did I say that? :D unrelated flaky tests should be reported in an issue and we can disregard them :) On the other hand, to test this with EDIT: Turns out I can't read properly - Will check soon |
@treblereel Worked well, I was able to finish the use case of live reload properly. Do you think we could add a test to check this cause: |
@domhanak here #1530 (comment) :) hmm, for some unknown reason, it's green today :) |
@treblereel Yea sometimes the CI is slower, depends on the machine and some tests are flaky. The comment you are referencing point to different PR, is that right? |
@domhanak I don't think we need tests here, all we need is to check the fix is ok. Moreover, fwiv it's not that easy to write tests for this case. But if you think we need it, let me know, maybe we can merge it as is (in case fix is ok) and create a separate issue for tests |
Ack, created one for me for E2E here - apache/incubator-kie-issues#1380 |
@domhanak thank you |
Closes: apache/incubator-kie-issues#1324