Bug: Intermittent browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-03-23 02:54:59+00:00
Resolved: 2025-01-27 12:09:22+00:00

**Filed by:** pstanciu [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=451973457&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Z2BTUA4uQ7KpFkJfHELYRg/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2024-03-23T01:27:17.017Z] 01:27:17     INFO - TEST-START | browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js
[task 2024-03-23T01:27:17.213Z] 01:27:17     INFO - TEST-INFO | started process screentopng
[task 2024-03-23T01:27:17.497Z] 01:27:17     INFO - TEST-INFO | screentopng: exit 0
[task 2024-03-23T01:27:17.498Z] 01:27:17     INFO - Buffered messages logged at 01:27:17
[task 2024-03-23T01:27:17.499Z] 01:27:17     INFO - Entering test bound 
[task 2024-03-23T01:27:17.500Z] 01:27:17     INFO - withSidebarTree: waiting sidebar load
[task 2024-03-23T01:27:17.501Z] 01:27:17     INFO - withSidebarTree: executing the task
[task 2024-03-23T01:27:17.502Z] 01:27:17     INFO - Create tree of: folderA => subFolderA => 3 bookmarkItems
[task 2024-03-23T01:27:17.503Z] 01:27:17     INFO - Sanity check folderA, subFolderA, bookmarkItems
[task 2024-03-23T01:27:17.503Z] 01:27:17     INFO - TEST-PASS | browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js | Select expected title - "mainFolder" == "mainFolder" - 
[task 2024-03-23T01:27:17.504Z] 01:27:17     INFO - TEST-PASS | browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js | 1 children - 1 == 1 - 
[task 2024-03-23T01:27:17.505Z] 01:27:17     INFO - TEST-PASS | browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js | Select expected title - "FolderA" == "FolderA" - 
[task 2024-03-23T01:27:17.505Z] 01:27:17     INFO - TEST-PASS | browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js | 1 children - 1 == 1 - 
[task 2024-03-23T01:27:17.506Z] 01:27:17     INFO - TEST-PASS | browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js | Select expected title - "subFolderA" == "subFolderA" - 
[task 2024-03-23T01:27:17.506Z] 01:27:17     INFO - TEST-PASS | browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js | 3 children - 3 == 3 - 
[task 2024-03-23T01:27:17.511Z] 01:27:17     INFO - TEST-PASS | browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js | Select expected title - "secondBM" == "secondBM" - 
[task 2024-03-23T01:27:17.511Z] 01:27:17     INFO - Copy folder tree from sourceFolder (folderA, subFolderA, bookmarkItems)
[task 2024-03-23T01:27:17.512Z] 01:27:17     INFO - Initializing clipboard with "waitForClipboard-known-value-0.25048242212790317"...
[task 2024-03-23T01:27:17.512Z] 01:27:17     INFO - Succeeded initializing clipboard, start requested things...
[task 2024-03-23T01:27:17.513Z] 01:27:17     INFO - TEST-PASS | browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js | Clipboard has the given value: '{"title":"FolderA","id":8,"itemGuid":"SjDmARCVZiiZ","instanceId":"AoosLuFrnKH9","parent":7,"parentGuid":"oYJMJdHbB6SX","dateAdded":1711157237070000,"lastModified":1711157237070000,"type":"text/x-moz-place-container"}' - 
[task 2024-03-23T01:27:17.515Z] 01:27:17     INFO - Paste copy of folderA
[task 2024-03-23T01:27:17.515Z] 01:27:17     INFO - Sanity check copy/paste operation - mainFolder has 2 children
[task 2024-03-23T01:27:17.515Z] 01:27:17     INFO - TEST-PASS | browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js | 2 children - 2 == 2 - 
[task 2024-03-23T01:27:17.515Z] 01:27:17     INFO - Sanity check copy of folderA
[task 2024-03-23T01:27:17.515Z] 01:27:17     INFO - TEST-PASS | browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js | Select expected title - "FolderA" == "FolderA" - 
[task 2024-03-23T01:27:17.516Z] 01:27:17     INFO - TEST-PASS | browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js | 1 children - 1 == 1 - 
[task 2024-03-23T01:27:17.516Z] 01:27:17     INFO - Sanity check copy subFolderA
[task 2024-03-23T01:27:17.516Z] 01:27:17     INFO - TEST-PASS | browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js | Select expected title - "subFolderA" == "subFolderA" - 
[task 2024-03-23T01:27:17.516Z] 01:27:17     INFO - TEST-PASS | browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js | 3 children - 3 == 3 - 
[task 2024-03-23T01:27:17.516Z] 01:27:17     INFO - Sanity check copy BookmarkItem
[task 2024-03-23T01:27:17.517Z] 01:27:17     INFO - TEST-PASS | browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js | Select expected title - "firstBM" == "firstBM" - 
[task 2024-03-23T01:27:17.517Z] 01:27:17     INFO - Undo copy operation
[task 2024-03-23T01:27:17.517Z] 01:27:17     INFO - Sanity check undo operation - mainFolder has 1 child
[task 2024-03-23T01:27:17.518Z] 01:27:17     INFO - TEST-PASS | browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js | 1 children - 1 == 1 - 
[task 2024-03-23T01:27:17.521Z] 01:27:17     INFO - Redo copy operation
[task 2024-03-23T01:27:17.521Z] 01:27:17     INFO - Buffered messages finished
[task 2024-03-23T01:27:17.522Z] 01:27:17     INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js | uncaught exception - NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsINavHistoryContainerResultNode.getChild] at PTV__getNodeForRow@chrome://browser/content/places/treeView.js:293:29
[task 2024-03-23T01:27:17.522Z] 01:27:17     INFO - PTV_getCellText@chrome://browser/content/places/treeView.js:1574:21
[task 2024-03-23T01:27:17.524Z] 01:27:17     INFO - 
[task 2024-03-23T01:27:17.525Z] 01:27:17     INFO - Stack trace:
[task 2024-03-23T01:27:17.525Z] 01:27:17     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:2044
[task 2024-03-23T01:27:17.526Z] 01:27:17     INFO - OnErrorEventHandlerNonNull*chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:2019
[task 2024-03-23T01:27:17.526Z] 01:27:17     INFO - chrome://mochikit/content/browser-test.js:Tester:178
[task 2024-03-23T01:27:17.527Z] 01:27:17     INFO - chrome://mochikit/content/browser-harness.xhtml:createTester/</<:261
[task 2024-03-23T01:27:17.527Z] 01:27:17     INFO - GECKO(25121) | JavaScript error: chrome://browser/content/places/treeView.js, line 293: NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsINavHistoryContainerResultNode.getChild]
[task 2024-03-23T01:27:17.527Z] 01:27:17     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-03-23T01:27:17.528Z] 01:27:17     INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js | uncaught exception - NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsINavHistoryContainerResultNode.getChild] at PTV__getNodeForRow@chrome://browser/content/places/treeView.js:293:29
[task 2024-03-23T01:27:17.528Z] 01:27:17     INFO - PTV_getCellText@chrome://browser/content/places/treeView.js:1574:21
[task 2024-03-23T01:27:17.528Z] 01:27:17     INFO - 
[task 2024-03-23T01:27:17.528Z] 01:27:17     INFO - Stack trace:
[task 2024-03-23T01:27:17.528Z] 01:27:17     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:2044
[task 2024-03-23T01:27:17.528Z] 01:27:17     INFO - OnErrorEventHandlerNonNull*chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:2019
[task 2024-03-23T01:27:17.528Z] 01:27:17     INFO - chrome://mochikit/content/browser-test.js:Tester:178
[task 2024-03-23T01:27:17.528Z] 01:27:17     INFO - chrome://mochikit/content/browser-harness.xhtml:createTester/</<:261
[task 2024-03-23T01:27:17.528Z] 01:27:17     INFO - GECKO(25121) | JavaScript error: chrome://browser/content/places/treeView.js, line 293: NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsINavHistoryContainerResultNode.getChild]
[task 2024-03-23T01:27:17.528Z] 01:27:17     INFO - Console message: [JavaScript Error: "NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsINavHistoryContainerResultNode.getChild]" {file: "chrome://browser/content/places/treeView.js" line: 293}]
[task 2024-03-23T01:27:17.528Z] 01:27:17     INFO - PTV__getNodeForRow@chrome://browser/content/places/treeView.js:293:29
[task 2024-03-23T01:27:17.528Z] 01:27:17     INFO - PTV_getCellText@chrome://browser/content/places/treeView.js:1574:21
[task 2024-03-23T01:27:17.528Z] 01:27:17     INFO - 
[task 2024-03-23T01:27:17.528Z] 01:27:17     INFO - Console message: [JavaScript Error: "NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsINavHistoryContainerResultNode.getChild]" {file: "chrome://browser/content/places/treeView.js" line: 293}]
[task 2024-03-23T01:27:17.528Z] 01:27:17     INFO - PTV__getNodeForRow@chrome://browser/content/places/treeView.js:293:29
[task 2024-03-23T01:27:17.528Z] 01:27:17     INFO - PTV_getCellText@chrome://browser/content/places/treeView.js:1574:21
[task 2024-03-23T01:27:17.528Z] 01:27:17     INFO - 
[task 2024-03-23T01:27:17.528Z] 01:27:17     INFO - Sanity check redo operation - mainFolder has 2 children
[task 2024-03-23T01:27:17.528Z] 01:27:17     INFO - TEST-PASS | browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js | 2 children - 2 == 2 - 
[task 2024-03-23T01:27:17.529Z] 01:27:17     INFO - Sanity check copy of folderA
[task 2024-03-23T01:27:17.529Z] 01:27:17     INFO - TEST-PASS | browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js | 1 children - 1 == 1 - 
[task 2024-03-23T01:27:17.529Z] 01:27:17     INFO - Sanity check copy subFolderA
[task 2024-03-23T01:27:17.529Z] 01:27:17     INFO - TEST-PASS | browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js | Select expected title - "subFolderA" == "subFolderA" - 
[task 2024-03-23T01:27:17.529Z] 01:27:17     INFO - TEST-PASS | browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js | 3 children - 3 == 3 - 
[task 2024-03-23T01:27:17.529Z] 01:27:17     INFO - Sanity check copy BookmarkItem
[task 2024-03-23T01:27:17.529Z] 01:27:17     INFO - TEST-PASS | browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js | Select expected title - "secondBM" == "secondBM" - 
[task 2024-03-23T01:27:17.529Z] 01:27:17     INFO - TEST-PASS | browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js | Correct type - 0 == 0 - 
[task 2024-03-23T01:27:17.529Z] 01:27:17     INFO - Leaving test bound 
[task 2024-03-23T01:27:17.584Z] 01:27:17     INFO - GECKO(25121) | MEMORY STAT | vsize 19935MB | residentFast 477MB | heapAllocated 303MB
[task 2024-03-23T01:27:17.585Z] 01:27:17     INFO - TEST-OK | browser/components/places/tests/browser/browser_bookmark_copy_folder_tree.js | took 567ms
[task 2024-03-23T01:27:17.602Z] 01:27:17     INFO - checking window state
[task 2024-03-23T01:27:17.613Z] 01:27:17     INFO - TEST-START | browser/components/places/tests/browser/browser_bookmark_current_tabs.js

```