Bug: Perma mozilla-release Android toolkit/components/utils/test/unit/test_ClientEnvironment.js | xpcshell return code: 0
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2021-04-22 17:03:25+00:00
Resolved: 2022-07-27 17:35:21+00:00

**Filed by:** archaeopteryx [at] coole-files.de
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=337448915&repo=try
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/QqLJaRrBRySWLWJo7t2lPA/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2021-04-22T13:47:56.228Z] 13:47:56     INFO -  TEST-START | toolkit/components/utils/test/unit/test_ClientEnvironment.js
[task 2021-04-22T13:47:56.261Z] 13:47:56     INFO -  adb launch_application: am startservice -W -n 'org.mozilla.geckoview.test/org.mozilla.geckoview.test.XpcshellTestRunnerService$i0' -a android.intent.action.MAIN --es arg8 'const _MOZINFO_JS_PATH = "/data/local/tmp/test_root/xpc/p/36b793d6-36d0-4392-b5d3-ce62e8eb190e/mozinfo.json";' --es arg9 -e --es arg0 -g --es arg1 /data/local/tmp/test_root/xpcb --es arg2 --greomni --es arg3 /data/local/tmp/test_root/xpcb/geckoview-androidTest.apk --es arg4 -m --es arg5 -e --es arg6 'const _HEAD_JS_PATH = "/data/local/tmp/test_root/xpc/head.js";' --es arg7 -e --es arg26 '_execute_test(); quit(0);' --es arg25 -e --es arg24 'const _TEST_NAME = "toolkit/components/utils/test/unit/test_ClientEnvironment.js";' --es arg23 -e --es arg22 'const _TEST_FILE = ["test_ClientEnvironment.js"];' --es arg21 -e --es arg20 'const _TEST_CWD = "/data/local/tmp/test_root/xpc/toolkit/components/utils/test/unit";' --ez use_multiprocess True --es env20 TMPDIR=/data/local/tmp/test_root/xpc/p/36b793d6-36d0-4392-b5d3-ce62e8eb190e --es arg12 'const _TESTING_MODULES_DIR = "/data/local/tmp/test_root/xpc/m";' --es arg13 -f --es arg10 'const _PREFS_FILE = "/data/local/tmp/test_root/xpc/user.js";' --es arg11 -e --es arg16 'const _HEAD_FILES = [];' --es arg17 -e --es arg14 /data/local/tmp/test_root/xpc/head.js --es arg15 -e --es arg18 'const _JSDEBUGGER_PORT = 0;' --es arg19 -e --es env9 MOZHTTP2_PORT=44051 --es env8 GRE_HOME=/data/local/tmp/test_root/xpcb --es out_file /data/local/tmp/test_root/xpc/logs/xpcshell-123b3c8e-c566-403f-94b5-ef28d22d5056.log --es env3 XPCSHELL_MINIDUMP_DIR=/data/local/tmp/test_root/xpc/minidumps/36b793d6-36d0-4392-b5d3-ce62e8eb190e --es env2 XPCOM_DEBUG_BREAK=stack-and-abort --es env1 MOZ_DISABLE_SOCKET_PROCESS_SANDBOX=1 --es env0 MOZ_CRASHREPORTER=1 --es env7 MOZ_ANDROID_DATA_DIR=/data/local/tmp/test_root/xpcb --es env6 XPCSHELL_TEST_TEMP_DIR=/data/local/tmp/test_root/xpc/tmp/36477620-c7a3-4017-aacb-1af7fc6b99f8 --es env5 MOZ_DISABLE_CONTENT_SANDBOX=1 --es env4 MOZ_WEBRENDER=0 --es env19 MOZ_ANDROID_CPU_ABI=x86_64 --es env18 HOME=/data/local/tmp/test_root/xpc/p --es env17 MOZ_LINKER_CACHE=/data/local/tmp/test_root/xpcb --es env16 MOZ_DEVELOPER_REPO_DIR=/builds/worker/checkouts/gecko --es env15 MOZ_CRASHREPORTER_NO_REPORT=1 --es env14 MOZNODE_EXEC_PORT=40449 --es env13 XPCSHELL_TEST_PROFILE_DIR=/data/local/tmp/test_root/xpc/p/36b793d6-36d0-4392-b5d3-ce62e8eb190e --es env12 LD_LIBRARY_PATH=/data/local/tmp/test_root/xpcb --es env11 MOZ_DISABLE_NONLOCAL_CONNECTIONS=1 --es env10 MOZ_DISABLE_SOCKET_PROCESS=1
[task 2021-04-22T13:47:56.599Z] 13:47:56     INFO -  remotexpcshelltests.py | Launched Test App PID=13532
[task 2021-04-22T13:47:57.039Z] 13:47:57     INFO -  remotexpcshelltests.py | Application ran for: 0:00:00.810169
[task 2021-04-22T13:47:57.154Z] 13:47:57  WARNING -  TEST-UNEXPECTED-FAIL | toolkit/components/utils/test/unit/test_ClientEnvironment.js | xpcshell return code: 0
[task 2021-04-22T13:47:57.154Z] 13:47:57     INFO -  TEST-INFO took 926ms
[task 2021-04-22T13:47:57.154Z] 13:47:57     INFO -  >>>>>>>
[task 2021-04-22T13:47:57.154Z] 13:47:57     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2021-04-22T13:47:57.154Z] 13:47:57     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2021-04-22T13:47:57.154Z] 13:47:57     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2021-04-22T13:47:57.154Z] 13:47:57     INFO -  running event loop
[task 2021-04-22T13:47:57.155Z] 13:47:57     INFO -  toolkit/components/utils/test/unit/test_ClientEnvironment.js | Starting
[task 2021-04-22T13:47:57.155Z] 13:47:57     INFO -  (xpcshell/head.js) | test pending (2)
[task 2021-04-22T13:47:57.155Z] 13:47:57     INFO -  TEST-PASS | toolkit/components/utils/test/unit/test_ClientEnvironment.js |  - OS data should be available in the context - true == true
[task 2021-04-22T13:47:57.155Z] 13:47:57     INFO -  TEST-PASS | toolkit/components/utils/test/unit/test_ClientEnvironment.js |  - At most one OS should match - true == true
[task 2021-04-22T13:47:57.155Z] 13:47:57     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2021-04-22T13:47:57.155Z] 13:47:57     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2021-04-22T13:47:57.155Z] 13:47:57     INFO -  (xpcshell/head.js) | test finished (2)
[task 2021-04-22T13:47:57.155Z] 13:47:57     INFO -  toolkit/components/utils/test/unit/test_ClientEnvironment.js | Starting
[task 2021-04-22T13:47:57.155Z] 13:47:57     INFO -  (xpcshell/head.js) | test pending (2)
[task 2021-04-22T13:47:57.155Z] 13:47:57     INFO -  TEST-PASS | toolkit/components/utils/test/unit/test_ClientEnvironment.js |  - Test environment does not have attribution data - "NS_ERROR_FILE_NOT_FOUND" == "NS_ERROR_FILE_NOT_FOUND"
[task 2021-04-22T13:47:57.155Z] 13:47:57     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2021-04-22T13:47:57.156Z] 13:47:57     INFO -  (xpcshell/head.js) | test run_next_test 2 pending (2)
[task 2021-04-22T13:47:57.156Z] 13:47:57     INFO -  (xpcshell/head.js) | test finished (2)
[task 2021-04-22T13:47:57.156Z] 13:47:57     INFO -  toolkit/components/utils/test/unit/test_ClientEnvironment.js | Starting testLiveTelemetry
[task 2021-04-22T13:47:57.156Z] 13:47:57     INFO -  (xpcshell/head.js) | test testLiveTelemetry pending (2)
[task 2021-04-22T13:47:57.156Z] 13:47:57     INFO -  (xpcshell/head.js) | test run_next_test 2 finished (2)
[task 2021-04-22T13:47:57.156Z] 13:47:57     INFO -  Unexpected exception TypeError: ClientEnvironmentBase.liveTelemetry.main is null at test_ClientEnvironment.js:96
[task 2021-04-22T13:47:57.156Z] 13:47:57     INFO -  testLiveTelemetry@test_ClientEnvironment.js:96:1
[task 2021-04-22T13:47:57.156Z] 13:47:57     INFO -  _do_main@/data/local/tmp/test_root/xpc/head.js:241:6
[task 2021-04-22T13:47:57.156Z] 13:47:57     INFO -  _execute_test@/data/local/tmp/test_root/xpc/head.js:598:5
[task 2021-04-22T13:47:57.156Z] 13:47:57     INFO -  @-e:1:1
[task 2021-04-22T13:47:57.156Z] 13:47:57     INFO -  exiting test
[task 2021-04-22T13:47:57.156Z] 13:47:57     INFO -  <<<<<<<```