Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_proc_cmdline_get_bool fails with -Defi=false #14116

Closed
floppym opened this issue Nov 22, 2019 · 1 comment · Fixed by #14139
Closed

test_proc_cmdline_get_bool fails with -Defi=false #14116

floppym opened this issue Nov 22, 2019 · 1 comment · Fixed by #14139
Labels

Comments

@floppym
Copy link
Contributor

floppym commented Nov 22, 2019

systemd version the issue has been seen with
v244-rc1

Used distribution
Gentoo

Description
When I build systemd targeting the i686 ABI on an x86-64 system, I get the test failure below. This may be triggered by some option passed to meson; I suspect something to do with the EFI options.

336/509 test-proc-cmdline                       FAIL     0.64 s (killed by signal 6 SIGABRT)

--- command ---
SYSTEMD_LANGUAGE_FALLBACK_MAP='/x/portage/sys-apps/systemd-244_rc1/work/systemd-244-rc1/src/locale/language-fallback-map' SYSTEMD_KBD_MODEL_MAP='/x/portage/sys-apps/systemd-244_rc1/work/systemd-244-rc1/src/locale/kbd-model-map' PATH='/x/portage/sys-apps/systemd-244_rc1/work/systemd-244-rc1-abi_x86_32.x86:/x/portage/sys-apps/systemd-244_rc1/temp/python3.7/bin:/usr/lib/ccache/bin:/home/floppym/src/portage/bin/ebuild-helpers/xattr:/home/floppym/src/portage/bin/ebuild-helpers:/usr/lib/llvm/9/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin' /x/portage/sys-apps/systemd-244_rc1/work/systemd-244-rc1-abi_x86_32.x86/test-proc-cmdline
--- stderr ---
/* test_proc_cmdline_parse */
kernel cmdline option <BOOT_IMAGE> = </boot/vmlinuz-4.19.67>
kernel cmdline option <root> = <UUID=5e9dcab6-036d-40f1-8b40-24ab4c062bf6>
kernel cmdline option <rootfstype> = <btrfs>
kernel cmdline option <rootflags> = <subvol=>
kernel cmdline option <rootdelay> = <2>
kernel cmdline option <video> = <1600x1200>
/* test_proc_cmdline_override */
/* test_proc_cmdline_given (flip: no) */
parse_item_given: option <foo_bar> = <quux>
parse_item_given: option <wuff-piep> = <tuet >
parse_item_given: option <space> = <x y z>
parse_item_given: option <miepf> = <uuu>
parse_item_given: option <foo_bar> = <quux>
parse_item_given: option <wuff-piep> = <tuet >
parse_item_given: option <space> = <x y z>
parse_item_given: option <miepf> = <uuu>
/* test_proc_cmdline_given (flip: yes) */
parse_item_given: option <foo_bar> = <quux>
parse_item_given: option <wuff-piep> = <tuet >
parse_item_given: option <zumm> = <n/a>
parse_item_given: option <space> = <x y z>
parse_item_given: option <miepf> = <uuu>
parse_item_given: option <foo_bar> = <quux>
parse_item_given: option <wuff-piep> = <tuet >
parse_item_given: option <rd.zumm> = <n/a>
parse_item_given: option <space> = <x y z>
parse_item_given: option <miepf> = <uuu>
/* test_proc_cmdline_key_streq */
/* test_proc_cmdline_key_startswith */
/* test_proc_cmdline_get_key */
/* test_proc_cmdline_get_bool */
Assertion 'proc_cmdline_get_bool("foo_bar", &value) > 0 && value == true' failed at src/test/test-proc-cmdline.c:178, function test_proc_cmdline_get_bool(). Aborting.

build.log
testlog.txt

@floppym
Copy link
Contributor Author

floppym commented Nov 22, 2019

This appears to be triggered by passing -Defi=false to meson.

@floppym floppym changed the title test_proc_cmdline_get_bool fails test_proc_cmdline_get_bool fails with -Defi=false Nov 22, 2019
floppym added a commit to floppym/systemd that referenced this issue Nov 25, 2019
pdmorrow pushed a commit to pdmorrow/systemd that referenced this issue Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

2 participants