Closed dalehenrich closed 7 years ago
Also looks like @estebanlm is addressing the test failures with his work in PR #452
@dalehenrich I have no idea why Pharo 5.0 tests are failing, and I cannot reproduce it in my machine :( any idea?
Well,
Smalltalk
at: #SessionManager
ifPresent: [ :c | c default registerNetworkClassNamed: self name ]
ifAbsent:[ Smalltalk addToStartUpList: self ].
broke all builds...
@estebanlm I agree with @krono it certainly looks like #at:ifPresent:ifAbsent: is the culprit ... perhaps in your image, MCGitBasedNetworkRepository is already initialized, since that is where the failure appears to be happening on travis?
Or Pharo has SmalltalkImage>> #at:ifPresent:ifAbsent:
Also, it would work with Smalltalk globals #at:ifPresent:ifAbsent:
in Squeak..
hmmm... ok, I will submit a fix tomorrow.
and now I screwed the Pharo platform code. this thing of monticello branches is annoying.
What about
Smalltalk globals
at: #SessionManager
ifPresent: [ :c | c default registerNetworkClassNamed: self name ]
ifAbsent:[ Smalltalk addToStartUpList: self ].
meh… maybe… I took #classNamed: because that’s what we have for FFI-Kernel. but in the merge I lost the baseline… grrr… anyway, retrying :)
On 28 Sep 2017, at 14:44, Tobias Pape notifications@github.com wrote:
What about
Smalltalk globals at: #SessionManager ifPresent: [ :c | c default registerNetworkClassNamed: self name ] ifAbsent:[ Smalltalk addToStartUpList: self ]. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Metacello/metacello/pull/448#issuecomment-332824635, or mute the thread https://github.com/notifications/unsubscribe-auth/AAfWXjMCSZ1SoG7G_rfO8i2w08KEiIZVks5sm5SmgaJpZM4PNAMB.
still failing, now for other reasons :( I will check what I broke tomorrow.
So. Now, I don't know why Gemstone is failing :) (also, the cache problem is becoming... annoying)
yes I saw that... but I did not make that change, that's why is weird.
I've commented on your checking ... #includesAll: is not portabel ... #includesAllOf: is portable ... or at least used to be ...
mmm... #includesAllOf: was victim of autodeprecation tool and I didn't see it :( yet another issue to fix :'(
With regards to the "cache problem", I assume you are referring to this? I consider clearing the cache a workaround to a "pharo problem"
Have you looked into who is doing the mv
? This seems to be a bug in the smalltalkCI pharo download code somewhere ...
Yeah, writing portable code is real pain when one or more platforms decide to deprecate formerly portable methods ... it's why ANSI Smalltalk was created ... it =should be possible for a Smalltalk programmer to write portable code with the expectation that the lifetime of that portable code is greater then 1 year ... Perhaps a new effort at redefining what should be considered as portable should be started?
yeah... annoying. But do not blame me! While I can agree with changes that improves the platform, I dislike the name changes "just because"... (in this case it was because there were two equivalent methods and who chose which one to keep didn't know about compatibility :( )
I'm not blaming, but I am suggesting that a stake be put into the ground for a set of protocol that can be depended upon to not change between platforms and for the foreseeable future :)
ok, cache problem aside, seems that this time I nailed it (finally!)
I've cleared the caches and restarted the pharo6.1 build for the PR and the build on your the source branch ... they should both be green before merging a pull request ...
@estebanlm this puppy dog is ready to go ... you want to merge the pull request and exercise your owner super powers?
ok :)
Looks like same 13 tests fail in Pharo6.0