You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
New travis failures for 3.5.1 (dalehhenrich/Grease) #105
AFAIK, nothing changed on that magical day ... but something did and I hope I can find it ... it also seems that the failures do not occur when run locally out of local git clones ... I have more work to do to just reproduce the problem it seems ... hopefully, it isn't just travis where the problems reproduce:)
@jbrichau, it looks like the problem is that while useLatestMetacello has been set to true in the Grease .smalltalk.ston file for quite some time, a GemStone-only bug introduced recently in Metacello ... And the Metacello bug was masked by the fact that there were some expected test failures that masked the fact that the builds were failing for 3.5.x ...
This particular bug is strictly a SmalltalkCI issue, since in normal circumstances a GLASS installation will not be loading Metacello from Metacello/metacello. And I'm thinking of partly addressing the bug by ignoring useLatestMetacello. What do you think ...
Unlike the Pharo and Squeak images, it is possible that the latest version of Metacello has to be explicitly loaded, but GLASS builds always use the latest Metacello when building the stone ... so this shouldn't really be a problem for GemStone ...
I've run out of time to do any more work tonight, but depending upon your thoughts I'll go about arranging that useLatesMetacello will be ignored by GemStone ... and while I'm at it, I will look into fixing the JSON tests (that cause us to ignored the introduced Metacello bug (Metacello/metacello#518)
About ignoring the setting: I guess it would be better to throw an error and make people remove the setting for Gemstone builds. Silent ignores can be a mindf**k ;-)
@jbrichau, I understand that silently ignoring can be a problem, but I am concerned about the possible cases where the useLatestMetacello is needed for pharo/squeak and at the moment there is no way to make that setting conditional. At the end of the day, the issue was the fact that Metacello/metacello got released with a fatal error for GemStone 3.5.x (Metacello/metacello#518) .. so for now I will hold off changing smalltalkCI until I hear from you again and work on getting the Metacello/metacello builds passing:)
Hey @dalehenrich, I only removed the ‘useLatestMetacello’ for Gemstone builds. So, that is possible. Yes, people will have to fix their smalltalk.ston files because of a change in SmalltalkCI then. But it will be easy to see and fix a “useLatestMetacello not supported in Gemstone builds” error popping up.
I’m game either way you choose since there is always a trade-off to make and both paths have a good solution.
Ultimately, it is more of a performance issue modulo Metacello bugs, since a reload of Metacello should be totally unnecessary in GemStone, but probably should go work anyway ... in the (hopefully) short term, now that we understand the issue, I'm not interested n spending anymore time on the SmalltalkCI work and spend my limited time window addressing Metacello issues:)
Activity
jbrichau commentedon Jun 29, 2020
@dalehenrich Ow, I did not get pinged you actually sent this one in to me. I pinged you if you know about this (SeasideSt/Seaside#1198 (comment))
The build worked fine on May 23d, when I made the last change to Grease in this repo: https://travis-ci.org/github/SeasideSt/Grease/builds/690310159 and it started failing from then.
So, afaik, there is nothing in Grease itself that made this fail.
dalehenrich commentedon Jun 29, 2020
AFAIK, nothing changed on that magical day ... but something did and I hope I can find it ... it also seems that the failures do not occur when run locally out of local git clones ... I have more work to do to just reproduce the problem it seems ... hopefully, it isn't just travis where the problems reproduce:)
dalehenrich commentedon Jun 29, 2020
I have isolated the failures to be related to the use of SmalltalkCI and an updateMetacello call within the SmalltalkCI framework (https://travis-ci.org/github/GsDevKit/Grease/jobs/702843448#L2003-L2080):
dalehenrich commentedon Jun 30, 2020
@jbrichau, it looks like the problem is that while
useLatestMetacellohas been set to true in the Grease .smalltalk.ston file for quite some time, a GemStone-only bug introduced recently in Metacello ... And the Metacello bug was masked by the fact that there were some expected test failures that masked the fact that the builds were failing for 3.5.x ...This particular bug is strictly a SmalltalkCI issue, since in normal circumstances a GLASS installation will not be loading Metacello from Metacello/metacello. And I'm thinking of partly addressing the bug by ignoring
useLatestMetacello. What do you think ...Unlike the Pharo and Squeak images, it is possible that the latest version of Metacello has to be explicitly loaded, but GLASS builds always use the latest Metacello when building the stone ... so this shouldn't really be a problem for GemStone ...
I've run out of time to do any more work tonight, but depending upon your thoughts I'll go about arranging that
useLatesMetacellowill be ignored by GemStone ... and while I'm at it, I will look into fixing the JSON tests (that cause us to ignored the introduced Metacello bug (Metacello/metacello#518)do not use #useLatestMetacello setting for GemStone (fix issue #105)
jbrichau commentedon Jun 30, 2020
@dalehenrich Great catch. I was staring at the difference between the SeasideSt/Parasol builds (which work) and the SeasideSt/Grease builds that fail (and indeed, only on TravisCI) and just did not discern that difference. I have removed the setting for the GemStone builds both in Grease and Seaside. The builds are green: https://travis-ci.org/github/SeasideSt/Seaside/builds/703421248 and https://travis-ci.org/github/SeasideSt/Grease/builds/703425342
About ignoring the setting: I guess it would be better to throw an error and make people remove the setting for Gemstone builds. Silent ignores can be a mindf**k ;-)
dalehenrich commentedon Jun 30, 2020
@jbrichau, I understand that silently ignoring can be a problem, but I am concerned about the possible cases where the useLatestMetacello is needed for pharo/squeak and at the moment there is no way to make that setting conditional. At the end of the day, the issue was the fact that Metacello/metacello got released with a fatal error for GemStone 3.5.x (Metacello/metacello#518) .. so for now I will hold off changing smalltalkCI until I hear from you again and work on getting the Metacello/metacello builds passing:)
jbrichau commentedon Jun 30, 2020
Hey @dalehenrich, I only removed the ‘useLatestMetacello’ for Gemstone builds. So, that is possible. Yes, people will have to fix their smalltalk.ston files because of a change in SmalltalkCI then. But it will be easy to see and fix a “useLatestMetacello not supported in Gemstone builds” error popping up.
I’m game either way you choose since there is always a trade-off to make and both paths have a good solution.
dalehenrich commentedon Jun 30, 2020
Ultimately, it is more of a performance issue modulo Metacello bugs, since a reload of Metacello should be totally unnecessary in GemStone, but probably should go work anyway ... in the (hopefully) short term, now that we understand the issue, I'm not interested n spending anymore time on the SmalltalkCI work and spend my limited time window addressing Metacello issues:)
Thanks for the discussion and flexibility:)