* bug#31789: nss-mdns test is failing
@ 2018-06-11 22:07 Clément Lassieur
2021-09-13 7:43 ` Sarah Morgensen
0 siblings, 1 reply; 3+ messages in thread
From: Clément Lassieur @ 2018-06-11 22:07 UTC (permalink / raw)
To: 31789
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---
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#31789: nss-mdns test is failing
2018-06-11 22:07 bug#31789: nss-mdns test is failing Clément Lassieur
@ 2021-09-13 7:43 ` Sarah Morgensen
2021-09-14 9:10 ` Clément Lassieur
0 siblings, 1 reply; 3+ messages in thread
From: Sarah Morgensen @ 2021-09-13 7:43 UTC (permalink / raw)
To: Clément Lassieur; +Cc: 31789
Hello,
Thanks for the report. Apologies that it's taken two years (!) for a
response. I can not replicate this; does this still occur for you?
Clément Lassieur <clement@lassieur.org> writes:
> nss-mdns test is failing. Here is the output:
>
> %%%% 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
--
Sarah
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#31789: nss-mdns test is failing
2021-09-13 7:43 ` Sarah Morgensen
@ 2021-09-14 9:10 ` Clément Lassieur
0 siblings, 0 replies; 3+ messages in thread
From: Clément Lassieur @ 2021-09-14 9:10 UTC (permalink / raw)
To: Sarah Morgensen; +Cc: 31789-done
[-- Attachment #1: Type: text/plain, Size: 3342 bytes --]
Hello Sarah, thank you for taking care of these old bugs!
I can't replicate this one either. Closing.
Clément
On Mon, Sep 13, 2021, at 9:43 AM, Sarah Morgensen wrote:
> Hello,
>
> Thanks for the report. Apologies that it's taken two years (!) for a
> response. I can not replicate this; does this still occur for you?
>
> Clément Lassieur <clement@lassieur.org> writes:
>
> > nss-mdns test is failing. Here is the output:
> >
> > %%%% 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
>
> --
> Sarah
>
[-- Attachment #2: Type: text/html, Size: 4911 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-09-14 14:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-11 22:07 bug#31789: nss-mdns test is failing Clément Lassieur
2021-09-13 7:43 ` Sarah Morgensen
2021-09-14 9:10 ` Clément Lassieur
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.