Closed Bug 899721 Opened 11 years ago Closed 9 years ago

Intermittent browser_scratchpad_recent_files.js | the temporary file was imported successfully with Scratchpad

Categories

(DevTools Graveyard :: Scratchpad, defect)

x86_64
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: RyanVM, Unassigned)

References

Details

(Keywords: intermittent-failure)

https://tbpl.mozilla.org/php/getParsedLog.php?id=25314331&tree=Mozilla-Inbound Rev4 MacOSX Snow Leopard 10.6 mozilla-inbound opt test mochitest-browser-chrome on 2013-07-15 23:33:55 PDT for push 70f4d118d159 slave: talos-r4-snow-004 23:54:33 INFO - TEST-START | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js 23:54:33 INFO - TEST-INFO | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "data:text/html,<p>test%20recent%20files%20in%20Scratchpad" line: 0}] 23:54:33 INFO - TEST-INFO | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | Console message: OpenGL LayerManager Initialized Succesfully. 23:54:33 INFO - Version: 2.1 NVIDIA-1.6.36 23:54:33 INFO - Vendor: NVIDIA Corporation 23:54:33 INFO - Renderer: NVIDIA GeForce 320M OpenGL Engine 23:54:33 INFO - FBO Texture Target: TEXTURE_2D 23:54:33 INFO - TEST-INFO | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | Console message: [JavaScript Warning: "Use of Mutation Events is deprecated. Use MutationObserver instead." {file: "chrome://browser/content/devtools/orion.js" line: 3408}] 23:54:33 INFO - TEST-INFO | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | Console message: [JavaScript Warning: "Use of Mutation Events is deprecated. Use MutationObserver instead." {file: "chrome://browser/content/devtools/orion.js" line: 3408}] 23:54:33 WARNING - TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | the temporary file was imported successfully with Scratchpad 23:54:33 INFO - Stack trace: 23:54:33 INFO - JS frame :: chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js :: fileImported :: line 214 23:54:33 INFO - JS frame :: chrome://browser/content/devtools/scratchpad.js :: SP_importFromFile/< :: line 692 23:54:33 INFO - JS frame :: resource://gre/modules/NetUtil.jsm :: <TOP_LEVEL> :: line 137 23:54:33 INFO - native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0 23:54:33 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | the temporary file was saved successfully with Scratchpad 23:54:33 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | the recent files menu was populated successfully. 23:54:33 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | the temporary file was saved successfully with Scratchpad 23:54:33 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | the recent files menu was populated successfully. 23:54:33 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | Temporary files created successfully and added to list of recent files. 23:54:33 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | the temporary file was saved successfully with Scratchpad 23:54:33 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | the recent files menu was populated successfully. 23:54:33 INFO - TEST-INFO | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | Console message: [JavaScript Error: "[Exception... "Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIInputStream.available]" nsresult: "0x80470002 (NS_BASE_STREAM_CLOSED)" location: "JS frame :: chrome://browser/content/devtools/scratchpad.js :: SP_importFromFile/< :: line 672" data: no]" {file: "chrome://browser/content/devtools/scratchpad.js" line: 672}] 23:54:33 INFO - TEST-INFO | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | Console message: [JavaScript Error: "[Exception... "Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIInputStream.available]" nsresult: "0x80470002 (NS_BASE_STREAM_CLOSED)" location: "JS frame :: chrome://browser/content/devtools/scratchpad.js :: SP_importFromFile/< :: line 672" data: no]" {file: "chrome://browser/content/devtools/scratchpad.js" line: 672}] 23:54:33 INFO - TEST-INFO | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | Console message: [JavaScript Error: "[Exception... "Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIInputStream.available]" nsresult: "0x80470002 (NS_BASE_STREAM_CLOSED)" location: "JS frame :: chrome://browser/content/devtools/scratchpad.js :: SP_importFromFile/< :: line 672" data: no]" {file: "chrome://browser/content/devtools/scratchpad.js" line: 672}] 23:54:33 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | File02 was reordered successfully in the 'recent files'-list. 23:54:33 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | File03 was reordered successfully in the 'recent files'-list. 23:54:33 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | File04: was added successfully. 23:54:33 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | File04 was reordered successfully in the 'recent files'-list. 23:54:33 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | File03 was reordered successfully in the 'recent files'-list. 23:54:33 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | File02 was reordered successfully in the 'recent files'-list. 23:54:33 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | The menu was hidden successfully. 23:54:33 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | The menu is visible. \o/ 23:54:33 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | Two recent files were successfully removed from the 'recent files'-list 23:54:33 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | Two recent files were successfully removed from the 'Open Recent'-menu 23:54:33 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | The missing file was successfully removed from the list. 23:54:33 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | The missing file was successfully removed from the menu. 23:54:33 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | The notification was successfully displayed. 23:54:33 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | The notification label is correct. 23:54:33 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | All recent files removed successfully. 23:54:33 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | All menuitems removed successfully. 23:54:33 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | No files in the menu, it was disabled successfully. 23:54:33 INFO - TEST-PASS | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | the temporary file was saved successfully with Scratchpad 23:54:33 INFO - INFO TEST-END | chrome://mochitests/content/browser/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js | finished in 547ms
Dave, any chance you could get someone to take a look at this? :)
Flags: needinfo?(dcamp)
Rob, I think your team touched scratchpad last?
Flags: needinfo?(dcamp) → needinfo?(rcampbell)
Brandon, can you take a look at this?
-flag.
Flags: needinfo?(rcampbell)
I sure can. I looked at this before and couldn't find an obvious problem or reproduce. I'll look at it again closer and see what I can find. An indirect fix might be switching the Scratchpad to use OS.File instead of using NetUtil, which we should do anyway because manually handling streams to do some simple file io complicates the code. It also fits in with the goal of eventually changing the Scratchpad's APIs that use callbacks to instead return promises (almost all of the methods are for file manipulation).
Assignee: nobody → bbenvie
Summary: Intermittent browser_scratchpad_bug_651942_recent_files.js | the temporary file was imported successfully with Scratchpad → Intermittent browser_scratchpad_recent_files.js | the temporary file was imported successfully with Scratchpad
The death of this intermittent has been greatly exaggerated. Since the test file was renamed, bug 944708 has been eating all the intermittent reports for this.
Assignee: bbenvie → nobody
Inactive; closing (see bug 1180138).
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.