Closed Bug 1496819 Opened 7 years ago Closed 6 years ago

"AddonInstallException: No such file or directory: [...]/specialpowers" when trying to run crashtest

Categories

(Testing :: Reftest, defect)

Version 3
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: botond, Unassigned)

Details

This is what I get when I try to run a crashtest locally: $ ./mach crashtest layout/base/crashtests/1458121.html REFTEST INFO | Running with e10s: True REFTEST INFO | Application command: /home/botond/dev/mozilla/central/objdir-desktop-clang/dist/bin/firefox -marionette -profile /tmp/tmpxtIgEf.mozrunner ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpxtIgEf.mozrunner/runreftest_leaks.log [27181, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /home/botond/dev/mozilla/central/netwerk/protocol/res/SubstitutingProtocolHandler.cpp, line 342 1538765688024 Marionette DEBUG Received observer notification profile-after-change 1538765689214 Marionette DEBUG Received observer notification command-line-startup 1538765689217 Marionette DEBUG Received observer notification nsPref:changed 1538765689219 Marionette DEBUG Init aborted (running=false, enabled=true, finalUIStartup=false) ++DOCSHELL 0x7fd1a5490800 == 1 [pid = 27181] [id = {2ec344e5-c34e-4d43-b2ca-9d7eb47c60df}] ++DOMWINDOW == 1 (0x7fd1a69d1c00) [pid = 27181] [serial = 1] [outer = (nil)] ++DOMWINDOW == 2 (0x7fd1a54b8800) [pid = 27181] [serial = 2] [outer = 0x7fd1a69d1c00] [27181, Main Thread] WARNING: 'mIndex >= Count()', file /home/botond/dev/mozilla/central/xpcom/ds/nsStringEnumerator.cpp, line 240 ++DOCSHELL 0x7fd1a05ac800 == 2 [pid = 27181] [id = {f4c9514a-6e93-4790-a4ff-68b8f3a8d34b}] ++DOMWINDOW == 3 (0x7fd1a06f8c00) [pid = 27181] [serial = 3] [outer = (nil)] ++DOMWINDOW == 4 (0x7fd1a4df5c00) [pid = 27181] [serial = 4] [outer = 0x7fd1a06f8c00] 1538765691263 Marionette DEBUG Received observer notification toplevel-window-ready [27181, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /home/botond/dev/mozilla/central/netwerk/protocol/res/SubstitutingProtocolHandler.cpp, line 342 ++DOMWINDOW == 5 (0x7fd1a4dfc000) [pid = 27181] [serial = 5] [outer = 0x7fd1a69d1c00] ++DOCSHELL 0x7fd19f470800 == 3 [pid = 27181] [id = {e2d2ad91-5f31-460d-93ec-518ffa01ec86}] ++DOMWINDOW == 6 (0x7fd19f48fc00) [pid = 27181] [serial = 6] [outer = (nil)] ++DOCSHELL 0x7fd19e410800 == 4 [pid = 27181] [id = {db43819f-0672-44ce-8a5d-f2c5400c745f}] ++DOMWINDOW == 7 (0x7fd19e6ce400) [pid = 27181] [serial = 7] [outer = (nil)] ++DOMWINDOW == 8 (0x7fd19e4cbc00) [pid = 27181] [serial = 8] [outer = 0x7fd19e6ce400] ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpxtIgEf.mozrunner/runreftest_leaks_tab_pid27243.log LoadPlugin() /tmp/tmpxtIgEf.mozrunner/plugins/libnpsecondtest.so returned 7fd1a6a2a9a0 LoadPlugin() /tmp/tmpxtIgEf.mozrunner/plugins/libnpswftest.so returned 7fd1aa5855e0 LoadPlugin() /tmp/tmpxtIgEf.mozrunner/plugins/libnptest.so returned 7fd1aa5856a0 LoadPlugin() /tmp/tmpxtIgEf.mozrunner/plugins/libnpthirdtest.so returned 7fd1aa5857f0 LoadPlugin() /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/IcedTeaPlugin.so returned 7fd1aa585820 LoadPlugin() /usr/lib/mozilla/plugins/skypebuttons.so returned 7fd1aa5858e0 LoadPlugin() /usr/lib/flashplugin-nonfree/libflashplayer.so returned 7fd1a6a2a8b0 Couldn't convert chrome URL: chrome://branding/locale/brand.properties ++DOMWINDOW == 9 (0x7fd1c5d21000) [pid = 27181] [serial = 9] [outer = 0x7fd19f48fc00] ++DOCSHELL 0x7fa114738800 == 1 [pid = 27243] [id = {620231cc-d310-4b4c-9885-db02885fee83}] ++DOMWINDOW == 1 (0x7fa116337e00) [pid = 27243] [serial = 1] [outer = (nil)] ++DOMWINDOW == 2 (0x7fa1144c5c00) [pid = 27243] [serial = 2] [outer = 0x7fa116337e00] ++DOMWINDOW == 3 (0x7fa1148e4800) [pid = 27243] [serial = 3] [outer = 0x7fa116337e00] [Parent 27181, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /home/botond/dev/mozilla/central/netwerk/protocol/res/SubstitutingProtocolHandler.cpp, line 342 [Parent 27181, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file /home/botond/dev/mozilla/central/netwerk/cache/nsCacheService.cpp, line 362 ++DOCSHELL 0x7fd196d78800 == 5 [pid = 27181] [id = {3a94eaae-dc43-4d34-a3ef-d2823d1596cb}] ++DOMWINDOW == 10 (0x7fd19e34ec00) [pid = 27181] [serial = 10] [outer = (nil)] ++DOMWINDOW == 11 (0x7fd196dae000) [pid = 27181] [serial = 11] [outer = 0x7fd19e34ec00] ++DOMWINDOW == 12 (0x7fd196daec00) [pid = 27181] [serial = 12] [outer = 0x7fd19e34ec00] ++DOMWINDOW == 13 (0x7fd196dad400) [pid = 27181] [serial = 13] [outer = 0x7fd19e34ec00] [Parent 27181, Main Thread] WARNING: Need TabChild to get the nativeWindow from!: file /home/botond/dev/mozilla/central/widget/PuppetWidget.cpp, line 1187 ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpxtIgEf.mozrunner/runreftest_leaks_tab_pid27275.log ++DOCSHELL 0x7fd196838000 == 6 [pid = 27181] [id = {e0b6ed51-f3c1-4130-98f7-4198285eb8e6}] ++DOMWINDOW == 14 (0x7fd1a04c6200) [pid = 27181] [serial = 14] [outer = (nil)] ++DOMWINDOW == 15 (0x7fd197699400) [pid = 27181] [serial = 15] [outer = 0x7fd1a04c6200] Couldn't convert chrome URL: chrome://branding/locale/brand.properties ++DOMWINDOW == 16 (0x7fd19769a000) [pid = 27181] [serial = 16] [outer = 0x7fd1a04c6200] ++DOMWINDOW == 17 (0x7fd19769d800) [pid = 27181] [serial = 17] [outer = 0x7fd1a04c6200] ++DOCSHELL 0x7f065c53c000 == 1 [pid = 27275] [id = {d5ed262a-eb41-4646-9d02-a4d9e8394b77}] [Parent 27181, Main Thread] WARNING: Need TabChild to get the nativeWindow from!: file /home/botond/dev/mozilla/central/widget/PuppetWidget.cpp, line 1187 ++DOMWINDOW == 1 (0x7f065e03ee00) [pid = 27275] [serial = 1] [outer = (nil)] [Child 27275, Main Thread] WARNING: Fallback to BasicLayerManager: file /home/botond/dev/mozilla/central/dom/ipc/TabChild.cpp, line 2813 ++DOMWINDOW == 2 (0x7f065c2c6000) [pid = 27275] [serial = 2] [outer = 0x7f065e03ee00] [Parent 27181, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /home/botond/dev/mozilla/central/parser/html/nsHtml5StreamParser.cpp, line 1024 ++DOCSHELL 0x7f065b71f000 == 2 [pid = 27275] [id = {91f075b1-d2d2-4eb3-8d06-05fa7bf3d274}] ++DOMWINDOW == 3 (0x7f065b73b400) [pid = 27275] [serial = 3] [outer = (nil)] [Child 27275, Main Thread] WARNING: Fallback to BasicLayerManager: file /home/botond/dev/mozilla/central/dom/ipc/TabChild.cpp, line 2813 ++DOMWINDOW == 4 (0x7f065c7ec000) [pid = 27275] [serial = 4] [outer = 0x7f065b73b400] ++DOMWINDOW == 5 (0x7f065c7ecc00) [pid = 27275] [serial = 5] [outer = 0x7f065e03ee00] ++DOMWINDOW == 6 (0x7f065c7edc00) [pid = 27275] [serial = 6] [outer = 0x7f065b73b400] 1538765703682 Marionette DEBUG Received observer notification sessionstore-windows-restored 1538765703686 Marionette DEBUG Waiting for delayed startup... [Parent 27181, Main Thread] WARNING: Suboptimal indexes for the SQL statement 0x7fd1954bfaa0 (http://mzl.la/1FuID0j).: file /home/botond/dev/mozilla/central/storage/mozStoragePrivateHelpers.cpp, line 114 ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpxtIgEf.mozrunner/runreftest_leaks_tab_pid27318.log 1538765708667 Marionette DEBUG Waiting for startup tests... Couldn't convert chrome URL: chrome://branding/locale/brand.properties 1538765709565 Marionette INFO Listening on port 2828 1538765709568 Marionette DEBUG Remote service is active 1538765709855 Marionette DEBUG Accepted connection 0 from 127.0.0.1:36952 1538765709880 Marionette DEBUG Closed connection 0 1538765709891 Marionette DEBUG Accepted connection 1 from 127.0.0.1:36954 1538765709978 Marionette TRACE 1 -> [0,1,"WebDriver:NewSession",{}] 1538765710576 Marionette DEBUG [2147483649] Frame script loaded 1538765710678 Marionette DEBUG [2147483649] Frame script registered 1538765710838 Marionette TRACE 1 <- [1,1,null,{"sessionId":"316e58a0-08ed-48c3-8f38-432023e02f21","capabilities":{"browserName":"firefox","browserVersion":"64.0a ... sID":27181,"moz:profile":"/tmp/tmpxtIgEf.mozrunner","moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true}}] --DOMWINDOW == 2 (0x7fa1144c5c00) [pid = 27243] [serial = 2] [outer = (nil)] [url = about:blank] 1538765710950 Marionette TRACE 1 -> [0,2,"Addon:Install",{"path":"/home/botond/dev/mozilla/central/objdir-desktop-clang/_tests/reftest/specialpowers","temporary":true}] 1538765710973 Marionette TRACE 1 <- [1,2,{"error":"unknown error","message":"No such file or directory: /home/botond/dev/mozilla/central/objdir-desktop-clang/_te ... et@chrome://marionette/content/server.js:236:8\n_onJSONObjectReady/<@chrome://marionette/content/transport.js:490:9\n"},null] Error running mach: ['crashtest', 'layout/base/crashtests/1458121.html'] The error occurred in code that was called by the mach command. This is either a bug in the called code itself or in the way that mach is calling it. You should consider filing a bug for this issue. If filing a bug, please include the full output of mach, including this error message. The details of the failure are as follows: AddonInstallException: No such file or directory: /home/botond/dev/mozilla/central/objdir-desktop-clang/_tests/reftest/specialpowers stacktrace: WebDriverError@chrome://marionette/content/error.js:178:5 UnknownError@chrome://marionette/content/error.js:483:5 install@chrome://marionette/content/addon.js:68:13 async*GeckoDriver.prototype.installAddon@chrome://marionette/content/driver.js:3362:10 despatch@chrome://marionette/content/server.js:291:20 async*execute@chrome://marionette/content/server.js:264:11 async*onPacket/<@chrome://marionette/content/server.js:237:15 async*onPacket@chrome://marionette/content/server.js:236:8 _onJSONObjectReady/<@chrome://marionette/content/transport.js:490:9 File "/home/botond/dev/mozilla/central/layout/tools/reftest/mach_commands.py", line 226, in run_crashtest return self._run_reftest(**kwargs) File "/home/botond/dev/mozilla/central/layout/tools/reftest/mach_commands.py", line 240, in _run_reftest return reftest.run_desktop_test(**kwargs) File "/home/botond/dev/mozilla/central/layout/tools/reftest/mach_commands.py", line 91, in run_desktop_test rv = runreftest.run_test_harness(parser, args) File "/home/botond/dev/mozilla/central/layout/tools/reftest/runreftest.py", line 964, in run_test_harness result = reftest.runTests(options.tests, options) File "/home/botond/dev/mozilla/central/layout/tools/reftest/runreftest.py", line 564, in runTests return self.runSerialTests(manifests, options, cmdargs) File "/home/botond/dev/mozilla/central/layout/tools/reftest/runreftest.py", line 898, in runSerialTests return run() File "/home/botond/dev/mozilla/central/layout/tools/reftest/runreftest.py", line 889, in run **kwargs) File "/home/botond/dev/mozilla/central/layout/tools/reftest/runreftest.py", line 792, in runApp addons.install(options.specialPowersExtensionPath, temp=True) File "/home/botond/dev/mozilla/central/testing/marionette/client/marionette_driver/addons.py", line 55, in install raise AddonInstallException(e)

I wasn't able to reproduce this today on windows- maybe this is fixed or maybe it is platform specific.

:botond, could you try this again?

Flags: needinfo?(botond)

I tried this today and it worked fine. Closing as WORKSFORME.

Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(botond)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.