Closed
Bug 1394081
Opened 7 years ago
Closed 7 years ago
TEST-UNEXPECTED-FAIL | C:\slave\test\build\tests\mozmill\cloudfile\test-cloudfile-backend-hightail.js
Categories
(Thunderbird :: General, defect)
Thunderbird
General
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 57.0
People
(Reporter: jorgk-bmo, Assigned: jorgk-bmo)
Details
Attachments
(2 files)
TEST-UNEXPECTED-FAIL | C:\slave\test\build\tests\mozmill\cloudfile\test-cloudfile-backend-hightail.js | test-cloudfile-backend-hightail.js::teardownTest
TEST-UNEXPECTED-FAIL | C:\slave\test\build\tests\mozmill\cloudfile\test-cloudfile-backend-hightail.js | test-cloudfile-backend-hightail.js::test_simple_case
TEST-UNEXPECTED-FAIL | C:\slave\test\build\tests\mozmill\cloudfile\test-cloudfile-backend-hightail.js | test-cloudfile-backend-hightail.js::teardownTest
TEST-UNEXPECTED-FAIL | C:\slave\test\build\tests\mozmill\cloudfile\test-cloudfile-backend-hightail.js | test-cloudfile-backend-hightail.js::test_chained_uploads
TEST-UNEXPECTED-FAIL | C:\slave\test\build\tests\mozmill\cloudfile\test-cloudfile-backend-hightail.js | test-cloudfile-backend-hightail.js::teardownTest
TEST-UNEXPECTED-FAIL | C:\slave\test\build\tests\mozmill\cloudfile\test-cloudfile-backend-hightail.js | test-cloudfile-backend-hightail.js::test_deleting_uploads
TEST-UNEXPECTED-FAIL | C:\slave\test\build\tests\mozmill\cloudfile\test-cloudfile-backend-hightail.js | test-cloudfile-backend-hightail.js::teardownTest
TEST-UNEXPECTED-FAIL | C:\slave\test\build\tests\mozmill\cloudfile\test-cloudfile-backend-hightail.js | test-cloudfile-backend-hightail.js::test_can_cancel_upload
TEST-UNEXPECTED-FAIL | C:\slave\test\build\tests\mozmill\cloudfile\test-cloudfile-backend-hightail.js | test-cloudfile-backend-hightail.js::teardownTest
TEST-UNEXPECTED-FAIL | C:\slave\test\build\tests\mozmill\cloudfile\test-cloudfile-backend-hightail.js | test-cloudfile-backend-hightail.js::test_can_cancel_uploads
TEST-UNEXPECTED-FAIL | C:\slave\test\build\tests\mozmill\cloudfile\test-cloudfile-backend-hightail.js | test-cloudfile-backend-hightail.js::teardownTest
TEST-UNEXPECTED-FAIL | C:\slave\test\build\tests\mozmill\cloudfile\test-cloudfile-backend-hightail.js | test-cloudfile-backend-hightail.js::teardownTest
TEST-UNEXPECTED-FAIL | C:\slave\test\build\tests\mozmill\cloudfile\test-cloudfile-backend-hightail.js | test-cloudfile-backend-hightail.js::test_delete_refreshes_stale_token
TEST-UNEXPECTED-FAIL | C:\slave\test\build\tests\mozmill\cloudfile\test-cloudfile-backend-hightail.js | test-cloudfile-backend-hightail.js::teardownTest
TEST-UNEXPECTED-FAIL | C:\slave\test\build\tests\mozmill\cloudfile\test-cloudfile-backend-hightail.js | test-cloudfile-backend-hightail.js::test_bug771132_fix_no_scheme
First seen: Sat Aug 26, 2017, 1:39:51
https://treeherder.mozilla.org/#/jobs?repo=comm-central&revision=8d0293462cd9ccfdddd16a0a447638c6c362b35c
M-C last good: 03d7b6dd65b93afaa6981269f69e9f7cd3
M-C first bad: 86a3c73984a23b1d524eadbd4a62b9b3fa
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=03d7b6dd65b93afaa6981269f69e9f7cd3&tochange=86a3c73984a23b1d524eadbd4a62b9b3fa
Log at
https://archive.mozilla.org/pub/thunderbird/tinderbox-builds/comm-central-win32/1503704422/comm-central_win7_ix_test-mozmill-bm126-tests1-windows-build16.txt.gz
has many timeouts, see attachment.
Aceman, not what we wanted to do this weekend. Can you lend me a hand, please.
Flags: needinfo?(acelists)
A candidate bug mentioning observers would be bug 1350432.
Flags: needinfo?(acelists)
Assignee | ||
Comment 2•7 years ago
|
||
Hmm, I read "Initial Quantum DOM scheduler implementation, disabled by default". Can you take a look at it.
BTW, how do you disable an entire Mozmill test? The whole file?
(In reply to Jorg K (GMT+2) from comment #2)
> Hmm, I read "Initial Quantum DOM scheduler implementation, disabled by
> default". Can you take a look at it.
Yes, building now.
> BTW, how do you disable an entire Mozmill test? The whole file?
I'll look for that.
Assignee | ||
Comment 4•7 years ago
|
||
Our senior bustage spotter (who shall remain nameless) said bug 1392358. Sure we send in that test, right?
(In reply to :aceman from comment #3)
> (In reply to Jorg K (GMT+2) from comment #2)
> > BTW, how do you disable an entire Mozmill test? The whole file?
> I'll look for that.
Maybe try creating a manifest file in the test folder, like here:
https://bug732353.bmoattachments.org/attachment.cgi?id=8551767
There seems to also be a possibility of a 'disabled =' line in the manifest, similarly to xpcshell.
Assignee | ||
Comment 7•7 years ago
|
||
(In reply to :aceman from comment #6)
> Maybe try creating a manifest file in the test folder, like here: ...
Well, maybe best to fix the test instead of disabling it.
The send is in the function that does the work:
https://dxr.mozilla.org/comm-central/rev/8d0293462cd9ccfdddd16a0a447638c6c362b35c/mail/components/cloudfile/nsHightail.js#385
Bug 1392358 removed xhr.send(nsIInputStream) which is what we use here:
https://dxr.mozilla.org/comm-central/rev/8d0293462cd9ccfdddd16a0a447638c6c362b35c/mail/components/cloudfile/nsHightail.js#1054
So the test broke because the functionality broke. May this is all we need:
https://hg.mozilla.org/mozilla-central/rev/0d9988ed1c6e#l5.12
Good find. The fix worked for me locally (linux).
The threeherder is down so please check on Windows locally.
I've looked for other xhr.send() uses in c-c but didn't spot any other sending in a nsIInputStream.
Attachment #8901459 -
Flags: feedback?(jorgk)
Assignee: nobody → jorgk
Status: NEW → ASSIGNED
OS: Unspecified → All
Hardware: Unspecified → All
Assignee | ||
Comment 10•7 years ago
|
||
The test fortunately detects that sending/uploading stopped working. If sending e-mail stopped working, would you look for the code that broke in the test? ;-) I haven't looked at the test in detail, but I believe it triggers an upload somehow. Anyway, thanks for looking into it.
Assignee | ||
Comment 11•7 years ago
|
||
Comment on attachment 8901459 [details] [diff] [review]
patch
I've read through bug 1392358 again and the fix here appears to be right. It fixes the issue on Windows.
No idea how I became the assignee and patch author, but I'll gladly accept ;-)
Attachment #8901459 -
Flags: feedback?(jorgk) → feedback+
Comment 12•7 years ago
|
||
Comment on attachment 8901459 [details] [diff] [review]
patch
Review of attachment 8901459 [details] [diff] [review]:
-----------------------------------------------------------------
You found the problem and the fix :) I do not need to be credited for the boilerplate around that :)
I'll try to push this (haven't pushed in a long time) after the try run is done:
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=f3f8f99f47a02664ad1902207f4298ecd6319f8a
Attachment #8901459 -
Flags: review+
Assignee | ||
Comment 13•7 years ago
|
||
(In reply to :aceman from comment #12)
> I'll try to push this (haven't pushed in a long time) after the try run is
> done:
Actually, I have another patch and there hasn't been any M-C merge since last night, so let me do it if you don't mind.
Comment 14•7 years ago
|
||
Ok, then please fix the capitalization in the commit message.
Assignee | ||
Comment 15•7 years ago
|
||
Already done. And we only use one dash, not two ;-)
Comment 16•7 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/754473839281
Port bug 1392358: Update xhr.send(nsIInputStream) to xhr.sendINputstream(nsIInputStream). r=aceman
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•7 years ago
|
Target Milestone: --- → Thunderbird 57.0
You need to log in
before you can comment on or make changes to this bug.
Description
•