Closed Bug 1619569 Opened 4 years ago Closed 4 years ago

Perma beta TEST-UNEXPECTED-FAIL | services/settings/test/unit/test_remote_settings.js | test_telemetry_reports_error_name_as_event_nightly - [test_telemetry_reports_error_name_as_event_nightly : 237] when Gecko 75 merges to Beta on 2020-03-09

Categories

(Firefox :: Remote Settings Client, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 75
Tracking Status
firefox-esr68 --- unaffected
firefox73 --- unaffected
firefox74 --- unaffected
firefox75 + verified

People

(Reporter: dluca, Assigned: leplatrem)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Trunk as beta:
https://treeherder.mozilla.org/#/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel%2Crunnable&revision=9dfc5f68457798584784b497b06724db7d408fe2&selectedJob=291415584

Log:

INFO -  TEST-START | services/settings/test/unit/test_remote_settings.js
[task 2020-03-03T11:35:14.505Z] 11:35:14  WARNING -  TEST-UNEXPECTED-FAIL | services/settings/test/unit/test_remote_settings.js | xpcshell return code: 0
[task 2020-03-03T11:35:14.505Z] 11:35:14     INFO -  TEST-INFO took 4393ms
[task 2020-03-03T11:35:14.505Z] 11:35:14     INFO -  >>>>>>>
[task 2020-03-03T11:35:14.506Z] 11:35:14     INFO -  PID 20017 | [20017, Main Thread] WARNING: Couldn't get the user appdata directory. Crash events may not be produced.: file /builds/worker/workspace/build/src/toolkit/crashreporter/nsExceptionHandler.cpp, line 2930
[task 2020-03-03T11:35:14.507Z] 11:35:14     INFO -  PID 20017 | [20017, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, kKnownEsrVersion) failed with result 0x80004002: file /builds/worker/workspace/build/src/toolkit/components/resistfingerprinting/nsRFPService.cpp, line 658
[task 2020-03-03T11:35:14.507Z] 11:35:14     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2020-03-03T11:35:14.508Z] 11:35:14     INFO -  PID 20017 | console.debug: services.settings:
[task 2020-03-03T11:35:14.508Z] 11:35:14     INFO -  PID 20017 |   Instantiated new client main/password-fields
[task 2020-03-03T11:35:14.508Z] 11:35:14     INFO -  PID 20017 | console.debug: services.settings:
[task 2020-03-03T11:35:14.509Z] 11:35:14     INFO -  PID 20017 |   Instantiated new client main/language-dictionaries
[task 2020-03-03T11:35:14.509Z] 11:35:14     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2020-03-03T11:35:14.510Z] 11:35:14     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2020-03-03T11:35:14.510Z] 11:35:14     INFO -  running event loop
[task 2020-03-03T11:35:14.511Z] 11:35:14     INFO -  services/settings/test/unit/test_remote_settings.js | Starting clear_state
[task 2020-03-03T11:35:14.511Z] 11:35:14     INFO -  (xpcshell/head.js) | test clear_state pending (2)
[task 2020-03-03T11:35:14.511Z] 11:35:14     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2020-03-03T11:35:14.512Z] 11:35:14     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2020-03-03T11:35:14.512Z] 11:35:14     INFO -  (xpcshell/head.js) | test clear_state finished (2)
[task 2020-03-03T11:35:14.513Z] 11:35:14     INFO -  services/settings/test/unit/test_remote_settings.js | Starting test_records_obtained_from_server_are_stored_in_db
[task 2020-03-03T11:35:14.513Z] 11:35:14     INFO -  (xpcshell/head.js) | test test_records_obtained_from_server_are_stored_in_db pending (2)
[task 2020-03-03T11:35:14.521Z] 11:35:14     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2020-03-03T11:35:14.521Z] 11:35:14     INFO -  PID 20017 | [20017, Main Thread] WARNING: Workers don't support the 'mem.mem.' preference!: file /builds/worker/workspace/build/src/dom/workers/RuntimeService.cpp, line 536
[task 2020-03-03T11:35:14.521Z] 11:35:14     INFO -  PID 20017 | console.warn: services.settings: Signature disabled on main/password-fields
[task 2020-03-03T11:35:14.522Z] 11:35:14     INFO -  PID 20017 | JavaScript strict warning: resource://services-common/kinto-http-client.js, line 1892: ReferenceError: reference to undefined property "initializer"
[task 2020-03-03T11:35:14.522Z] 11:35:14     INFO -  PID 20017 | JavaScript strict warning: resource://services-common/kinto-http-client.js, line 1201: ReferenceError: reference to undefined property "initializer"
[task 2020-03-03T11:35:14.522Z] 11:35:14     INFO -  PID 20017 | JavaScript strict warning: resource://services-common/kinto-http-client.js, line 327: ReferenceError: reference to undefined property "initializer"
[task 2020-03-03T11:35:14.522Z] 11:35:14     INFO -  PID 20017 | JavaScript strict warning: resource://services-common/kinto-http-client.js, line 534: ReferenceError: reference to undefined property "headers"
[task 2020-03-03T11:35:14.523Z] 11:35:14     INFO -  PID 20017 | JavaScript strict warning: resource://services-common/kinto-http-client.js, line 1252: ReferenceError: reference to undefined property "headers"
[task 2020-03-03T11:35:14.523Z] 11:35:14     INFO -  PID 20017 | JavaScript strict warning: resource://services-common/kinto-http-client.js, line 821: ReferenceError: reference to undefined property "body"
[task 2020-03-03T11:35:14.523Z] 11:35:14     INFO -  "CONSOLE_MESSAGE: (warn) [JavaScript Warning: "ReferenceError: reference to undefined property "initializer"" {file: "resource://services-common/kinto-http-client.js" line: 1892}]"
[task 2020-03-03T11:35:14.523Z] 11:35:14     INFO -  "CONSOLE_MESSAGE: (warn) [JavaScript Warning: "ReferenceError: reference to undefined property "initializer"" {file: "resource://services-common/kinto-http-client.js" line: 1201}]"
[task 2020-03-03T11:35:14.524Z] 11:35:14     INFO -  "CONSOLE_MESSAGE: (warn) [JavaScript Warning: "ReferenceError: reference to undefined property "initializer"" {file: "resource://services-common/kinto-http-client.js" line: 327}]"
[task 2020-03-03T11:35:14.524Z] 11:35:14     INFO -  "CONSOLE_MESSAGE: (warn) [JavaScript Warning: "ReferenceError: reference to undefined property "headers"" {file: "resource://services-common/kinto-http-client.js" line: 534}]"
[task 2020-03-03T11:35:14.524Z] 11:35:14     INFO -  "CONSOLE_MESSAGE: (warn) [JavaScript Warning: "ReferenceError: reference to undefined property "headers"" {file: "resource://services-common/kinto-http-client.js" line: 1252}]"
[task 2020-03-03T11:35:14.524Z] 11:35:14     INFO -  "CONSOLE_MESSAGE: (warn) [JavaScript Warning: "ReferenceError: reference to undefined property "body"" {file: "resource://services-common/kinto-http-client.js" line: 821}]"
[task 2020-03-03T11:35:14.525Z] 11:35:14     INFO -  [Exception... "Unexpected error"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: resource://testing-common/httpd.js :: finish :: line 3986"  data: no]
[task 2020-03-03T11:35:14.525Z] 11:35:14     INFO -  [Exception... "Unexpected error"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: resource://testing-common/httpd.js :: finish :: line 3986"  data: no]
[task 2020-03-03T11:35:14.525Z] 11:35:14     INFO -  PID 20017 | JavaScript strict warning: resource://services-common/kinto-offline-client.js, line 909: ReferenceError: reference to undefined property "9d500963-d80e-3a91-6e74-66f3811b99cc"
[task 2020-03-03T11:35:14.525Z] 11:35:14     INFO -  "CONSOLE_MESSAGE: (warn) [JavaScript Warning: "ReferenceError: reference to undefined property "9d500963-d80e-3a91-6e74-66f3811b99cc"" {file: "resource://services-common/kinto-offline-client.js" line: 909}]"
[task 2020-03-03T11:35:14.526Z] 11:35:14     INFO -  PID 20017 | console.debug: services.settings:
[task 2020-03-03T11:35:14.526Z] 11:35:14     INFO -  PID 20017 |   main/password-fields sync status is success
[task 2020-03-03T11:35:14.526Z] 11:35:14     INFO -  TEST-PASS | services/settings/test/unit/test_remote_settings.js | test_records_obtained_from_server_are_stored_in_db - [test_records_obtained_from_server_are_stored_in_db : 114] 1 == 1

Mathieu: Can you please take a look at this bug?

Flags: needinfo?(mathieu)

This line says it all: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=291415584&repo=try&lineNumber=4291

Expected key errorName must be in actual extra. Actual keys: [source,trigger,duration] but errorName is well listed in Events.yaml. https://hg.mozilla.org/mozilla-central/diff/2b2a9e7fafb08085bd584f042fc6f18624dbde97/toolkit/components/telemetry/Events.yaml

Would that be related to the way your merge/build?

I know there's been issues like https://bugzilla.mozilla.org/show_bug.cgi?id=1448945

Flags: needinfo?(mathieu)

That errorName only gets added for (real) Nightly builds: https://hg.mozilla.org/mozilla-central/rev/2b2a9e7fafb0#l1.78

Flags: needinfo?(mathieu)

That errorName only gets added for (real) Nightly builds: https://hg.mozilla.org/mozilla-central/rev/2b2a9e7fafb0#l1.78

Ok, this does not explain the warning about errorName being missing, but that would indeed explain the failing

Will submit a patch.

Flags: needinfo?(mathieu)

I'm trying to follow these instructions https://wiki.mozilla.org/Sheriffing/How_To/Beta_simulations#TRUNK_AS_EARLY_BETA
but it failing apparently...

./mach try release -v 75.0b1 --tasks release-sim --migration central-to-beta --no-push 
Error running mach:

    ['try', 'release', '-v', '75.0b1', '--tasks', 'release-sim', '--migration', 'central-to-beta', '--no-push']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

ValueError: No JSON object could be decoded

  File "/home/mathieu/Code/Mozilla/firefox/artifacts/tools/tryselect/mach_commands.py", line 425, in try_release
    return self.run(**kwargs)
  File "/home/mathieu/Code/Mozilla/firefox/artifacts/tools/tryselect/mach_commands.py", line 177, in run
    return mod.run(**kwargs)
  File "/home/mathieu/Code/Mozilla/firefox/artifacts/tools/tryselect/selectors/release.py", line 124, in run
    files_to_change=files_to_change,
  File "/home/mathieu/Code/Mozilla/firefox/artifacts/tools/tryselect/push.py", line 145, in push_to_try
    display_push_estimates(try_task_config)
  File "/home/mathieu/Code/Mozilla/firefox/artifacts/tools/tryselect/push.py", line 120, in display_push_estimates
    make_trimmed_taskgraph_cache(graph_cache, dep_cache, target_file=target_file)
  File "/home/mathieu/Code/Mozilla/firefox/artifacts/tools/tryselect/util/estimates.py", line 103, in make_trimmed_taskgraph_cache
    graph = json.load(f)
  File "/usr/lib/python2.7/json/__init__.py", line 291, in load
    **kw)
  File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
    raise ValueError("No JSON object could be decoded")

Do you have an easy way on your end to test the patch?

Thanks!

Assignee: nobody → mathieu

Does the command from comment 5 work for you now? According to the stack, the server didn't return valid JSON about when the Try push would complete.

Flags: needinfo?(mathieu)
Pushed by mleplatre@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/24de37f00d85
Fix Uptake events test on beta merge r=glasserc
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 75

I didn't try again the ./mach command... Will do next time I have a beta merge issue :)

Flags: needinfo?(mathieu)
Has Regression Range: --- → yes
Keywords: regression
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: