Subject: bug#47745: closed (Re: bug#47745: ldap test is failing)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 18 Apr 2021 08:35:02 +0000

Your bug report

#47745: ldap test is failing

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
47745: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=47745
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#47745: ldap test is failing
From: Mathieu Othacehe <[email-masked]>
To: [email-masked]
Cc: Ricardo Wurmus <[email-masked]>
Date: Sun, 18 Apr 2021 10:34:33 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Fixed with 868d8068a0b0ea985c6f8d28cb7a436c96bd4de5.

Thanks,

Mathieu

Subject: ldap test is failing
From: Mathieu Othacehe <[email-masked]>
To: [email-masked]
Cc: Ricardo Wurmus <[email-masked]>
Date: Tue, 13 Apr 2021 10:13:40 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

The "ldap" system test is failing this way:

--8<---------------cut here---------------start------------->8---
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
--8<---------------cut here---------------end--------------->8---

Ricardo, any clues :) ?

Thanks,

Mathieu