syncthing: `TestParentDeletion` fails on OpenBSD

This test is failing non-deterministically:

fremen% STRACE=model go test -v -run TestParentDeletion                                                                            
=== RUN   TestParentDeletion
2018/10/07 13:09:02.267277 set.go:80: INFO: No stored folder metadata for "default": recalculating                                 
2018/10/07 13:09:02.268209 model.go:197: INFO: Ready to synchronize "default" (default) (sendreceive)                              
2018/10/07 13:09:02.268334 model.go:1640: INFO: Device GYRZZQB-IRNPV4Z-T7TC52W-EQYJ3TT-FDQW6MW-DFLMU42-SSSU6EM-FBK2VAY client is " " named "" at
2018/10/07 13:09:02.287054 folder.go:290: INFO: Completed initial scan of sendreceive folder "default" (default)                   
--- PASS: TestParentDeletion (0.58s)
PASS
ok      github.com/syncthing/syncthing/lib/model        0.751s
fremen% STRACE=model go test -v -run TestParentDeletion
=== RUN   TestParentDeletion
2018/10/07 13:09:05.467361 set.go:80: INFO: No stored folder metadata for "default": recalculating                                 
2018/10/07 13:09:05.468368 model.go:197: INFO: Ready to synchronize "default" (default) (sendreceive)                              
2018/10/07 13:09:05.468500 model.go:1640: INFO: Device GYRZZQB-IRNPV4Z-T7TC52W-EQYJ3TT-FDQW6MW-DFLMU42-SSSU6EM-FBK2VAY client is " " named "" at
2018/10/07 13:09:05.488119 folder.go:290: INFO: Completed initial scan of sendreceive folder "default" (default)                   
--- PASS: TestParentDeletion (0.60s)
PASS
ok      github.com/syncthing/syncthing/lib/model        0.748s
fremen% STRACE=model go test -v -run TestParentDeletion
=== RUN   TestParentDeletion
2018/10/07 13:09:08.717217 set.go:80: INFO: No stored folder metadata for "default": recalculating
2018/10/07 13:09:08.718186 model.go:197: INFO: Ready to synchronize "default" (default) (sendreceive)
2018/10/07 13:09:08.718315 model.go:1640: INFO: Device GYRZZQB-IRNPV4Z-T7TC52W-EQYJ3TT-FDQW6MW-DFLMU42-SSSU6EM-FBK2VAY client is " " named "" at 
2018/10/07 13:09:08.737205 folder.go:290: INFO: Completed initial scan of sendreceive folder "default" (default)
--- FAIL: TestParentDeletion (0.09s)
    requests_test.go:589: remove /home/porter/go/src/github.com/syncthing/syncthing/lib/model/testdata/_request-402399101/foo: directory not empty
FAIL

Version: f528923d1ef224a07d58fea21b0dca14ca18ba78.

Thanks

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 31 (14 by maintainers)

Commits related to this issue

Most upvoted comments

Looks like this may have done the trick. I ran 1000 times with no failures.

I’ll do another 3000 to be sure.