test failures in 0.11.1, as tested within Guix build environment
Hi,
I just enabled the test suite for the libssh
Guix package, which is at the latest current version (0.11.1), and I see the following errors:
The following tests FAILED:
8 - torture_misc (Failed)
9 - torture_config (Failed)
10 - torture_options (Failed)
The only direct build inputs used are libgcrypt@1.11.0 mit-krb5@1.20 zlib@1.3
.
Attached is the complete build log.
Here are some relevant error outputs from the log, and my comments about why they fail where I have an idea:
9: [ RUN ] torture_config_match_file
9: [ ERROR ] --- "otherhost" != "execed-true.com"
9: [ LINE ] --- /tmp/guix-build-libssh-0.11.1.drv-0/libssh-0.11.1/tests/unittests/torture_config.c:901: error: Failure!
9: [ FAILED ] torture_config_match_file
9: [ RUN ] torture_config_match_string
9: [ ERROR ] --- "otherhost" != "execed-true.com"
9: [ LINE ] --- /tmp/guix-build-libssh-0.11.1.drv-0/libssh-0.11.1/tests/unittests/torture_config.c:901: error: Failure!
9: [ FAILED ] torture_config_match_string
9: [ RUN ] torture_config_parser_get_cmd
9: [ ERROR ] --- ""/tmp/guix-build-libssh-0.11.1.drv-0/libssh-0.11.1/tests/unittests/hello world.sh" "hello libssh"
9: " != "hello libssh"
9: [ LINE ] --- /tmp/guix-build-libssh-0.11.1.drv-0/libssh-0.11.1/tests/unittests/torture_config.c:2083: error: Failure!
9: "/tmp/guix-build-libssh-0.11.1.drv-0/libssh-0.11.1/tests/unittests/hello world.sh" "hello libssh"
9:
9: the tok is "/tmp/guix-build-libssh-0.11.1.drv-0/libssh-0.11.1/tests/unittests/hello world.sh" "hello libssh"
9: [ FAILED ] torture_config_parser_get_cmd
# This fails because the user pw_dir is / while HOME is /homeless-shelter in the build container.
[ RUN ] torture_config_make_absolute
[ ERROR ] --- "//.ssh/config.d/*.conf" != "/homeless-shelter/.ssh/config.d/*.conf"
[ LINE ] --- /tmp/guix-build-libssh-0.11.1.drv-0/libssh-0.11.1/tests/unittests/torture_config.c:2452: error: Failure!
[ FAILED ] torture_config_make_absolute
[ RUN ] torture_config_make_absolute_no_sshdir
[ ERROR ] --- "//.ssh/config.d/*.conf" != "/homeless-shelter/.ssh/config.d/*.conf"
[ LINE ] --- /tmp/guix-build-libssh-0.11.1.drv-0/libssh-0.11.1/tests/unittests/torture_config.c:2452: error: Failure!
[ FAILED ] torture_config_make_absolute_no_sshdir
torture_path_expand_tilde_unix fails for the same pw_dir / HOME discrepancy as explained above and was already skipped in the above run.
Thanks!