Closed Bug 1828619 Opened 1 year ago Closed 1 year ago

update flatpak docker image to 22.08

Categories

(Release Engineering :: General, task)

Tracking

(firefox114 fixed)

RESOLVED FIXED
Tracking Status
firefox114 --- fixed

People

(Reporter: jcristau, Assigned: jcristau)

References

Details

Attachments

(1 file)

Bug 1790766 attempted to do this when bumping the runtime but that part had to be reverted, we should try again.

https://treeherder.mozilla.org/jobs?repo=try&revision=337dcf4d9225ad4b474530f47d53a7de41ba0ea0&selectedTaskRun=fYKFcwmDSRmiKmwzMQw8Gg.0 failed with:

+ flatpak build-finish build --share=ipc --share=network --env=GTK_PATH=/app/lib/gtkmodules --socket=pulseaudio --socket=wayland --socket=x11 --socket=pcsc --socket=cups --require-version=0.11.1 --persist=.mozilla --filesystem=xdg-download:rw --device=all --talk-name=org.freedesktop.FileManager1 --system-talk-name=org.freedesktop.NetworkManager --talk-name=org.a11y.Bus --talk-name=org.gnome.SessionManager --talk-name=org.freedesktop.ScreenSaver '--talk-name=org.gtk.vfs.*' --talk-name=org.freedesktop.Notifications '--own-name=org.mpris.MediaPlayer2.firefox.*' '--own-name=org.mozilla.firefox.*' '--own-name=org.mozilla.firefox_beta.*' --command=firefox
Exporting share/applications/org.mozilla.firefox.desktop
Exporting share/icons/hicolor/48x48/apps/org.mozilla.firefox.png
Exporting share/icons/hicolor/32x32/apps/org.mozilla.firefox.png
Exporting share/icons/hicolor/16x16/apps/org.mozilla.firefox.png
Exporting share/icons/hicolor/64x64/apps/org.mozilla.firefox.png
Exporting share/icons/hicolor/128x128/apps/org.mozilla.firefox.png
Exporting share/appdata/org.mozilla.firefox.appdata.xml
Please review the exported files and the metadata
+ flatpak build-export --disable-sandbox --no-update-summary '--exclude=/share/runtime/langpack/*/*' repo build beta
WARNING: Error running desktop-file-validate: Failed to close file descriptor for child process (Operation not permitted)
error: Failed to close file descriptor for child process (Operation not permitted)
[taskcluster 2023-04-18 14:32:58.907Z] === Task Finished ===
[taskcluster 2023-04-18 14:32:58.953Z] Unsuccessful task run with exit code: 1 completed in 57.379 seconds

flatpak is calling close_range after forking and before executing desktop-file-validate, and getting EPERM, presumably due to the docker sandbox:
[pid 152] close_range(4, 4294967295, 0) = -1 EPERM (Operation not permitted)
Newer docker on the host would presumably fix that, or we could LD_PRELOAD our way out for now by making it return ENOSYS instead.

Assignee: nobody → jcristau
Attachment #9329431 - Attachment description: Bug 1828619 - update base docker image for flatpak repackage → Bug 1828619 - update base docker image for flatpak repackage. r?#releng
Status: NEW → ASSIGNED
Pushed by jcristau@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d2fe5153bff6
update base docker image for flatpak repackage. r=releng-reviewers,bhearsum DONTBUILD
See Also: → 1829223
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: