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

[2.4] Integration tests fail with bundled SSL on Debian #1196

Closed
rdmark opened this issue Jul 6, 2024 · 2 comments
Closed

[2.4] Integration tests fail with bundled SSL on Debian #1196

rdmark opened this issue Jul 6, 2024 · 2 comments
Assignees

Comments

@rdmark
Copy link
Member

rdmark commented Jul 6, 2024

On Debian 12, with libssl-dev but not libwolfssl-dev installed, running the distribution tests results in failure. It seems like the test binary isn't being linked correctly with the openssl library.

[0/1] Running all tests.
1/2 test1        OK              0.03s
2/2 test2        FAIL            0.10s   killed by signal 11 SIGSEGV
>>> LD_LIBRARY_PATH=/home/dmark/netatalk2/build/meson-private/dist-build/libatalk MALLOC_PERTURB_=46 /home/dmark/netatalk2/build/meson-private/dist-build/test/afpd/afpdtest
――――――――――――――――――――――――――――――――――――――――――――― ✀  ―――――――――――――――――――――――――――――――――――――――――――――
Jul 06 09:36:12.595262 [30928] {status.c:670} (E:AFPDaemon): ERROR: Cannot write in /usr/local/etc/netatalk/afp_signature.conf (Permission denied). Using one-time signature.
Jul 06 09:36:12.597998 [30928] {afp_config.c:361} (N:AFPDaemon): AFP/TCP started, advertising 192.168.64.2:10548 (2.4.2)
Jul 06 09:36:12.603929 [30928] {uam.c:51} (E:AFPDaemon): uam_load(uams_dhx.so): failed to load: /usr/local/lib/x86_64-linux-gnu/netatalk/uams_dhx.so: undefined symbol: CAST_cbc_encrypt
Jul 06 09:36:12.604028 [30928] {auth.c:1113} (E:AFPDaemon): uam: uams_dhx.so load failure
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――


Summary of Failures:

2/2 test2 FAIL            0.10s   killed by signal 11 SIGSEGV

Ok:                 1   
Expected Fail:      0   
Fail:               1   
Unexpected Pass:    0   
Skipped:            0   
Timeout:            0   

Full log written to /home/dmark/netatalk2/build/meson-private/dist-build/meson-logs/testlog.txt
FAILED: meson-internal__test 
/usr/bin/meson test --no-rebuild --print-errorlogs
ninja: build stopped: subcommand failed.
Running unit tests on the distribution package failed
Dist check build directory was /home/dmark/netatalk2/build/meson-private/dist-build
@rdmark rdmark changed the title Integration tests fail with bundled SSL on Debian [2.4] Integration tests fail with bundled SSL on Debian Jul 6, 2024
@rdmark
Copy link
Member Author

rdmark commented Jul 6, 2024

Hmm, the issue went away after I messed with apt to uninstall/reinstall/upgrade packages.

FWIW this is a different Debian system from the one where #1170 is happening (which it still is) but the same Bookworm release.

The linking of of test binaries is so very flaky...

@rdmark
Copy link
Member Author

rdmark commented Jul 6, 2024

Strange, this was resolved with #1198

$ meson test
ninja: no work to do.
ninja: Entering directory `/home/dmark/dev/netatalk2/build'
ninja: no work to do.
1/2 test1        OK              0.01s
2/2 test2        OK              0.41s

Ok:                 2   
Expected Fail:      0   
Fail:               0   
Unexpected Pass:    0   
Skipped:            0   
Timeout:            0   

Full log written to /home/dmark/dev/netatalk2/build/meson-logs/testlog.txt

@rdmark rdmark closed this as completed Jul 6, 2024
@rdmark rdmark self-assigned this Jul 6, 2024
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

1 participant