--- Begin Message ---
Subject: |
guix make check failure for syscalls: "FAIL network-interfaces returns one or more interfaces" |
Date: |
Tue, 9 Feb 2016 23:59:34 +0100 |
Package: guix
Version: git from an hour ago
When I bootstrap guix using
git clone, `guix environment guix`, ./bootstrap && ./configure
--localstatedir=/var && make check
starting from GuixSD, then I get at the make check:
...
FAIL: tests/syscalls.scm
...
# TOTAL: 59
# PASS: 58
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
File "tests/syscalls.log" contains:
%%%% Starting test syscalls (Writing full log to "syscalls.log")
;;; note: source file ./srfi/srfi-64.scm
;;; newer than compiled
/gnu/store/b44k6wx7nxn0kh2kchlazgas2ybc576v-guile-2.0.11/lib/guile/2.0/ccache/srfi/srfi-64.go
%%%% Starting test syscalls (Writing full log to "syscalls.log")
;;; note: source file ./srfi/srfi-64.scm
;;; newer than compiled
/gnu/store/b44k6wx7nxn0kh2kchlazgas2ybc576v-guile-2.0.11/lib/guile/2.0/ccache/srfi/srfi-64.go
%%%% Starting test syscalls (Writing full log to "syscalls.log")
;;; note: source file ./srfi/srfi-64.scm
;;; newer than compiled
/gnu/store/b44k6wx7nxn0kh2kchlazgas2ybc576v-guile-2.0.11/lib/guile/2.0/ccache/srfi/srfi-64.go
%%%% Starting test syscalls (Writing full log to "syscalls.log")
;;; note: source file ./srfi/srfi-64.scm
;;; newer than compiled
/gnu/store/b44k6wx7nxn0kh2kchlazgas2ybc576v-guile-2.0.11/lib/guile/2.0/ccache/srfi/srfi-64.go
%%%% Starting test syscalls (Writing full log to "syscalls.log")
tests/syscalls.scm:220: FAIL network-interfaces returns one or more interfaces
# of expected passes 17
# of unexpected failures 1
;;; note: source file ./srfi/srfi-64.scm
;;; newer than compiled
/gnu/store/b44k6wx7nxn0kh2kchlazgas2ybc576v-guile-2.0.11/lib/guile/2.0/ccache/srfi/srfi-64.go
./test-env: line 1: 4319 Terminated
"/home/dannym/src/guix/pre-inst-env" "/home/dannym/src/guix/guix-daemon"
--disable-chroot --substitute-urls="$GUIX_BINARY_SUBSTITUTE_URL"
FAIL tests/syscalls.scm (exit status: 1)
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#22612: guix make check failure for syscalls: "FAIL network-interfaces returns one or more interfaces" |
Date: |
Fri, 25 Mar 2016 17:32:41 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Danny Milosavljevic <address@hidden> skribis:
> address@hidden ~/src/guix$ ./pre-inst-env guile -c '(use-modules (guix build
> syscalls)) (write (network-interfaces))'
> (#<interface "lo" up family:17 195c200> #<interface "enp0s25" up family:17
> 195c1c0> #<interface "wlp2s0" up family:17 195c180> #<interface "vpn0"
> Backtrace:
> In ice-9/boot-9.scm:
> 157: 9 [catch #t #<catch-closure 181a660> ...]
> In unknown file:
> ?: 8 [apply-smob/1 #<catch-closure 181a660>]
> In ice-9/boot-9.scm:
> 63: 7 [call-with-prompt prompt0 ...]
> In ice-9/eval.scm:
> 432: 6 [eval # #]
> In unknown file:
> ?: 5 [call-with-input-string "(use-modules (guix build syscalls)) (write
> (network-interfaces))" ...]
> In ice-9/command-line.scm:
> 180: 4 [#<procedure 182b200 at ice-9/command-line.scm:175:6 (port)> #<input:
> string 15c8680>]
> In unknown file:
> ?: 3 [eval (write (network-interfaces)) #<directory (guile-user) 180ec60>]
> ?: 2 Exception thrown while printing backtrace:
> ERROR: In procedure vector-ref: Wrong type argument in position 1 (expecting
> vector): #f
>
> ice-9/networking.scm:82:27: In procedure sockaddr:fam:
> ice-9/networking.scm:82:27: In procedure vector-ref: Wrong type argument in
> position 1 (expecting vector): #f
Oh I see.
This printer error is fixed by 001dae0d7431719655f525a94dc900cc078cca99,
while the initial test failure is fixed by
7adbe85e60fce61d0082a9c46604a26d651cb87a.
Let me know if I got it wrong!
Thanks,
Ludo’.
--- End Message ---