Build report for linux/x86.64
Tests failed
Build output:
}
Unit Test: { { } [ <dlist> notify-all ] }
Unit Test: {
{ V{ } }
[
<dlist> dup [ ] "foo" <thread> over push-back
[ ] "bar" <thread> over push-back notify-all
dlist>sequence
]
}
Loading resource:basis/concurrency/count-downs/count-downs-tests.factor
Unit Test: { { } [ 0 <count-down> await ] }
Must Fail: { [ 1 <count-down> dup count-down count-down ] }
Unit Test: {
{ }
[
1 <count-down> 3 <count-down> 2dup
[ await count-down ] 2curry "Master" spawn drop dup
[ count-down ] curry "Slave" spawn drop dup
[ count-down ] curry "Slave" spawn drop dup
[ count-down ] curry "Slave" spawn drop drop await
]
}
Loading resource:basis/concurrency/distributed/distributed-tests.factor
Unit Test: {
[ 8 ]
[
local-node get test-ip test-port <inet4> start-node
local-node get swap local-node set-global local-node [
[
receive first2 [ 3 + ] dip send
"thread-a" unregister-remote-thread
] "Thread A" spawn "thread-a" register-remote-thread
5 self 2array test-ip test-port <inet4>
"thread-a" <remote-thread> send
100 seconds receive-timeout stop-node
] with-variable
]
}
Unit Test: {
[ 15 ]
[
local-node get test-ip test-port2 <inet4> start-node
local-node get swap local-node set-global local-node [
[
receive dup data>> 3 * swap reply-synchronous
"thread-s" unregister-remote-thread
] "Thread S" spawn "thread-s" register-remote-thread
5 test-ip test-port2 <inet4>
"thread-s" <remote-thread> send-synchronous
stop-node
] with-variable
]
}
Loading resource:basis/concurrency/exchangers/exchangers-tests.factor
Unit Test: { { "Hello world, Goodbye world" } [ exchanger-test ] }
Loading resource:basis/concurrency/flags/flags-tests.factor
Unit Test: { { f } [ flag-test-1 ] }
Unit Test: { { f } [ flag-test-2 ] }
Unit Test: { { t } [ flag-test-3 ] }
Unit Test: { { t } [ flag-test-4 ] }
Unit Test: { { t } [ flag-test-5 ] }
Unit Test: {
{ }
[
{ 1 2 } <flag> [
[ 1 seconds sleep raise-flag ] curry
"Flag test" spawn drop
] [ [ wait-for-flag drop ] curry parallel-each ] bi
]
}
Loading resource:basis/concurrency/futures/futures-tests.factor
Unit Test: { { 50 } [ [ 50 ] future ?future ] }
Must Fail: { [ [ "this should propogate" throw ] future ?future ] }
Unit Test: { { } [ [ "this should not propogate" throw ] future drop ] }
Unit Test: { { 3 3 } [ [ 3 ] future dup ?future swap ?future ] }
Unit Test: { { 3 } [ [ 3 yield ] future ?future ] }
Loading resource:basis/concurrency/locks/locks-tests.factor
Unit Test: { { V{ 1 3 2 4 } } [ lock-test-0 ] }
Unit Test: { { V{ 1 2 3 4 } } [ lock-test-1 ] }
Unit Test: { { 3 } [ <reentrant-lock> dup [ [ 3 ] with-lock ] with-lock ] }
Must Not Fail: { [ <rw-lock> ] }
Unit Test: { { } [ <rw-lock> [ ] with-read-lock ] }
Unit Test: { { } [ <rw-lock> dup [ [ ] with-read-lock ] with-read-lock ] }
Unit Test: { { } [ <rw-lock> [ ] with-write-lock ] }
Unit Test: {
{ }
[ <rw-lock> dup [ [ ] with-write-lock ] with-write-lock ]
}
Unit Test: { { } [ <rw-lock> dup [ [ ] with-read-lock ] with-write-lock ] }
Unit Test: { { V{ 1 2 3 4 5 6 } } [ rw-lock-test-1 ] }
Unit Test: { { V{ 1 2 3 } } [ rw-lock-test-2 ] }
Must Fail With: {
[ lock-timeout-test ]
[ thread>> name>> "Lock timeout-er" = ]
}
Must Fail: {
[
<rw-lock> dup
[ 1 seconds [ ] with-write-lock-timeout ] with-read-lock
]
}
Must Fail: {
[
<rw-lock> dup [
dup
[ 1 seconds [ ] with-write-lock-timeout ]
with-read-lock
] with-write-lock
]
}
Unit Test: {
{ }
[
<rw-lock> dup [
dup
[ 1 seconds [ ] with-read-lock-timeout ]
with-read-lock
] with-write-lock
]
}
Loading resource:basis/concurrency/mailboxes/mailboxes-tests.factor
Must Infer As: { { 1 1 } [ [ integer? ] mailbox-get? ] }
Unit Test: {
{ V{ 1 2 3 } }
[
0 <vector> <mailbox> [ mailbox-get swap push ] in-thread
[ mailbox-get swap push ] in-thread
[ mailbox-get swap push ] in-thread 1 over mailbox-put
2 over mailbox-put 3 swap mailbox-put
]
}
Unit Test: {
{ V{ 1 2 3 } }
[
0 <vector> <mailbox>
[ [ integer? ] mailbox-get? swap push ] in-thread
[ [ integer? ] mailbox-get? swap push ] in-thread
[ [ integer? ] mailbox-get? swap push ] in-thread
1 over mailbox-put 2 over mailbox-put 3 swap mailbox-put
]
}
Unit Test: {
{ V{ 1 "junk" 3 "junk2" } [ 456 ] }
[
0 <vector> <mailbox>
[ [ integer? ] mailbox-get? swap push ] in-thread
[ [ integer? ] mailbox-get? swap push ] in-thread
[ [ string? ] mailbox-get? swap push ] in-thread
[ [ string? ] mailbox-get? swap push ] in-thread
1 over mailbox-put "junk" over mailbox-put
[ 456 ] over mailbox-put 3 over mailbox-put
"junk2" over mailbox-put mailbox-get
]
}
Unit Test: {
{ V{ "foo" "bar" } }
[
<mailbox> "foo" over mailbox-put "bar" over mailbox-put
mailbox-get-all
]
}
Must Fail With: {
[ <mailbox> 1 seconds mailbox-get-timeout ]
[ timed-out-error? ]
}
Unit Test: { { t } [ <mailbox> mailbox-empty? ] }
Unit Test: { { f } [ <mailbox> "foo" over mailbox-put mailbox-empty? ] }
Loading resource:basis/concurrency/messaging/messaging-tests.factor
Unit Test: { { } [ my-mailbox data>> clear-deque ] }
Unit Test: {
{ "received" }
[
[ receive "received" swap reply-synchronous ]
"Synchronous test" spawn "sent" swap send-synchronous
]
}
Unit Test: {
{ 1 3 2 }
[
1 self send 2 self send 3 self send receive
[ 2 mod 0 = not ] receive-if receive
]
}
Must Fail With: {
[
[ "crash" throw ] "Linked test" spawn-linked drop
receive
]
[ error>> "crash" = ]
}
Unit Test: {
{ -5 }
[
[ 0 [ counter ] loop ] "Counter" spawn "counter" set
{ increment 10 } "counter" get send
{ decrement 15 } "counter" get send
[ value , self , ] { } make "counter" get send
receive exit "counter" get send
]
}
Must Fail With: {
[ "foo" self send-synchronous ]
[ cannot-send-synchronous-to-self? ]
}
Unit Test: {
{ 6 }
[
[ [ 1 + ] handle-synchronous ] "add1" spawn
5 swap send-synchronous
]
}
Loading resource:basis/concurrency/promises/promises-tests.factor
Unit Test: {
{ V{ 50 50 50 } }
[
0 <vector> <promise> [ ?promise swap push ] in-thread
[ ?promise swap push ] in-thread
[ ?promise swap push ] in-thread 50 swap fulfill
]
}
Must Fail With: {
[ 5 <promise> [ fulfill ] 2keep fulfill ]
[ promise-already-fulfilled? ]
}
Unit Test: { { f } [ <promise> promise-fulfilled? ] }
Unit Test: { { t } [ 5 <promise> [ fulfill ] keep promise-fulfilled? ] }
Loading resource:basis/concurrency/semaphores/semaphores-tests.factor
Unit Test: { { 0 } [ 1 <semaphore> dup acquire count>> ] }
Unit Test: {
{ 1 }
[ 1 <semaphore> [ acquire ] [ release ] [ count>> ] tri ]
}
Unit Test: { { } [ 1 <semaphore> release ] }
Unit Test: {
{ 1 }
[ 1 <semaphore> [ [ ] with-semaphore ] [ count>> ] bi ]
}
Loading resource:extra/constructors/constructors-tests.factor
Unit Test: {
{ t }
[
AAPL 1234 <stock-spread> {
[ stock>> AAPL eq? ]
[ spread>> 1234 = ]
[ timestamp>> timestamp? ]
} 1&&
]
}
Unit Test: { { 1000 } [ 1000 <ct1> a>> ] }
Unit Test: { { 0 } [ 0 0 <ct2> a>> ] }
Unit Test: { { 0 } [ 0 0 0 <ct3> a>> ] }
Unit Test: { { 0 } [ 0 0 0 0 <ct4> a>> ] }
Unit Test: { { 20 } [ "Norm" 10 10 <a-monster> computed>> ] }
Unit Test: { { 18 } [ "Norm" 10 10 <a-monster> stop>> ] }
Unit Test: { { 22 } [ "Phil" 11 11 <b-monster> computed>> ] }
Unit Test: { { 18 } [ "Phil" 11 11 <b-monster> stop>> ] }
Must Fail With: {
[
"USE: constructors\nIN: constructors.tests\nTUPLE: foo a b ;\nCON..."
( -- ) eval
]
[ error>> repeated-constructor-parameters? ]
}
Must Fail With: {
[
"USE: constructors\nIN: constructors.tests\nTUPLE: foo a b ;\nCON..."
( -- ) eval
]
[ error>> unknown-constructor-parameters? ]
}
Loading resource:core/continuations/continuations-tests.factor
Unit Test: { { t } [ 10 callcc1-test 10 <iota> reverse >vector = ] }
Unit Test: { { t } [ callcc-namespace-test ] }
Must Fail With: { [ 5 throw ] [ 5 = ] }
Unit Test: {
{ t }
[
[ "Hello" throw ] ignore-errors
error get-global "Hello" =
]
}
Unit Test: {
{ 4 f }
[
[ 20 5 / ] [ division-by-zero? ] ignore-error/f
[ 20 0 / ] [ division-by-zero? ] ignore-error/f
]
}
!!! The following error is part of the test
Unit Test: { { } [ [ 6 [ 12 [ "2 car" ] ] ] print-error ] }
[ 6 ~quotation~ ]
!!! The following error is part of the test
Unit Test: { { } [ [ [ "2 car" ] eval ] try ] }
Data stack underflow
Type :help for debugging help.
Must Fail: { [ f throw ] }
Unit Test: { { } [ [ "4" throw ] ignore-errors gc gc ] }
[FATAL ERROR]
Location: vm/errors.cpp:72 in fatal_error
Message: Memory protection fault during gc
Nursery : [0x795aef380000 -> 0x795aef580000] 2097152 bytes
Aging : [0x795aeeb80000 -> 0x795aeef80000] 4194304 bytes
Tenured : [0x795abeb80000 -> 0x795aeeb80000] 805306368 bytes
Cards : [0x795b1fc72010 -> 0x795b1ff7c410] 3187712 bytes
Contexts:
Active:
Datastack : [0x795b2085e000 -> 0x795b2089e000] 262144 bytes
Retainstack : [0x795b205bf000 -> 0x795b205ff000] 262144 bytes
Callstack : [0x795b204bd000 -> 0x795b205bd000] 1048576 bytes
Datastack : [0x795b0b436000 -> 0x795b0b476000] 262144 bytes
Retainstack : [0x795b0b3f4000 -> 0x795b0b434000] 262144 bytes
Callstack : [0x795b0b2f2000 -> 0x795b0b3f2000] 1048576 bytes
Datastack : [0x795b0ac98000 -> 0x795b0acd8000] 262144 bytes
Retainstack : [0x795b0ac56000 -> 0x795b0ac96000] 262144 bytes
Callstack : [0x795b0ab54000 -> 0x795b0ac54000] 1048576 bytes
Datastack : [0x795b0ab12000 -> 0x795b0ab52000] 262144 bytes
Retainstack : [0x795b0aad0000 -> 0x795b0ab10000] 262144 bytes
Callstack : [0x795b0a9ce000 -> 0x795b0aace000] 1048576 bytes
Datastack : [0x795b0a98c000 -> 0x795b0a9cc000] 262144 bytes
Retainstack : [0x795b0a94a000 -> 0x795b0a98a000] 262144 bytes
Callstack : [0x795b0a848000 -> 0x795b0a948000] 1048576 bytes
Datastack : [0x795b0a680000 -> 0x795b0a6c0000] 262144 bytes
Retainstack : [0x795b0a63e000 -> 0x795b0a67e000] 262144 bytes
Callstack : [0x795b0a53c000 -> 0x795b0a63c000] 1048576 bytes
Datastack : [0x795b0a4fa000 -> 0x795b0a53a000] 262144 bytes
Retainstack : [0x795b0a4b8000 -> 0x795b0a4f8000] 262144 bytes
Callstack : [0x795b0a3b6000 -> 0x795b0a4b6000] 1048576 bytes
Datastack : [0x795b0a806000 -> 0x795b0a846000] 262144 bytes
Retainstack : [0x795b0a7c4000 -> 0x795b0a804000] 262144 bytes
Callstack : [0x795b0a6c2000 -> 0x795b0a7c2000] 1048576 bytes
Datastack : [0x795b0b2b0000 -> 0x795b0b2f0000] 262144 bytes
Retainstack : [0x795b0b26e000 -> 0x795b0b2ae000] 262144 bytes
Callstack : [0x795b0b16c000 -> 0x795b0b26c000] 1048576 bytes
Datastack : [0x795b0b12a000 -> 0x795b0b16a000] 262144 bytes
Retainstack : [0x795b0b0e8000 -> 0x795b0b128000] 262144 bytes
Callstack : [0x795b0afe6000 -> 0x795b0b0e6000] 1048576 bytes
Datastack : [0x795b0afa4000 -> 0x795b0afe4000] 262144 bytes
Retainstack : [0x795b0af62000 -> 0x795b0afa2000] 262144 bytes
Callstack : [0x795b0ae60000 -> 0x795b0af60000] 1048576 bytes
Datastack : [0x795b0ae1e000 -> 0x795b0ae5e000] 262144 bytes
Retainstack : [0x795b0addc000 -> 0x795b0ae1c000] 262144 bytes
Callstack : [0x795b0acda000 -> 0x795b0adda000] 1048576 bytes
Datastack : [0x795b0a374000 -> 0x795b0a3b4000] 262144 bytes
Retainstack : [0x795b0a332000 -> 0x795b0a372000] 262144 bytes
Callstack : [0x795b0a230000 -> 0x795b0a330000] 1048576 bytes
Datastack : [0x795b0a1ee000 -> 0x795b0a22e000] 262144 bytes
Retainstack : [0x795b0a1ac000 -> 0x795b0a1ec000] 262144 bytes
Callstack : [0x795b0a0aa000 -> 0x795b0a1aa000] 1048576 bytes
Datastack : [0x795b0a068000 -> 0x795b0a0a8000] 262144 bytes
Retainstack : [0x795b0a026000 -> 0x795b0a066000] 262144 bytes
Callstack : [0x795b09f24000 -> 0x795b0a024000] 1048576 bytes
Datastack : [0x795b09ee2000 -> 0x795b09f22000] 262144 bytes
Retainstack : [0x795b09ea0000 -> 0x795b09ee0000] 262144 bytes
Callstack : [0x795b09d9e000 -> 0x795b09e9e000] 1048576 bytes
Datastack : [0x795b09d5c000 -> 0x795b09d9c000] 262144 bytes
Retainstack : [0x795b09d1a000 -> 0x795b09d5a000] 262144 bytes
Callstack : [0x795b09c18000 -> 0x795b09d18000] 1048576 bytes
Datastack : [0x795b09bd6000 -> 0x795b09c16000] 262144 bytes
Retainstack : [0x795b09b94000 -> 0x795b09bd4000] 262144 bytes
Callstack : [0x795b09a92000 -> 0x795b09b92000] 1048576 bytes
Datastack : [0x795b09a50000 -> 0x795b09a90000] 262144 bytes
Retainstack : [0x795b09a0e000 -> 0x795b09a4e000] 262144 bytes
Callstack : [0x795b0990c000 -> 0x795b09a0c000] 1048576 bytes
Datastack : [0x795b098ca000 -> 0x795b0990a000] 262144 bytes
Retainstack : [0x795b09888000 -> 0x795b098c8000] 262144 bytes
Callstack : [0x795b09786000 -> 0x795b09886000] 1048576 bytes
Datastack : [0x795b09744000 -> 0x795b09784000] 262144 bytes
Retainstack : [0x795b09702000 -> 0x795b09742000] 262144 bytes
Callstack : [0x795b09600000 -> 0x795b09700000] 1048576 bytes
Datastack : [0x795b095be000 -> 0x795b095fe000] 262144 bytes
Retainstack : [0x795b0957c000 -> 0x795b095bc000] 262144 bytes
Callstack : [0x795b0947a000 -> 0x795b0957a000] 1048576 bytes
Launcher error:
Process exited with error code T{ signal { n 6 } }
Launch descriptor:
T{ process
{ command { "./factor" "-run=mason.test" } }
{ environment H{ } }
{ environment-mode +append-environment+ }
{ stdin +closed+ }
{ stdout "../test-log" }
{ stderr +stdout+ }
{ group +new-group+ }
{ timeout T{ duration { hour 2 } } }
{ status T{ signal { n 6 } } }
}