Many failures from |make mozmill|. One of the culprits is "JavaScript error: chrome://messenger/content/tabmail-tabs.js, line 16: TypeError: class heritage customElements.get(...) is not an object or null"
Categories
(Thunderbird :: Mail Window Front End, defect)
Tracking
(Not tracked)
People
(Reporter: ishikawa, Unassigned)
Details
Attachments
(1 file)
I think this is similar to
Bug 1515953
TypeError "class heritage customElements.get(...) is not an object or null" in mailWidgets.js during Thunderbird startup
but the cause is definitely different, I suppose and need a different fix.
This is with comm-central fetched within last 48 hours.
I am testing FULL DEBUG version of C-C TB locally under linux (64-bit compilation).
However, I believe the issue will be on other platforms as well.
When I ran |make mozmill| test, I see more than 460+ failed tests.
Possibly the major reason for the failure could be
bug 1565321, but this problem I am reporting here in this bugzilla might be related to the said bug, too.
I see the following error near the invocation of each test directory run.
JavaScript error: chrome://messenger/content/tabmail-tabs.js, line 16: TypeError: class heritage customElements.get(...) is not an object or null
This happens BEFORE the bug 1565321.
We have to fix this to get a better result from |make mozmill|.
Currently, the summary printed at the end of |make mozmill| on my local linux PC is
INFO | (runtestlist.py) | Directories Run: 32, Passed: 158, Failed: 405
Very bad.
TIA
Comment 1•7 years ago
|
||
I don't see it in a local startup, can you link to a log from treeherder where we can see this, I can't see it here for example:
https://taskcluster-artifacts.net/dGkvSzlkRpyb2a6zzmRw1Q/0/public/logs/live_backing.log
| Reporter | ||
Comment 2•7 years ago
|
||
(In reply to Jorg K (GMT+2) from comment #1)
I don't see it in a local startup, can you link to a log from treeherder where we can see this, I can't see it here for example:
https://taskcluster-artifacts.net/dGkvSzlkRpyb2a6zzmRw1Q/0/public/logs/live_backing.log
Thank you for the comment.
Actually, I was wondering if I made some mistakes setting up the newly fetched source tree after seeing so many errors, and checked the tree herder. But I don't see similar errors and was puzzled.
These errors may occur only in DEBUG BUILD?
I am trying to push a job to try server.
But after the problem of (my mistake!) wiping out the most recent local script to submit a try ob (ran |hg purge| to try to create a pristine
source tree: I should have simply ditched the corrupt tree and re-download the most up-to-date tree. I forgot that I have the habit of storing local config and scripts IN the source tree.), and hearing that MQ is no longer supported officially by mozilla infrastructure (see
https://bugzilla.mozilla.org/show_bug.cgi?id=1564445 )
I may be in for a prolonged debug session for pushing a job to tryserver.
Stay tuned.
| Reporter | ||
Comment 3•7 years ago
|
||
(In reply to Jorg K (GMT+2) from comment #1)
I don't see it in a local startup, can you link to a log from treeherder where we can see this, I can't see it here for example:
https://taskcluster-artifacts.net/dGkvSzlkRpyb2a6zzmRw1Q/0/public/logs/live_backing.log
Not sure if the submission creates a full debug build. But we will see.
(Oh, BTW, I see other disturbing messages in the log. Some of them may be real bugs. I will report them shortly.)
If it matters, I am using Ryzen 2700, Debian GNU/Linux inside a virtualbox under windows10 now.
I am not sure if the VBox usage creates a time skew large enough to trigger time-race, etc.
I have used similar setup using Intel XEON for quite some time and did not notice much environmental-specific time race issues.
TIA
| Reporter | ||
Comment 4•7 years ago
|
||
There COULD be timing-related issues NOT DIRECTLY concerning this bugzilla entry.
I have noticed that some tests no longer draws windows completely before moving onto next operations or tests.
I have not seen this for a few years at least.
This definitely happens in the last six months or so (my last successful test was in April using source tree in Feb timeframe or so.)
This unfinished drawing MIGHT mean that some graphical elements supposed to be there on the screen may not be there when they are needed.
I am not sure if this is the reason for some timeouts I now see in the tests.
Since I have upgraded my Debian GNU/Linux, there may be subtle X11 drawing changes. (I don't think I am using WAYLAND, but I better check...)
| Reporter | ||
Comment 5•7 years ago
|
||
(In reply to ISHIKAWA, Chiaki from comment #3)
(In reply to Jorg K (GMT+2) from comment #1)
I don't see it in a local startup, can you link to a log from treeherder where we can see this, I can't see it here for example:
https://taskcluster-artifacts.net/dGkvSzlkRpyb2a6zzmRw1Q/0/public/logs/live_backing.log
I hate to report this. It ran, but It did not perform mozmill tests.
It seems I have to say |-u all| instead of |-u xpcshell,mozmill| to run mozmill these days.
Resubmitting with modified try option.
TIA
| Reporter | ||
Comment 6•7 years ago
|
||
TIA
It ran. |make mozmill| ran.
but I don't see the same error in the tryserver log.
What gives?
Hmm, my local M-C portion is a few days old.
Let me update local M-C and run |make mozmill| again.
| Reporter | ||
Comment 7•7 years ago
|
||
Aha, this was false positive.
I updated M-C portion and ran |make mozmill| locally, and obtained
INFO | (runtestlist.py) | Directories Run: 32, Passed: 1141, Failed: 3
So it must have something to do with transient JS bug which was fixed in the last several days, I believe.
Sorry for the noise. I am closing this bug as INVALID.
However, I noticed the problem in comment 4 regarding some tests obviously do not wait until proper drawing is finished on the screen.
I will file the issue separately.
The following is a start. There may be other tests that suffer from incomplete drawing.
Bug 1565735
|make mozmill| message-reader tests do not draw the screen completely before moving to next test.
| Reporter | ||
Updated•7 years ago
|
Description
•