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

BasicTest test fails in jcov build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: internal
    • Fix Version/s: internal
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      In jcov build some tests fail:

      ERROR: (1) Expected [14-internal]. Actual [Picked up _JAVA_OPTIONS: -Xms64m -Xmx4g]: Check jpackage output
      [ FAILED ] BasicTest.testVersion; checks=2
      [==========] 9 tests ran
      [ PASSED ] 5 tests
      [ FAILED ] 4 tests, listed below
      [ FAILED ] BasicTest.testJLinkRuntime(Hello)
      [ FAILED ] BasicTest.testJLinkRuntime(com.foo/com.foo.main.Aloha)
      [ FAILED ] BasicTest.testNoArgs
      [ FAILED ] BasicTest.testVersion
      4 FAILED TESTS
      STDERR:
      Picked up JAVA_TOOL_OPTIONS: -Xms64m -Xmx4g
      Picked up _JAVA_OPTIONS: -Xms64m -Xmx4g
      Picked up JAVA_TOOL_OPTIONS: -Xms64m -Xmx4g
      Picked up _JAVA_OPTIONS: -Xms64m -Xmx4g
      Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\cygwin\tmp\".
      Picked up JAVA_TOOL_OPTIONS: -Xms64m -Xmx4g
      Picked up _JAVA_OPTIONS: -Xms64m -Xmx4g
      Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\cygwin\tmp\".
      Picked up JAVA_TOOL_OPTIONS: -Xms64m -Xmx4g
      Picked up _JAVA_OPTIONS: -Xms64m -Xmx4g
      Picked up JAVA_TOOL_OPTIONS: -Xms64m -Xmx4g
      Picked up _JAVA_OPTIONS: -Xms64m -Xmx4g
      Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\cygwin\tmp\".
      java.lang.AssertionError: (1) Expected [java.base@14-internal]. Actual [Picked up JAVA_TOOL_OPTIONS: -Xms64m -Xmx4g]: Check modules in application image runtime directory at [.\testJLinkRuntime\output\JLinkRuntimeBasicTest\runtime]
      at jdk.jpackage.test.TKit.error(TKit.java:217)
      at jdk.jpackage.test.TKit.lambda$assertStringListEquals$17(TKit.java:569)

        Attachments

          Activity

            People

            Assignee:
            asemenyuk Alexey Semenyuk
            Reporter:
            asemenyuk Alexey Semenyuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: