Closed
Bug 699930
Opened 13 years ago
Closed 13 years ago
Unit tests failing .. looks to be not grabbing localManifest
Categories
(Web Apps :: Extension, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: onecyrenus, Unassigned)
References
Details
http://openwebapps-jenkins.qa.phx1.mozilla.com:8080/job/OWA-Extension/15/console APPS | api.install.fetchManifest | Fetching manifest from ./helpers/../apps/basic/basic.webapp error: TEST FAILED: test-services.test_invoke_error_thrown (exception) error: An exception occurred. Traceback (most recent call last): File "resource://openwebapps-at-mozillalabs-dot-com-api-utils-lib/timer.js", line 66, in notifyOnTimeout this._callback.apply(null, this._params); File "resource://openwebapps-at-mozillalabs-dot-com-api-utils-lib/unit-test.js", line 289, in null timer.setTimeout(function() { onDone(self); }, 0); File "resource://openwebapps-at-mozillalabs-dot-com-api-utils-lib/unit-test.js", line 437, in runNextTest self.start({test: test, onDone: runNextTest}); File "resource://openwebapps-at-mozillalabs-dot-com-api-utils-lib/unit-test.js", line 459, in start this.test.testFunction(this); File "resource://openwebapps-at-mozillalabs-dot-com-api-utils-lib/unit-test-finder.js", line 56, in runTest test(runner); File "resource://openwebapps-at-mozillalabs-dot-com-openwebapps-tests/test-services.js", line 179, in null testError(test, TestMediatorErrorThrown, function(errob) { File "resource://openwebapps-at-mozillalabs-dot-com-openwebapps-tests/test-services.js", line 145, in testError installTestApp(test, "apps/basic/basic.webapp", function() { File "resource://openwebapps-at-mozillalabs-dot-com-openwebapps-tests/helpers/helpers.js", line 48, in null undefined); // the window is only used if a prompt is shown. File "resource://openwebapps-at-mozillalabs-dot-com-openwebapps-lib/api.js", line 266, in _install return Repo.install(location, args, displayPrompt, fetcher, function(result) { File "resource://openwebapps-at-mozillalabs-dot-com-openwebapps-lib/repo.js", line 309, in install fetchManifestFunc(args.url, function(fetchedManifest, contentType) { File "resource://openwebapps-at-mozillalabs-dot-com-openwebapps-lib/api.js", line 196, in fetchManifest xhr.open("GET", url, true); [Exception... "Component returned failure code: 0x804b000a (NS_ERROR_MALFORMED_URI) [nsIXMLHttpRequest.open]" nsresult: "0x804b000a (NS_ERROR_MALFORMED_URI)" location: "JS frame :: resource://openwebapps-at-mozillalabs-dot-com-api-utils-lib/cuddlefish.js -> resource://openwebapps-at-mozillalabs-dot-com-openwebapps-lib/api.js :: fetchManifest :: line 196" data: no] APPS | api.install.fetchManifest | Fetching manifest from ./helpers/../apps/basic/basic.webapp error: TEST FAILED: test-services.test_invoke_twice (exception) error: An exception occurred. Traceback (most recent call last): File "resource://openwebapps-at-mozillalabs-dot-com-api-utils-lib/timer.js", line 66, in notifyOnTimeout this._callback.apply(null, this._params); File "resource://openwebapps-at-mozillalabs-dot-com-api-utils-lib/unit-test.js", line 289, in null timer.setTimeout(function() { onDone(self); }, 0); File "resource://openwebapps-at-mozillalabs-dot-com-api-utils-lib/unit-test.js", line 437, in runNextTest self.start({test: test, onDone: runNextTest}); File "resource://openwebapps-at-mozillalabs-dot-com-api-utils-lib/unit-test.js", line 459, in start this.test.testFunction(this); File "resource://openwebapps-at-mozillalabs-dot-com-api-utils-lib/unit-test-finder.js", line 56, in runTest test(runner); File "resource://openwebapps-at-mozillalabs-dot-com-openwebapps-tests/test-services.js", line 64, in null installTestApp(test, "apps/basic/basic.webapp", function() { File "resource://openwebapps-at-mozillalabs-dot-com-openwebapps-tests/helpers/helpers.js", line 48, in null undefined); // the window is only used if a prompt is shown. File "resource://openwebapps-at-mozillalabs-dot-com-openwebapps-lib/api.js", line 266, in _install return Repo.install(location, args, displayPrompt, fetcher, function(result) { File "resource://openwebapps-at-mozillalabs-dot-com-openwebapps-lib/repo.js", line 309, in install fetchManifestFunc(args.url, function(fetchedManifest, contentType) { File "resource://openwebapps-at-mozillalabs-dot-com-openwebapps-lib/api.js", line 196, in fetchManifest xhr.open("GET", url, true); [Exception... "Component returned failure code: 0x804b000a (NS_ERROR_MALFORMED_URI) [nsIXMLHttpRequest.open]" nsresult: "0x804b000a (NS_ERROR_MALFORMED_URI)" location: "JS frame :: resource://openwebapps-at-mozillalabs-dot-com-api-utils-lib/cuddlefish.js -> resource://openwebapps-at-mozillalabs-dot-com-openwebapps-lib/api.js :: fetchManifest :: line 196" data: no] .. 12 of 22 tests passed.
Reporter | ||
Comment 1•13 years ago
|
||
make test, can repro this.
Comment 2•13 years ago
|
||
This was a change in addon-sdk that we needed to adjust for. The change was added to bug 692977, specifically the following commits: https://github.com/mozilla/openwebapps/commit/9e1929a65dd6b2e548ecc0c62e826507234f5e7a https://github.com/mozilla/openwebapps/commit/e1480e90b2e0d2f2f0f4e5a5f868dad7b22bb151
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•13 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•