Closed Bug 650676 Opened 13 years ago Closed 13 years ago

browser_autocompletesearch.js throws getting ProfD, then times out, on Android

Categories

(Firefox for Android Graveyard :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: philor, Assigned: mfinkle)

References

Details

(Whiteboard: [mobile_unittests])

Attachments

(2 files, 2 obsolete files)

http://tinderbox.mozilla.org/showlog.cgi?log=Mobile/1303066294.1303067175.20037.gz#err1
Android Tegra 250 mozilla-central opt test browser-chrome on 2011/04/17 11:51:34
s: tegra-071
(and every other log I looked at)

TEST-START | chrome://mochitests/content/browser/mobile/chrome/browser_autocompletesearch.js
TEST-INFO | chrome://mochitests/content/browser/mobile/chrome/browser_autocompletesearch.js | Console message: [JavaScript Error: "[Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIFileProtocolHandler.getFileFromURLSpec]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: chrome://mochikit/content/chrome-harness.js :: getChromeDir :: line 87"  data: no]" {file: "chrome://mochikit/content/chrome-harness.js" line: 87}]
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/mobile/chrome/browser_autocompletesearch.js | Test timed out
INFO TEST-END | chrome://mochitests/content/browser/mobile/chrome/browser_autocompletesearch.js | finished in 30523ms
Blocks: 650686
Attached patch disable for now (obsolete) — Splinter Review
On top of the patch in bug 650578, and with the same motivation.
Attachment #526646 - Flags: review?(mark.finkle)
this bug should stay open until the test case is fixed, but disabling it for now is a good short term approach.
Whiteboard: [mobile_unittests]
Attached patch rebased disable (obsolete) — Splinter Review
Okay, that was sneaky, fixing browser_addons.js so I couldn't apply this disable-patch on top of that disable-patch, but you can't defeat my desire to disable things that easily!
Attachment #526646 - Attachment is obsolete: true
Attachment #526646 - Flags: review?(mark.finkle)
Attachment #526883 - Flags: review?(mark.finkle)
Attached patch debugging patchSplinter Review
Just some debugging statements that might help figure out why the mock file is not loaded. We don't have tests on try server, and I don't have a local android test setup working.
Attachment #526995 - Flags: review?(21)
mock path: chrome://mochitests/content/browser/mobile/chrome/browser_autocompletesearch.js
mock URI: jar:file:///mnt/sdcard/tests/profile/tests.jar!/content/browser/mobile/chrome/browser_autocompletesearch.js
Attached patch patchSplinter Review
This patch will check to see if the tests are in a JAR file and will extract the file from the JAR. Otherwise it will copy the file.

I tested the JAR extraction as best I could locally, and it worked. Time to test for realz.
Assignee: nobody → mark.finkle
Attachment #527069 - Flags: review?(21)
http://hg.mozilla.org/mozilla-central/rev/078a4bcba8c5
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Attachment #526883 - Attachment is obsolete: true
Attachment #526883 - Flags: review?(mark.finkle)
Can someone verify this, please?
the test is green
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: