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

(fs) test/jdk/java/nio/file/attribute/BasicFileAttributeView/SetTimesNanos.java failing on older kernels

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b14
    • OS:
      linux

      Description

      After JDK-8181493 we observe (sporadic) test failures on several linux boxes. This is the RuntimeException stack:
      ----------System.err:(14/1063)----------
      java.lang.RuntimeException: Expected modification timestamp to be '1483261261123456789', but was '1483261261000000000'
      at SetTimesNanos.testNanos(SetTimesNanos.java:85)
      at SetTimesNanos.main(SetTimesNanos.java:59)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:830)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected modification timestamp to be '1483261261123456789', but was '1483261261000000000'
      JavaTest Message: shutting down test

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bpb Brian Burkhalter
              Reporter:
              clanger Christoph Langer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: