JDK-8250651 : java/nio/file/WatchService/SensitivityModifier.java fails with missing ENTRY_MODIFY event
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 11.0.9-oracle,16
  • Priority: P3
  • Status: Resolved
  • Resolution: Cannot Reproduce
  • OS: os_x
  • CPU: x86
  • Submitted: 2020-07-28
  • Updated: 2021-04-02
  • Resolved: 2021-04-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdResolved
Related Reports
Relates :  
Sub Tasks
JDK-8264539 :  
Description
----------System.err:(13/1120)----------
java.lang.RuntimeException: No ENTRY_MODIFY event received for /System/Volumes/Data/mesos/work_dir/slaves/52628e90-e5e7-4ef3-af97-10d8776d10db-S2784/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/759ac8c1-4770-4839-9543-5a92b8d28dcd/runs/dee01368-0592-40b9-bbbe-7224256a57f0/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/tmp/name6909772283493341890/dir7/file40
	at SensitivityModifier.doTest(SensitivityModifier.java:111)
	at SensitivityModifier.main(SensitivityModifier.java:124)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
	at java.base/java.lang.Thread.run(Thread.java:832)

Comments
There has not been a recorded sighting of this failure in more than eight months. There is no record of on which nodes the failures occurred. I have not been able to reproduce it using extreme settings for the polling watch service sensitivity and the polling timeout value. Therefore I am resolving this as irreproducible. If the failure occurs again, then this issue can be reopened and there will be more information (PRNG seed, sensitivity value for failed case) as a result of the fix for JDK-8264539.
02-04-2021

The mainline failure is a macmini8_1 which seems to have SSD. The older failure is MacPro5_1 which seems to be "spinning rust".
28-07-2020

May need to get the configuration of the macOS systems where this failed, in particularly need to know if it has a SDD or spinning rust.
28-07-2020