Removing use of platform.ini from BuildID mismatch detection code
Categories
(Core :: IPC, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox128 | --- | fixed |
People
(Reporter: gerard-majax, Assigned: gerard-majax)
References
Details
Attachments
(8 files, 4 obsolete files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
We introduced it in bug 1651133, but this is not cool and it looks like we still need to do this. I have some code that is able to read it from a binary's dedicated section which would allow us to rely on this
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
Depends on D199658
| Assignee | ||
Comment 3•2 years ago
|
||
Depends on D199709
| Assignee | ||
Comment 4•2 years ago
|
||
Depends on D199710
| Assignee | ||
Comment 5•2 years ago
|
||
This reverts commit a70f59c7d9da728a355a38dd4dbbd33d5730d442.
Depends on D199711
| Assignee | ||
Comment 6•2 years ago
|
||
Depends on D199853
| Assignee | ||
Comment 7•1 year ago
|
||
Unfortunately, I dont see how we can keep some of the telemetry tests that were relying on changing platform.ini content, doing the same with libxul sounds much more complicated.
| Assignee | ||
Comment 8•1 year ago
|
||
Removing tests because we cannot change platform.ini file anymore
Depends on D201381
| Assignee | ||
Comment 9•1 year ago
|
||
Depends on D199710
| Assignee | ||
Comment 10•1 year ago
|
||
Depends on D203736
| Assignee | ||
Comment 11•1 year ago
|
||
Depends on D199710
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 12•1 year ago
|
||
Depends on D199658
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 13•1 year ago
|
||
Depends on D207960
Comment 14•1 year ago
|
||
Comment 15•1 year ago
|
||
Backed out for causing multiple failures.
| Assignee | ||
Comment 16•1 year ago
|
||
that makes no sense to me, especially the android failures, the code is not used there
| Assignee | ||
Comment 17•1 year ago
|
||
(In reply to :gerard-majax from comment #16)
that makes no sense to me, especially the android failures, the code is not used there
ok so it's failing at https://searchfox.org/mozilla-central/rev/7a8904165618818f73ab7fc692ace4a57ecd38c9/toolkit/crashreporter/test/unit_ipc/test_content_annotation.js#26
Comment 18•1 year ago
|
||
Found that this also causes the following failures:
- bc failures
- another xpcshell job, example 1
- another xpcshell job, example 2
I hope this helps.
| Assignee | ||
Comment 19•1 year ago
|
||
Thanks, it indeed helped and it looks like my changes highlighted some subtile bug in how we were processing crash annotations
I have a fix tested on try for that https://treeherder.mozilla.org/jobs?repo=try&revision=7dc71f8e5628f43a18b8c22d720d12165e01fb09 and it looks to be good (no more android gv unit failures for example)
Updated•1 year ago
|
Comment 20•1 year ago
|
||
Comment 21•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/c75ebb5f3a80
https://hg.mozilla.org/mozilla-central/rev/115753252616
https://hg.mozilla.org/mozilla-central/rev/55cc3acc9297
https://hg.mozilla.org/mozilla-central/rev/0b07a6f1beac
https://hg.mozilla.org/mozilla-central/rev/6d978847d7dd
https://hg.mozilla.org/mozilla-central/rev/2cd2cc626c44
https://hg.mozilla.org/mozilla-central/rev/9ac3a93622c8
Comment 22•1 year ago
|
||
Backed out for causing gtest failures related to BuildIDReader.ReadFromRealLib.
- Backout link
- Push with failures
- Failure Log link
- Failure log:
[task 2024-05-31T01:06:24.049Z] 01:06:24 INFO - TEST-START | BuildIDReader.ReadFromRealLib
[task 2024-05-31T01:06:24.049Z] 01:06:24 INFO - [ERROR buildid_reader::reader] BuildIdReader::read_string_build_id failed to read raw build id with error NS_ERROR_NOT_AVAILABLE
[task 2024-05-31T01:06:24.050Z] 01:06:24 INFO - [ERROR buildid_reader] read_toolkit_buildid_from_file failed to read string buiild id from note ".note.moz.toolkit-build-id" with error NS_ERROR_NOT_AVAILABLE
[task 2024-05-31T01:06:24.051Z] 01:06:24 WARNING - TEST-UNEXPECTED-FAIL | BuildIDReader.ReadFromRealLib | Value of: ((bool)(__builtin_expect(!!(!NS_FAILED_impl(rv)), 1)))
[task 2024-05-31T01:06:24.051Z] 01:06:24 INFO - Actual: false
[task 2024-05-31T01:06:24.051Z] 01:06:24 INFO - Expected: true
[task 2024-05-31T01:06:24.051Z] 01:06:24 INFO - Error reading from libxul.so: 80040111
[task 2024-05-31T01:06:24.052Z] 01:06:24 INFO - @ /builds/worker/checkouts/gecko/toolkit/library/gtest/TestBuildIDReader.cpp:153
[task 2024-05-31T01:06:24.052Z] 01:06:24 WARNING - TEST-UNEXPECTED-FAIL | BuildIDReader.ReadFromRealLib | test completed (time: 0ms)
[task 2024-05-31T01:06:24.052Z] 01:06:24 INFO - TEST-START | BuildIDReader.ReadFromNSAppRunner
[task 2024-05-31T01:06:24.052Z] 01:06:24 INFO - [ERROR buildid_reader::reader] BuildIdReader::read_string_build_id failed to read raw build id with error NS_ERROR_NOT_AVAILABLE
[task 2024-05-31T01:06:24.052Z] 01:06:24 INFO - [ERROR buildid_reader] read_toolkit_buildid_from_file failed to read string buiild id from note ".note.moz.toolkit-build-id" with error NS_ERROR_NOT_AVAILABLE
[task 2024-05-31T01:06:24.052Z] 01:06:24 WARNING - TEST-UNEXPECTED-FAIL | BuildIDReader.ReadFromNSAppRunner | Value of: ((bool)(__builtin_expect(!!(!NS_FAILED_impl(rv)), 1)))
[task 2024-05-31T01:06:24.052Z] 01:06:24 INFO - Actual: false
[task 2024-05-31T01:06:24.052Z] 01:06:24 INFO - Expected: true
[task 2024-05-31T01:06:24.052Z] 01:06:24 INFO - Error reading from libxul.so: 80040111
[task 2024-05-31T01:06:24.052Z] 01:06:24 INFO - @ /builds/worker/checkouts/gecko/toolkit/library/gtest/TestBuildIDReader.cpp:170
[task 2024-05-31T01:06:24.052Z] 01:06:24 WARNING - TEST-UNEXPECTED-FAIL | BuildIDReader.ReadFromNSAppRunner | test completed (time: 0ms)
[task 2024-05-31T01:06:24.052Z] 01:06:24 INFO - TEST-START | PHC.TestPHCAllocations
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 23•1 year ago
|
||
Hello, backout merged to central link
| Assignee | ||
Updated•1 year ago
|
Comment 24•1 year ago
|
||
Comment 25•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/4747f50c91bb
https://hg.mozilla.org/mozilla-central/rev/daebbff95c49
https://hg.mozilla.org/mozilla-central/rev/2b56abfce097
https://hg.mozilla.org/mozilla-central/rev/e56673df749c
https://hg.mozilla.org/mozilla-central/rev/dd6f8d15a5b4
https://hg.mozilla.org/mozilla-central/rev/335f1af9e115
https://hg.mozilla.org/mozilla-central/rev/82bfb0e9296e
Updated•1 year ago
|
Description
•