Artifact builds on git backed try pushes stall for 30 minutes or more in download_wpt_manifest
Categories
(Testing :: web-platform-tests, defect)
Tracking
(firefox-esr115 unaffected, firefox-esr153 unaffected, firefox159 unaffected, firefox160 wontfix, firefox161 wontfix, firefox162 fixed)
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr153 | --- | unaffected |
| firefox159 | --- | unaffected |
| firefox160 | --- | wontfix |
| firefox161 | --- | wontfix |
| firefox162 | --- | fixed |
People
(Reporter: ahochheiden, Assigned: ahochheiden)
References
(Regression)
Details
(Keywords: regression)
Attachments
(4 external files)
On git backed try pushes, Android artifact builds spend 30 to 40 minutes in download_wpt_manifest during package-tests, often long enough for mozharness to kill the build:
Automation Error: mozharness timed out after 2400 seconds running [..., 'mach', '--log-no-times', 'build', '-v']
Example: https://firefox-ci-tc.services.mozilla.com/tasks/QCtxH69xTTel_P68IWnGMw
The artifact install deepens the shallow clone with git fetch --deepen=500 --filter=tree:0, so the clone has no trees. get_commits then runs a path limited git log, and git fetches every missing tree from GitHub one at a time:
https://searchfox.org/firefox-main/rev/2b71df5bf2e07525d1129be46e0ee02ec70d34d8/testing/web-platform/manifestdownload.py#31-44
Workaround: push with GIT_BACKING_ENABLED=0.
Comment 1•22 days ago
|
||
Set release status flags based on info from the regressing bug 2082597
| Assignee | ||
Comment 2•22 days ago
|
||
Differences defined __nonzero__, which Python 3 ignores, so tests
deleted from the current metadata came back whenever the new metadata
left them unchanged. test_metamerge.py would have caught this, but it
has never run in CI.
| Assignee | ||
Comment 3•22 days ago
|
||
The wpt Python unit tests were registered in
testing/web-platform/moz.build, which is only read when a build
enables tests. The source-test tasks run mach python-test without a
build, so these tests never ran. testing/moz.build is always read, so
they are registered there now. The mozbase tasks also run when the
Python files in testing/web-platform change.
| Assignee | ||
Comment 4•22 days ago
|
||
Both kept their own list of the mozilla-central, autoland and ESR trees,
so every new ESR had to be added in two places.
| Assignee | ||
Comment 5•22 days ago
|
||
On git checkouts the commit specific wpt manifest lookup never worked,
because it sent git SHAs to the hg.mozilla.org pushlog (json-pushes),
which only knows Mercurial changesets. Collecting those SHAs with a
git log limited to the wpt test directories also stalled git backed
try artifact builds for 30 minutes or more. Filtering by path needs
each commit's tree, and the deepened history has none, so git
downloaded the trees one at a time.
Git checkouts now look up the 20 most recent commits from
git rev-list directly in the taskcluster index, which is keyed by git
SHA, and use the first match. git rev-list needs no trees. Only
pushes that change the wpt tests are indexed, but the manifest does not
change in between, so the first match is usually the right manifest.
With no match, the latest manifest is used as before.
Index requests now go through get_root_url(), which uses the
taskcluster proxy in CI, and every request now has a 30 second connect
and read timeout.
Updated•22 days ago
|
Comment 6•20 days ago
|
||
Set release status flags based on info from the regressing bug 2082597
Comment 9•20 days ago
|
||
Backed out for causing SM failures @ testing/web-platform/python.toml
Backout link: https://hg.mozilla.org/integration/autoland/rev/3b94b6cc3d089596e1ffe71f010ef593134da5fa
| Assignee | ||
Updated•20 days ago
|
| Assignee | ||
Comment 10•20 days ago
|
||
Will fix, sorry.
Comment 11•16 days ago
|
||
Comment 12•16 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/3bb6cb0d2d93
https://hg.mozilla.org/mozilla-central/rev/5de18ab433fc
https://hg.mozilla.org/mozilla-central/rev/f6299d6c2df5
https://hg.mozilla.org/mozilla-central/rev/d519be4c8b57
Comment 13•16 days ago
|
||
The patch landed in nightly and beta is affected.
:ahochheiden, please make an uplift decision for beta:
- For beta, nominate the patch for beta uplift approval if the fix should be included in this release, or set
status-firefox161towontfixif the fix can wait for the next release.
Uplift requests can be submitted from Lando: D339402, D339403, D339404, D339405.
See Requesting an Uplift for documentation on how to request an uplift.
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 14•15 days ago
|
||
I don't think an uplift is necessary. Very niche scenario.
Description
•