Uploaded image for project: 'infrautils'
  1. infrautils
  2. INFRAUTILS-57

JobCoordinatorTest is flaky and (very rarely) fails on the build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Neon
    • None
    • None
    • None

      The merge job of https://git.opendaylight.org/gerrit/#/c/76810/ in https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/infrautils-merge-neon/84 just failed with:

      [jobcoordinator-main-task-1] ERROR org.opendaylight.infrautils.jobcoordinator.internal.JobCoordinatorImpl - Job still failed on final retry: JobEntry{key='org.opendaylight.infrautils.jobcoordinator.tests.JobCoordinatorTest', mainWorker=org.opendaylight.infrautils.jobcoordinator.tests.JobCoordinatorTest$TestCallable@21affc49, rollbackWorker=null, retryCount=3/3, futures=[com.google.common.util.concurrent.ImmediateFuture$ImmediateFailedFuture@671256e1[status=FAILURE, cause=[org.opendaylight.infrautils.jobcoordinator.tests.JobCoordinatorTest$JobException: Job is failed intentionally]]]}
      org.opendaylight.infrautils.jobcoordinator.tests.JobCoordinatorTest$JobException: Job is failed intentionally
      	at org.opendaylight.infrautils.jobcoordinator.tests.JobCoordinatorTest.<clinit>(JobCoordinatorTest.java:49)

      This is the first time I've seen this failure. It passes locally, and I expect it will also pass on the "remerge".

      Still, someone should look into if this can be made more reliable.

      Must be concurrency issue.

            vorburger Michael Vorburger
            vorburger Michael Vorburger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: