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

tools/jpackage/junit tests fail on AIX after JDK-8316547

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • 22
    • tools
    • b17
    • generic
    • aix

      The tools/jpackage/junit tests fail on AIX after JDK-8316547.
      Looks like the build-step does not work nicely.
      This might be related to different jtreg behavior on Linux vs. AIX.
      We do not see the issue on other platforms.

      error is for example :
      TEST: tools/jpackage/junit/jdk.jpackage/jdk/jpackage/internal/CompareDottedVersionTest.java
      TEST RESULT: Error. can't find jdk.jpackage.jdk.jpackage.internal.AppImageFileTest in test directory or libraries

      Seems the build - commands found in jtr file differ on AIX vs. Linux, see
      AIX :

      #section:build
      ----------messages:(3/691)----------
      command: build jdk.jpackage.jdk.jpackage.internal.AppImageFileTest jdk.jpackage.jdk.jpackage.internal.ApplicationLayoutTest jdk.jpackage.jdk.jpackage.internal.CompareDottedVersionTest jdk.jpackage.jdk.jpackage.internal.DeployParamsTest jdk.jpackage.jdk.jpackage.internal.DottedVersionTest jdk.jpackage.jdk.jpackage.internal.EnquoterTest jdk.jpackage.jdk.jpackage.internal.InvalidDottedVersionTest jdk.jpackage.jdk.jpackage.internal.OverridableResourceTest jdk.jpackage.jdk.jpackage.internal.PathGroupTest jdk.jpackage.jdk.jpackage.internal.PlatformVersionTest jdk.jpackage.jdk.jpackage.internal.ToolValidatorTest
      reason: Named class compiled on demand
      started: Mon Sep 25 12:31:58 CEST 2023
      result: Not run. Test running...

      test result: Error. can't find jdk.jpackage.jdk.jpackage.internal.AppImageFileTest in test directory or libraries


      Linux (works nicely) :

      #section:build
      ----------messages:(5/177)----------
      command: build jdk.jpackage/*
      reason: Named class compiled on demand
      started: Mon Sep 25 13:18:59 CEST 2023
      finished: Mon Sep 25 13:18:59 CEST 2023
      elapsed time (seconds): 0.01
      result: Passed. All files up to date


      Linux uses command: build jdk.jpackage/* while AIX has something different (and wrong). Maybe it is a jtreg issue ?

            mbaesken Matthias Baesken
            mbaesken Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: