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

BasicTest test fails in jcov build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • internal
    • internal
    • tools
    • generic
    • generic

      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)

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

              Created:
              Updated:
              Resolved: