Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12280

Failfast if lsof is not present in unix

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 12.0.0.Final
    • 12.0.0.Final
    • Test Suite
    • None

      Some tests require lsof be present in order to work properly
      Example:

      13:24:51.246 [INFO] Infinispan JCACHE (JSR-107) TCK Runner Remote ...... SUCCESS [05:58 min]
      13:24:51.246 [INFO] Server Integration ................................. SUCCESS [ 11.991 s]
      13:24:51.246 [INFO] Integration tests - WildFly Module Integration Tests SUCCESS [ 58.984 s]
      

      when not present

      [ERROR] Errors:
      [ERROR]   BaseHotRodQueryIT.testRemoteQuery ? HotRodClient org.infinispan.server.hotrod....
      [ERROR]   BaseHotRodQueryIT.testUninverting ? HotRodClient org.infinispan.server.hotrod....
      [ERROR]   HotRodClientIT.testCacheManager ? HotRodClient org.infinispan.server.hotrod.Ca...
      [ERROR]   HotRodQueryIT.testRemoteQuery ? HotRodClient org.infinispan.server.hotrod.Cach...
      [ERROR]   HotRodQueryIT.testUninverting ? HotRodClient org.infinispan.server.hotrod.Cach...
      [ERROR]   InfinispanRemoteWithQueryIT.testRemoteQuery ? HotRodClient org.infinispan.serv...
      [ERROR]   InfinispanRemoteWithQueryIT.testUninverting ? HotRodClient org.infinispan.serv...
      

      It will take times to find out that the root cause is because lsof is missing

              dlovison@redhat.com Diego Lovison
              dlovison@redhat.com Diego Lovison
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: