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

Test AvailableProcessors.java got wrong number of processors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b107
    • CPU:
      arm
    • OS:
      linux

      Description

      Failure message:

      stderr: [Exception in thread "main" java.lang.Error: Expected 4 processors, but found 3
      at AvailableProcessors.checkProcessors(AvailableProcessors.java:97)
      at AvailableProcessors.main(AvailableProcessors.java:43)


      java.lang.RuntimeException: 'Found expected processors: ' missing from stdout/stderr

      at jdk.test.lib.OutputAnalyzer.shouldContain(OutputAnalyzer.java:138)
      at AvailableProcessors.main(AvailableProcessors.java:89)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:520)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:804)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: 'Found expected processors: ' missing from stdout/stderr

        Attachments

          Activity

            People

            Assignee:
            dholmes David Holmes
            Reporter:
            hseigel Harold Seigel
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: