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

tools/jpackage/share/RuntimePackageTest.java fails because of systemPrefs files

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: deploy
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      linux

      Description

      When running a whole jdk jtreg test suite we notice failures of the the tools/jpackage/share/RuntimePackageTest.java test.
      Failures are like this :

      TRACE: Missing 3 files:
      TRACE: .systemPrefs
      TRACE: .systemPrefs/.system.lock
      TRACE: .systemPrefs/.systemRootModFile
      TRACE: Done
      ERROR: Failed: Check there are no missing files in installed image

      Looking into the jdk under test, we notice the mentioned files were created inside the jdk under test
      (by previous jtreg tests, this is indicated by the time stamps of those files).
      my estimation is that some other tests using FileSystemPreferences might created those files.
      The RuntimePackageTest.java test however does not expect those files in the jdk image under test.

        Attachments

          Activity

            People

            • Assignee:
              asemenyuk Alexey Semenyuk
              Reporter:
              mbaesken Matthias Baesken
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: