Closed Bug 1635029 Opened 6 years ago Closed 2 years ago

JavaScript Error: "2020-05-04 05:08:15 gloda.index_msg ERROR Exception while attempting to mark message with gloda state afterdb commit

Categories

(MailNews Core :: Database, defect)

x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1903744

People

(Reporter: ishikawa, Unassigned)

Details

Attachments

(1 file)

Running mochitest of FULL DEBUG version of thunderbird produces the
following error. at the beginning of line is the frequency of
occurrences.

  2 Console message: [JavaScript Error: "2020-05-04 05:08:15	gloda.index_msg	ERROR	Exception while attempting to mark message with gloda state afterdb commit [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgDBHdr.getUint32Property]"	 nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: resource:///modules/gloda/IndexMsg.jsm :: _commitCallback :: line 159"	 data: no]

Is it OK to ignore this exception?

This error did NOT appear in |make mozmill| test suite (until December
2019).

Also, in xpcshell tests, there are exceptions related gloda.indexer
and gloda.index_msg.
That gloda.indexer exception does not appear in mochitest and only this
gloda.index_msg appears makes me a bit suspicious.

mozilla/comm/mailnews/db/gloda/modules/IndexMsg.jsm:

      // Mark this message as indexed.
      // It's conceivable the database could have gotten blown away, in which
      //  case the message headers are going to throw exceptions when we try
      //  and touch them.  So we wrap this in a try block that complains about
      //  this unforeseen circumstance.	 (noteFolderDatabaseGettingBlownAway
      //  should have been called and avoided this situation in all known
      //  situations.)
      try {
   ===> let curGlodaId = msgHdr.getUint32Property(GLODA_MESSAGE_ID_PROPERTY);
	if (curGlodaId != glodaId) {
	  msgHdr.setUint32Property(GLODA_MESSAGE_ID_PROPERTY, glodaId);
	}
	let headerDirty = msgHdr.getUint32Property(GLODA_DIRTY_PROPERTY);
	if (headerDirty != dirtyState) {
	  msgHdr.setUint32Property(GLODA_DIRTY_PROPERTY, dirtyState);
	}

if this can be safely ignored, for long-term bug hunting/bug fixing/maintenance purposes, it would be great to add a print statement that prints out something about we expect an exception to happen from gloda.index_msg in the test which can be safely ignored.

The error appears in the following test.:

115:26.76 TEST_START: comm/mail/test/browser/folder-pane/browser_folderPaneConsumers.js
          ...
115:26.96 INFO Entering test bound test_virtual_folder_selection_tree
          ...
115:27.70 INFO Console message: [JavaScript Error: "2020-05-04 05:08:15	gloda.index_msg	ERROR	Exception while attempting to mark message with gloda state afterdb commit [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgDBHdr.getUint32Property]"	 nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: resource:///modules/gloda/IndexMsg.jsm :: _commitCallback :: line 159"	 data: no]
115:27.70 INFO Console message: 2020-05-04 05:08:15	gloda.index_msg	ERROR	Exception while attempting to mark message with gloda state afterdb commit [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgDBHdr.getUint32Property]"	 nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: resource:///modules/gloda/IndexMsg.jsm :: _commitCallback :: line 159"	 data: no]
115:27.70 INFO Console message: [JavaScript Error: "2020-05-04 05:08:15	gloda.index_msg	ERROR	Exception while attempting to mark message with gloda state afterdb commit [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgDBHdr.getUint32Property]"	 nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: resource:///modules/gloda/IndexMsg.jsm :: _commitCallback :: line 159"	 data: no]
115:27.70 INFO Console message: 2020-05-04 05:08:15	gloda.index_msg	ERROR	Exception while attempting to mark message with gloda state afterdb commit [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgDBHdr.getUint32Property]"	 nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: resource:///modules/gloda/IndexMsg.jsm :: _commitCallback :: line 159"	 data: no]
          ...
115:30.31 INFO Leaving test bound test_virtual_folder_selection_tree
          ...
115:33.87 TEST_END: Test OK. Subtests passed 2/2. Unexpected 0
Component: Untriaged → Database
Product: Thunderbird → MailNews Core

Actually, I now confirm the errors happen in more individual tests during mochitest execution using FULL DEBUG C-C TB.

For example, you can find the error in Geoff's try-comm-central submission:
https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=a4f2d3754f0a3767f84aa5d15453e18ad1995828
I only show the test-start/end and the error line.

[task 2023-07-06T23:47:49.953Z] 23:47:49     INFO - TEST-START | comm/mail/base/test/browser/browser_editMenu.js
[task 2023-07-06T23:48:18.933Z] 23:48:18     INFO - GECKO(2976) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:47:49.953Z] 23:47:49     INFO - TEST-START | comm/mail/base/test/browser/browser_editMenu.js
[task 2023-07-06T23:48:18.944Z] 23:48:18     INFO - GECKO(2976) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:48:18.945Z] 23:48:18     INFO - TEST-OK | comm/mail/base/test/browser/browser_editMenu.js | took 17493ms
[task 2023-07-06T23:48:18.947Z] 23:48:18     INFO - TEST-START | comm/mail/base/test/browser/browser_fileMenu.js
[task 2023-07-06T23:48:19.153Z] 23:48:19     INFO - GECKO(2976) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:48:19.375Z] 23:48:19     INFO - TEST-OK | comm/mail/base/test/browser/browser_fileMenu.js | took 11928ms
[task 2023-07-06T23:48:53.086Z] 23:48:53     INFO - TEST-START | comm/mail/base/test/browser/browser_folderTreeQuirks.js
[task 2023-07-06T23:49:01.662Z] 23:49:01     INFO - GECKO(2976) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:48:53.086Z] 23:48:53     INFO - TEST-START | comm/mail/base/test/browser/browser_folderTreeQuirks.js
[task 2023-07-06T23:49:10.177Z] 23:49:10     INFO - GECKO(2976) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:48:53.086Z] 23:48:53     INFO - TEST-START | comm/mail/base/test/browser/browser_folderTreeQuirks.js
[task 2023-07-06T23:49:10.179Z] 23:49:10     INFO - GECKO(2976) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:48:53.086Z] 23:48:53     INFO - TEST-START | comm/mail/base/test/browser/browser_folderTreeQuirks.js
[task 2023-07-06T23:49:10.180Z] 23:49:10     INFO - GECKO(2976) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:49:10.265Z] 23:49:10     INFO - TEST-OK | comm/mail/base/test/browser/browser_folderTreeQuirks.js | took 17178ms
[task 2023-07-06T23:51:22.629Z] 23:51:22     INFO - TEST-START | comm/mail/base/test/browser/browser_mailTabsAndWindows.js
[task 2023-07-06T23:51:30.064Z] 23:51:30     INFO - GECKO(2976) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:51:31.351Z] 23:51:31     INFO - TEST-OK | comm/mail/base/test/browser/browser_mailTabsAndWindows.js | took 8720ms
[task 2023-07-06T23:52:22.952Z] 23:52:22     INFO - TEST-START | comm/mail/base/test/browser/browser_orderableTreeListbox.js
[task 2023-07-06T23:52:28.000Z] 23:52:28     INFO - GECKO(2976) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:52:49.284Z] 23:52:49     INFO - TEST-OK | comm/mail/base/test/browser/browser_orderableTreeListbox.js | took 26330ms
[task 2023-07-06T23:56:03.299Z] 23:56:03     INFO - TEST-START | comm/mail/base/test/browser/browser_threadTreeDeleting.js
[task 2023-07-06T23:56:14.135Z] 23:56:14     INFO - GECKO(2976) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:57:22.619Z] 23:57:22     INFO - TEST-OK | comm/mail/base/test/browser/browser_threadTreeDeleting.js | took 79319ms
[task 2023-07-06T23:57:22.622Z] 23:57:22     INFO - TEST-START | comm/mail/base/test/browser/browser_threadTreeQuirks.js
[task 2023-07-06T23:57:54.742Z] 23:57:54     INFO - GECKO(2976) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:57:57.627Z] 23:57:57     INFO - TEST-OK | comm/mail/base/test/browser/browser_threadTreeQuirks.js | took 35004ms
[task 2023-07-06T23:58:12.012Z] 23:58:12     INFO - TEST-START | comm/mail/base/test/browser/browser_toolsMenu.js
[task 2023-07-06T23:58:12.197Z] 23:58:12     INFO - GECKO(2976) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:58:18.222Z] 23:58:18     INFO - TEST-OK | comm/mail/base/test/browser/browser_toolsMenu.js | took 6208ms
[task 2023-07-06T23:38:56.686Z] 23:38:56     INFO - TEST-START | comm/mail/components/extensions/test/browser/browser_ext_menus_context_action.js
[task 2023-07-06T23:39:08.785Z] 23:39:08     INFO - GECKO(1625) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:38:56.686Z] 23:38:56     INFO - TEST-START | comm/mail/components/extensions/test/browser/browser_ext_menus_context_action.js
[task 2023-07-06T23:39:08.785Z] 23:39:08     INFO - GECKO(1625) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:39:48.473Z] 23:39:48     INFO - TEST-OK | comm/mail/components/extensions/test/browser/browser_ext_menus_context_action.js | took 51789ms
[task 2023-07-06T23:31:34.949Z] 23:31:34     INFO - TEST-START | comm/mail/components/extensions/test/browser/browser_ext_windows_types.js
[task 2023-07-06T23:31:41.557Z] 23:31:41     INFO - GECKO(1622) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:31:42.258Z] 23:31:42     INFO - TEST-OK | comm/mail/components/extensions/test/browser/browser_ext_windows_types.js | took 7309ms
[task 2023-07-06T23:35:54.793Z] 23:35:54     INFO - TEST-START | comm/mail/test/browser/attachment/browser_attachment.js
[task 2023-07-06T23:36:28.994Z] 23:36:28     INFO - GECKO(3369) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:35:54.793Z] 23:35:54     INFO - TEST-START | comm/mail/test/browser/attachment/browser_attachment.js
[task 2023-07-06T23:36:28.994Z] 23:36:28     INFO - GECKO(3369) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:35:54.793Z] 23:35:54     INFO - TEST-START | comm/mail/test/browser/attachment/browser_attachment.js
[task 2023-07-06T23:36:28.994Z] 23:36:28     INFO - GECKO(3369) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:35:54.793Z] 23:35:54     INFO - TEST-START | comm/mail/test/browser/attachment/browser_attachment.js
[task 2023-07-06T23:36:28.995Z] 23:36:28     INFO - GECKO(3369) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:35:54.793Z] 23:35:54     INFO - TEST-START | comm/mail/test/browser/attachment/browser_attachment.js
[task 2023-07-06T23:36:28.995Z] 23:36:28     INFO - GECKO(3369) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:36:28.997Z] 23:36:28     INFO - TEST-OK | comm/mail/test/browser/attachment/browser_attachment.js | took 14651ms
[task 2023-07-06T23:36:40.169Z] 23:36:40     INFO - TEST-START | comm/mail/test/browser/attachment/browser_attachmentMenus.js
[task 2023-07-06T23:36:48.479Z] 23:36:48     INFO - GECKO(3369) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:36:40.169Z] 23:36:40     INFO - TEST-START | comm/mail/test/browser/attachment/browser_attachmentMenus.js
[task 2023-07-06T23:37:03.846Z] 23:37:03     INFO - GECKO(3369) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:36:40.169Z] 23:36:40     INFO - TEST-START | comm/mail/test/browser/attachment/browser_attachmentMenus.js
[task 2023-07-06T23:37:03.848Z] 23:37:03     INFO - GECKO(3369) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:36:40.169Z] 23:36:40     INFO - TEST-START | comm/mail/test/browser/attachment/browser_attachmentMenus.js
[task 2023-07-06T23:37:03.848Z] 23:37:03     INFO - GECKO(3369) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:37:04.430Z] 23:37:04     INFO - TEST-OK | comm/mail/test/browser/attachment/browser_attachmentMenus.js | took 24260ms
[task 2023-07-06T23:37:04.433Z] 23:37:04     INFO - TEST-START | comm/mail/test/browser/attachment/browser_attachmentSize.js
[task 2023-07-06T23:37:10.191Z] 23:37:10     INFO - GECKO(3369) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:37:10.374Z] 23:37:10     INFO - TEST-OK | comm/mail/test/browser/attachment/browser_attachmentSize.js | took 5941ms
[task 2023-07-06T23:38:06.692Z] 23:38:06     INFO - TEST-START | comm/mail/test/browser/composition/browser_replyCatchAll.js
[task 2023-07-06T23:38:34.829Z] 23:38:34     INFO - GECKO(1625) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:38:35.080Z] 23:38:35     INFO - TEST-OK | comm/mail/test/browser/composition/browser_replyCatchAll.js | took 28385ms
[task 2023-07-06T23:38:47.956Z] 23:38:47     INFO - TEST-START | comm/mail/test/browser/composition/browser_replySignature.js
[task 2023-07-06T23:38:57.777Z] 23:38:57     INFO - GECKO(1625) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:38:58.716Z] 23:38:58     INFO - TEST-OK | comm/mail/test/browser/composition/browser_replySignature.js | took 10759ms
[task 2023-07-06T23:59:08.351Z] 23:59:08     INFO - TEST-START | comm/mail/test/browser/folder-display/browser_tabsSimple.js
[task 2023-07-06T23:59:08.357Z] 23:59:08     INFO - GECKO(4304) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:59:08.351Z] 23:59:08     INFO - TEST-START | comm/mail/test/browser/folder-display/browser_tabsSimple.js
[task 2023-07-06T23:59:08.359Z] 23:59:08     INFO - GECKO(4304) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:59:08.351Z] 23:59:08     INFO - TEST-START | comm/mail/test/browser/folder-display/browser_tabsSimple.js
[task 2023-07-06T23:59:08.359Z] 23:59:08     INFO - GECKO(4304) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:59:08.351Z] 23:59:08     INFO - TEST-START | comm/mail/test/browser/folder-display/browser_tabsSimple.js
[task 2023-07-06T23:59:08.361Z] 23:59:08     INFO - GECKO(4304) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:59:08.351Z] 23:59:08     INFO - TEST-START | comm/mail/test/browser/folder-display/browser_tabsSimple.js
[task 2023-07-06T23:59:08.363Z] 23:59:08     INFO - GECKO(4304) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:59:08.351Z] 23:59:08     INFO - TEST-START | comm/mail/test/browser/folder-display/browser_tabsSimple.js
[task 2023-07-06T23:59:08.365Z] 23:59:08     INFO - GECKO(4304) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:59:08.351Z] 23:59:08     INFO - TEST-START | comm/mail/test/browser/folder-display/browser_tabsSimple.js
[task 2023-07-06T23:59:08.365Z] 23:59:08     INFO - GECKO(4304) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:59:08.351Z] 23:59:08     INFO - TEST-START | comm/mail/test/browser/folder-display/browser_tabsSimple.js
[task 2023-07-06T23:59:08.366Z] 23:59:08     INFO - GECKO(4304) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:59:08.351Z] 23:59:08     INFO - TEST-START | comm/mail/test/browser/folder-display/browser_tabsSimple.js
[task 2023-07-06T23:59:08.367Z] 23:59:08     INFO - GECKO(4304) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:59:08.351Z] 23:59:08     INFO - TEST-START | comm/mail/test/browser/folder-display/browser_tabsSimple.js
[task 2023-07-06T23:59:08.368Z] 23:59:08     INFO - GECKO(4304) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:59:08.351Z] 23:59:08     INFO - TEST-START | comm/mail/test/browser/folder-display/browser_tabsSimple.js
[task 2023-07-06T23:59:08.369Z] 23:59:08     INFO - GECKO(4304) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:59:08.351Z] 23:59:08     INFO - TEST-START | comm/mail/test/browser/folder-display/browser_tabsSimple.js
[task 2023-07-06T23:59:08.370Z] 23:59:08     INFO - GECKO(4304) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:59:08.351Z] 23:59:08     INFO - TEST-START | comm/mail/test/browser/folder-display/browser_tabsSimple.js
[task 2023-07-06T23:59:08.371Z] 23:59:08     INFO - GECKO(4304) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:59:08.351Z] 23:59:08     INFO - TEST-START | comm/mail/test/browser/folder-display/browser_tabsSimple.js
[task 2023-07-06T23:59:08.372Z] 23:59:08     INFO - GECKO(4304) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:59:08.351Z] 23:59:08     INFO - TEST-START | comm/mail/test/browser/folder-display/browser_tabsSimple.js
[task 2023-07-06T23:59:08.373Z] 23:59:08     INFO - GECKO(4304) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:59:19.379Z] 23:59:19     INFO - TEST-OK | comm/mail/test/browser/folder-display/browser_tabsSimple.js | took 11028ms
[task 2023-07-06T23:36:32.010Z] 23:36:32     INFO - TEST-START | comm/mail/test/browser/message-header/browser_messageHeader.js
[task 2023-07-06T23:36:53.370Z] 23:36:53     INFO - GECKO(3145) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:36:53.424Z] 23:36:53     INFO - TEST-OK | comm/mail/test/browser/message-header/browser_messageHeader.js | took 21411ms
[task 2023-07-06T23:36:59.254Z] 23:36:59     INFO - TEST-START | comm/mail/test/browser/message-header/browser_phishingBar.js
[task 2023-07-06T23:37:05.556Z] 23:37:05     INFO - GECKO(3145) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:36:59.254Z] 23:36:59     INFO - TEST-START | comm/mail/test/browser/message-header/browser_phishingBar.js
[task 2023-07-06T23:37:05.558Z] 23:37:05     INFO - GECKO(3145) | console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
[task 2023-07-06T23:37:05.804Z] 23:37:05     INFO - TEST-OK | comm/mail/test/browser/message-header/browser_phishingBar.js | took 6549ms

This is from my local mochitest log (Debian GNU/Linux).

51:27.51 TEST_START: comm/mail/base/test/browser/browser_browserContext.js
51:38.97 GECKO(2290517) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
51:27.51 TEST_START: comm/mail/base/test/browser/browser_browserContext.js
51:38.97 GECKO(2290517) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
51:39.42 TEST_END: Test OK. Subtests passed 81/81. Unexpected 0
51:47.00 TEST_START: comm/mail/base/test/browser/browser_editMenu.js
52:24.59 GECKO(2290517) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
51:47.00 TEST_START: comm/mail/base/test/browser/browser_editMenu.js
52:24.59 GECKO(2290517) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
51:47.00 TEST_START: comm/mail/base/test/browser/browser_editMenu.js
52:24.59 GECKO(2290517) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
51:47.00 TEST_START: comm/mail/base/test/browser/browser_editMenu.js
52:24.59 GECKO(2290517) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
51:58.86 TEST_END: Test OK. Subtests passed 93/94. Unexpected 0
52:36.72 TEST_START: comm/mail/base/test/browser/browser_folderTreeQuirks.js
52:49.22 GECKO(2290517) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
52:36.72 TEST_START: comm/mail/base/test/browser/browser_folderTreeQuirks.js
52:49.22 GECKO(2290517) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
52:36.72 TEST_START: comm/mail/base/test/browser/browser_folderTreeQuirks.js
52:49.23 GECKO(2290517) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
52:53.66 TEST_END: Test OK. Subtests passed 139/141. Unexpected 2
54:30.80 TEST_START: comm/mail/base/test/browser/browser_mailContext.js
55:38.92 GECKO(2290517) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
54:30.80 TEST_START: comm/mail/base/test/browser/browser_mailContext.js
55:38.92 GECKO(2290517) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
55:43.00 TEST_END: Test OK. Subtests passed 59/61. Unexpected 2
55:43.00 TEST_START: comm/mail/base/test/browser/browser_mailTabsAndWindows.js
55:57.34 GECKO(2290517) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
55:43.00 TEST_START: comm/mail/base/test/browser/browser_mailTabsAndWindows.js
55:57.34 GECKO(2290517) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
56:04.31 TEST_END: Test OK. Subtests passed 111/113. Unexpected 2
56:12.83 TEST_START: comm/mail/base/test/browser/browser_messageMenu.js
56:35.72 GECKO(2290517) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
56:42.19 TEST_END: Test OK. Subtests passed 516/518. Unexpected 2
56:42.19 TEST_START: comm/mail/base/test/browser/browser_navigation.js
57:18.56 GECKO(2290517) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
57:22.94 TEST_END: Test OK. Subtests passed 247/249. Unexpected 2
57:44.71 TEST_START: comm/mail/base/test/browser/browser_paneFocus.js
57:55.34 GECKO(2290517) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
58:00.65 TEST_END: Test OK. Subtests passed 129/131. Unexpected 2
61:04.95 TEST_START: comm/mail/base/test/browser/browser_tagsMode.js
61:10.82 GECKO(2290517) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
61:15.09 TEST_END: Test OK. Subtests passed 183/185. Unexpected 2
61:15.09 TEST_START: comm/mail/base/test/browser/browser_threadTreeDeleting.js
62:52.51 GECKO(2290517) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
63:00.11 TEST_END: Test OK. Subtests passed 1233/1235. Unexpected 2
63:00.11 TEST_START: comm/mail/base/test/browser/browser_threadTreeQuirks.js
63:36.27 GECKO(2290517) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
63:43.78 TEST_END: Test OK. Subtests passed 245/247. Unexpected 2
63:43.79 TEST_START: comm/mail/base/test/browser/browser_threads.js
63:58.29 GECKO(2290517) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
64:03.96 TEST_END: Test OK. Subtests passed 114/116. Unexpected 2
123:59.93 TEST_START: comm/mail/test/browser/attachment/browser_attachment.js
124:13.59 GECKO(2307941) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
123:59.93 TEST_START: comm/mail/test/browser/attachment/browser_attachment.js
124:13.59 GECKO(2307941) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
123:59.93 TEST_START: comm/mail/test/browser/attachment/browser_attachment.js
124:13.59 GECKO(2307941) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
124:13.90 TEST_END: Test OK. Subtests passed 75/79. Unexpected 0
124:28.54 TEST_START: comm/mail/test/browser/attachment/browser_attachmentIcon.js
124:33.86 GECKO(2307941) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
124:33.87 TEST_END: Test OK. Subtests passed 19/19. Unexpected 0
124:56.15 TEST_START: comm/mail/test/browser/attachment/browser_attachmentSize.js
125:02.47 GECKO(2307941) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
124:56.15 TEST_START: comm/mail/test/browser/attachment/browser_attachmentSize.js
125:02.47 GECKO(2307941) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
125:03.06 TEST_END: Test OK. Subtests passed 85/85. Unexpected 0
125:03.06 TEST_START: comm/mail/test/browser/attachment/browser_openAttachment.js
125:32.07 GECKO(2307941) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
125:03.06 TEST_START: comm/mail/test/browser/attachment/browser_openAttachment.js
125:32.07 GECKO(2307941) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
125:03.06 TEST_START: comm/mail/test/browser/attachment/browser_openAttachment.js
125:32.07 GECKO(2307941) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
125:03.06 TEST_START: comm/mail/test/browser/attachment/browser_openAttachment.js
125:32.07 GECKO(2307941) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
125:03.06 TEST_START: comm/mail/test/browser/attachment/browser_openAttachment.js
125:32.07 GECKO(2307941) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
125:34.05 TEST_END: Test OK. Subtests passed 88/88. Unexpected 0
131:23.26 TEST_START: comm/mail/test/browser/composition/browser_attachmentDragDrop.js
131:36.75 GECKO(2308864) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
131:53.63 TEST_END: Test OK. Subtests passed 149/149. Unexpected 0
142:20.08 TEST_START: comm/mail/test/browser/composition/browser_imageInsertionDialog.js
142:23.24 GECKO(2308864) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
142:26.28 TEST_END: Test OK. Subtests passed 8/8. Unexpected 0
146:05.20 TEST_START: comm/mail/test/browser/composition/browser_replyCatchAll.js
146:35.07 GECKO(2308864) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
146:35.66 TEST_END: Test OK. Subtests passed 42/42. Unexpected 0
146:50.54 TEST_START: comm/mail/test/browser/composition/browser_replySignature.js
147:02.38 GECKO(2308864) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
147:02.55 TEST_END: Test OK. Subtests passed 15/15. Unexpected 0
165:10.13 TEST_START: comm/mail/test/browser/message-header/browser_phishingBar.js
165:15.86 GECKO(2316151) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
165:10.13 TEST_START: comm/mail/test/browser/message-header/browser_phishingBar.js
165:15.86 GECKO(2316151) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
165:10.13 TEST_START: comm/mail/test/browser/message-header/browser_phishingBar.js
165:15.86 GECKO(2316151) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
165:16.45 TEST_END: Test OK. Subtests passed 11/13. Unexpected 0
166:57.34 TEST_START: comm/mail/test/browser/message-window/browser_autohideMenubar.js
167:00.73 GECKO(2316814) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
167:00.75 TEST_END: Test OK. Subtests passed 3/3. Unexpected 0

I really hate the test harness that passes these tests which have clearly exceptions and errors as "pass".

I think somebody got to look at this issue. Something is not quite right. Mayhbe gloda is doing something extra even after the DB has been committed (possibly because nearing shutdown???).

The attachment shows the tests where error messages are shown.

Created by the following command locally.

egrep -a "(TEST[-_]START|TEST[-_]END|TEST[-_]OK|Exception while attempting to mark)" log1763-mochitest.txt  | gawk -f ~/Dropbox/TB-DIR/ignore-immediate-test-start-and-end-pairs.awk

where the local awk script pickes up ONLY the test names where the error occurs, and the error lines.
It seems that "Javascript date-string" ..." error message form for this particular error message s gone and
we get something like:

154:35.33 GECKO(1004285) console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})

The particular error message is now the most frequent message shown using console.error during local mochitest.

Top 10:
    112 console.error: gloda.index_msg: "Exception while attempting to mark message with gloda state afterdb commit" ({})
     44 console.error: ({})
     14 console.error: (new TypeError("can't access property \"goUpdateCommand\", topChromeWindow is null", "chrome://messenger/content/addressbook/aboutAddressBook.js", 424))
      7 console.error: carddav.setup: ({})
      7 console.error: Calendar: "[calICSCalendar] Backup failed, no copy: TypeError: can't access property \"copyTo\", oldFile is undefined"
      6 console.error: mailnews.smtp: "ConnectionRefusedError: a Network error occurred"
      6 console.error: (new Error("Send aborted by an onBeforeSend event", "chrome://messenger/content/messengercompose/MsgComposeCommands.js", 6142))
      5 console.error: mailnews.send: "Sending failed; The message could not be sent because connecting to Outgoing server (SMTP) tinderbox123 failed. The server may be unavailable or is refusing SMTP connections. Please verify that your Outgoing server (SMTP) settings are correct and try again., exitCode=2153066798, originalMsgURI="
      4 console.error: mailnews.smtp: "SecurityError: a SecurityCertificate error occurred"
      3 console.error: (new TypeError("can't access property \"classList\", row is null", "chrome://messenger/content/tree-listbox-mixin.mjs", 771))

The number shown at the beginning of each line is the # of occurrences during mochitest.

I thought I read something about gloda failure may be related to folder corruption in the last hour, but now I cannot find the message. Duh.

See Also: → 1903744

In the following message, Wayne mentioned the possibility of gloda failure due to folder corruption.
https://bugzilla.mozilla.org/show_bug.cgi?id=1890230#c124

Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1903744
Resolution: --- → DUPLICATE
See Also: 1903744 →
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: