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

[exp-fixing-tests] Testing tiemout/logging to help diagnostic of failing tests #3734

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

gitgabrio
Copy link
Contributor

@gitgabrio gitgabrio commented Oct 16, 2024

@Abhitocode FYI

Please notice I (temporary) removed the logback-test.xml to have debug informations

How to replicate CI configuration locally?

Build Chain tool does "simple" maven build(s), the builds are just Maven commands, but because the repositories relates and depends on each other and any change in API or class method could affect several of those repositories there is a need to use build-chain tool to handle cross repository builds and be sure that we always use latest version of the code for each repository.

build-chain tool is a build tool which can be used on command line locally or in Github Actions workflow(s), in case you need to change multiple repositories and send multiple dependent pull requests related with a change you can easily reproduce the same build by executing it on Github hosted environment or locally in your development environment. See local execution details to get more information about it.

@gitgabrio gitgabrio changed the title [exp-fixing-tests] Testing tiemout/logging to help diagnostic of fainlig tests [exp-fixing-tests] Testing tiemout/logging to help diagnostic of failing tests Oct 16, 2024
@kie-ci3
Copy link
Contributor

kie-ci3 commented Oct 16, 2024

PR job #1 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-runtimes -u #3734 --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-runtimes-pr/job/PR-3734/1/display/redirect

Test results:

  • PASSED: 3303
  • FAILED: 1

Those are the test failures:

org.jbpm.bpmn2.IntermediateEventTest.testTimerBoundaryEventInterrupting countDownListener.waitTillCompleted() did not returns `true` in 30000 milliseconds

@kie-ci3
Copy link
Contributor

kie-ci3 commented Oct 16, 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-runtimes -u #3734 --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-runtimes-pr/job/PR-3734/2/display/redirect

Test results:

  • PASSED: 3377
  • FAILED: 4

Those are the test failures:

org.jbpm.bpmn2.IntermediateEventTest.testTimerBoundaryEventInterrupting countDownListener.waitTillCompleted() did not returns `true` in 30000 milliseconds
org.jbpm.bpmn2.IntermediateEventTest.testIntermediateCatchEventTimerDuration countDownListener.waitTillCompleted() did not returns `true` in 30000 milliseconds
org.jbpm.bpmn2.IntermediateEventTest.testEventBasedSplit2 countDownListener.waitTillCompleted() did not returns `true` in 30000 milliseconds
org.kie.kogito.quarkus.workflows.PojoServiceIT.testPojo
Expected size: 1 but was: 2 in:
{"age"=666, "name"="javierito"}

@Abhitocode
Copy link
Contributor

@gitgabrio Thank you for the detailed steps, looking into right now regarding the replication. Will follow the same and update.

@kie-ci3
Copy link
Contributor

kie-ci3 commented Oct 17, 2024

PR job #3 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-runtimes -u #3734 --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-runtimes-pr/job/PR-3734/3/display/redirect

Test results:

  • PASSED: 3382
  • FAILED: 1

Those are the test failures:

org.jbpm.bpmn2.IntermediateEventTest.testTimerBoundaryEventInterrupting countDownListener.waitTillCompleted() did not returns `true` in 30000 milliseconds

@kie-ci3
Copy link
Contributor

kie-ci3 commented Oct 22, 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-runtimes -u #3734 --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-runtimes-pr/job/PR-3734/4/display/redirect

Test results:

  • PASSED: 3395
  • FAILED: 1

Those are the test failures:

org.jbpm.bpmn2.IntermediateEventTest.testTimerBoundaryEventInterrupting testTimerBoundaryEventInterrupting - countDownListener.waitTillCompleted() did not returns `true` in 60000 milliseconds

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

Successfully merging this pull request may close these issues.

3 participants