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

Simple and Simple-static tests fail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JDG 7.1.0 DR1
    • JDG 7.0.0 ER6
    • HotRod C++ client
    • None

      With the fix for JDG-412 in place, I can build and run the tests on RHEL. However, the simple andsimple-static tests both fail with the same error:

            Start  5: simple
      
      5: Test command: /artifacts/jboss-datagrid-7.0.0-remote-cpp-client-RHEL7-WIN-sources/infinispan-hotrod-cpp-8.3.0.ER6-Source/build/simple
      5: Test timeout computed to be: 1500
      5: Tests for CacheManager
      5: PASS: Tests for CacheManager
      5: Basic Test with BasicMarshaller
      5: HotRod C++ Library version 8.3.0.ER6
      5: Protocol HotRod C++ client, protocol version: 2.0-topology_change-event
      5: PASS: simple get/put
      5: PASS: simple putIfAbsent
      5: PASS: simple putIfAbsent with force return value
      5: PASS: simple getWithMetadata with mortal entry
      5: PASS: simple getWithMetadata with immortal entry
      5: PASS: simple getWithVersion
      5: PASS: simple replaceWithVersion
      5: PASS: simple size
      5:   stats result is:
      5:     key: currentNumberOfEntries, value: 3
      5:     key: globalCurrentNumberOfEntries, value: 3
      5:     key: globalHits, value: 15
      5:     key: globalMisses, value: 2
      5:     key: globalRemoveHits, value: 0
      5:     key: globalRemoveMisses, value: 0
      5:     key: globalRetrievals, value: 17
      5:     key: globalStores, value: 6
      5:     key: hits, value: 15
      5:     key: misses, value: 2
      5:     key: removeHits, value: 0
      5:     key: removeMisses, value: 0
      5:     key: retrievals, value: 17
      5:     key: stores, value: 6
      5:     key: timeSinceStart, value: 1
      5:     key: totalBytesRead, value: 578
      5:     key: totalBytesWritten, value: 236
      5:     key: totalNumberOfEntries, value: 6
      5: PASS: simple stats
      5: PASS: simple clear
      5: PASS: simple put with FORCE_RETURN_FLAG
      5:   keySet result is:
      5:     key: real
      5: PASS: simple keySet
      5:   getBulk result is:
      5:     key: real, value: barcelona
      5: PASS: simple getBulk
      5: PASS: simple replace
      5: PASS: get for namedCache
      5: Deleting rcache
      5: PASS: get non-existing cache
      5: PASS: Async test
      5: is: N10infinispan6hotrod21HotRodClientExceptionE
      5: fail unexpected exception: java.lang.IllegalArgumentException: ISPN026012: Scripts can only access named caches
       5/14 Test  #5: simple ...........................***Failed    2.18 sec
      test 6
            Start  6: simple-static
      
      6: Test command: /artifacts/jboss-datagrid-7.0.0-remote-cpp-client-RHEL7-WIN-sources/infinispan-hotrod-cpp-8.3.0.ER6-Source/build/simple-static
      6: Test timeout computed to be: 1500
      6: Tests for CacheManager
      6: PASS: Tests for CacheManager
      6: Basic Test with BasicMarshaller
      6: HotRod C++ Library version 8.3.0.ER6
      6: Protocol HotRod C++ client, protocol version: 2.0-topology_change-event
      6: PASS: simple get/put
      6: PASS: simple putIfAbsent
      6: PASS: simple putIfAbsent with force return value
      6: PASS: simple getWithMetadata with mortal entry
      6: PASS: simple getWithMetadata with immortal entry
      6: PASS: simple getWithVersion
      6: PASS: simple replaceWithVersion
      6: PASS: simple size
      6:   stats result is:
      6:     key: currentNumberOfEntries, value: 3
      6:     key: globalCurrentNumberOfEntries, value: 3
      6:     key: globalHits, value: 15
      6:     key: globalMisses, value: 2
      6:     key: globalRemoveHits, value: 0
      6:     key: globalRemoveMisses, value: 0
      6:     key: globalRetrievals, value: 17
      6:     key: globalStores, value: 6
      6:     key: hits, value: 33
      6:     key: misses, value: 4
      6:     key: removeHits, value: 0
      6:     key: removeMisses, value: 0
      6:     key: retrievals, value: 37
      6:     key: stores, value: 16
      6:     key: timeSinceStart, value: 3
      6:     key: totalBytesRead, value: 1668
      6:     key: totalBytesWritten, value: 1129
      6:     key: totalNumberOfEntries, value: 16
      6: PASS: simple stats
      6: PASS: simple clear
      6: PASS: simple put with FORCE_RETURN_FLAG
      6:   keySet result is:
      6:     key: real
      6: PASS: simple keySet
      6:   getBulk result is:
      6:     key: real, value: barcelona
      6: PASS: simple getBulk
      6: PASS: simple replace
      6: PASS: get for namedCache
      6: Deleting rcache
      6: PASS: get non-existing cache
      6: PASS: Async test
      6: is: N10infinispan6hotrod21HotRodClientExceptionE
      6: fail unexpected exception: java.lang.IllegalArgumentException: ISPN026012: Scripts can only access named caches
       6/14 Test  #6: simple-static ....................***Failed    1.04 sec
      

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

                Created:
                Updated:
                Resolved: