systemd: fix test-execute autotest failure with kernel 5.15 in focal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
test-execute autotest is failing in focal with kernel 5.15. This is because the following kernel commit changed the ABI for ioprio:
e70344c05995 ("block: fix default IO priority handling")
Previously setting IOPRIO_CLASS_NONE for a process would report IOPRIO_CLASS_NONE back. But starting with 5.15 it reports IOPRIO_CLASS_BE instead.
[Test case]
Run systemd autopkgtest and check for the test-execute result.
[Fix]
Change test/test-
This change is already available in jammy and above.
[Regression potential]
We may see regressions in systemd autopkgtest, we won't introduce any potential regressions in systemd itself, because this is only affecting the specific unit test.
Related branches
- Canonical Foundations Team: Pending requested
-
Diff: 396 lines (+331/-1)8 files modifieddebian/changelog (+21/-0)
debian/patches/lp1945225/0001-udev-net_id-parse-_SUN-ACPI-index-as-a-signed-intege.patch (+47/-0)
debian/patches/lp1945225/0002-udev-net_id-don-t-generate-slot-based-names-if-multi.patch (+126/-0)
debian/patches/lp1945225/0003-net_id-fix-newly-added-naming-scheme-name.patch (+65/-0)
debian/patches/lp1945225/0004-Add-remaining-supported-schemes-as-options-for-defau.patch (+25/-0)
debian/patches/series (+5/-0)
debian/patches/test-make-test-execute-pass-on-Linux-5.15.patch (+40/-0)
debian/rules (+2/-1)
- git-ubuntu import: Pending requested
-
Diff: 11294 lines (+10313/-0) (has conflicts)134 files modifieddebian/changelog (+489/-0)
debian/extra/dhclient-enter-resolved-hook (+12/-0)
debian/extra/initramfs-tools/hooks/udev (+6/-0)
debian/extra/rules-ubuntu/40-vm-hotadd.rules (+7/-0)
debian/patches/CVE-2020-13529.patch (+36/-0)
debian/patches/CVE-2021-33910.patch (+61/-0)
debian/patches/CVE-2021-3997-1.patch (+62/-0)
debian/patches/CVE-2021-3997-2.patch (+98/-0)
debian/patches/CVE-2021-3997-3.patch (+262/-0)
debian/patches/debian/UBUNTU-Fix-timezone-setting-on-read-only-etc.patch (+28/-0)
debian/patches/debian/timedatectl-lp1650688.patch (+53/-0)
debian/patches/hwdb-Add-mic-mute-key-mapping-for-HP-Elite-x360.patch (+26/-0)
debian/patches/hwdb-Mask-rfkill-event-from-intel-hid-on-HP-platforms.patch (+27/-0)
debian/patches/lp1664844/0001-network-add-ActivationPolicy-configuration-parameter.patch (+344/-0)
debian/patches/lp1664844/0002-test-add-ActivationPolicy-unit-tests.patch (+121/-0)
debian/patches/lp1664844/0003-save-link-activation-policy-to-state-file-and-displa.patch (+110/-0)
debian/patches/lp1785383-resolved-address-DVE-2018-0001.patch (+161/-0)
debian/patches/lp1838329/0001-blockdev-propagate-one-more-unexpected-error.patch (+28/-0)
debian/patches/lp1838329/0002-makefs-log-about-OOM-condition.patch (+33/-0)
debian/patches/lp1838329/0003-dissect-use-log_debug_errno-where-appropriate.patch (+33/-0)
debian/patches/lp1838329/0004-blockdev-add-helper-for-locking-whole-block-device.patch (+67/-0)
debian/patches/lp1838329/0005-makefs-lock-device-while-we-operate.patch (+57/-0)
debian/patches/lp1838329/0006-makefs-normalize-logging-a-bit.patch (+39/-0)
debian/patches/lp1838329/0007-cryptsetup-generator-use-systemd-makefs-for-implemen.patch (+45/-0)
debian/patches/lp1858210/0001-time-simplify-get_timezones.patch (+104/-0)
debian/patches/lp1858210/0002-time-split-get_timezone-into-main-function-and-zone1.patch (+102/-0)
debian/patches/lp1858210/0003-time-get-timezones-from-tzdata.zi.patch (+90/-0)
debian/patches/lp1860926-network-Change-IgnoreCarrierLoss-default-to-value-of.patch (+75/-0)
debian/patches/lp1861941-dont-generate-disk-byuuid-for-bcache-uuid.patch (+54/-0)
debian/patches/lp1867375/0001-network-add-a-flag-to-ignore-gateway-provided-by-DHC.patch (+97/-0)
debian/patches/lp1867375/0002-test-network-add-a-test-case-for-DHCPv4.UseGateway-n.patch (+56/-0)
debian/patches/lp1867375/0003-network-change-UseGateway-default-to-UseRoutes-setti.patch (+77/-0)
debian/patches/lp1867375/0004-test-modify-add-tests-for-UseRoutes-and-UseGateway-c.patch (+187/-0)
debian/patches/lp1867375/0005-network-honor-SetDNSRoutes-even-if-UseGateway-False.patch (+162/-0)
debian/patches/lp1867375/0006-test-verify-RoutesToDNS-is-independent-of-UseGateway.patch (+74/-0)
debian/patches/lp1873607/0001-core-some-minor-clean-ups-modernizations.patch (+56/-0)
debian/patches/lp1873607/0002-core-make-sure-to-restore-the-control-command-id-too.patch (+33/-0)
debian/patches/lp1875708/journald-Increase-stdout-buffer-size-sooner-when-almost-f.patch (+28/-0)
debian/patches/lp1875708/journald-rework-end-of-line-marker-handling-to-use-a-fiel.patch (+73/-0)
debian/patches/lp1875708/journald-rework-pid-change-handling.patch (+218/-0)
debian/patches/lp1875708/journald-use-log_warning_errno-where-appropriate.patch (+37/-0)
debian/patches/lp1875708/journald-use-the-fact-that-client_context_release-returns.patch (+23/-0)
debian/patches/lp1875708/man-document-the-new-_LINE_BREAK-type.patch (+39/-0)
debian/patches/lp1875708/socket-util-introduce-type-safe-dereferencing-wrapper-CMS.patch (+198/-0)
debian/patches/lp1875708/test-Add-a-test-case-for-15654.patch (+28/-0)
debian/patches/lp1878969-meson-initialize-time-epoch-to-reproducible-builds-compat.patch (+61/-0)
debian/patches/lp1882596-man-fix-some-manvolnum.patch (+267/-0)
debian/patches/lp1887744-basic-unit-file-when-loading-linked-unit-files-use-l.patch (+92/-0)
debian/patches/lp1890448-hwdb-Add-EliteBook-to-use-micmute-hotkey.patch (+32/-0)
debian/patches/lp1891215/0001-fs-util-add-conservative_rename-that-suppresses-unne.patch (+184/-0)
debian/patches/lp1891215/0002-resolved-don-t-update-resolv.conf-snippets-unnecessa.patch (+46/-0)
debian/patches/lp1891215/0003-fs-util-rename-conservative_rename-conservative_rena.patch (+104/-0)
debian/patches/lp1891215/0004-fs-util-make-sure-conservative_renameat-properly-det.patch (+62/-0)
debian/patches/lp1891810-seccomp-util-add-new-syscalls-from-kernel-5.6-to-sys.patch (+31/-0)
debian/patches/lp1894622-Add-systemd-resolve-backwards-compatibility-section-.patch (+54/-0)
debian/patches/lp1895418-correct-resolved-conf-cache-default.patch (+18/-0)
debian/patches/lp1897744-resolve-enable-RES_TRUSTAD-towards-the-127.0.0.53-st.patch (+36/-0)
debian/patches/lp1902236-nss-systemd-don-t-synthesize-root-nobody-when-iterat.patch (+39/-0)
debian/patches/lp1902891-core-mount-mount-command-may-fail-after-adding-the-c.patch (+32/-0)
debian/patches/lp1902960-udev-re-assign-ID_NET_DRIVER-ID_NET_LINK_FILE-ID_NET.patch (+84/-0)
debian/patches/lp1903300/0001-network-VXLan-fix-adding-Group-address.patch (+34/-0)
debian/patches/lp1903300/0002-network-VXLan-Add-support-for-remote-address.patch (+44/-0)
debian/patches/lp1903300/0003-networkctl-Add-support-to-display-VXLan-remote-addre.patch (+32/-0)
debian/patches/lp1905044-test-use-cap_last_cap-for-max-supported-cap-number-n.patch (+123/-0)
debian/patches/lp1905245/0001-basic-cap-list-parse-print-numerical-capabilities.patch (+92/-0)
debian/patches/lp1905245/0002-basic-capability-util-let-cap_last_cap-return-unsign.patch (+212/-0)
debian/patches/lp1905245/0003-basic-cap-list-reduce-scope-of-variables.patch (+68/-0)
debian/patches/lp1907306/0001-sd-dhcp-client-don-t-log-timeouts-if-already-expired.patch (+60/-0)
debian/patches/lp1907306/0002-sd-dhcp-client-track-dhcp4-t1-t2-expire-times.patch (+153/-0)
debian/patches/lp1907306/0003-sd-dhcp-client-add-RFC2131-retransmission-details.patch (+63/-0)
debian/patches/lp1907306/0004-sd-dhcp-client-simplify-dhcp4-t1-t2-parsing.patch (+126/-0)
debian/patches/lp1907306/0005-sd-dhcp-client-correct-dhcpv4-renew-rebind-retransmi.patch (+75/-0)
debian/patches/lp1907306/0006-sd-dhcp-client-correct-retransmission-timeout-to-mat.patch (+48/-0)
debian/patches/lp1907306/0007-test-network-increase-wait_online-timeout-to-handle-.patch (+35/-0)
debian/patches/lp1907306/0008-sd-dhcp-client-fix-renew-rebind-timeout-calculation-.patch (+27/-0)
debian/patches/lp1911187-systemctl-do-not-shutdown-immediately-on-scheduled-shutdo.patch (+43/-0)
debian/patches/lp1913189-test-accept-that-char-device-0-0-can-now-be-created-.patch (+61/-0)
debian/patches/lp1913423-hashmap-make-sure-to-initialize-shared-hash-key-atom.patch (+70/-0)
debian/patches/lp1913763-udev-rules-add-rule-to-create-dev-ptp_hyperv.patch (+22/-0)
debian/patches/lp1914740-network-enable-DHCP-broadcast-flag-if-required-by-in.patch (+148/-0)
debian/patches/lp1915887-Downgrade-a-couple-of-warnings-to-debug.patch (+60/-0)
debian/patches/lp1916485-Newer-Glibc-use-faccessat2-to-implement-faccessat.patch (+24/-0)
debian/patches/lp1918696-shared-seccomp-util-address-family-filtering-is-brok.patch (+71/-0)
debian/patches/lp1921696/0001-rfkill-improve-error-logging.patch (+121/-0)
debian/patches/lp1921696/0002-rfkill-use-short-writes-and-accept-long-reads.patch (+123/-0)
debian/patches/lp1926547-hwdb-60-keyboard-Update-Dell-Privacy-Micmute-Hotkey-.patch (+35/-0)
debian/patches/lp1928200/0001-shared-add-common-helper-for-unregistering-all-binfm.patch (+82/-0)
debian/patches/lp1928200/0002-shutdown-unregister-all-binfmt_misc-entries-before-e.patch (+36/-0)
debian/patches/lp1928200/0003-binfmt-modernize-code-a-bit.patch (+47/-0)
debian/patches/lp1928200/0004-binfmt-also-unregister-binfmt-entries-from-unit.patch (+120/-0)
debian/patches/lp1928200/0005-man-document-binfmt-s-new-unregister-switch.patch (+34/-0)
debian/patches/lp1929122-network-check-that-received-ifindex-is-valid.patch (+23/-0)
debian/patches/lp1929560-network-move-set-MAC-and-set-nomaster-operations-out.patch (+169/-0)
debian/patches/lp1930910-hwdb-Add-ProBook-to-use-micmute-hotkey.patch (+29/-0)
debian/patches/lp1931578/0001-network-default-RequiredForOnline-false-if-Activacti.patch (+108/-0)
debian/patches/lp1931578/0002-networkctl-add-field-Required-For-Online.patch (+30/-0)
debian/patches/lp1931578/0003-test-add-test-to-verify-RequiredForOnline-setting-wi.patch (+99/-0)
debian/patches/lp1932352-hwdb-Add-mic-mute-key-mapping-for-HP-Elite-Dragonfly.patch (+25/-0)
debian/patches/lp1933402-udev-Fix-SIGSEGV-in-AlternativeNamesPolicy-handling.patch (+26/-0)
debian/patches/lp1934147/0001-cgroup-do-catchup-for-unit-cgroup-inotify-watch-file.patch (+63/-0)
debian/patches/lp1934147/0002-core-Make-sure-cgroup_oom_queue-is-flushed-on-manage.patch (+56/-0)
debian/patches/lp1934221-resolved-disable-event-sources-before-unreffing-them.patch (+172/-0)
debian/patches/lp1934981-correct-suspend-then-sleep-string.patch (+19/-0)
debian/patches/lp1935051-shared-unit-file-make-sure-the-old-hashmaps-and-sets.patch (+153/-0)
debian/patches/lp1937117/0001-revert-lp1929560-network-move-set-MAC-and-set-nomaster-operations-out.patch (+151/-0)
debian/patches/lp1937117/0002-avoid-changing-interface-master-if-interface-already-up.patch (+21/-0)
debian/patches/lp1937238-util-return-the-correct-correct-wd-from-inotify-help.patch (+54/-0)
debian/patches/lp1943561-dell-clamshell-accel-location-base-with-sku.patch (+29/-0)
debian/patches/lp1944711-login-filenames-in-run-systemd-users-are-uids.patch (+51/-0)
debian/patches/lp1946388-sd-journal-don-t-check-namespaces-if-we-have-no-name.patch (+29/-0)
debian/patches/lp1948476-pid1-target-units-can-fail-through-dependencies.patch (+51/-0)
debian/patches/lp1952599/0001-virt-Support-detection-for-ARM64-Hyper-V-guests.patch (+24/-0)
debian/patches/lp1952599/0002-virt-Fix-the-detection-for-Hyper-V-VMs.patch (+35/-0)
debian/patches/lp1952733-hwdb-60-keyboard-Update-Dell-Privacy-Micmute-Hotkey-Map.patch (+23/-0)
debian/patches/lp1952735-keymap-Add-microphone-mute-keymap-for-Dell-Machine.patch (+19/-0)
debian/patches/lp1955997-add-a-allowlist-to-unblock-intel-hid-on-HP-mach.patch (+30/-0)
debian/patches/lp1958284-core-move-reset_arguments-to-the-end-of-main-s-finish.patch (+48/-0)
debian/patches/lp1959475-core-make-sure-we-don-t-get-confused-when-setting-TERM-fo.patch (+34/-0)
debian/patches/lp1966179-add-more-hp-dmi-to-unblock-intel-hid-event.patch (+64/-0)
debian/patches/lp1966800-shared-calendarspec-when-mktime-moves-us-backwards-jump-f.patch (+95/-0)
debian/patches/lp1978079-efi-pstore-not-cleared-on-boot.patch (+48/-0)
debian/patches/lp1979951-network-do-not-remove-localhost-address.patch (+69/-0)
debian/patches/lp1982462-units-remove-the-restart-limit-on-the-modprobe-.service.patch (+33/-0)
debian/patches/pid1-set-SYSTEMD_NSS_DYNAMIC_BYPASS-1-env-var-for-dbus-da.patch (+91/-0)
debian/patches/rm-rf-optionally-fsync-after-removing-directory-tree.patch (+33/-0)
debian/patches/rm-rf-refactor-rm-rf-children-split-out-body-of-directory.patch (+315/-0)
debian/patches/series (+134/-0)
debian/patches/test-make-test-execute-pass-on-Linux-5.15.patch (+40/-0)
debian/tests/boot-and-services (+19/-0)
debian/tests/boot-smoke (+27/-0)
debian/tests/control (+4/-0)
debian/tests/root-unittests (+11/-0)
debian/tests/systemd-fsckd (+306/-0)
debian/udev.postinst (+6/-0)
tags: | added: patch |
Changed in systemd (Ubuntu): | |
status: | New → Fix Released |
Changed in systemd (Ubuntu Focal): | |
status: | New → In Progress |
Changed in systemd (Ubuntu Focal): | |
importance: | Undecided → Medium |
This seems to fix the test failure.