Closed
Bug 858752
Opened 13 years ago
Closed 13 years ago
Intermittent WindowsError: [Error 5] Access is denied: 'e:\\builds\\moz2_slave\\m-cen-w32_g-000000000000000000\\build\\obj-firefox\\dist\\include\\dbm\\cdefs.h'
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: RyanVM, Assigned: gps)
References
Details
(Keywords: intermittent-failure)
Attachments
(1 file)
|
25.83 KB,
text/plain
|
Details |
https://tbpl.mozilla.org/php/getParsedLog.php?id=21452006&tree=Mozilla-Central
b2g_mozilla-central_win32_gecko build on 2013-04-04 10:58:20 PDT for push 55f9e3e3dae7
slave: w64-ix-slave98
Automatically clobbering e:\builds\moz2_slave\m-cen-w32_g-000000000000000000\build\obj-firefox
e:\builds\moz2_slave\m-cen-w32_g-000000000000000000\build\client.mk:309:0: command 'python e:/builds/moz2_slave/m-cen-w32_g-000000000000000000/build/python/mozbuild/mozbuild/controller/clobber.py e:/builds/moz2_slave/m-cen-w32_g-000000000000000000/build obj-firefox' failed, return code 1
e:\builds\moz2_slave\m-cen-w32_g-000000000000000000\build\client.mk:339:0: command 'C:/mozilla-build/python27/python.exe e:/builds/moz2_slave/m-cen-w32_g-000000000000000000/build/build/pymake/pymake/../make.py -f e:/builds/moz2_slave/m-cen-w32_g-000000000000000000/build/client.mk configure' failed, return code 2
e:\builds\moz2_slave\m-cen-w32_g-000000000000000000\build\client.mk:163:0: command 'C:/mozilla-build/python27/python.exe e:/builds/moz2_slave/m-cen-w32_g-000000000000000000/build/build/pymake/pymake/../make.py -f e:/builds/moz2_slave/m-cen-w32_g-000000000000000000/build/client.mk realbuild' failed, return code 2
Traceback (most recent call last):
File "e:/builds/moz2_slave/m-cen-w32_g-000000000000000000/build/python/mozbuild/mozbuild/controller/clobber.py", line 193, in <module>
sys.exit(main(sys.argv[1:], os.environ, os.getcwd(), sys.stdout))
File "e:/builds/moz2_slave/m-cen-w32_g-000000000000000000/build/python/mozbuild/mozbuild/controller/clobber.py", line 183, in main
required, performed, message = clobber.maybe_do_clobber(cwd, auto, fh)
File "e:/builds/moz2_slave/m-cen-w32_g-000000000000000000/build/python/mozbuild/mozbuild/controller/clobber.py", line 152, in maybe_do_clobber
rmtree(self.topobjdir)
File "C:\mozilla-build\python27\lib\shutil.py", line 245, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\mozilla-build\python27\lib\shutil.py", line 245, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\mozilla-build\python27\lib\shutil.py", line 245, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\mozilla-build\python27\lib\shutil.py", line 250, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "C:\mozilla-build\python27\lib\shutil.py", line 248, in rmtree
os.remove(fullname)
WindowsError: [Error 5] Access is denied: 'e:\\builds\\moz2_slave\\m-cen-w32_g-000000000000000000\\build\\obj-firefox\\dist\\include\\dbm\\cdefs.h'
| Reporter | ||
Comment 1•13 years ago
|
||
Comment 2•13 years ago
|
||
Comment 3•13 years ago
|
||
Remember when this was only desktop b2g? Good times.
https://tbpl.mozilla.org/php/getParsedLog.php?id=21500479&tree=Mozilla-Central
Summary: Intermittent Windows desktop B2G WindowsError: [Error 5] Access is denied: 'e:\\builds\\moz2_slave\\m-cen-w32_g-000000000000000000\\build\\obj-firefox\\dist\\include\\dbm\\cdefs.h' → Intermittent WindowsError: [Error 5] Access is denied: 'e:\\builds\\moz2_slave\\m-cen-w32_g-000000000000000000\\build\\obj-firefox\\dist\\include\\dbm\\cdefs.h'
Comment 4•13 years ago
|
||
Comment 5•13 years ago
|
||
Comment 6•13 years ago
|
||
Comment 7•13 years ago
|
||
Comment 8•13 years ago
|
||
Comment 9•13 years ago
|
||
Comment 10•13 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=21526266&tree=Mozilla-Inbound
Which makes five failures out of six jobs (and the sixth isn't finished, just running longer than you would expect if it's going to hit this) after https://hg.mozilla.org/integration/mozilla-inbound/rev/8739c3bd5734, making me wonder if auto-CLOBBER is what's not going so very well on Windows.
Severity: normal → major
Comment 11•13 years ago
|
||
Comment 12•13 years ago
|
||
(And yes, I apparently do have enough of a reading-comprehension problem that I didn't even read the first two words of the failure message.)
Comment 13•13 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=21527320&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=21527319&tree=Mozilla-Inbound
And that's after I used the clobberer on it, so either the clobberer doesn't really work entirely right (wouldn't surprise me in the least), or even clobbering isn't enough to escape the automatic CLOBBERburn.
Assignee: nobody → gps
Comment 14•13 years ago
|
||
Comment 15•13 years ago
|
||
Comment 16•13 years ago
|
||
Comment 17•13 years ago
|
||
Comment 18•13 years ago
|
||
Comment 19•13 years ago
|
||
Can we back out autoclobber?
Comment 21•13 years ago
|
||
I'm looking into this. Bug 859157 for tbpl getting the time conversion wrong.
Comment 22•13 years ago
|
||
Comment 23•13 years ago
|
||
Comment 24•13 years ago
|
||
This looks like bustage from a NSS build system change. Many files in dist/include/dbm and dist/include/nss are mode 444, so python doesn't have acesss to remove them.
This is effecting clobberrer too, eg the log in comment #0 has:
m-in-w32-000000000000000000000:Our last clobber date: 2013-04-04 04:48:24
m-in-w32-000000000000000000000:Server clobber date: 2013-04-04 14:25:08
m-in-w32-000000000000000000000:Server is forcing a clobber, initiated by philringnalda@gmail.com
m-in-w32-000000000000000000000:Clobbering...
Removing build/
Couldn't clobber properly, bailing out.
program finished with exit code 1
Comment 25•13 years ago
|
||
Output of |find . -type f ! -perm /u=w -ls| in the objdir for the mozilla-central win32 gecko dir (comment #0).
Comment 26•13 years ago
|
||
Comment 27•13 years ago
|
||
Comment 28•13 years ago
|
||
Comment 29•13 years ago
|
||
Comment 30•13 years ago
|
||
Comment 31•13 years ago
|
||
Comment 32•13 years ago
|
||
NSS has always installed its files this way. So this is nothing new. However, the autoclobberer is probably not smart enough to deal with it.
| Reporter | ||
Comment 33•13 years ago
|
||
| Reporter | ||
Comment 34•13 years ago
|
||
| Reporter | ||
Comment 35•13 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=21541165&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=21541181&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=21541133&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=21541186&tree=Mozilla-Inbound
Comment 36•13 years ago
|
||
I think the auto clobberer needs to be more resilient in the face of msys weirdness. Falling back to native windows APIs to delete the file, and/or trying to rename the file out of the way could help.
Comment 37•13 years ago
|
||
We're using shutil.rmtree here, which apparently is not resilient enough. :-/
| Reporter | ||
Comment 38•13 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=21541448&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=21541497&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=21541467&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=21541547&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=21541479&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=21542274&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=21542158&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=21542022&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=21542310&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=21542129&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=21542092&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=21542400&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=21542200&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=21542381&tree=Mozilla-Inbound
| Reporter | ||
Comment 39•13 years ago
|
||
Unless someone gives me a very compelling reason not to in short order, I'm going to be backing out autoclobber soon. Or I can close inbound and m-c until this is fixed.
| Reporter | ||
Comment 40•13 years ago
|
||
| Reporter | ||
Comment 41•13 years ago
|
||
Comment 42•13 years ago
|
||
Filed bug 859426 for the clobberer failing.
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•