Bug 149625

Summary: Fix the clean-build script on the WinCairo buildbot
Product: WebKit Reporter: Csaba Osztrogonác <ossy>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: achristensen, lforschler, ossy, youennf
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Description Csaba Osztrogonác 2015-09-29 08:09:12 PDT
https://build.webkit.org/builders/WinCairo%2064-Bit%20Release/builds/49631

Traceback (most recent call last):
  File "./Tools/BuildSlaveSupport/clean-build", line 59, in <module>
    sys.exit(main())
  File "./Tools/BuildSlaveSupport/clean-build", line 56, in main
    shutil.rmtree(webkit_build_directory)
  File "C:\Python27\lib\shutil.py", line 247, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "C:\Python27\lib\shutil.py", line 247, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "C:\Python27\lib\shutil.py", line 247, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "C:\Python27\lib\shutil.py", line 256, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "C:\Python27\lib\shutil.py", line 254, in rmtree
    os.rmdir(path)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\Alex\\Documents\\WinCairoBot\\win-cairo-release\\build\\WebKitBuild\\Release\\DerivedSources\\WebCore'
Comment 1 Csaba Osztrogonác 2015-10-08 01:27:57 PDT
This bug is still valid: https://build.webkit.org/builders/WinCairo%2064-Bit%20Release/builds/49938

Alex, do you plan to fix it?
Comment 2 Csaba Osztrogonác 2015-10-14 04:45:27 PDT
still broken - https://build.webkit.org/builders/WinCairo%2064-Bit%20Release/builds/50122

any plan to fix it?
Comment 3 Csaba Osztrogonác 2015-10-14 05:41:07 PDT
(In reply to comment #2)
> still broken -
> https://build.webkit.org/builders/WinCairo%2064-Bit%20Release/builds/50122

https://build.webkit.org/builders/WinCairo%2064-Bit%20Release/builds/50123

It seems the clean feature worked, but noticed as false failure for some reason.
It would be great if the port/bot maintainer could debug this script locally.
Comment 4 Alex Christensen 2015-10-14 12:19:24 PDT
(In reply to comment #3)
> It seems the clean feature worked, but noticed as false failure for some
> reason.
> It would be great if the port/bot maintainer could debug this script locally.
I've duplicated it locally, but python isn't my forte, and I've been working on other things.  I'll look into it soonish.
Comment 5 Csaba Osztrogonác 2016-01-22 03:25:17 PST
The bug is still valid:
https://build.webkit.org/builders/WinCairo%2064-Bit%20Release/builds/53090
Comment 6 Csaba Osztrogonác 2016-09-28 02:39:00 PDT
still broken: https://build.webkit.org/builders/WinCairo%2064-Bit%20Release/builds/61406