Bug: Intermittent browser/components/aboutlogins/tests/browser/browser_createLogin.js | [JavaScript Error: "1615533856335 Toolkit.Telemetry ERROR ClientID::updateClientID - invalid client ID: null" {file: "resource://gre/modules/Log.jsm" line: 723}]
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2021-03-12 08:22:51+00:00
Resolved: 2021-03-15 06:41:17+00:00

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

---
```
[task 2021-03-12T07:24:12.939Z] 07:24:12     INFO - TEST-OK | browser/components/aboutlogins/tests/browser/browser_copyToClipboardButton.js | took 1449ms
[task 2021-03-12T07:24:12.958Z] 07:24:12     INFO - checking window state
[task 2021-03-12T07:24:12.980Z] 07:24:12     INFO - TEST-START | browser/components/aboutlogins/tests/browser/browser_createLogin.js
[task 2021-03-12T07:24:13.308Z] 07:24:13     INFO - GECKO(2740) | console.warn: LoginHelper(Content): "Couldn't parse origin for" "" ({})
[task 2021-03-12T07:24:16.205Z] 07:24:16     INFO - GECKO(2740) | console.warn: LoginHelper(Content): "Couldn't parse origin for" "" ({})
[task 2021-03-12T07:24:16.205Z] 07:24:16     INFO - GECKO(2740) | console.warn: LoginHelper(Content): "Couldn't parse origin for" "" ({})
[task 2021-03-12T07:24:16.227Z] 07:24:16     INFO - GECKO(2740) | console.warn: LoginHelper(Content): "Couldn't parse origin for" "" ({})
[task 2021-03-12T07:24:16.227Z] 07:24:16     INFO - GECKO(2740) | console.warn: LoginHelper(Content): "Couldn't parse origin for" "" ({})
[task 2021-03-12T07:24:16.257Z] 07:24:16     INFO - GECKO(2740) | console.warn: LoginHelper(Content): "Couldn't parse origin for" "" ({})
[task 2021-03-12T07:24:16.257Z] 07:24:16     INFO - GECKO(2740) | console.warn: LoginHelper(Content): "Couldn't parse origin for" "" ({})
[task 2021-03-12T07:24:16.296Z] 07:24:16     INFO - GECKO(2740) | JavaScript error: resource://gre/modules/LoginHelper.jsm, line 1566: NS_ERROR_FAILURE: This login already exists.
[task 2021-03-12T07:24:16.346Z] 07:24:16     INFO - TEST-INFO | started process screenshot
[task 2021-03-12T07:24:16.416Z] 07:24:16     INFO - TEST-INFO | screenshot: exit 0
[task 2021-03-12T07:24:16.416Z] 07:24:16     INFO - <snipped 90 output lines - if you need more context, please use SimpleTest.requestCompleteLog() in your test>
[task 2021-03-12T07:24:16.417Z] 07:24:16     INFO - Buffered messages logged at 07:24:14
[task 2021-03-12T07:24:16.417Z] 07:24:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_createLogin.js | Stored login should have password provided during creation - "testpass1" == "testpass1" - 
[task 2021-03-12T07:24:16.417Z] 07:24:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_createLogin.js | there should be a placeholder on the username input when not in edit mode - "(no username)" == true - 
[task 2021-03-12T07:24:16.417Z] 07:24:16     INFO - clicking on edit button
[task 2021-03-12T07:24:16.418Z] 07:24:16     INFO - waiting for oskeystore auth
[task 2021-03-12T07:24:16.418Z] 07:24:16     INFO - in edit mode
[task 2021-03-12T07:24:16.418Z] 07:24:16     INFO - clicking save changes button
[task 2021-03-12T07:24:16.419Z] 07:24:16     INFO - waiting for login to get modified in storage
[task 2021-03-12T07:24:16.419Z] 07:24:16     INFO - login modified in storage
[task 2021-03-12T07:24:16.419Z] 07:24:16     INFO - Buffered messages logged at 07:24:15
[task 2021-03-12T07:24:16.419Z] 07:24:16     INFO - http://example.com / testuser2 / testpass2
[task 2021-03-12T07:24:16.420Z] 07:24:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_createLogin.js | Stored login should only include the origin of the URL provided during creation - "http://example.com" == "http://example.com" - 
[task 2021-03-12T07:24:16.420Z] 07:24:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_createLogin.js | Stored login should have modified username - "testuser2" == "testuser2" - 
<...>
[task 2021-03-12T07:24:16.446Z] 07:24:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_createLogin.js | the first item in the list should be selected - "{d2386c4f-1c07-4497-8a26-1869fc344ad9}" == "{d2386c4f-1c07-4497-8a26-1869fc344ad9}" - 
[task 2021-03-12T07:24:16.446Z] 07:24:16     INFO - Leaving test bound test_cancel_create_login_with_logins_filtered_out
[task 2021-03-12T07:24:16.446Z] 07:24:16     INFO - Entering test bound test_create_duplicate_login
[task 2021-03-12T07:24:16.446Z] 07:24:16     INFO - Console message: [JavaScript Error: "NS_ERROR_FAILURE: This login already exists." {file: "resource://gre/modules/LoginHelper.jsm" line: 1566}]
[task 2021-03-12T07:24:16.446Z] 07:24:16     INFO - createLoginAlreadyExistsError@resource://gre/modules/LoginHelper.jsm:1566:23
[task 2021-03-12T07:24:16.446Z] 07:24:16     INFO - addLogin@resource://gre/modules/LoginManager.jsm:323:25
[task 2021-03-12T07:24:16.446Z] 07:24:16     INFO - receiveMessage@resource:///actors/AboutLoginsParent.jsm:142:27
[task 2021-03-12T07:24:16.446Z] 07:24:16     INFO - 
[task 2021-03-12T07:24:16.447Z] 07:24:16     INFO - Console message: [JavaScript Error: "1615533856335	Toolkit.Telemetry	ERROR	ClientID::updateClientID - invalid client ID: null" {file: "resource://gre/modules/Log.jsm" line: 723}]
[task 2021-03-12T07:24:16.447Z] 07:24:16     INFO - append@resource://gre/modules/Log.jsm:723:12
[task 2021-03-12T07:24:16.447Z] 07:24:16     INFO - log@resource://gre/modules/Log.jsm:379:16
[task 2021-03-12T07:24:16.447Z] 07:24:16     INFO - getLoggerWithMessagePrefix/proxy.log@resource://gre/modules/Log.jsm:508:18
[task 2021-03-12T07:24:16.447Z] 07:24:16     INFO - error@resource://gre/modules/Log.jsm:387:10
[task 2021-03-12T07:24:16.447Z] 07:24:16     INFO - updateClientID@resource://gre/modules/ClientID.jsm:479:17
[task 2021-03-12T07:24:16.447Z] 07:24:16     INFO - _doLoadClientIDs@resource://gre/modules/ClientID.jsm:250:33
[task 2021-03-12T07:24:16.447Z] 07:24:16     INFO - 
[task 2021-03-12T07:24:16.447Z] 07:24:16     INFO - Buffered messages finished
[task 2021-03-12T07:24:16.447Z] 07:24:16     INFO - TEST-UNEXPECTED-FAIL | browser/components/aboutlogins/tests/browser/browser_createLogin.js | [JavaScript Error: "1615533856335	Toolkit.Telemetry	ERROR	ClientID::updateClientID - invalid client ID: null" {file: "resource://gre/modules/Log.jsm" line: 723}]
[task 2021-03-12T07:24:16.447Z] 07:24:16     INFO - append@resource://gre/modules/Log.jsm:723:12
[task 2021-03-12T07:24:16.447Z] 07:24:16     INFO - log@resource://gre/modules/Log.jsm:379:16
[task 2021-03-12T07:24:16.448Z] 07:24:16     INFO - getLoggerWithMessagePrefix/proxy.log@resource://gre/modules/Log.jsm:508:18
[task 2021-03-12T07:24:16.448Z] 07:24:16     INFO - error@resource://gre/modules/Log.jsm:387:10
[task 2021-03-12T07:24:16.448Z] 07:24:16     INFO - updateClientID@resource://gre/modules/ClientID.jsm:479:17
[task 2021-03-12T07:24:16.448Z] 07:24:16     INFO - _doLoadClientIDs@resource://gre/modules/ClientID.jsm:250:33
[task 2021-03-12T07:24:16.448Z] 07:24:16     INFO -  - 
[task 2021-03-12T07:24:16.448Z] 07:24:16     INFO - Stack trace:
[task 2021-03-12T07:24:16.448Z] 07:24:16     INFO - chrome://mochikit/content/browser-test.js:test_ok:1331
[task 2021-03-12T07:24:16.448Z] 07:24:16     INFO - chrome://mochitests/content/browser/browser/components/aboutlogins/tests/browser/head.js:onConsoleMessage:154
[task 2021-03-12T07:24:16.448Z] 07:24:16     INFO - resource://specialpowers/SpecialPowersChild.jsm:observe/<:158
[task 2021-03-12T07:24:16.448Z] 07:24:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_createLogin.js | Error message has GUID of existing duplicated login set on it - "{a10a60c0-cfd8-4392-9e6c-426c416637dc}" == "{a10a60c0-cfd8-4392-9e6c-426c416637dc}" - 
[task 2021-03-12T07:24:16.448Z] 07:24:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_createLogin.js | the discard-changes dialog should be hidden before clicking the error-message-text - true == true - 
[task 2021-03-12T07:24:16.448Z] 07:24:16     INFO - GECKO(2740) | console.warn: LoginHelper(Content): "Couldn't parse origin for" "" ({})
[task 2021-03-12T07:24:16.449Z] 07:24:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_createLogin.js | the discard-changes dialog should be visible - true == true - 
[task 2021-03-12T07:24:16.449Z] 07:24:16     INFO - GECKO(2740) | console.warn: LoginHelper(Content): "Couldn't parse origin for" "" ({})
[task 2021-03-12T07:24:16.509Z] 07:24:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_createLogin.js | the duplicated login should be selected in the list - "{a10a60c0-cfd8-4392-9e6c-426c416637dc}" == "{a10a60c0-cfd8-4392-9e6c-426c416637dc}" - 
[task 2021-03-12T07:24:16.509Z] 07:24:16     INFO - Leaving test bound test_create_duplicate_login
[task 2021-03-12T07:24:16.527Z] 07:24:16     INFO - Console message: SENTINEL
[task 2021-03-12T07:24:16.565Z] 07:24:16     INFO - GECKO(2740) | MEMORY STAT | vsize 2104146MB | vsizeMaxContiguous 66272141MB | residentFast 220MB | heapAllocated 75MB
[task 2021-03-12T07:24:16.565Z] 07:24:16     INFO - TEST-OK | browser/components/aboutlogins/tests/browser/browser_createLogin.js | took 3585ms
[task 2021-03-12T07:24:16.584Z] 07:24:16     INFO - checking window state
[task 2021-03-12T07:24:16.605Z] 07:24:16     INFO - TEST-START | browser/components/aboutlogins/tests/browser/browser_deleteLogin.js```