Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-1009

Consistent hash functionality checking test fails randomly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • HotRod JS client
    • None

      While running the JS client testsuite for JDG 7.0.1.DR1, the following failure appears but very randomly. The failure appeared 2 times for 8 runs. The error is:

        1) Infinispan cluster client can use consistent hashing to direct key-based ops to owner nodes
         Message:
           Error: Could not find any key owned by: [object Object],[object Object]
         Stacktrace:
           Error: Could not find any key owned by: [object Object],[object Object]
          at Object.exports.findKeyForServers (/home/jenkins/workspace/jdg-js-client/USE_JDK/JDK8/jdk/java18_default/label/npm/js-client/spec/utils/testing.js:382:11)
          at /home/jenkins/workspace/jdg-js-client/USE_JDK/JDK8/jdk/java18_default/label/npm/js-client/spec/infinispan_cluster_spec.js:120:18
          at Function._.map._.collect (/home/jenkins/workspace/jdg-js-client/USE_JDK/JDK8/jdk/java18_default/label/npm/js-client/node_modules/underscore/underscore.js:172:24)
          at /home/jenkins/workspace/jdg-js-client/USE_JDK/JDK8/jdk/java18_default/label/npm/js-client/spec/infinispan_cluster_spec.js:119:20
          at tryCallOne (/home/jenkins/workspace/jdg-js-client/USE_JDK/JDK8/jdk/java18_default/label/npm/js-client/node_modules/promise/lib/core.js:37:12)
          at /home/jenkins/workspace/jdg-js-client/USE_JDK/JDK8/jdk/java18_default/label/npm/js-client/node_modules/promise/lib/core.js:123:15
          at flush (/home/jenkins/workspace/jdg-js-client/USE_JDK/JDK8/jdk/java18_default/label/npm/js-client/node_modules/promise/node_modules/asap/raw.js:50:29)
          at process._tickCallback (node.js:415:13)
      

      As far as I remember, this failure was appearing sometimes in JDG 7.0.0 or JDG 7.1.0 release cycle, but now I cannot find the related bug.

      You can find an example log here:
      https://jdg-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/jdg-js-client/136/USE_JDK=JDK8,jdk=java18_default,label=npm/console

              rh-ee-galder Galder ZamarreƱo
              amanukya@redhat.com Anna Manukyan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: