Permafailing Linux snap build: 'override-build' in part 'firefox' failed with code 1 after No file to patch. Skipping patch on different files
Categories
(Firefox Build System :: Third Party Packaging, defect)
Tracking
(firefox-esr115 unaffected, firefox121 unaffected, firefox122 unaffected, firefox123 fixed)
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox121 | --- | unaffected |
firefox122 | --- | unaffected |
firefox123 | --- | fixed |
People
(Reporter: nataliaCs, Assigned: gerard-majax)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(1 file)
-
Failure log example: https://treeherder.mozilla.org/logviewer?job_id=440778927&repo=mozilla-central
[task 2023-12-20T00:30:43.620Z] :: Applying patch /builds/worker/firefox-snap/patches/native-messaging-portal.patch
[task 2023-12-20T00:30:43.620Z] :: patching file modules/libpref/init/StaticPrefList.yaml
[task 2023-12-20T00:30:43.620Z] :: Hunk #1 succeeded at 15709 (offset 175 lines).
[task 2023-12-20T00:30:43.620Z] :: patching file python/mozbuild/mozbuild/mozinfo.py
[task 2023-12-20T00:30:43.620Z] :: Hunk #1 succeeded at 151 with fuzz 2 (offset 5 lines).
[task 2023-12-20T00:30:43.620Z] :: patching file testing/mozharness/configs/unittests/linux_unittest.py
[task 2023-12-20T00:30:43.620Z] :: Hunk #1 succeeded at 34 (offset 1 line).
[task 2023-12-20T00:30:43.620Z] :: patching file toolkit/components/extensions/NativeMessaging.sys.mjs
[task 2023-12-20T00:30:43.620Z] :: Hunk #3 succeeded at 132 (offset 3 lines).
[task 2023-12-20T00:30:43.620Z] :: Hunk #4 succeeded at 356 (offset 3 lines).
[task 2023-12-20T00:30:43.620Z] :: patching file toolkit/components/extensions/NativeMessagingPortal.h
[task 2023-12-20T00:30:43.620Z] :: patching file toolkit/components/extensions/NativeMessagingPortal.cpp
[task 2023-12-20T00:30:43.620Z] :: patching file toolkit/components/extensions/components.conf
[task 2023-12-20T00:30:43.620Z] :: patching file toolkit/components/extensions/moz.build
[task 2023-12-20T00:30:43.620Z] :: Hunk #1 succeeded at 76 (offset -1 lines).
[task 2023-12-20T00:30:43.620Z] :: Hunk #2 succeeded at 103 (offset -1 lines).
[task 2023-12-20T00:30:43.620Z] :: patching file toolkit/components/extensions/nsINativeMessagingPortal.idl
[task 2023-12-20T00:30:43.620Z] :: can't find file to patch at input line 967
[task 2023-12-20T00:30:43.620Z] :: Perhaps you used the wrong -p or --strip option?
[task 2023-12-20T00:30:43.620Z] :: The text leading up to this was:
[task 2023-12-20T00:30:43.620Z] :: --------------------------
[task 2023-12-20T00:30:43.620Z] :: |--- a/toolkit/components/extensions/test/xpcshell/native_messaging.ini
[task 2023-12-20T00:30:43.620Z] :: |+++ b/toolkit/components/extensions/test/xpcshell/native_messaging.ini
[task 2023-12-20T00:30:43.620Z] :: --------------------------
[task 2023-12-20T00:30:43.620Z] :: No file to patch. Skipping patch.
[task 2023-12-20T00:30:43.620Z] :: 1 out of 1 hunk ignored
[task 2023-12-20T00:30:43.620Z] :: patching file toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_portal.js
[task 2023-12-20T00:30:43.620Z] :: patching file toolkit/modules/subprocess/Subprocess.sys.mjs
[task 2023-12-20T00:30:43.620Z] :: patching file toolkit/modules/subprocess/subprocess_common.sys.mjs
[task 2023-12-20T00:30:43.620Z] :: patching file toolkit/modules/subprocess/subprocess_unix.sys.mjs
[task 2023-12-20T00:30:43.620Z] :: patching file toolkit/modules/subprocess/subprocess_win.sys.mjs
[task 2023-12-20T00:30:43.620Z] :: Hunk #1 succeeded at 168 (offset -5 lines).
[task 2023-12-20T00:30:43.620Z] :: patching file toolkit/modules/subprocess/subprocess_worker_common.js
[task 2023-12-20T00:30:43.620Z] :: can't find file to patch at input line 1534
[task 2023-12-20T00:30:43.620Z] :: Perhaps you used the wrong -p or --strip option?
[task 2023-12-20T00:30:43.620Z] :: The text leading up to this was:
[task 2023-12-20T00:30:43.620Z] :: --------------------------
[task 2023-12-20T00:30:43.620Z] :: |--- a/toolkit/modules/subprocess/subprocess_worker_unix.js
[task 2023-12-20T00:30:43.620Z] :: |+++ b/toolkit/modules/subprocess/subprocess_worker_unix.js
[task 2023-12-20T00:30:43.620Z] :: --------------------------
[task 2023-12-20T00:30:43.620Z] :: No file to patch. Skipping patch.
[task 2023-12-20T00:30:43.620Z] :: 3 out of 3 hunks ignored
[task 2023-12-20T00:30:43.620Z] :: can't find file to patch at input line 1581
[task 2023-12-20T00:30:43.620Z] :: Perhaps you used the wrong -p or --strip option?
[task 2023-12-20T00:30:43.620Z] :: The text leading up to this was:
[task 2023-12-20T00:30:43.620Z] :: --------------------------
[task 2023-12-20T00:30:43.620Z] :: |--- a/toolkit/modules/subprocess/subprocess_worker_win.js
[task 2023-12-20T00:30:43.620Z] :: |+++ b/toolkit/modules/subprocess/subprocess_worker_win.js
[task 2023-12-20T00:30:43.620Z] :: --------------------------
[task 2023-12-20T00:30:43.620Z] :: No file to patch. Skipping patch.
[task 2023-12-20T00:30:43.620Z] :: 1 out of 1 hunk ignored
[task 2023-12-20T00:30:43.620Z] :: patching file toolkit/modules/subprocess/test/xpcshell/test_subprocess.js
[task 2023-12-20T00:30:43.620Z] :: patching file widget/gtk/WidgetUtilsGtk.h
[task 2023-12-20T00:30:43.620Z] :: Hunk #1 succeeded at 54 (offset 1 line).
[task 2023-12-20T00:30:43.620Z] :: patching file widget/gtk/WidgetUtilsGtk.cpp
[task 2023-12-20T00:30:43.620Z] :: Patch /builds/worker/firefox-snap/patches/native-messaging-portal.patch does not apply (enforce with -f)
[task 2023-12-20T00:30:43.620Z] 'override-build' in part 'firefox' failed with code 1.
[task 2023-12-20T00:30:43.620Z] Review the scriptlet and make sure it's correct.
[task 2023-12-20T00:30:43.620Z] Full execution log: '/builds/worker/.local/state/snapcraft/log/snapcraft-20231220-000750.414582.log'
[taskcluster 2023-12-20 00:30:53.960Z] === Task Finished ===
[taskcluster 2023-12-20 00:30:54.281Z] Unsuccessful task run with exit code: 1 completed in 1551.928 seconds
Mike, can you take a look at this?
Thank you.
Reporter | ||
Updated•6 months ago
|
Comment 1•6 months ago
|
||
This comes from an upstream patch.
Assignee | ||
Comment 2•6 months ago
|
||
Looks like the beta branch needs to be updated as well now. I suspect we'll start seeing PGO failures on beta after this ?
Assignee | ||
Comment 3•6 months ago
|
||
Ok, I see the patches have been updated (and PGO disabled): https://github.com/canonical/firefox-snap/commits/beta
Comment hidden (Intermittent Failures Robot) |
Comment 5•6 months ago
|
||
Latest log looks something like this:
[task 2023-12-30T00:13:51.198Z] :: patching file python/mozbuild/mozbuild/mozinfo.py
[task 2023-12-30T00:13:51.198Z] :: patching file python/sites/xpcshell-test.txt
[task 2023-12-30T00:13:51.198Z] :: patching file testing/mozharness/configs/unittests/linux_unittest.py
[task 2023-12-30T00:13:51.198Z] :: patching file testing/xpcshell/mach_commands.py
[task 2023-12-30T00:13:51.198Z] :: patching file toolkit/components/extensions/NativeManifests.sys.mjs
[task 2023-12-30T00:13:51.198Z] :: patching file toolkit/components/extensions/NativeMessaging.sys.mjs
[task 2023-12-30T00:13:51.198Z] :: Hunk #3 FAILED at 48.
[task 2023-12-30T00:13:51.198Z] :: Hunk #4 succeeded at 74 (offset 8 lines).
[task 2023-12-30T00:13:51.198Z] :: Hunk #5 succeeded at 93 (offset 8 lines).
[task 2023-12-30T00:13:51.198Z] :: Hunk #6 succeeded at 142 (offset 8 lines).
[task 2023-12-30T00:13:51.198Z] :: Hunk #7 succeeded at 379 (offset 8 lines).
[task 2023-12-30T00:13:51.198Z] :: 1 out of 7 hunks FAILED -- rejects in file toolkit/components/extensions/NativeMessaging.sys.mjs
[task 2023-12-30T00:13:51.198Z] :: patching file toolkit/components/extensions/NativeMessagingPortal.cpp
[task 2023-12-30T00:13:51.199Z] :: patching file toolkit/components/extensions/NativeMessagingPortal.h
[task 2023-12-30T00:13:51.199Z] :: patching file toolkit/components/extensions/components.conf
[task 2023-12-30T00:13:51.199Z] :: patching file toolkit/components/extensions/docs/native-messaging-portal-design.rst
[task 2023-12-30T00:13:51.199Z] :: patching file toolkit/components/extensions/moz.build
[task 2023-12-30T00:13:51.199Z] :: patching file toolkit/components/extensions/nsINativeMessagingPortal.idl
[task 2023-12-30T00:13:51.199Z] :: patching file toolkit/components/extensions/test/xpcshell/native_messaging.toml
[task 2023-12-30T00:13:51.199Z] :: patching file toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_portal.js
[task 2023-12-30T00:13:51.199Z] :: patching file toolkit/components/extensions/test/xpcshell/test_native_manifests.js
[task 2023-12-30T00:13:51.199Z] :: patching file toolkit/modules/subprocess/Subprocess.sys.mjs
[task 2023-12-30T00:13:51.199Z] :: patching file toolkit/modules/subprocess/subprocess_common.sys.mjs
[task 2023-12-30T00:13:51.199Z] :: patching file toolkit/modules/subprocess/subprocess_unix.sys.mjs
[task 2023-12-30T00:13:51.199Z] :: patching file toolkit/modules/subprocess/subprocess_unix.worker.js
[task 2023-12-30T00:13:51.199Z] :: patching file toolkit/modules/subprocess/subprocess_win.sys.mjs
[task 2023-12-30T00:13:51.199Z] :: patching file toolkit/modules/subprocess/subprocess_win.worker.js
[task 2023-12-30T00:13:51.199Z] :: patching file toolkit/modules/subprocess/subprocess_worker_common.js
[task 2023-12-30T00:13:51.199Z] :: patching file toolkit/modules/subprocess/test/xpcshell/test_subprocess.js
[task 2023-12-30T00:13:51.199Z] :: patching file widget/gtk/WidgetUtilsGtk.cpp
[task 2023-12-30T00:13:51.199Z] :: patching file widget/gtk/WidgetUtilsGtk.h
[task 2023-12-30T00:13:51.199Z] :: Patch /builds/worker/firefox-snap/patches/native-messaging-portal.patch does not apply (enforce with -f)
[task 2023-12-30T00:13:51.199Z] 'override-pull' in part 'firefox' failed with code 1.
[task 2023-12-30T00:13:51.199Z] Review the scriptlet and make sure it's correct.
[task 2023-12-30T00:13:51.199Z] Full execution log: '/builds/worker/.local/state/snapcraft/log/snapcraft-20231230-000905.681669.log'
[taskcluster 2023-12-30 00:13:58.139Z] === Task Finished ===
[taskcluster 2023-12-30 00:14:00.085Z] Unsuccessful task run with exit code: 1 completed in 447.7 seconds
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 7•6 months ago
|
||
So it looks like something made the upstream patch bitrot again and people are still on PTO
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 9•6 months ago
|
||
Assignee | ||
Updated•6 months ago
|
Comment 10•6 months ago
|
||
Set release status flags based on info from the regressing bug 1869678
Assignee | ||
Comment 11•6 months ago
|
||
Assignee | ||
Updated•6 months ago
|
Assignee | ||
Comment 12•6 months ago
|
||
upstream merged the pr, retriggers are green: https://treeherder.mozilla.org/jobs?repo=mozilla-central&searchStr=linux64-snap&revision=fa142c3f71b8a5f5e5781fe41471dc1528cecd75
Updated•6 months ago
|
Updated•6 months ago
|
Comment hidden (Intermittent Failures Robot) |
Description
•