ldap test is failing

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Mathieu Othacehe
Owner
unassigned
Submitted by
Mathieu Othacehe
Severity
normal

Debbugs page

Mathieu Othacehe wrote 4 years ago
(address . bug-guix@gnu.org)(name . Ricardo Wurmus)(address . rekado@elephly.net)
87v98qr497.fsf@gnu.org
Hello,

The "ldap" system test is failing this way:

Toggle snippet (56 lines)
mathieu@meije ~/guix [env]$ cat /gnu/store/5qq5ql92k9n57hx5l6ysk1rwnb0diwsv-ldap-test/ldap.log
%%%% Starting test ldap
Group begin: ldap
Test begin:
test-name: "LDAP server instance running"
source-file: "/gnu/store/jscgawp3wfrykgs67dpy106ys16r8d5h-ldap-test-builder"
source-line: 1
source-form: (test-assert "LDAP server instance running" (marionette-eval (quote (begin (with-output-to-file "instance.inf" (lambda () (display "[general]\nconfig_version = 2\n\n\n[slapd]\nroot_password = SEC)
Test end:
result-kind: fail
actual-value: #f
Test begin:
test-name: "Manager can bind to LDAP server instance"
source-file: "/gnu/store/jscgawp3wfrykgs67dpy106ys16r8d5h-ldap-test-builder"
source-line: 1
source-form: (test-assert "Manager can bind to LDAP server instance" (marionette-eval (quote (zero? (system* "/gnu/store/zgbzw97lyw6nbq5id5qaznjz7vh3vf06-openldap-2.4.57/bin/ldapwhoami" "-H" "ldap://localhost)
Test end:
result-kind: fail
actual-value: #f
Test begin:
test-name: "nslcd service running"
source-file: "/gnu/store/jscgawp3wfrykgs67dpy106ys16r8d5h-ldap-test-builder"
source-line: 1
source-form: (test-assert "nslcd service running" (marionette-eval (quote (begin (use-modules (gnu services herd)) (match (start-service (quote nslcd)) (#f #f) (((quote service) response-parts ...) (match (as)
Test end:
result-kind: pass
actual-value: #t
Test begin:
test-name: "nslcd produces a log file"
source-file: "/gnu/store/jscgawp3wfrykgs67dpy106ys16r8d5h-ldap-test-builder"
source-line: 1
source-form: (test-assert "nslcd produces a log file" (marionette-eval (quote (file-exists? "/var/log/nslcd")) marionette))
Test end:
result-kind: pass
actual-value: #t
Test begin:
test-name: "Can query LDAP user accounts"
source-file: "/gnu/store/jscgawp3wfrykgs67dpy106ys16r8d5h-ldap-test-builder"
source-line: 1
source-form: (test-assert "Can query LDAP user accounts" (marionette-eval (quote (begin (setenv "LD_LIBRARY_PATH" "/gnu/store/k77355jbp6xllysx34rrgkhwrmbdh7zw-nss-pam-ldapd-0.9.11/lib") (zero? (system* "/gnu/)
Test end:
result-kind: fail
actual-value: #f
Test begin:
test-name: "Can become LDAP user"
source-file: "/gnu/store/jscgawp3wfrykgs67dpy106ys16r8d5h-ldap-test-builder"
source-line: 1
source-form: (test-assert "Can become LDAP user" (marionette-eval (quote (zero? (system* "/run/setuid-programs/su" "eva" "-c" "/gnu/store/n8awazyldv9hbzb7pjcw76hiifmvrpvd-coreutils-8.32/bin/true"))) marionett)
Test end:
result-kind: fail
actual-value: #f
Group end: ldap
# of expected passes 2
# of unexpected failures 4

Ricardo, any clues :) ?

Thanks,

Mathieu
Ludovic Courtès wrote 4 years ago
control message for bug #47297
(address . control@debbugs.gnu.org)
87y2di2dlg.fsf@gnu.org
block 47297 by 47745
quit
Mathieu Othacehe wrote 4 years ago
Re: bug#47745: ldap test is failing
(address . 47745-done@debbugs.gnu.org)(name . Ricardo Wurmus)(address . rekado@elephly.net)
87r1j8rnxi.fsf@gnu.org
Hello,

Fixed with 868d8068a0b0ea985c6f8d28cb7a436c96bd4de5.

Thanks,

Mathieu
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 47745@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 47745
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help