Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8205054

Could not find "lsof" on test machine

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • None
    • hotspot
    • b19

        Some machines does not have "lsof" installed (or not installed on the expected location).


        Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.819/linux-x64-debug.jdk/jdk-11/fastdebug/bin/java -cp /opt/mach5/mesos/work_dir/slaves/c4ee7e63-1ded-4e8c-9581-ce26f27e3af4-S317/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1636d365-7d91-461b-9d0b-5a8900d5e84d/runs/5063180c-0cf3-4ca9-83ee-ec44614760d2/testoutput/jtreg/JTwork/classes/runtime/8176717/TestInheritFD.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.819/src.full/open/test/hotspot/jtreg/runtime/8176717:/opt/mach5/mesos/work_dir/slaves/c4ee7e63-1ded-4e8c-9581-ce26f27e3af4-S317/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1636d365-7d91-461b-9d0b-5a8900d5e84d/runs/5063180c-0cf3-4ca9-83ee-ec44614760d2/testoutput/jtreg/JTwork/classes/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/java/re/jtreg/4.2/promoted/all/b12/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar:/opt/mach5/mesos/work_dir/jib-master/install/java/re/jtreg/4.2/promoted/all/b12/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar -Xlog:gc:"logging10199296290511851682.strangelogsuffixthatcanbecheckedfor" -Dtest.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.819/linux-x64-debug.jdk/jdk-11/fastdebug TestInheritFD$VMStartedWithLogging logging10199296290511851682.strangelogsuffixthatcanbecheckedfor ]
        SLEEP 100 millis
        SLEEP 100 millis
        SLEEP 100 millis
        SLEEP 100 millis
        SLEEP 100 millis
        SLEEP 100 millis
        SLEEP 100 millis
        SLEEP 100 millis
        SLEEP 100 millis
        Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.819/linux-x64-debug.jdk/jdk-11/fastdebug/bin/java -cp /opt/mach5/mesos/work_dir/slaves/c4ee7e63-1ded-4e8c-9581-ce26f27e3af4-S317/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1636d365-7d91-461b-9d0b-5a8900d5e84d/runs/5063180c-0cf3-4ca9-83ee-ec44614760d2/testoutput/jtreg/JTwork/classes/runtime/8176717/TestInheritFD.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.819/src.full/open/test/hotspot/jtreg/runtime/8176717:/opt/mach5/mesos/work_dir/slaves/c4ee7e63-1ded-4e8c-9581-ce26f27e3af4-S317/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/1636d365-7d91-461b-9d0b-5a8900d5e84d/runs/5063180c-0cf3-4ca9-83ee-ec44614760d2/testoutput/jtreg/JTwork/classes/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/java/re/jtreg/4.2/promoted/all/b12/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar:/opt/mach5/mesos/work_dir/jib-master/install/java/re/jtreg/4.2/promoted/all/b12/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar -Dtest.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk11-jdk.819/linux-x64-debug.jdk/jdk-11/fastdebug TestInheritFD$VMShouldNotInheritFileDescriptors logging10199296290511851682.strangelogsuffixthatcanbecheckedfor 6131 ]
        java.lang.RuntimeException: could not find lsof-like command
        VM RESULT => VM EXIT

        ----------System.err:(12/728)----------
        java.lang.RuntimeException: could not match: VM RESULT => RETAINS FD
        at TestInheritFD.main(TestInheritFD.java:101)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
        at java.base/java.lang.Thread.run(Thread.java:832)

        JavaTest Message: Test threw exception: java.lang.RuntimeException
        JavaTest Message: shutting down test

        result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: could not match: VM RESULT => RETAINS FD


        test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: could not match: VM RESULT => RETAINS FD

              lkorinth Leo Korinth
              lkorinth Leo Korinth
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: