[BUG][FIX} Linux 2.8 VM running the Network Unit tests

John M McIntosh johnmci at smalltalkconsulting.com
Tue Jul 18 06:43:34 UTC 2000


on 7/17/00 11:57 PM, Rob Withers at slosher2 at home.com wrote:

> Rob Withers wrote:
>> 
>> I downloaded the Craig Latta's correspondents port from John's site and
>> I am trying to get them running in a rebuilt Linux VM with a 2.8 image.
>> When running the tests, without flow and correspondents, I am getting
>> errors in the Resolver Tests (and the Socket tests, but I haven't
>> drilled deeper there yet).  At first I had a configuration problem with
> 
> Ok, I am seeing four different classes of failures/errors in the
> NetworkSocketOpenTest.  Most of the failures are the error code problem
> from the Resolver tests.  The other failures are occuring because the
> Socket>>remotePort call is returning 0 rather than the remote port that
> the test thinks it has.

Should return the port.

> 
> There are two errors:
> 
> NetworkSocketOpenTest>>testCheckSocketUtilities is an error on a ping:
> It looks like the the otherEnd closed, and there is a send data timeout
> exception on sendData: in the ping: method.  It hasn't even gotten to
> the waitForDataUntil: yet.
> 
> NetworkSocketOpenTest>>testSocketListenAccept is a primative error on
> #primAcceptFrom:receiveBufferSize:sendBufSize:semaIndex:
> 
> I'm not sure how to continue testing these errors...
> 
> Rob
> 

Hi, great someone is running the tests! I believe last week there was some
discussion about shutdown versus close on the unix sockets and how that was
wrong and it might cause a flush to occur versus completing the send of the
data. 

However you should ensure the ping: test actually can complete, try pinging
the site in question on the command line and see what happens.

Can't speak for the primAcceptFrom:receiveBufferSize:sendBufSize:semaIndex:

--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================
Custom Macintosh programming & various Smalltalk dialects
PGP Key: DSS/Diff/46FC3BE6
Fingerprint=B22F 7D67 92B7 5D52 72D7  E94A EE69 2D21 46FC 3BE6
===========================================================================





More information about the Squeak-dev mailing list