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

Test containers/docker/TestPids.java fails Limit value -1 is not accepted as unlimited

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 23
    • 23
    • hotspot
    • 23
    • b26
    • generic
    • linux
    • Verified

      Maybe fails after JDK-8302744

      jtreg -va -nr -w tmp test/hotspot/jtreg/containers/docker/TestPids.java

      test result snippet:
      docker run --tty=true --rm --volume /var/tmp/tone/run/jtreg/jt-work-docker/hotspot_jtreg/classes/1/containers/docker/TestPids.d:/test-classes/ --pids-limit=-1 jdk-internal:test-containers-docker-TestPids-pids /jdk/bin/java -XX:+ErrorFileToStderr -Xlog:os+container=trace -cp /test-classes/ -Xbootclasspath/a:/test-classes/whitebox.jar -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Djdk.lang.processReaperUseDefaultStackSize=true -Dtest.wisp.socketAddress=www.alibabacloud.com -Xmixed -ea -esa PrintContainerInfo


      DEBUG: line = [0.026s][trace][os,container] Maximum number of tasks is: -1
      DEBUG: parts.length = 2

      STDERR:
      java.lang.RuntimeException: Limit value -1 is not accepted as unlimited, log line was [0.026s][trace][os,container] Maximum number of tasks is: -1
      at TestPids.checkResult(TestPids.java:126)
      at TestPids.testPids(TestPids.java:154)
      at TestPids.testPids(TestPids.java:77)
      at TestPids.main(TestPids.java:64)

            syan Sendao Yan
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: