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-sysusers/unhappy-1: test error on 32-bit architectures #1

Open
fossdd opened this issue Sep 4, 2024 · 2 comments
Open

test-sysusers/unhappy-1: test error on 32-bit architectures #1

fossdd opened this issue Sep 4, 2024 · 2 comments

Comments

@fossdd
Copy link

fossdd commented Sep 4, 2024

Testing sd-tools on 32-bit architectures (armhf, armv7, x86) fails at unhappy-1 test:

*** Running test /tmp/sd-tools/test/test-sysusers/unhappy-1.input
--- /tmp/tmp.DMbCbH/err
+++ /tmp/sd-tools/test/test-sysusers/unhappy-1.expected-err
@@ -1 +1 @@
- Failed to parse UID: '9999999999': No such device or address
+ Failed to parse UID: '9999999999': Result not representable
**** Unexpected error output for /tmp/sd-tools/test/test-sysusers/unhappy-1.input
 Failed to parse UID: '9999999999': No such device or address

AFAIK it seems to be a sd-tools error and not a packaging error. (https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/71413)

@nekopsykose
Copy link
Member

this is caused by the different message of

r = -ERANGE;
, the actual failure is harmless

seems to be regressed in the port from systemd internal libs as upstream this is not a possible case https://github.com/systemd/systemd/blob/5d6d2d6ced3c1c499e2c369627c8f4d1927e9952/src/basic/user-util.c#L66

@nekopsykose
Copy link
Member

(in systemd the parse will always give ERANGE and that's what the test expects there)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants