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

compiler/ciReplay/TestServerVM.java is failing on windows

    Details

    • Subcomponent:
    • Resolved In Build:
      b12
    • CPU:
      x86
    • OS:
      windows

      Backports

        Description

        We see these two tests failing on windows:
        compiler/ciReplay/TestServerVM.java w
        compiler/ciReplay/TestVMNoCompLevel.java

        The tests abort with:
        Unexpected exit code for positive case: [-XX:-TieredCompilation, -server]: expected 127 to equal 0

        This is caused by '-javaoption:-Dhttp.nonProxyHosts="localhost|127.0.0.1"' which we pass to the jtreg runner. On windows, the '|' must be escaped.

        ----------System.err:(19/1452)----------
        java.lang.RuntimeException: Unexpected exit code for positive case: [-XX:-TieredCompilation, -server]: expected 127 to equal 0
        at jdk.test.lib.Asserts.fail(Asserts.java:594)
        at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
        at jdk.test.lib.Asserts.assertEQ(Asserts.java:178)
        at compiler.ciReplay.CiReplayBase.positiveTest(CiReplayBase.java:233)
        at compiler.ciReplay.TestVMNoCompLevel.testAction(TestVMNoCompLevel.java:75)
        at compiler.ciReplay.CiReplayBase.runTest(CiReplayBase.java:104)
        at compiler.ciReplay.TestVMNoCompLevel.main(TestVMNoCompLevel.java:49)
        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:567)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:835)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  goetz Goetz Lindenmaier
                  Reporter:
                  goetz Goetz Lindenmaier
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: