Closed Bug 1373807 Opened 7 years ago Closed 7 years ago

[mozmill] testWeeklyWithExceptionRecurrence.js failing on all platforms, Linux more than others

Categories

(Calendar :: Internal Components, defect, P2)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jorgk-bmo, Assigned: Taraman)

Details

(Keywords: intermittent-failure, Whiteboard: [Thunderbird-testfailure: Z all])

Attachments

(1 file, 1 obsolete file)

+++ This bug was initially created as a clone of Bug #1329957 +++
running locally I saw, that in week view, where the failures occur the event boxes appear sequentially.
So most probably this is a timing issue again.

I'll prepare a patch that changes the logic to wait for the last event and then checks for the preceding ones.
I have a patch ready, unfortunately tryserver does not seem to run the mozmill-tests on linux debug builds...
Tom, can you please take a look:
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=6f8003d16c46b22a8fbfe2bddef31653c6d6468c

No Mozmill run for Linux 32/64 debug. Maybe related to bug 1342828?
Flags: needinfo?(mozilla)
It looks like the try parser doesn't know about the chunked mozmill tests. (https://bugzilla.mozilla.org/attachment.cgi?id=8880478&action=diff)
Flags: needinfo?(mozilla)
This test also fails on Windows debug:
https://treeherder.mozilla.org/#/jobs?repo=comm-central&revision=b244943f2b123b5ca13cdf913835a131cf6bd99c&selectedJob=109536084
Whiteboard: [Thunderbird-testfailure: Z Linux, Mac] → [Thunderbird-testfailure: Z all]
Summary: [mozmill] testWeeklyWithExceptionRecurrence.js failing on Linux and Mac → [mozmill] testWeeklyWithExceptionRecurrence.js failing on all platforms, Linux more than others
Can you do your testing on Windows debug since it fails there, too?
You can also change try request to be `-u mozmill,mozmill-1,mozmill-2` to get the mozmill tests to run on both linux and elsewhere. (Untested)
Attached patch Fix V1.0 (obsolete) — — Splinter Review
This patch fixes the test as shown in the try-builds in the previous comment.
Assignee: nobody → Mozilla
Status: NEW → ASSIGNED
Attachment #8881946 - Flags: review?(jorgk)
Comment on attachment 8881946 [details] [diff] [review]
Fix V1.0

Review of attachment 8881946 [details] [diff] [review]:
-----------------------------------------------------------------

Sorry, I have no review rights in calendar/. If Philipp is too busy, perhaps redirect to someone else with review rights.

::: calendar/test/mozmill/cal-recurrence/testWeeklyWithExceptionRecurrence.js
@@ +177,2 @@
>      controller.assertNode(lookupEventBox("week", EVENT_BOX, null, 4, HOUR));
> +    controller.assertNodeNotExist(lookupEventBox("week", EVENT_BOX, null, 5, HOUR));    

Nit: Trailing space.
Attachment #8881946 - Flags: review?(jorgk) → review?(philipp)
Hrmpf. I linted it to prevent this. Obviously eslint is not working properly in my installation...
Comment on attachment 8881946 [details] [diff] [review]
Fix V1.0

Shifting Review to makeyday, since Philipp seems to be busy right now.
Attachment #8881946 - Flags: review?(philipp) → review?(makemyday)
Comment on attachment 8881946 [details] [diff] [review]
Fix V1.0

Review of attachment 8881946 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks, r+ with the whitespaces removed.
Attachment #8881946 - Flags: review?(makemyday) → review+
Attached patch Fix V1.1 — — Splinter Review
Patch with the fixed whitespace
Attachment #8886876 - Flags: review+
Pushed to c-c:
https://hg.mozilla.org/comm-central/rev/0170000376576d23e86bd8faa3e51c4e659f85c2
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → 5.5
Attachment #8881946 - Attachment is obsolete: true
Attachment #8886876 - Attachment is patch: true
Target Milestone: 5.5 → 5.8
Not a total success since the test failure is still there on Linux 32bit.
https://treeherder.mozilla.org/#/jobs?repo=comm-central&revision=0170000376576d23e86bd8faa3e51c4e659f85c2&selectedJob=114715679

It seems to be gone from Linux 64bit.
The failure there hoever is an unhappy coincidence with another problem.

[1] shows
> EXCEPTION: Timeout waiting for modal dialog to open.
Which leads to a different issue. Sometimes the Event-Dialog fails to open in Time (>30s) on the debug-builds. Since this happens very rarely, I did not think about changing this timeout up to now.


[1]: https://treeherder.mozilla.org/logviewer.html#?job_id=114715679&repo=comm-central&lineNumber=14482
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: