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

RHEL 6 C++ client test failures due to negative port numbers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JDG 7.2 ER1
    • JDG 7.2 DR4
    • HotRod C++ client
    • None

      These tests are failing in the RHEL6 C++ client SWIG test suite:

      8: These test fail (but should not!):
      8: 	BulkGetKeysDistTest.testBulkGetAfterLifespanExpire
      8: 	BulkGetKeysDistTest.testBulkGetKeys
      8: 	BulkGetKeysDistTest.testDistribution
      8: 	BulkGetKeysReplTest.testBulkGetAfterLifespanExpire
      8: 	BulkGetKeysReplTest.testBulkGetKeys
      8: 	BulkGetReplTest.testBulkGet
      8: 	BulkGetReplTest.testBulkGetAfterLifespanExpire
      8: 	BulkGetReplTest.testBulkGetWithSize
      8: 	HotRodServerStartStopTest.testHrServerStop
      8: 	HotRodServerStartStopTest.testTouchServer
      8/8 Test #8: swig .............................***Failed   61.95 sec
      

      The error messages all look similar to this:

      8: FAILED: testBulkGetWithSize
      8: org.infinispan.client.hotrod.exceptions.HotRodClientException:: Error while invoking getaddrinfo: Servname not supported for ai_socktype (host: 127.0.0.1 port: -26523)
      8: 	at org.infinispan.client.hotrod.jni.HotrodJNI.RemoteCache_jb_jb_put__SWIG_4(Native Method)
      8: 	at org.infinispan.client.hotrod.jni.RemoteCache_jb_jb.put(RemoteCache_jb_jb.java:76)
      8: 	at org.infinispan.client.hotrod.impl.RemoteCacheImpl$3.invoke(RemoteCacheImpl.java:110)
      8: 	at org.infinispan.client.hotrod.impl.RemoteCacheImpl.relayedInvoker(RemoteCacheImpl.java:480)
      8: 	at org.infinispan.client.hotrod.impl.RemoteCacheImpl.put(RemoteCacheImpl.java:107)
      8: 	at org.infinispan.client.hotrod.impl.RemoteCacheImpl.putAll(RemoteCacheImpl.java:302)
      8: 	at org.infinispan.client.hotrod.impl.RemoteCacheImpl.putAll(RemoteCacheImpl.java:286)
      8: 	at org.infinispan.client.hotrod.BaseBulkGetTest.populateCacheManager(BaseBulkGetTest.java:69)
      8: 	at org.infinispan.client.hotrod.BaseBulkGetTest.testBulkGetWithSize(BaseBulkGetTest.java:84)
      8: 	at org.infinispan.client.jni.hotrod.JniTest.main(JniTest.java:81)
      8: ... Removed 21 stack frames
      

      This has not happened in previous builds, and I am not sure if it happens with the RHEL7 build yet.

              vrigamon@redhat.com Vittorio Rigamonti
              rhn-support-afield Alan Field
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: