Closed
Bug 1224844
Opened 9 years ago
Closed 9 years ago
TEST-UNEXPECTED-FAIL | xpcshell-icaljs.ini:calendar/test/unit/test_gdata_provider.js | xpcshell return code: 0
Categories
(Calendar :: Provider: GData, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
4.6
People
(Reporter: mkmelin, Assigned: aleth)
Details
(Keywords: intermittent-failure)
Attachments
(1 file)
1.32 KB,
patch
|
Fallen
:
review+
Fallen
:
approval-calendar-aurora+
Fallen
:
approval-calendar-beta+
|
Details | Diff | Splinter Review |
TEST-UNEXPECTED-FAIL | xpcshell-icaljs.ini:calendar/test/unit/test_gdata_provider.js | xpcshell return code: 0
Apparently perma failure atm (for the platforms running the tests).
http://archive.mozilla.org/pub/thunderbird/tinderbox-builds/comm-central-macosx64/1447499202/comm-central_snowleopard_test-xpcshell-bm107-tests1-macosx-build14.txt.gz
04:56:10 INFO - TEST-START | xpcshell-icaljs.ini:calendar/test/unit/test_gdata_provider.js
04:56:11 WARNING - TEST-UNEXPECTED-FAIL | xpcshell-icaljs.ini:calendar/test/unit/test_gdata_provider.js | xpcshell return code: 0
04:56:11 INFO - TEST-INFO took 414ms
04:56:11 INFO - >>>>>>>
04:56:11 INFO - PROCESS | 5573 | Loading/builds/slave/test/build/application/Daily.app/Contents/Resources/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome.manifest
04:56:11 INFO - PROCESS | 5573 | [calBackendLoader] Using icaljs backend at /builds/slave/test/build/application/Daily.app/Contents/Resources/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/icaljs-manifest
04:56:11 INFO - PROCESS | 5573 | Loading/builds/slave/test/build/application/Daily.app/Contents/Resources/extensions/{a62ef8ec-5fdc-40c2-873c-223b8a6925cc}/chrome.manifest
04:56:11 INFO - NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXPCComponents_Utils.import]
04:56:11 INFO - @/builds/slave/test/build/tests/xpcshell/tests/calendar/test/unit/test_gdata_provider.js:24:1
04:56:11 INFO - load_file@/builds/slave/test/build/tests/xpcshell/head.js:606:7
04:56:11 INFO - _load_files@/builds/slave/test/build/tests/xpcshell/head.js:618:3
04:56:11 INFO - _execute_test@/builds/slave/test/build/tests/xpcshell/head.js:500:3
04:56:11 INFO - @-e:1:1
04:56:11 INFO - (xpcshell/head.js) | test MAIN run_test pending (1)
04:56:11 INFO - PROCESS | 5573 | JavaScript strict warning: /builds/slave/test/build/tests/xpcshell/tests/calendar/test/unit/test_gdata_provider.js, line 63: ReferenceError: reference to undefined property this.router
04:56:11 INFO - PROCESS | 5573 | JavaScript error: /builds/slave/test/build/tests/xpcshell/tests/calendar/test/unit/test_gdata_provider.js, line 63: TypeError: this.router is undefined
04:56:11 INFO - PROCESS | 5573 | JavaScript error: resource://calendar/modules/calUtils.jsm -> file:///builds/slave/test/build/application/Daily.app/Contents/Resources/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calCalendarManager.js, line 63: NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "this.router is undefined" {file: "/builds/slave/test/build/tests/xpcshell/tests/calendar/test/unit/test_gdata_provider.js" line: 63}]'[JavaScript Error: "this.router is undefined" {file: "/builds/slave/test/build/tests/xpcshell/tests/calendar/test/unit/test_gdata_provider.js" line: 63}]' when calling method: [calIGenericOperationListener::onResult]
04:56:11 INFO - NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "this.router is undefined" {file: "/builds/slave/test/build/tests/xpcshell/tests/calendar/test/unit/test_gdata_provider.js" line: 63}]'[JavaScript Error: "this.router is undefined" {file: "/builds/slave/test/build/tests/xpcshell/tests/calendar/test/unit/test_gdata_provider.js" line: 63}]' when calling method: [calIGenericOperationListener::onResult]
04:56:11 INFO - "CONSOLE_MESSAGE: (info) Could not read chrome manifest 'file:///builds/slave/test/build/application/Daily.app/Contents/Resources/extensions/%7Ba62ef8ec-5fdc-40c2-873c-223b8a6925cc%7D/chrome.manifest'."
04:56:11 INFO - "CONSOLE_MESSAGE: (warn) [JavaScript Warning: "ReferenceError: reference to undefined property this.router" {file: "/builds/slave/test/build/tests/xpcshell/tests/calendar/test/unit/test_gdata_provider.js" line: 63}]"
04:56:11 INFO - "CONSOLE_MESSAGE: (error) [JavaScript Error: "TypeError: this.router is undefined" {file: "/builds/slave/test/build/tests/xpcshell/tests/calendar/test/unit/test_gdata_provider.js" line: 63}]"
04:56:11 INFO - "CONSOLE_MESSAGE: (error) [JavaScript Error: "NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "this.router is undefined" {file: "/builds/slave/test/build/tests/xpcshell/tests/calendar/test/unit/test_gdata_provider.js" line: 63}]'[JavaScript Error: "this.router is undefined" {file: "/builds/slave/test/build/tests/xpcshell/tests/calendar/test/unit/test_gdata_provider.js" line: 63}]' when calling method: [calIGenericOperationListener::onResult]" {file: "resource://calendar/modules/calUtils.jsm -> file:///builds/slave/test/build/application/Daily.app/Contents/Resources/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calCalendarManager.js" line: 63}]"
04:56:11 INFO - <<<<<<<
Comment 1•9 years ago
|
||
This seems to affect Mac Opt tests only.
Comment 2•9 years ago
|
||
The first reported error is on this line in test_gdata_provider.js:
> Components.utils.import("resource://gdata-provider/modules/gdataSession.jsm");
Is it possible to see in the logs if gdata provider extension is installed and enabled at all?
Component: General → Provider: GData
OS: Unspecified → Mac OS X
Version: Trunk → Lightning 4.7
Comment 3•9 years ago
|
||
it would be good to get this fixed for comm-beta
Comment 4•9 years ago
|
||
I have now seen the problem "ReferenceError: reference to undefined property this.router" sporadically on my local Windows build during xpcshell tests. My solution was to run
> mach build calendar/providers/gdata/
and afterwards xpcshell tests pass. Maybe it depends if I did full build or only partial build, with or without clobber, ...?
Maybe there are differences with the build/packaging process on Mac OS X due to the handling of unified builds that causes gdata files being not in correct place when tests start.
Assignee | ||
Comment 5•9 years ago
|
||
(In reply to Stefan Sitter from comment #4)
> I have now seen the problem "ReferenceError: reference to undefined property
> this.router" sporadically on my local Windows build during xpcshell tests.
> My solution was to run
> > mach build calendar/providers/gdata/
> and afterwards xpcshell tests pass. Maybe it depends if I did full build or
> only partial build, with or without clobber, ...?
>
> Maybe there are differences with the build/packaging process on Mac OS X due
> to the handling of unified builds that causes gdata files being not in
> correct place when tests start.
Indeed, if this only happens on opt builds it could be fallout from bug 1224746.
Comment 6•9 years ago
|
||
Yes, failure is only reported for 'OS X 10.6 opt' and 'OS X 10.10 opt' builds. Corresponding 'debug' builds don't report the failure. Bug 1224844 and Bug 1224746 were reported almost the same day, indicating they might have the same cause.
Assignee | ||
Comment 7•9 years ago
|
||
(In reply to Stefan Sitter from comment #6)
> Yes, failure is only reported for 'OS X 10.6 opt' and 'OS X 10.10 opt'
> builds. Corresponding 'debug' builds don't report the failure. Bug 1224844
> and Bug 1224746 were reported almost the same day, indicating they might
> have the same cause.
The current patch from bug 1224746 packages calendar in make package-tests. But the xpcshell tests still fail, so something is still wrong.
Assignee | ||
Comment 8•9 years ago
|
||
Assignee | ||
Comment 9•9 years ago
|
||
Attachment #8696280 -
Flags: review?(philipp)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → aleth
Status: NEW → ASSIGNED
Comment 10•9 years ago
|
||
Comment on attachment 8696280 [details] [diff] [review]
Fix gdata test packaging for universal builds following bug 1201224
Review of attachment 8696280 [details] [diff] [review]:
-----------------------------------------------------------------
lgtm, r=philipp
Attachment #8696280 -
Flags: review?(philipp) → review+
Assignee | ||
Comment 11•9 years ago
|
||
https://hg.mozilla.org/comm-central/rev/4ac9d0bc8898cd89891478301f254ad46eff55aa
Bug 1224844 - Fix gdata test packaging for universal builds following bug 1201224. r=Fallen
Assignee | ||
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 4.7
Assignee | ||
Comment 12•9 years ago
|
||
Comment on attachment 8696280 [details] [diff] [review]
Fix gdata test packaging for universal builds following bug 1201224
Regression from mozilla 43.
Attachment #8696280 -
Flags: approval-calendar-beta?(philipp)
Attachment #8696280 -
Flags: approval-calendar-aurora?(philipp)
Updated•9 years ago
|
Attachment #8696280 -
Flags: approval-calendar-beta?(philipp)
Attachment #8696280 -
Flags: approval-calendar-beta+
Attachment #8696280 -
Flags: approval-calendar-aurora?(philipp)
Attachment #8696280 -
Flags: approval-calendar-aurora+
Comment 13•9 years ago
|
||
Target Milestone: 4.7 → 4.6
You need to log in
before you can comment on or make changes to this bug.
Description
•