C-C TB |make mozmill| LOCAL test: .../test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null (possibly X library/server version issue?)

RESOLVED WORKSFORME

Status

RESOLVED WORKSFORME
2 years ago
2 years ago

People

(Reporter: ishikawa, Unassigned)

Tracking

Trunk

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
I did not have this error a week ago.
This is with Debian GNU/Linux 64-bit.
I ran |make mozmill| within a virtual desktop of Xephyr (and this worked fine for the last 4+ years).

Because of this strange error, 
mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is nul
I have about 100 failures in |make mozmill|.

And to my consternation, this error is not observed
on try-comm-central job submission. 
So it must be local tool-chain related or something.

Has anyone using Debian GNU/Linux 64-bit seen this error
after the latest "atp-get update; apt-get upgrade" upgraded some modules???

Here is the summarized output from a log.
You can see that some tests fail due to this error, and some don't.
I thought the errors concentrated in the account test, but actually it is wide-spread.
I looked into the hg log to learn the history of latest changes of some files, but unfortunately, I could not figure out what could possibly cause this strange error messages to appear suddenly.

egrep "(^TEST-START|UNEXPECTED-FAIL|TypeError: target.ownerDocument is null)" /FF-NEW/log853-mozmill.txt  | uniq -c | grep -1 ownerDocument > /tmp/e.list

The content of /tmp/e.list


      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/account/test-ab-whitelist.js | test_address_book_whitelist
     24 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/account/test-ab-whitelist.js | test-ab-whitelist.js::test_address_book_whitelist
--
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/account/test-archive-options.js | test_archive_options_enabled
     12 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/account/test-archive-options.js | test_open_archive_options
--
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/account/test-archive-options.js | test_disable_archive
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/account/test-archive-options.js | test-archive-options.js::test_disable_archive
--
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/account/test-account-values.js | test_default_CC_address
     12 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/account/test-account-values.js | test-account-values.js::test_default_CC_address
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/account/test-account-values.js | test_account_name
     30 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/account/test-account-values.js | test_invalid_junk_target
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/account/test-account-values.js | test_invalid_hostname
     24 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/account/test-account-values.js | teardownModule
--
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/account/test-account-settings-infrastructure.js | test_account_dot_IDs
     12 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/account/test-account-settings-infrastructure.js | test-account-settings-infrastructure.js::test_account_dot_IDs
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/account/test-account-settings-infrastructure.js | test_account_locked_prefs
     24 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/account/test-account-settings-infrastructure.js | test-account-settings-infrastructure.js::test_account_locked_prefs
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/account/test-account-settings-infrastructure.js | test_replyTo_leak
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/account/test-account-settings-infrastructure.js | test_account_onchange_handler
     12 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/account/test-account-settings-infrastructure.js | test-account-settings-infrastructure.js::test_account_onchange_handler
--
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/account/test-account-tree.js | test_account_open_state
     12 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/account/test-account-tree.js | test_default_account_highlight
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/account/test-account-tree.js | test_selection_after_account_deletion
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/account/test-account-tree.js | teardownModule
--
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/account/test-account-actions.js | test_account_actions
     42 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/account/test-account-actions.js | teardownModule
--
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/addrbook/test-address-book.js | test_writing_to_mailing_list
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/addrbook/test-address-book.js | test-address-book.js::test_writing_to_mailing_list
--
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/addrbook/test-update-mailing-list.js | test_contact_in_mailing_list_updated
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/addrbook/test-update-mailing-list.js | test-update-mailing-list.js::test_contact_in_mailing_list_updated
--
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/composition/test-attachment.js | test_rename_attachment
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | Disconnect Error: Application unexpectedly closed
--
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-columns.js | test_reset_to_inbox
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-columns.js | test_apply_to_folder_no_children
     12 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-columns.js | test-columns.js::test_apply_to_folder_no_children
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-columns.js | test_apply_to_folder_and_children
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-columns.js | test-columns.js::test_apply_to_folder_and_children
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-columns.js | test_apply_to_folder_no_children_swapped
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-columns.js | test-columns.js::test_apply_to_folder_no_children_swapped
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-columns.js | test_apply_to_folder_and_children_swapped
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-columns.js | test-columns.js::test_apply_to_folder_and_children_swapped
--
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-columns.js | test_reset_columns_gloda_collection
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-columns.js | test-columns.js::test_reset_columns_gloda_collection
--
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-message-commands.js | test_mark_one_read
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-message-commands.js | test-message-commands.js::test_mark_one_read
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-message-commands.js | test_mark_one_unread
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-message-commands.js | test-message-commands.js::test_mark_one_unread
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-message-commands.js | test_mark_n_read
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-message-commands.js | test-message-commands.js::test_mark_n_read
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-message-commands.js | test_mark_n_unread
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-message-commands.js | test-message-commands.js::test_mark_n_unread
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-message-commands.js | test_mark_n_read_mixed
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-message-commands.js | test-message-commands.js::test_mark_n_read_mixed
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-message-commands.js | test_mark_n_unread_mixed
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-message-commands.js | test-message-commands.js::test_mark_n_unread_mixed
--
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-message-commands.js | test_mark_menu_read
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-message-commands.js | test-message-commands.js::test_mark_menu_read
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-message-commands.js | test_mark_menu_unread
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-message-commands.js | test-message-commands.js::test_mark_menu_unread
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-message-commands.js | test_mark_menu_mixed
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-message-commands.js | test-message-commands.js::test_mark_menu_mixed
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-message-commands.js | test_mark_all_read
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-message-commands.js | test-message-commands.js::test_mark_all_read
--
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-recent-menu.js | test_move_message
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-recent-menu.js | test-recent-menu.js::test_move_message
--
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-message-commands-on-msgstore.js | test_mark_messages_read
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-message-commands-on-msgstore.js | test-message-commands-on-msgstore.js::test_mark_messages_read
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-message-commands-on-msgstore.js | test_mark_messages_flagged
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-message-commands-on-msgstore.js | test-message-commands-on-msgstore.js::test_mark_messages_flagged
--
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-watch-ignore-thread.js | test_view_threads_ignored_threads
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-display/test-watch-ignore-thread.js | test-watch-ignore-thread.js::test_view_threads_ignored_threads
--
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-tree-modes/test-mode-switching.js | test_toggling_modes
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/folder-tree-modes/test-mode-switching.js | test-mode-switching.js::test_toggling_modes
--
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/message-header/test-header-toolbar.js | test_customize_header_toolbar_separate_window
      2 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-UNEXPECTED-FAIL | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/message-header/test-header-toolbar.js | test-header-toolbar.js::test_customize_header_toolbar_separate_window
--
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/tabmail/test-tabmail-dragndrop.js | test_tab_recentlyClosed
      6 JavaScript error: resource://mozmill/modules/frame.js -> file:///NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null
      1 TEST-START | /NREF-COMM-CENTRAL/comm-central/mail/test/mozmill/tabmail/test-tabmail-dragndrop.js | teardownTest
(Reporter)

Comment 1

2 years ago
Given that try-comm-central job submission did not show this error, I thought the issue was with local build only.

The only thing that I could think of was that I updated some modules for host OS, Debian GNU/Linux in the last 10 days, and I noticed that there was some X ("X" as in "X window") components update.

I use the following sequence of commands to run
|make mozmill| test locally  under linux.
This runs the test inside a virtual desktop provided by Xephyr and I can continue working in the original desktop without disturbing |make mozmill| test at all.

   Xephyr -ac -br -noreset -screen $SIZE :2 &
    DISPLAY=localhost:2.0
    waitfor 5
    # oclock &
    xfwm4 &

Given that the nature of the bug, I suspected something was amiss with Xephyr operation.


Debian is known for its stability. Stability is good for server-type application.
However, it means also that we don't get to use newest commands or newest versions of libraries unless they are "backported" from a currently developed repository to the stable repository. 

To make a long story short, I upgraded the "distribution" of Debian on two PCs where I hack C-C TB code
to the "testing" version, i.e., the version that is slated to be the next stable release once it is officially released. (That version is called "stretch", I think.)

Immediately after the upgrade, |make mozmill| no longer ran and seemed to get hung, and I was panicked.
After a careful analysis, I found out something changed in the name resolution (or maybe the use of IPv6?), and I had to change the above sequence of commands to the following to make |make mozmill| work
in the virtual desktop of Xephyr. Xephyr runs OK, but the python module that runs the test could not find
the X display without the modification.


    Xephyr -ac -br -noreset -screen $SIZE :2 &
    # was DISPLAY=localhost:2.0 before Oct 27, 2016
    DISPLAY=:2.0
    waitfor 5
    # oclock &
    xfwm4 &

Now, I can run |make mozmill| locally.
I don't see the original errors any more.
I do see errors that have been around for a long time in local |make mozmill| and so I get to work on them.

I am closing this as WORKSFORME and changed the title to suggest that the error was probably caused by version issue of the X library/server.

I don't know if the try-comm-central uses fake X window for running |make mozmill| test, but
if so, there may be vulnerable timing window when the X server/library components experience similar 
version issues even for a very short while. (Or CentOs, which seems to be used on try-comm-central may have moved to the newer versions much earlier than Debian.) 

TIA
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WORKSFORME
Summary: C-C TB |make mozmill| LOCAL test: mail/test/mozmill/shared-modules/test-window-helpers.js, line 1540: TypeError: target.ownerDocument is nul → C-C TB |make mozmill| LOCAL test: .../test-window-helpers.js, line 1540: TypeError: target.ownerDocument is null (possibly X library/server version issue?)
You need to log in before you can comment on or make changes to this bug.