Closed Bug 843503 Opened 12 years ago Closed 11 years ago

cfx testex fails on fennec

Categories

(Add-on SDK Graveyard :: General, defect, P1)

All
Android
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: evold, Assigned: jsantell)

References

Details

See terminal output: (addon-sdk)EMBP:addon-sdk erik_vold$ cfx testex -a fennec-on-device -b ~/android/android-sdk-macosx/platform-tools/adb --mobile-app fennec --force-mobile -v Testing annotator... Launching mobile application with intent name org.mozilla.fennec Killing running Firefox instance ... Pushing the addon to your device Starting: Intent { act=android.activity.MAIN cmp=org.mozilla.fennec/.App (has extras) } --------- beginning of /dev/log/main --------- beginning of /dev/log/system Could not read chrome manifest 'file:///data/data/org.mozilla.fennec/chrome.manifest'. OpenGL LayerManager Initialized Succesfully. Version: OpenGL ES 2.0 14.01002 Vendor: NVIDIA Corporation Renderer: NVIDIA Tegra 3 FBO Texture Target: TEXTURE_2D zerdatime 1361435625218 - browser chrome startup finished. Running tests on Fennec 22.0a1/Gecko 22.0a1 ({aa3c5121-dab2-40e2-81ca-7ea25febc110}) under android/arm-eabi-gcc3. info: annotator: executing 'annotator/tests/test-main.testMain' info: annotator: pass: TODO: Write some tests. 1 of 1 tests passed. [JavaScript Warning: "Duplicate resource declaration for 'gre-resources' ignored." {file: "jar:jar:file:///data/app/org.mozilla.fennec-2.apk!/omni.ja!/chrome/chrome.manifest" line: 7}] Could not read chrome manifest 'file:///data/data/org.mozilla.fennec/chrome.manifest'. [JavaScript Warning: "Duplicate resource declaration for 'gre-resources' ignored." {file: "jar:jar:file:///data/app/org.mozilla.fennec-2.apk!/omni.ja!/chrome/chrome.manifest" line: 7}] Could not read chrome manifest 'file:///data/data/org.mozilla.fennec/chrome.manifest'. Program terminated successfully. Testing library-detector... Launching mobile application with intent name org.mozilla.fennec Pushing the addon to your device Starting: Intent { act=android.activity.MAIN cmp=org.mozilla.fennec/.App (has extras) } --------- beginning of /dev/log/main --------- beginning of /dev/log/system Could not read chrome manifest 'file:///data/data/org.mozilla.fennec/chrome.manifest'. OpenGL LayerManager Initialized Succesfully. Version: OpenGL ES 2.0 14.01002 Vendor: NVIDIA Corporation Renderer: NVIDIA Tegra 3 FBO Texture Target: TEXTURE_2D zerdatime 1361435632997 - browser chrome startup finished. Running tests on Fennec 22.0a1/Gecko 22.0a1 ({aa3c5121-dab2-40e2-81ca-7ea25febc110}) under android/arm-eabi-gcc3. info: library-detector-sdk: executing 'library-detector-sdk/tests/test-main.testMain' info: library-detector-sdk: pass: TODO: Write some tests. 1 of 1 tests passed. [JavaScript Warning: "Duplicate resource declaration for 'gre-resources' ignored." {file: "jar:jar:file:///data/app/org.mozilla.fennec-2.apk!/omni.ja!/chrome/chrome.manifest" line: 7}] Could not read chrome manifest 'file:///data/data/org.mozilla.fennec/chrome.manifest'. [JavaScript Warning: "Duplicate resource declaration for 'gre-resources' ignored." {file: "jar:jar:file:///data/app/org.mozilla.fennec-2.apk!/omni.ja!/chrome/chrome.manifest" line: 7}] Could not read chrome manifest 'file:///data/data/org.mozilla.fennec/chrome.manifest'. Program terminated successfully. Testing reading-data... Launching mobile application with intent name org.mozilla.fennec Pushing the addon to your device Starting: Intent { act=android.activity.MAIN cmp=org.mozilla.fennec/.App (has extras) } --------- beginning of /dev/log/main --------- beginning of /dev/log/system Could not read chrome manifest 'file:///data/data/org.mozilla.fennec/chrome.manifest'. zerdatime 1361435639191 - browser chrome startup finished. OpenGL LayerManager Initialized Succesfully. Version: OpenGL ES 2.0 14.01002 Vendor: NVIDIA Corporation Renderer: NVIDIA Tegra 3 FBO Texture Target: TEXTURE_2D Running tests on Fennec 22.0a1/Gecko 22.0a1 ({aa3c5121-dab2-40e2-81ca-7ea25febc110}) under android/arm-eabi-gcc3. Error: Error: Unsupported Application: The module sdk/panel currently supports only Firefox. Traceback (most recent call last): File "resource://reading-data-example-at-jetpack-dot-mozillalabs-dot-com/reading-data/tests/test-main.js", line 5, in var m = require("main"); File "resource://reading-data-example-at-jetpack-dot-mozillalabs-dot-com/addon-sdk/lib/sdk/loader/cuddlefish.js", line 127, in options<.load result = load(loader, module); File "resource://reading-data-example-at-jetpack-dot-mozillalabs-dot-com/reading-data/lib/main.js", line 6, in var panels = require("addon-kit/panel"); File "resource://reading-data-example-at-jetpack-dot-mozillalabs-dot-com/addon-sdk/lib/sdk/loader/cuddlefish.js", line 133, in options<.load error = incompatibility(module) || error; File "resource://reading-data-example-at-jetpack-dot-mozillalabs-dot-com/addon-sdk/lib/sdk/loader/cuddlefish.js", line 80, in incompatibility " currently supports only " + applications.join(", ") + ".") 0 of 1 tests passed. error: reading-data: An exception occurred. TypeError: tests.testRuns is undefined resource://reading-data-example-at-jetpack-dot-mozillalabs-dot-com/addon-sdk/lib/sdk/test/runner.js 58 Traceback (most recent call last): File "resource://reading-data-example-at-jetpack-dot-mozillalabs-dot-com/addon-sdk/lib/sdk/timers.js", line 31, in notify callback.apply(null, args); File "resource://reading-data-example-at-jetpack-dot-mozillalabs-dot-com/addon-sdk/lib/sdk/test/runner.js", line 48, in onDone: onDone File "resource://reading-data-example-at-jetpack-dot-mozillalabs-dot-com/addon-sdk/lib/sdk/test/harness.js", line 466, in runTests onDone({passed: 0, failed: 1}); File "resource://reading-data-example-at-jetpack-dot-mozillalabs-dot-com/addon-sdk/lib/sdk/test/runner.js", line 29, in onDone printFailedTests(tests, cfxArgs.verbose, stdout.write); File "resource://reading-data-example-at-jetpack-dot-mozillalabs-dot-com/addon-sdk/lib/sdk/test/runner.js", line 58, in printFailedTests let singleIteration = tests.testRuns.length == 1; [JavaScript Error: "reading-data: An exception occurred. TypeError: tests.testRuns is undefined resource://reading-data-example-at-jetpack-dot-mozillalabs-dot-com/addon-sdk/lib/sdk/test/runner.js 58 Traceback (most recent call last): File "resource://reading-data-example-at-jetpack-dot-mozillalabs-dot-com/addon-sdk/lib/sdk/timers.js", line 31, in notify callback.apply(null, args); File "resource://reading-data-example-at-jetpack-dot-mozillalabs-dot-com/addon-sdk/lib/sdk/test/runner.js", line 48, in onDone: onDone File "resource://reading-data-example-at-jetpack-dot-mozillalabs-dot-com/addon-sdk/lib/sdk/test/harness.js", line 466, in runTests onDone({passed: 0, failed: 1}); File "resource://reading-data-example-at-jetpack-dot-mozillalabs-dot-com/addon-sdk/lib/sdk/test/runner.js", line 29, in onDone printFailedTests(tests, cfxArgs.verbose, stdout.write); File "resource://reading-data-example-at-jetpack-dot-mozillalabs-dot-com/addon-sdk/lib/sdk/test/runner.js", line 58, in printFailed info: reading-data: [JavaScript Error: "reading-data: An exception occurred. TypeError: tests.testRuns is undefined resource://reading-data-example-at-jetpack-dot-mozillalabs-dot-com/addon-sdk/lib/sdk/test/runner.js 58 Traceback (most recent call last): File "resource://reading-data-example-at-jetpack-dot-mozillalabs-dot-com/addon-sdk/lib/sdk/timers.js", line 31, in notify callback.apply(null, args); File "resource://reading-data-example-at-jetpack-dot-mozillalabs-dot-com/addon-sdk/lib/sdk/test/runner.js", line 48, in onDone: onDone File "resource://reading-data-example-at-jetpack-dot-mozillalabs-dot-com/addon-sdk/lib/sdk/test/harness.js", line 466, in runTests onDone({passed: 0, failed: 1}); File "resource://reading-data-example-at-jetpack-dot-mozillalabs-dot-com/addon-sdk/lib/sdk/test/runner.js", line 29, in onDone printFailedTests(tests, cfxArgs.verbose, stdout.write); File "resource://reading-data-example-at-jetpack-dot-mozillalabs-dot-com/addon-sdk/lib/sdk/test/runner.js", line 58, in printFailedTests let singleIteration = tests.testRuns.length == 1; "] ^Z [2]+ Stopped cfx testex -a fennec-on-device -b ~/android/android-sdk-macosx/platform-tools/adb --mobile-app fennec --force-mobile -v
OS: All → Android
Assignee: nobody → evold
Assignee: evold → nobody
Assignee: nobody → jsantell
`cfx testex` is now passing.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.