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

Failfast if lsof is not present in unix

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 12.0.0.Dev02
    • Fix Version/s: 12.0.0.Dev03
    • Component/s: Test Suite
    • Labels:
      None

      Description

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dlovison Diego Lovison
                  Reporter:
                  dlovison Diego Lovison
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: