Closed Bug 833533 Opened 12 years ago Closed 11 years ago

Windows build failure with WindowsError: [Error 5] Access is denied: [something].webidl, or WindowsError: [Error 2] The system cannot find the file specified: [something].webidl

Categories

(Core :: DOM: Core & HTML, defect)

All
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dholbert, Unassigned)

Details

(Keywords: intermittent-failure)

Just hit a somewhat bizarre build failure on m-i tbpl.

Log:
https://tbpl.mozilla.org/php/getParsedLog.php?id=19023560&tree=Mozilla-Inbound
WINNT 5.2 mozilla-inbound build on 2013-01-22 11:59:13 PST for push a7ba9c337287
slave: w64-ix-slave73

Concise snippet of errors:
{
WindowsError: [Error 2] The system cannot find the file specified: u'e:\\builds\\moz2_slave\\m-in-w32\\build\\obj-firefox\\dom\\bindings\\PerformanceTiming.webidl'
WindowsError: [Error 2] The system cannot find the file specified: u'e:\\builds\\moz2_slave\\m-in-w32\\build\\obj-firefox\\dom\\bindings\\Performance.webidl'
}

More verbose snippet of errors (w/ context):
{
make.py[7]: Entering directory 'e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\test\..'
e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\Makefile:113:0$ e:/builds/moz2_slave/m-in-w32/build/obj-firefox/_virtualenv/Scripts/python.exe e:/builds/moz2_slave/m-in-w32/build/config/nsinstall.py -t -m 644 e:/builds/moz2_slave/m-in-w32/build/dom/webidl/Performance.webidl .
e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\Makefile:113:0$ e:/builds/moz2_slave/m-in-w32/build/obj-firefox/_virtualenv/Scripts/python.exe e:/builds/moz2_slave/m-in-w32/build/config/nsinstall.py -t -m 644 e:/builds/moz2_slave/m-in-w32/build/dom/webidl/PerformanceTiming.webidl .
e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\Makefile:113:0$ e:/builds/moz2_slave/m-in-w32/build/obj-firefox/_virtualenv/Scripts/python.exe e:/builds/moz2_slave/m-in-w32/build/config/nsinstall.py -t -m 644 e:/builds/moz2_slave/m-in-w32/build/dom/webidl/Performance.webidl .
e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\Makefile:113:0$ e:/builds/moz2_slave/m-in-w32/build/obj-firefox/_virtualenv/Scripts/python.exe e:/builds/moz2_slave/m-in-w32/build/config/nsinstall.py -t -m 644 e:/builds/moz2_slave/m-in-w32/build/dom/webidl/PerformanceTiming.webidl .
Traceback (most recent call last):
  File "e:/builds/moz2_slave/m-in-w32/build/config/nsinstall.py", line 179, in <module>
    sys.exit(_nsinstall_internal(argv[1:]))
  File "e:/builds/moz2_slave/m-in-w32/build/config/nsinstall.py", line 144, in _nsinstall_internal
    copy_all_entries(args, target)
  File "e:/builds/moz2_slave/m-in-w32/build/config/nsinstall.py", line 105, in copy_all_entries
    handleTarget(e, dest)
  File "e:/builds/moz2_slave/m-in-w32/build/config/nsinstall.py", line 130, in handleTarget
    os.remove(targetpath)
WindowsError: [Error 2] The system cannot find the file specified: u'e:\\builds\\moz2_slave\\m-in-w32\\build\\obj-firefox\\dom\\bindings\\PerformanceTiming.webidl'
e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\Makefile:113:0$ e:/builds/moz2_slave/m-in-w32/build/obj-firefox/_virtualenv/Scripts/python.exe e:/builds/moz2_slave/m-in-w32/build/config/nsinstall.py -t -m 644 e:/builds/moz2_slave/m-in-w32/build/dom/webidl/Performance.webidl .
e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\Makefile:113:0: command 'e:/builds/moz2_slave/m-in-w32/build/obj-firefox/_virtualenv/Scripts/python.exe e:/builds/moz2_slave/m-in-w32/build/config/nsinstall.py -t -m 644 e:/builds/moz2_slave/m-in-w32/build/dom/webidl/PerformanceTiming.webidl .' failed, return code 1
e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\Makefile:113:0$ e:/builds/moz2_slave/m-in-w32/build/obj-firefox/_virtualenv/Scripts/python.exe e:/builds/moz2_slave/m-in-w32/build/config/nsinstall.py -t -m 644 e:/builds/moz2_slave/m-in-w32/build/dom/webidl/PerformanceTiming.webidl .
e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\Makefile:113:0$ e:/builds/moz2_slave/m-in-w32/build/obj-firefox/_virtualenv/Scripts/python.exe e:/builds/moz2_slave/m-in-w32/build/config/nsinstall.py -t -m 644 e:/builds/moz2_slave/m-in-w32/build/dom/webidl/Performance.webidl .
e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\Makefile:113:0$ e:/builds/moz2_slave/m-in-w32/build/obj-firefox/_virtualenv/Scripts/python.exe e:/builds/moz2_slave/m-in-w32/build/config/nsinstall.py -t -m 644 e:/builds/moz2_slave/m-in-w32/build/dom/webidl/PerformanceTiming.webidl .
<ParserResults.pkl>: Found error
<TestDictionaryBinding.h>: Found error
make.py[7]: Leaving directory 'e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\test\..'
make.py[7]: Entering directory 'e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\test\..'
e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\test\Makefile:84:0: command 'C:/mozilla-build/python27/python.exe e:/builds/moz2_slave/m-in-w32/build/build/pymake/pymake/../make.py -C .. TestDictionaryBinding.h' failed, return code 2
<../TestDictionaryBinding.obj>: Found error
<dombindings_test_s.lib.desc>: Found error
e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\Makefile:113:0$ e:/builds/moz2_slave/m-in-w32/build/obj-firefox/_virtualenv/Scripts/python.exe e:/builds/moz2_slave/m-in-w32/build/config/nsinstall.py -t -m 644 e:/builds/moz2_slave/m-in-w32/build/dom/webidl/Performance.webidl .
e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\Makefile:113:0$ e:/builds/moz2_slave/m-in-w32/build/obj-firefox/_virtualenv/Scripts/python.exe e:/builds/moz2_slave/m-in-w32/build/config/nsinstall.py -t -m 644 e:/builds/moz2_slave/m-in-w32/build/dom/webidl/PerformanceTiming.webidl .
make.py[7]: Leaving directory 'e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\test\..'
make.py[7]: Leaving directory 'e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\test\..'
make.py[7]: Entering directory 'e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\test\..'
make.py[7]: Entering directory 'e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\test\..'
e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\Makefile:113:0$ e:/builds/moz2_slave/m-in-w32/build/obj-firefox/_virtualenv/Scripts/python.exe e:/builds/moz2_slave/m-in-w32/build/config/nsinstall.py -t -m 644 e:/builds/moz2_slave/m-in-w32/build/dom/webidl/Performance.webidl .
e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\Makefile:113:0$ e:/builds/moz2_slave/m-in-w32/build/obj-firefox/_virtualenv/Scripts/python.exe e:/builds/moz2_slave/m-in-w32/build/config/nsinstall.py -t -m 644 e:/builds/moz2_slave/m-in-w32/build/dom/webidl/PerformanceTiming.webidl .
e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\Makefile:113:0$ e:/builds/moz2_slave/m-in-w32/build/obj-firefox/_virtualenv/Scripts/python.exe e:/builds/moz2_slave/m-in-w32/build/config/nsinstall.py -t -m 644 e:/builds/moz2_slave/m-in-w32/build/dom/webidl/Performance.webidl .
e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\Makefile:113:0$ e:/builds/moz2_slave/m-in-w32/build/obj-firefox/_virtualenv/Scripts/python.exe e:/builds/moz2_slave/m-in-w32/build/config/nsinstall.py -t -m 644 e:/builds/moz2_slave/m-in-w32/build/dom/webidl/PerformanceTiming.webidl .
e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\Makefile:113:0: command 'e:/builds/moz2_slave/m-in-w32/build/obj-firefox/_virtualenv/Scripts/python.exe e:/builds/moz2_slave/m-in-w32/build/config/nsinstall.py -t -m 644 e:/builds/moz2_slave/m-in-w32/build/dom/webidl/Performance.webidl .' failed, return code 1
<ParserResults.pkl>: Found error
e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\Makefile:130:0$ PYTHONDONTWRITEBYTECODE=1 e:/builds/moz2_slave/m-in-w32/build/obj-firefox/_virtualenv/Scripts/python.exe e:/builds/moz2_slave/m-in-w32/build/config/pythonpath.py \
  -Ie:/builds/moz2_slave/m-in-w32/build/other-licenses/ply -Ie:/builds/moz2_slave/m-in-w32/build/dom/bindings/parser \
  e:/builds/moz2_slave/m-in-w32/build/dom/bindings/BindingGen.py cpp \
  e:/builds/moz2_slave/m-in-w32/build/dom/bindings/Bindings.conf TestCodeGenBinding \
  TestCodeGen.webidl
<TestExampleGenBinding.cpp>: Found error
e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\test\Makefile:85:0: command 'C:/mozilla-build/python27/python.exe e:/builds/moz2_slave/m-in-w32/build/build/pymake/pymake/../make.py -C .. TestExampleGenBinding.cpp' failed, return code 2
<../TestExampleGenBinding.obj>: Found error
<dombindings_test_s.lib.desc>: Found error
e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\Makefile:130:0$ PYTHONDONTWRITEBYTECODE=1 e:/builds/moz2_slave/m-in-w32/build/obj-firefox/_virtualenv/Scripts/python.exe e:/builds/moz2_slave/m-in-w32/build/config/pythonpath.py \
  -Ie:/builds/moz2_slave/m-in-w32/build/other-licenses/ply -Ie:/builds/moz2_slave/m-in-w32/build/dom/bindings/parser \
  e:/builds/moz2_slave/m-in-w32/build/dom/bindings/BindingGen.py cpp \
  e:/builds/moz2_slave/m-in-w32/build/dom/bindings/Bindings.conf TestTypedefBinding \
  TestTypedef.webidl
Traceback (most recent call last):
  File "e:/builds/moz2_slave/m-in-w32/build/config/nsinstall.py", line 179, in <module>
    sys.exit(_nsinstall_internal(argv[1:]))
  File "e:/builds/moz2_slave/m-in-w32/build/config/nsinstall.py", line 144, in _nsinstall_internal
    copy_all_entries(args, target)
  File "e:/builds/moz2_slave/m-in-w32/build/config/nsinstall.py", line 107, in copy_all_entries
    os.chmod(dest, options.m)
WindowsError: [Error 2] The system cannot find the file specified: u'e:\\builds\\moz2_slave\\m-in-w32\\build\\obj-firefox\\dom\\bindings\\Performance.webidl'
Generating binding implementation: TestTypedefBinding.cpp
make.py[7]: Leaving directory 'e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\test\..'
Generating binding implementation: TestCodeGenBinding.cpp
make.py[7]: Leaving directory 'e:\builds\moz2_slave\m-in-w32\build\obj-firefox\dom\bindings\test\..'
<libs>: Found error
}

Filing in DOM for now, since that's where the not-found webidl files live. But this may end up being a releng or IT issue, if it ends up that the machine has a corrupt filesystem or something.
> WindowsError: [Error 2] The system cannot find the file specified:
> u'e:\\builds\\moz2_slave\\m-in-w32\\build\\obj-
  ^
  |__ I'm not sure what that "u" suffix before the file path is about...

I wonder if that's involved at all?
We apparently hit another instance of this (with a slightly different error) earlier today, on a Win Debug build, too:
{
WindowsError: [Error 5] Access is denied: u'e:\\builds\\moz2_slave\\m-in-w32-dbg\\build\\obj-firefox\\dom\\bindings\\SVGPathElement.webidl'
}
https://tbpl.mozilla.org/php/getParsedLog.php?id=19021161&tree=Mozilla-Inbound
Summary: Windows build failure with: WindowsError: [Error 2] The system cannot find the file specified: u'e:\\builds\\moz2_slave\\m-in-w32\\build\\obj-firefox\\dom\\bindings\\PerformanceTiming.webidl' → Windows build failure with WindowsError: [Error 5] Access is denied: [something].webidl, or WindowsError: [Error 2] The system cannot find the file specified: [something].webidl'
Summary: Windows build failure with WindowsError: [Error 5] Access is denied: [something].webidl, or WindowsError: [Error 2] The system cannot find the file specified: [something].webidl' → Windows build failure with WindowsError: [Error 5] Access is denied: [something].webidl, or WindowsError: [Error 2] The system cannot find the file specified: [something].webidl
https://tbpl.mozilla.org/php/getParsedLog.php?id=19039606&tree=Mozilla-Inbound

WindowsError: [Error 2] The system cannot find the file specified: u'e:\\builds\\moz2_slave\\m-in-w32\\build\\obj-firefox\\dom\\bindings\\SVGEllipseElement.webidl'
https://tbpl.mozilla.org/php/getParsedLog.php?id=19041088&tree=Mozilla-Inbound

WindowsError: [Error 2] The system cannot find the file specified: u'e:\\builds\\moz2_slave\\m-in-w32\\build\\obj-firefox\\dom\\bindings\\SVGAnimateTransformElement.webidl'
https://tbpl.mozilla.org/php/getParsedLog.php?id=19426638&tree=Firefox

I'm not sure who needs to be CCed to this to take a look at it, but it would be nice if somebody who knew this code could.
(In reply to Ryan VanderMeulen [:RyanVM] from comment #18)
> https://tbpl.mozilla.org/php/getParsedLog.php?id=19426638&tree=Firefox

FWIW, this has:

WindowsError: [Error 32] The process cannot access the file because it is being used by another process: u'e:\\builds\\moz2_slave\\m-cen-w32-pgo\\build\\obj-firefox\\dom\\bindings\\SVGGradientElement.webidl'

> I'm not sure who needs to be CCed to this to take a look at it, but it would
> be nice if somebody who knew this code could.

That's just khuey, I think.
https://tbpl.mozilla.org/php/getParsedLog.php?id=19731668&tree=Mozilla-Inbound

khuey please can you take a look?
Flags: needinfo?(khuey)
Just burned a nightly on this. Can someone please look at this?
https://tbpl.mozilla.org/php/getParsedLog.php?id=20820643&tree=Firefox
https://tbpl.mozilla.org/php/getParsedLog.php?id=21154421&tree=Firefox

Just burned a nightly on this. Can we PLEASE get someone to look at this?
Looks like one of the WebIDL build system rewrites fixed this.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.