Closed
Bug 747393
Opened 13 years ago
Closed 13 years ago
JarMaker.py races - "OSError: [Errno 17] File exists: '../../dist/bin/chrome/browser/content/browser'"
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox14 fixed, firefox15 fixed)
RESOLVED
FIXED
mozilla16
People
(Reporter: joey, Assigned: glandium)
Details
Attachments
(1 file)
|
1.81 KB,
patch
|
ted
:
review+
lsblakk
:
approval-mozilla-aurora+
lsblakk
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
macosx64 / opt was the only failing platform. Race condition ?
builder: try-macosx64
slave: bld-lion-r5-035
starttime: 1334874595.23
results: failure (2)
buildid: 20120419153003
builduid: 1f95d08c5c5d4eb0b225094ed11c7ad3
revision: d2155ee870dd
https://tbpl.mozilla.org/php/getParsedLog.php?id=11052299&tree=Try
make -C src libs
nsPrivateBrowsingServiceWrapper.cpp
/usr/local/bin/ccache /usr/bin/g++-4.2 -arch x86_64 -o nsPrivateBrowsingServiceWrapper.o -c -fvisibility=hidden -DOSTYPE=\"Darwin11.2.0\" -DOSARCH=Darwin -I/builds/slave/try-osx64/build/browser/components/privatebrowsing/src/../../build -I/builds/slave/try-osx64/build/browser/components/privatebrowsing/src -I. -I../../../../dist/include -I../../../../dist/include/nsprpub -I/builds/slave/try-osx64/build/obj-firefox/x86_64/dist/include/nspr -I/builds/slave/try-osx64/build/obj-firefox/x86_64/dist/include/nss -fPIC -fno-rtti -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -isysroot /Developer/SDKs/MacOSX10.6.sdk -fno-exceptions -fno-strict-aliasing -fno-common -fshort-wchar -ffunction-sections -fdata-sections -pthread -DNO_X11 -pipe -DNDEBUG -DTRIMMED -g -O3 -fomit-frame-pointer -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -MD -MF .deps/nsPrivateBrowsingServiceWrapper.pp /builds/slave/try-osx64/build/browser/components/privatebrowsing/src/nsPrivateBrowsingServiceWrapper.cpp
nsIWebContentConverterRegistrar.idl
/tools/buildbot/bin/python2.7 /builds/slave/try-osx64/build/config/pythonpath.py \
-I/builds/slave/try-osx64/build/other-licenses/ply \
-I/builds/slave/try-osx64/build/xpcom/idl-parser \
-I/builds/slave/try-osx64/build/xpcom/typelib/xpt/tools \
/builds/slave/try-osx64/build/xpcom/idl-parser/typelib.py --cachedir=../../../../xpcom/idl-parser -I/builds/slave/try-osx64/build/browser/components/feeds/public -I../../../../dist/idl /builds/slave/try-osx64/build/browser/components/feeds/public/nsIWebContentConverterRegistrar.idl -d .deps/nsIWebContentConverterRegistrar.xpt.pp -o _xpidlgen/nsIWebContentConverterRegistrar.xpt
mkdir(name, mode)
OSError: [Errno 17] File exists: '../../dist/bin/chrome/browser/content/browser'
make -C test libs
make[7]: *** [libs] Error 1
make[6]: *** [base_libs] Error 2
make[6]: *** Waiting for unfinished jobs....
Comment 1•13 years ago
|
||
Hitting these fairly often on other trees, too - we must have made building on 10.7 too fast :)
https://tbpl.mozilla.org/php/getParsedLog.php?id=11986127&full=1&branch=profiling#error0
https://tbpl.mozilla.org/php/getParsedLog.php?id=11982486&full=1&branch=mozilla-central#error0
for two nightlies today.
Summary: random try failure: macosx64 - typelib.py - OSError: mkdir, file exists → JarMaker.py races on macosx64 - "OSError: [Errno 17] File exists: '../../dist/bin/chrome/browser/content/browser'"
Comment 2•13 years ago
|
||
Comment 3•13 years ago
|
||
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
|
||
Give 'em enough time, even a blind Qt build will find an acorn race
https://tbpl.mozilla.org/php/getParsedLog.php?id=12218907&tree=Firefox
OS: Linux → All
Hardware: x86 → All
Summary: JarMaker.py races on macosx64 - "OSError: [Errno 17] File exists: '../../dist/bin/chrome/browser/content/browser'" → JarMaker.py races - "OSError: [Errno 17] File exists: '../../dist/bin/chrome/browser/content/browser'"
Comment 10•13 years ago
|
||
Comment 11•13 years ago
|
||
Comment 12•13 years ago
|
||
| Assignee | ||
Comment 13•13 years ago
|
||
Attachment #632219 -
Flags: review?(ted.mielczarek)
| Assignee | ||
Updated•13 years ago
|
Assignee: nobody → mh+mozilla
Comment 14•13 years ago
|
||
Comment 15•13 years ago
|
||
Comment on attachment 632219 [details] [diff] [review]
Avoid race condition creating directories in JarMaker
Review of attachment 632219 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks. I kept meaning to write this patch but not getting around to it.
Attachment #632219 -
Flags: review?(ted.mielczarek) → review+
| Assignee | ||
Comment 16•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
Comment 17•13 years ago
|
||
Comment 18•13 years ago
|
||
Comment 19•13 years ago
|
||
Comment 20•13 years ago
|
||
Comment 21•13 years ago
|
||
Mike/Ted: What are your thoughts about uplifting this to aurora/beta?
| Assignee | ||
Comment 22•13 years ago
|
||
Comment on attachment 632219 [details] [diff] [review]
Avoid race condition creating directories in JarMaker
[Approval Request Comment]
Bug caused by race condition when doing parallel builds
Impact if declined: builds randomly fail (albeit, not very often)
Testing completed (on m-c, etc.): has been on m-c for some time, now, and is a fairly trivial patch to the build system
Risk to taking this patch (and alternatives if risky): None
String or UUID changes made by this patch: None
Attachment #632219 -
Flags: approval-mozilla-beta?
Attachment #632219 -
Flags: approval-mozilla-aurora?
Comment 23•13 years ago
|
||
Comment on attachment 632219 [details] [diff] [review]
Avoid race condition creating directories in JarMaker
[Triage comment]
build system only patch, little to no risk, approving.
Attachment #632219 -
Flags: approval-mozilla-beta?
Attachment #632219 -
Flags: approval-mozilla-beta+
Attachment #632219 -
Flags: approval-mozilla-aurora?
Attachment #632219 -
Flags: approval-mozilla-aurora+
| Assignee | ||
Comment 24•13 years ago
|
||
http://hg.mozilla.org/releases/mozilla-aurora/rev/2e73bfe773f8
http://hg.mozilla.org/releases/mozilla-beta/rev/0a8cd9e352a8
status-firefox14:
--- → fixed
status-firefox15:
--- → fixed
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•