(I know that this is not 100% expected to work yet. AND I'm working on an unsupported distro... but I thought I'd ask).
Trying to build libdispatch on Linux (Arch Linux 4.6.4-1-ARCH). The build seems to go fine up until the tests. At this point there are 3 failing tests (see the attached test-suite.log). Two questions: 1. Can someone help me decipher that log to figure out what is going wrong? 2. It tells me to report the errors to libdispa...@macosforge.org. Is that something I really should do?
=========================================== libdispatch 1.3: tests/test-suite.log =========================================== # TOTAL: 26 # PASS: 23 # SKIP: 0 # XFAIL: 0 # FAIL: 3 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: dispatch_io ================= ================================================== [TEST] Dispatch IO [PID] 21401 ================================================== [SKIP] Large file not found (dispatch_io.c:82) [SKIP] Large file not found (dispatch_io.c:82) [SKIP] Large file not found (dispatch_io.c:82) [SKIP] Large file not found (dispatch_io.c:82) [SKIP] Large file not found (dispatch_io.c:82) [SKIP] Large file not found (dispatch_io.c:82) [BEGIN] read error Actual: 125 Operation canceled Expected: 125 Operation canceled [PASS] read error [BEGIN] create error Actual: 0 Expected: 0 [PASS] create error [BEGIN] error from write to write protected directory Actual: 13 Permission denied Expected: 13 Permission denied [PASS] error from write to write protected directory [BEGIN] unwritten data Actual: 256 Expected: 256 [PASS] unwritten data [BEGIN] channel cleanup called Actual: 0 Expected: 0 [PASS] channel cleanup called [BEGIN] dispatch_io_write Actual: 0 Expected: 0 [PASS] dispatch_io_write [BEGIN] remaining write size Actual: 0 Expected: 0 [PASS] remaining write size [BEGIN] channel cleanup called Actual: 0 Expected: 0 [PASS] channel cleanup called [BEGIN] read error from channel created_with_io Actual: 0 Expected: 0 [PASS] read error from channel created_with_io [BEGIN] readback size Actual: 10240 Expected: 10240 [PASS] readback size [BEGIN] open Actual: 2 No such file or directory Expected: 0 [FAIL] open (dispatch_io.c:246) dispatch_io.c:246 [BEGIN] Process exited Actual: 0 Expected: 0 [PASS] Process exited [PERF] wall time: 0.000214 [PERF] user time: 0.443333 [PERF] system time: 1.136666 [PERF] max resident set size: 18692 [PERF] page faults: 0 [PERF] swaps: 0 [PERF] voluntary context switches: 557174 [PERF] involuntary context switches: 17 FAIL dispatch_io (exit status: 1) FAIL: dispatch_io_net ===================== ================================================== [TEST] Dispatch IO Network test [PID] 21453 ================================================== Server started and listening on port 48539 Client-connecting on port ... 48539 [BEGIN] client-open Actual: 2 No such file or directory Expected: 0 [FAIL] client-open (dispatch_io_net.c:97) dispatch_io_net.c:97 Server accepted connection. Server now writing [BEGIN] open Actual: 2 No such file or directory Expected: 0 [FAIL] open (dispatch_io_net.c:236) dispatch_io_net.c:236 [BEGIN] Process exited Actual: 0 Expected: 0 [PASS] Process exited [PERF] wall time: 0.000212 [PERF] user time: 0.046666 [PERF] system time: 0.006666 [PERF] max resident set size: 18480 [PERF] page faults: 0 [PERF] swaps: 0 [PERF] voluntary context switches: 43 [PERF] involuntary context switches: 11 FAIL dispatch_io_net (exit status: 1) FAIL: dispatch_select ===================== ================================================== [TEST] Dispatch select workaround test [PID] 21491 ================================================== [BEGIN] main_q Actual: 0x606280 Expected: 0x606280 [PASS] main_q [BEGIN] select source Actual: 0x7f6c9c0008c0 Expected: 0x7f6c9c0008c0 [PASS] select source [BEGIN] kevent read 1 Actual: 113.000000 Expected: <=512001.000000 [PASS] kevent read 1 [BEGIN] close Actual: 0 Expected: 0 [PASS] close /usr/share/dict/words: No such file or directory [BEGIN] Process exited Actual: 1 Expected: 0 [FAIL] Process exited (bsdtestharness.c:132) bsdtestharness.c:132 [PERF] wall time: 0.000295 [PERF] user time: 0.066666 [PERF] system time: 0.023333 [PERF] max resident set size: 18740 [PERF] page faults: 0 [PERF] swaps: 0 [PERF] voluntary context switches: 55 [PERF] involuntary context switches: 11 FAIL dispatch_select (exit status: 1)
_______________________________________________ swift-corelibs-dev mailing list swift-corelibs-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-corelibs-dev