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

java/security/SignedJar/spi-calendar-provider/TestSPISigned.java failing on Windows

XMLWordPrintable

    • b28
    • x86_64
    • windows

        The following test failed in the JDK20 CI:

        java/security/SignedJar/spi-calendar-provider/TestSPISigned.java

        The test was added with JDK-8298108.

        Here's a snippet from the log file:

        ----------System.err:(25/1266)----------
         stdout: [Debug: Running test
        ];
         stderr: [Exception in thread "main" java.lang.RuntimeException: Test failed with signed jar and argument java.locale.providers=SPI
        at TestSPISigned.doRunTest(TestSPISigned.java:115)
        at TestSPISigned.main(TestSPISigned.java:75)
        Caused by: java.lang.RuntimeException: Expected calendar from SPI to be in effect: expected 4 to equal 1
        at jdk.test.lib.Asserts.fail(Asserts.java:594)
        at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
        at TestSPISigned.check(TestSPISigned.java:121)
        at TestSPISigned.doRunTest(TestSPISigned.java:112)
        ... 1 more
        ]
         exitValue = 1

        java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
        at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:490)
        at TestSPISigned.main(TestSPISigned.java:103)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at java.base/java.lang.reflect.Method.invoke(Method.java:578)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
        at java.base/java.lang.Thread.run(Thread.java:1623)

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

        result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]

              sgehwolf Severin Gehwolf
              mullan Sean Mullan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: