Thank you for that comment, Vasily.

It turns out that indeed there is a (deeply nested) file with a full path of 265 characters.

I'll modify the build to reduce the nesting depth and report back whether this resolves the problem.

Regards.
Greg


On 6/26/2016 3:48 AM, Vasily wrote:
Hi all,

One of potential problems with RemoveDirectory on Windows is that it uses ANSI version of Win32 API which cannot deal with too long names (more than MAXPATH, which, I believe, is about 260 characters), so you might want to check if the directory you're trying to remove has short enough name.

Thanks,
Vasily

воскресенье, 26 июня 2016 г. пользователь Greg Bullock написал:

    Thank you for the reply and the links.


    On 6/25/2016 3:19 PM, Tom Prince wrote:

    The same step works fine in another builder on a CentOS 7 worker.

     From the Windows 7 worker's twistd.log:
    [... omitted log lines ...]
    The code that does the actual deletion
    
(https://github.com/buildbot/buildbot/blob/master/worker/buildbot_worker/commands/utils.py#L47-L97)
    does do a bit of logging on error (and sends tracebacks for unhandled
    exceptions) so I suspect that this
    is bit of logging is from a successful run.


    The time stamp (2016-06-23 14:26:56-0700) on those entries match
    the time step of a failed build, as viewed in the Waterfall
    Display.  Moreover, this particular build ran three times that day
    and failed (on the RemoveDirectory step) all three times.  I don't
    have access to any details at the moment, but it might even be
    several days since the last successful run.

    I'll tweak the configuration to make a special build with only the
    RemoveDirectory step.   And I'll add a few more log statements to
    the buildbot_worker's rmdirRecursive source code.

    Any further insights or ideas, from you or anyone, would be most
    welcome.

    By the way, I'm using buildbot version 0.8.12.

-- Regards.
    Greg Bullock
    NorthWest Research Associates
    301 Webster St.
    Monterey CA 93940
    (831) 582-4907
    [email protected] <javascript:_e(%7B%7D,'cvml','[email protected]');>


--
Greg Bullock
NorthWest Research Associates
301 Webster St.
Monterey, CA  93940
(831) 582-4907
[email protected]

_______________________________________________
users mailing list
[email protected]
https://lists.buildbot.net/mailman/listinfo/users

Reply via email to