Upcoming changes to Thunderbird's tests

ISHIKAWA,chiaki ishikawa at yk.rim.or.jp
Thu Dec 26 10:51:58 UTC 2019


Removing the problematic assert() gets me to proceed to invoke test 
finally (!).

but I get the following error, which may or may not be related to mochitest.

  0:00.42 WARNING INFO: BEFORE 
pathAbs=/KERNEL-SRC/moz-obj-dir/objdir-tb3/_tests/testing/mochitest/browser/comm/mail/test/browser/composition/browser_imageInsertionDialog.js
  0:00.42 WARNING INFO: BEFORE 
self.testRootAbs=/NEW-SSD/moz-obj-dir/objdir-tb3/_tests/testing/mochitest/browser
  0:00.42 SUITE_START: mochitest-browser - running 1 tests
  0:00.42 INFO Running manifest: 
comm/mail/test/browser/composition/browser.ini
  0:00.42 INFO The following extra prefs will be set:
   browser.tabs.remote.autostart=false
   ldap_2.servers.osx.description=
   ldap_2.servers.osx.dirType=-1
   ldap_2.servers.osx.uri=
   mail.account.account1.server=server1
   mail.account.account2.identities=id1,id2
   mail.account.account2.server=server2
   mail.accountmanager.accounts=account1,account2
   mail.accountmanager.defaultaccount=account2
   mail.accountmanager.localfoldersserver=server1
   mail.identity.id1.fullName=Tinderbox
   mail.identity.id1.htmlSigFormat=false
   mail.identity.id1.smtpServer=smtp1
   mail.identity.id1.useremail=tinderbox at foo.invalid
   mail.identity.id1.valid=true
   mail.identity.id2.fullName=Tinderboxpushlog
   mail.identity.id2.htmlSigFormat=true
   mail.identity.id2.smtpServer=smtp1
   mail.identity.id2.useremail=tinderboxpushlog at foo.invalid
   mail.identity.id2.valid=true
   mail.provider.suppress_dialog_on_startup=true
   mail.server.server1.type=none
   mail.server.server1.userName=nobody
   mail.server.server2.check_new_mail=false
   mail.server.server2.directory-rel=[ProfD]Mail/tinderbox
   mail.server.server2.download_on_biff=true
   mail.server.server2.hostname=tinderbox123
   mail.server.server2.login_at_startup=false
   mail.server.server2.name=tinderbox at foo.invalid
   mail.server.server2.type=pop3
   mail.server.server2.userName=tinderbox
   mail.server.server2.whiteListAbURI=
   mail.shell.checkDefaultClient=false
   mail.smtp.defaultserver=smtp1
   mail.smtpserver.smtp1.hostname=tinderbox123
   mail.smtpserver.smtp1.username=tinderbox
   mail.smtpservers=smtp1
   mail.spotlight.firstRunDone=true
   mail.startup.enabledMailCheckOnce=true
   mail.winsearch.firstRunDone=true
   mailnews.start_page.override_url=about:blank
   mailnews.start_page.url=about:blank
pk12util: PKCS12 IMPORT SUCCESSFUL
  0:00.96 INFO Increasing default timeout to 90 seconds
  0:00.97 INFO MochitestServer : launching 
[u'/NEW-SSD/moz-obj-dir/objdir-tb3/dist/bin/xpcshell', '-g', 
u'/NEW-SSD/moz-obj-dir/objdir-tb3/dist/bin', '-f', 
u'/NEW-SSD/moz-obj-dir/objdir-tb3/dist/bin/components/httpd.js', '-e', 
"const _PROFILE_PATH = '/COMM-CENTRAL/TMP-DIR/tmp9omFBs.mozrunner'; 
const _SERVER_PORT = '8888'; const _SERVER_ADDR = '127.0.0.1'; const 
_TEST_PREFIX = undefined; const _DISPLAY_RESULTS = false;", '-f', 
'/NEW-SSD/moz-obj-dir/objdir-tb3/_tests/testing/mochitest/server.js']
  0:00.97 INFO runtests.py | Server pid: 852069
  0:00.98 INFO runtests.py | Websocket server pid: 852072
[852069, Unnamed thread 55d77b4cf390] WARNING: XPCOM objects 
created/destroyed from static ctor/dtor: file 
/NEW-SSD/NREF-COMM-CENTRAL/mozilla/xpcom/base/nsTraceRefcnt.cpp, line 198
[852069, Unnamed thread 55d77b4cf390] WARNING: XPCOM objects 
created/destroyed from static ctor/dtor: file 
/NEW-SSD/NREF-COMM-CENTRAL/mozilla/xpcom/base/nsTraceRefcnt.cpp, line 198
  0:00.99 INFO runtests.py | SSL tunnel pid: 852075
[852069, Main Thread] WARNING: 'result.isErr()', file 
/NEW-SSD/NREF-COMM-CENTRAL/mozilla/startupcache/StartupCache.cpp, line 167
[852069, Main Thread] WARNING: 'result.isErr()', file 
/NEW-SSD/NREF-COMM-CENTRAL/mozilla/startupcache/StartupCache.cpp, line 167
[852069, Main Thread] WARNING: 'result.isErr()', file 
/NEW-SSD/NREF-COMM-CENTRAL/mozilla/startupcache/StartupCache.cpp, line 167
[852069, Main Thread] WARNING: 'result.isErr()', file 
/NEW-SSD/NREF-COMM-CENTRAL/mozilla/startupcache/StartupCache.cpp, line 167
  0:01.20 INFO runtests.py | Running with scheme: http
  0:01.20 INFO runtests.py | Running with e10s: True
  0:01.20 INFO runtests.py | Running with fission: False
  0:01.20 INFO runtests.py | Running with serviceworker_e10s: True
  0:01.20 INFO runtests.py | Running with socketprocess_e10s: False
  0:01.20 INFO runtests.py | Running tests: start.

  0:01.22 INFO Application command: 
/NEW-SSD/moz-obj-dir/objdir-tb3/dist/bin/thunderbird -marionette 
-foreground -profile /COMM-CENTRAL/TMP-DIR/tmp9omFBs.mozrunner
  0:01.23 INFO runtests.py | Application pid: 852093
  0:01.23 Started process `GECKO(852093)`
  0:01.26 GECKO(852093) [852093, Unnamed thread 55988216c980] WARNING: 
XPCOM objects created/destroyed from static ctor/dtor: file 
/NEW-SSD/NREF-COMM-CENTRAL/mozilla/xpcom/base/nsTraceRefcnt.cpp, line 198
  0:01.26 GECKO(852093) ### XPCOM_MEM_BLOAT_LOG defined -- logging 
bloat/leaks to /COMM-CENTRAL/TMP-DIR/tmp9omFBs.mozrunner/runtests_leaks.log
  0:01.26 GECKO(852093) Assertion failure: !mRawPtr, at 
/NEW-SSD/moz-obj-dir/objdir-tb3/dist/include/mozilla/StaticPtr.h:51
  0:01.61 GECKO(852093) #01: 
__static_initialization_and_destruction_0(int, int) 
(/NEW-SSD/moz-obj-dir/objdir-tb3/dist/include/mozilla/Assertions.h:42)
  0:01.61 GECKO(852093) #02: _GLOBAL__sub_I_Unified_cpp_xpcom_base2.cpp 
(/NEW-SSD/NREF-COMM-CENTRAL/mozilla/xpcom/base/nsWeakReference.cpp:160)
  0:01.66 GECKO(852093) #03: call_init 
(/build/glibc-suXNNi/glibc-2.29/elf/dl-init.c:71)
  0:01.66 GECKO(852093) #04: _dl_init 
(/build/glibc-suXNNi/glibc-2.29/elf/dl-init.c:118)
  0:01.66 GECKO(852093) #05: dl_open_worker 
(/build/glibc-suXNNi/glibc-2.29/elf/dl-open.c:520)
  0:01.79 GECKO(852093) #06: __GI__dl_catch_exception 
(/build/glibc-suXNNi/glibc-2.29/elf/dl-error-skeleton.c:197)
  0:01.79 GECKO(852093) #07: _dl_open 
(/build/glibc-suXNNi/glibc-2.29/elf/dl-open.c:599)
  0:01.84 GECKO(852093) #08: dlopen_doit 
(/build/glibc-suXNNi/glibc-2.29/dlfcn/dlopen.c:66 (discriminator 8))
  0:01.84 GECKO(852093) #09: __GI__dl_catch_exception 
(/build/glibc-suXNNi/glibc-2.29/elf/dl-error-skeleton.c:197)
  0:01.84 GECKO(852093) #10: __GI__dl_catch_error 
(/build/glibc-suXNNi/glibc-2.29/elf/dl-error-skeleton.c:216)
  0:01.84 GECKO(852093) #11: _dlerror_run 
(/build/glibc-suXNNi/glibc-2.29/dlfcn/dlerror.c:174)
  0:01.84 GECKO(852093) #12: __dlopen 
(/build/glibc-suXNNi/glibc-2.29/dlfcn/dlopen.c:87)
  0:01.90 GECKO(852093) #13: GetLibHandle(char const*) 
(/NEW-SSD/NREF-COMM-CENTRAL/mozilla/xpcom/glue/standalone/nsXPCOMGlue.cpp:85)
  0:01.90 GECKO(852093) #14: ReadDependentCB(char const*, 
mozilla::LibLoadingStrategy) 
(/NEW-SSD/NREF-COMM-CENTRAL/mozilla/xpcom/glue/standalone/nsXPCOMGlue.cpp:135)
  0:01.90 GECKO(852093) #15: XPCOMGlueLoad(char const*, 
mozilla::LibLoadingStrategy) 
(/NEW-SSD/NREF-COMM-CENTRAL/mozilla/xpcom/glue/standalone/nsXPCOMGlue.cpp:309)
  0:01.90 GECKO(852093) #16: mozilla::GetBootstrap(char const*, 
mozilla::LibLoadingStrategy) 
(/NEW-SSD/NREF-COMM-CENTRAL/mozilla/xpcom/glue/standalone/nsXPCOMGlue.cpp:377)
  0:01.90 GECKO(852093) #17: InitXPCOMGlue() 
(/NEW-SSD/moz-obj-dir/objdir-tb3/dist/include/mozilla/UniquePtr.h:314)
  0:01.90 GECKO(852093) #18: main 
(/NEW-SSD/NREF-COMM-CENTRAL/mozilla/comm/mail/app/nsMailApp.cpp:314 
(discriminator 4))
  0:01.90 GECKO(852093) #19: __libc_start_main 
(/build/glibc-suXNNi/glibc-2.29/csu/../csu/libc-start.c:342)
  0:01.90 GECKO(852093) #20: _start 
(/NEW-SSD/moz-obj-dir/objdir-tb3/dist/bin/thunderbird)
  0:01.90 GECKO(852093) #21: ??? (???:???)
  2:01.29 INFO runtests.py | Waiting for browser...
  2:01.29 Main app process: killed by SIGSEGV
  2:01.29 INFO Buffered messages finished
  2:01.29 ERROR TEST-UNEXPECTED-FAIL | automation.py | application 
terminated with exit code -11
  2:01.29 INFO runtests.py | Application ran for: 0:02:00.069021
  2:01.29 INFO zombiecheck | Reading PID log: 
/COMM-CENTRAL/TMP-DIR/tmpghw6wEpidlog
Traceback (most recent call last):
   File 
"/KERNEL-SRC/moz-obj-dir/objdir-tb3/_tests/testing/mochitest/runtests.py", 
line 2863, in doTests
     e10s=options.e10s
   File 
"/KERNEL-SRC/moz-obj-dir/objdir-tb3/_tests/testing/mochitest/runtests.py", 
line 2382, in runApp
     raise exc(value).with_traceback(tb)
AttributeError: 'timeout' object has no attribute 'with_traceback'
  2:01.29 ERROR Automation Error: Received unexpected exception while 
running application

  2:01.29 INFO Stopping web server
  2:01.33 INFO Stopping web socket server
  2:01.36 INFO Stopping ssltunnel
  2:01.38 INFO leakcheck | Processing log file 
/COMM-CENTRAL/TMP-DIR/tmp9omFBs.mozrunner/runtests_leaks.log
  2:01.38 INFO TEST-INFO | leakcheck | default process: leak threshold 
set at 0 bytes
  2:01.38 INFO TEST-INFO | leakcheck | forkserver process: leak 
threshold set at 0 bytes
  2:01.38 INFO TEST-INFO | leakcheck | gmplugin process: leak threshold 
set at 20000 bytes
  2:01.38 INFO TEST-INFO | leakcheck | gpu process: leak threshold set 
at 0 bytes
  2:01.38 INFO TEST-INFO | leakcheck | plugin process: leak threshold 
set at 0 bytes
  2:01.38 INFO TEST-INFO | leakcheck | rdd process: leak threshold set 
at 400 bytes
  2:01.38 INFO TEST-INFO | leakcheck | socket process: leak threshold 
set at 0 bytes
  2:01.38 INFO TEST-INFO | leakcheck | tab process: leak threshold set 
at 0 bytes
  2:01.38 INFO TEST-INFO | leakcheck | vr process: leak threshold set at 
0 bytes
  2:01.38 INFO leakcheck | Processing leak log file 
/COMM-CENTRAL/TMP-DIR/tmp9omFBs.mozrunner/runtests_leaks.log
  2:01.38 FAIL leakcheck: default missing output line for total leaks!

  2:01.38 INFO runtests.py | Running tests: end.
  2:01.38 INFO Buffered messages finished
TEST-INFO | checking window state
Browser Chrome Test Summary
     Passed: 0
     Failed: 0
     Todo: 0
     Mode: e10s
*** End BrowserChrome Test Results ***
  2:01.38 INFO Buffered messages finished
  2:01.38 SUITE_END
  2:01.38
Overall Summary
===============

mochitest-browser
~~~~~~~~~~~~~~~~~
Ran 0 checks ()
Expected results: 0
Unexpected results: 0

Unexpected Results
------------------
ERROR TEST-UNEXPECTED-FAIL | automation.py | application terminated with 
exit code -11
ERROR Automation Error: Received unexpected exception while running 
application





More information about the tb-planning mailing list