|Anonymous | Login||04-04-2020 09:47 UTC|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Advanced Details [ Jump to Notes ]||[ View Simple ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0007645||[Squeak] VM||minor||always||06-08-11 13:37||11-17-11 02:20|
|ETA||none||Fixed in Version||Product Version|
|Summary||0007645: OSProcess tests hang on Mac Cocoa VM (184.108.40.206)|
From http://forum.world.st/OSProcess-on-1-2-tp3569458p3569458.html [^] :
> For the Cocoa VM (220.127.116.11), TestRunner hangs again. One hanging test was
> UnixProcessTestCase>>testClassForkHeadlessSqueakAndDo on "[p isRunning] whileTrue: [(Delay
> forMilliseconds: 100) wait]."
>These were the values for that VM:
> #('CommandShell versionString ==> 4.4.15' 'OSProcess versionString ==> 4.4.2'
> 'UnixOSProcessPlugin 6 February 2011 (e)' 'OSPP versionString ==> 4.4.3' 'nil' 'AIO plugin
> versionString ==> nil' 'nil' 'XDCP versionString ==> nil')
|Steps To Reproduce|
(0014143 - 721 - 733 - 733 - 733 - 733 - 733)
This was caused by improper handling of #forkSqueak failures in OSProcess. I have updated both OSProcess and CommandShell to resolve this and a number of other problems with the unit tests when running on OS X. With these updates, you should expect all tests to run to completion, and you should expect numerous test errors and failures associated with all of the tests that rely on #forkSqueak for interprocess testing (e.g. testing file locks by forking another Squeak to interact with the parent).
Note that #forkSqueak and XDisplayControlPlugin are not supported for the Mac VM, and I have no plans to change this. At this time, #forkSqueak is expected to work correctly *only* on the Unix standard interpreter VM.
(0014196 - 716 - 782 - 782 - 782 - 782 - 782)
These issues for OS X were addressed in OSProcess version 4.4.3 (update notice below). Please open another report (or reopen this one) if additional problems are found. Thanks.
Time: 10 June 2011, 4:20:29.871 pm
Fix forkHeadlessSqueak to fail cleanly on OS X to prevent unit test hang.
Update unit tests to work around OS X differences in directory naming and file protections.
Catch warnings in unit tests to permit them to run on OS X without UI interaction. Many test failures are expected on OS X due to lack of forkSqueak and XDisplayControlPlugin capability on that platform.
|06-08-11 13:37||seandenigris||New Issue|
|06-08-11 13:37||seandenigris||Status||new => assigned|
|06-08-11 13:37||seandenigris||Assigned To||=> lewis|
|06-11-11 13:38||lewis||Note Added: 0014143|
|06-11-11 13:38||lewis||Status||assigned => acknowledged|
|11-17-11 02:20||lewis||Status||acknowledged => resolved|
|11-17-11 02:20||lewis||Resolution||open => fixed|
|11-17-11 02:20||lewis||Note Added: 0014196|
| Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
41 total queries executed.|
32 unique queries executed.