rjeczalik/notify

TestWatcherUnwatch fails on Windows 10 / Go 1.10

Closed this issue · 3 comments

calmh commented
[09:42:13]	[Step 1/1] Starting: C:\BuildAgent\temp\agentTmp\custom_script240688640736741481.cmd
[09:42:13]	[Step 1/1] in directory: C:\BuildAgent\work\src\github.com\rjeczalik\notify
[09:42:16]	[Step 1/1] === RUN   TestEventString
[09:42:16]	[Step 1/1] --- PASS: TestEventString (0.00s)
[09:42:16]	[Step 1/1] === RUN   TestNotifySystemSpecificEvent
[09:42:17]	[Step 1/1] --- PASS: TestNotifySystemSpecificEvent (0.85s)
[09:42:17]	[Step 1/1] === RUN   TestUnknownEvent
[09:42:18]	[Step 1/1] --- PASS: TestUnknownEvent (1.21s)
[09:42:18]	[Step 1/1] === RUN   TestNotifySystemAndGlobalMix
[09:42:19]	[Step 1/1] --- PASS: TestNotifySystemAndGlobalMix (1.05s)
[09:42:19]	[Step 1/1] === RUN   TestNotifyExample
[09:42:21]	[Step 1/1] --- PASS: TestNotifyExample (2.06s)
[09:42:21]	[Step 1/1] === RUN   TestStop
[09:42:21]	[Step 1/1] --- SKIP: TestStop (0.00s)
[09:42:21]	[Step 1/1] 	notify_test.go:102: TODO(rjeczalik)
[09:42:21]	[Step 1/1] === RUN   TestNonrecursiveTree
[09:42:26]	[Step 1/1] --- PASS: TestNonrecursiveTree (4.99s)
[09:42:26]	[Step 1/1] === RUN   TestNonrecursiveTreeInternal
[09:42:29]	[Step 1/1] --- PASS: TestNonrecursiveTreeInternal (3.27s)
[09:42:29]	[Step 1/1] === RUN   TestRecursiveTree
[09:42:37]	[Step 1/1] --- PASS: TestRecursiveTree (7.32s)
[09:42:37]	[Step 1/1] === RUN   TestRecursiveTreeWatchInactiveMerge
[09:42:38]	[Step 1/1] --- PASS: TestRecursiveTreeWatchInactiveMerge (1.68s)
[09:42:38]	[Step 1/1] === RUN   TestRecursiveTree_Windows
[09:42:39]	[Step 1/1] --- PASS: TestRecursiveTree_Windows (0.95s)
[09:42:39]	[Step 1/1] === RUN   TestCanonicalNoSymlink
[09:42:39]	[Step 1/1] --- PASS: TestCanonicalNoSymlink (0.00s)
[09:42:39]	[Step 1/1] === RUN   TestJoinevents
[09:42:39]	[Step 1/1] --- PASS: TestJoinevents (0.00s)
[09:42:39]	[Step 1/1] === RUN   TestTreeSplit
[09:42:39]	[Step 1/1] --- PASS: TestTreeSplit (0.00s)
[09:42:39]	[Step 1/1] === RUN   TestTreeBase
[09:42:39]	[Step 1/1] --- PASS: TestTreeBase (0.00s)
[09:42:39]	[Step 1/1] === RUN   TestTreeIndexSep
[09:42:39]	[Step 1/1] --- PASS: TestTreeIndexSep (0.00s)
[09:42:39]	[Step 1/1] === RUN   TestTreeLastIndexSep
[09:42:39]	[Step 1/1] --- PASS: TestTreeLastIndexSep (0.00s)
[09:42:39]	[Step 1/1] === RUN   TestCleanpath
[09:42:39]	[Step 1/1] --- SKIP: TestCleanpath (0.00s)
[09:42:39]	[Step 1/1] 	util_test.go:141: TODO(rjeczalik)
[09:42:39]	[Step 1/1] === RUN   TestWatcherReadDirectoryChangesW
[09:42:40]	[Step 1/1] --- PASS: TestWatcherReadDirectoryChangesW (1.08s)
[09:42:40]	[Step 1/1] === RUN   TestWatcherRecursiveRewatch
[09:42:43]	[Step 1/1] --- PASS: TestWatcherRecursiveRewatch (2.58s)
[09:42:43]	[Step 1/1] === RUN   TestIsDirCreateEvent
[09:42:44]	[Step 1/1] --- PASS: TestIsDirCreateEvent (1.00s)
[09:42:44]	[Step 1/1] === RUN   TestWatcher
[09:42:45]	[Step 1/1] --- PASS: TestWatcher (1.47s)
[09:42:45]	[Step 1/1] === RUN   TestStopPathNotExists
[09:42:47]	[Step 1/1] --- PASS: TestStopPathNotExists (1.17s)
[09:42:47]	[Step 1/1] === RUN   TestWatcherUnwatch
[09:42:49]	[Step 1/1] --- FAIL: TestWatcherUnwatch (2.91s)
[09:42:49]	[Step 1/1] 	testing_test.go:219: testing_test.go:467: timed out after 2s waiting for one of [&notify.Call{F:"", C:(chan notify.EventInfo)(nil), P:"file", NP:"", E:0x100000, NE:0x0, S:interface {}(nil), Dir:false}] (i=0)
[09:42:49]	[Step 1/1] === RUN   TestWatchpoint
[09:42:49]	[Step 1/1] --- PASS: TestWatchpoint (0.00s)
[09:42:49]	[Step 1/1] FAIL
[09:42:49]	[Step 1/1] exit status 1
[09:42:49]	[Step 1/1] FAIL	github.com/rjeczalik/notify	33.924s

@calmh any luck? were you able out what the issue is? I am also facing the same issue in go 1.5

Hey @calmh! Have you or @datNurd looked at this?

I should have access to a Windows machine during this weekend and will try to find what's wrong.

calmh commented

I'm not debugging this, merely logged it.