kandeshvari / phantomuserland

Automatically exported from code.google.com/p/phantomuserland
GNU Lesser General Public License v3.0
1 stars 0 forks source link

write_port_etc: res unknown error 60 #79

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Perform Phantom build
2. Run all tests
3. Expect to see in ports test

What is the expected output? What do you see instead?

Expected to complete without errors. Actually shows the following (lines of 
interest are outlined by empty lines):

test/do_test_ports: porttest: port_create()
test/do_test_ports: porttest: port_find()

test/do_test_ports: 'test port #1' has id 0 (should be 0)

test/do_test_ports: porttest: port_write() on 1, 2 and 3
test/do_test_ports: porttest: port_count(test_p1) = 1
test/do_test_ports: porttest: port_write() on 1 with timeout of 1 sec (blocks 1 
sec)

write_port_etc: res unknown error 60

test/do_test_ports: porttest: port_write() on 2 with timeout of 1 sec (wont 
block)
test/do_test_ports: porttest: res=0, ok
test/do_test_ports: porttest: port_read() on empty port 4 with timeout of 1 sec 
(blocks 1 sec)
test/do_test_ports: porttest: res=-60, ok
test/do_test_ports: porttest: spawning thread for port 1
test/do_test_ports: porttest: write
test/port_test_thread_func: porttest: thread running

test/port_test_thread_func: port_read #1 code 1 len 3 buf abc--

test/do_test_ports: porttest: write #2
test/port_test_thread_func: port_read #1 code 1 len 4 buf abcd-
test/do_test_ports: porttest: write #3
test/port_test_thread_func: port_read #1 code 2 len 5 buf abcd
test/do_test_ports: porttest: waiting on spawned thread
test/do_test_ports: porttest: close p1

test/do_test_ports: porttest: attempt write p1 after close

write_port_etc: port 1 closed
test/do_test_ports: porttest: port_write ret -1
test/do_test_ports: porttest: end test main thread
KERNEL TEST PASSED: ports

Please use labels and text to provide additional information.

Original issue reported on code.google.com by seva.glu...@gmail.com on 21 Oct 2010 at 1:10

GoogleCodeExporter commented 8 years ago

Original comment by dmitry.zavalishin@gmail.com on 22 Oct 2010 at 9:16