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

Test times out after: java.lang.IllegalStateException: java.util.prefs.BackingStoreException: Couldn't get file lock.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4
    • tbd
    • 21, 22
    • tools

    Description

      Test: sun/tools/jhsdb/JStackStressTest.java

      jhsdb jstack stderr:

      ###### End of all output for iteration 4 which took 3931ms
      [2023-03-24T08:01:17.655783481Z] Waiting for completion for process 1094864
      [2023-03-24T08:01:17.655886165Z] Waiting for completion finished for process 1094864
      [JShell] | Welcome to JShell -- Version 21-ea
      [JShell] | For an introduction type: /help intro
      [JShell] | Goodbye
      Timeout refired 2400 times
      jshell Output: Exception in thread "main" java.lang.IllegalStateException: java.util.prefs.BackingStoreException: Couldn't get file lock.

      Test PASSED
      ----------System.err:(11/956)----------
      [JShell] jshell> at jdk.jshell/jdk.internal.jshell.tool.JShellToolBuilder$PreferencesStorage.flush(JShellToolBuilder.java:313)
      [JShell] at jdk.jshell/jdk.internal.jshell.tool.ConsoleIOContext.close(ConsoleIOContext.java:265)
      [JShell] at jdk.jshell/jdk.internal.jshell.tool.JShellTool.start(JShellTool.java:1002)
      [JShell] at jdk.jshell/jdk.internal.jshell.tool.JShellToolBuilder.start(JShellToolBuilder.java:261)
      [JShell] at jdk.jshell/jdk.internal.jshell.tool.JShellToolProvider.main(JShellToolProvider.java:120)
      [JShell] Caused by: java.util.prefs.BackingStoreException: Couldn't get file lock.
      [JShell] at java.prefs/java.util.prefs.FileSystemPreferences.sync(FileSystemPreferences.java:769)
      [JShell] at java.prefs/java.util.prefs.FileSystemPreferences.flush(FileSystemPreferences.java:864)
      [JShell] at jdk.jshell/jdk.internal.jshell.tool.JShellToolBuilder$PreferencesStorage.flush(JShellToolBuilder.java:311)
      [JShell] ... 4 more
      STATUS:Passed.

      The test itself appears to pass despite the error but it causes the overall test execution to timeout.

      test result: Error. Program `/opt/mach5/mesos/work_dir/jib-master/install/jdk-21+16-1249/linux-x64-debug.jdk/jdk-21/fastdebug/bin/java' timed out (timeout set to 2400000ms, elapsed time including timeout handling was 2473387ms).

      Attachments

        Issue Links

          Activity

            People

              jlahoda Jan Lahoda
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: