[Buildbot] #2885: Windows: rmdirRecursive() fails if a contained file is opened

Buildbot trac trac at buildbot.net
Fri Sep 12 06:01:54 UTC 2014


#2885: Windows: rmdirRecursive() fails if a contained file is opened
--------------------+------------------------
Reporter:  dl       |       Owner:
    Type:  defect   |      Status:  new
Priority:  major    |   Milestone:  undecided
 Version:  0.8.9    |  Resolution:
Keywords:  windows  |
--------------------+------------------------

Comment (by dl):

 Replying to [comment:12 dustin]:
 > Returning to the topic of the bug, I totally agree that additional
 testing would be great.  I'm not sure how best to test the interaction
 with virus checkers, for example.  We've also had a hell of a time getting
 donated Windows systems to stay up and functional, so we don't currently
 have any windows coverage.

 How could I (or we as a company) best support the improvement of Windows
 test coverage of the buildslave?

 > There's still the issue of using time.sleep, though -- that will cause
 the entire buildslave process to stop, which means any other commands that
 are in progress at the time will freeze.  It'd be better to use
 `reactor.callLater`, which in turn requires `rmdirRecursive` to return a
 `Deferred`.

 Is the return of a `Deferred` a viable option or should this be avoided?

--
Ticket URL: <http://trac.buildbot.net/ticket/2885#comment:13>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list