From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Subject: bug#31789: nss-mdns test is failing Date: Tue, 12 Jun 2018 00:07:27 +0200 Message-ID: <87efhd0yg0.fsf@lassieur.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSUyr-00057R-F4 for bug-guix@gnu.org; Mon, 11 Jun 2018 18:08:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSUyo-0007YD-7q for bug-guix@gnu.org; Mon, 11 Jun 2018 18:08:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35867) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSUyo-0007Y3-3e for bug-guix@gnu.org; Mon, 11 Jun 2018 18:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fSUyn-0006P5-Ti for bug-guix@gnu.org; Mon, 11 Jun 2018 18:08:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSUyL-0004vv-BM for bug-guix@gnu.org; Mon, 11 Jun 2018 18:07:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSUyI-0007IA-3Y for bug-guix@gnu.org; Mon, 11 Jun 2018 18:07:33 -0400 Received: from mail.lassieur.org ([83.152.10.219]:49582) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fSUyH-0007Hb-S7 for bug-guix@gnu.org; Mon, 11 Jun 2018 18:07:30 -0400 Received: from rodion (88.191.118.83 [88.191.118.83]) by mail.lassieur.org (OpenSMTPD) with ESMTPSA id 40ba5a18 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO) for ; Mon, 11 Jun 2018 22:07:28 +0000 (UTC) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 31789@debbugs.gnu.org nss-mdns test is failing. Here is the output: --8<---------------cut here---------------start------------->8--- %%%% Starting test avahi Group begin: avahi Test begin: test-name: "wait for services" source-file: "/gnu/store/b5gvmlh78s40xvxq73dpdqr7sv0skhmy-nss-mdns-builder" source-line: 1 source-form: (test-assert "wait for services" (marionette-eval (quote (begin (use-modules (gnu services herd)) (start-service (quote nscd)) (let ((sock (socket PF_UNIX SOCK_STREAM 0))) (let try () (catch (quote system-error) (lambda () (connect sock AF_UNIX "/var/run/nscd/socket") (close-port sock) (format #t "nscd is ready~%")) (lambda args (format #t "waiting for nscd...~%") (usleep 500000) (try))))) (start-service (quote avahi-daemon)) (start-service (quote networking)) #t)) marionette)) Test end: result-kind: pass actual-value: #t Test begin: test-name: "avahi-resolve-host-name" source-file: "/gnu/store/b5gvmlh78s40xvxq73dpdqr7sv0skhmy-nss-mdns-builder" source-line: 1 source-form: (test-equal "avahi-resolve-host-name" 0 (marionette-eval (quote (system* "/run/current-system/profile/bin/avahi-resolve-host-name" "-v" "komputilo.local")) marionette)) Test end: result-kind: pass actual-value: 0 expected-value: 0 Test begin: test-name: "avahi-browse" source-file: "/gnu/store/b5gvmlh78s40xvxq73dpdqr7sv0skhmy-nss-mdns-builder" source-line: 1 source-form: (test-equal "avahi-browse" 0 (marionette-eval (quote (system* "avahi-browse" "-avt")) marionette)) Test end: result-kind: pass actual-value: 0 expected-value: 0 Test begin: test-name: "getaddrinfo .local" source-file: "/gnu/store/b5gvmlh78s40xvxq73dpdqr7sv0skhmy-nss-mdns-builder" source-line: 1 source-form: (test-assert "getaddrinfo .local" (match (marionette-eval (quote (getaddrinfo "komputilo.local")) marionette) (((? vector? addrinfos) ..1) (pk (quote getaddrinfo) addrinfos) (and (any (lambda (ai) (= AF_INET (addrinfo:fam ai))) addrinfos) (any (lambda (ai) (= AF_INET6 (addrinfo:fam ai))) addrinfos))))) Test end: result-kind: fail actual-value: #f actual-error: (match-error "match" "no matching pattern" #f) Test begin: test-name: "gethostbyname .local" source-file: "/gnu/store/b5gvmlh78s40xvxq73dpdqr7sv0skhmy-nss-mdns-builder" source-line: 1 source-form: (test-assert "gethostbyname .local" (match (pk (quote gethostbyname) (marionette-eval (quote (gethostbyname "komputilo.local")) marionette)) ((? vector? result) (and (string=? (hostent:name result) "komputilo.local") (= (hostent:addrtype result) AF_INET))))) Test end: result-kind: fail actual-value: #f actual-error: (match-error "match" "no matching pattern" #f) Group end: avahi # of expected passes 3 # of unexpected failures 2 --8<---------------cut here---------------end--------------->8---