smalltalkCI
smalltalkCI copied to clipboard
Metacello installation failed
In one of my branches, the installation of Metacello is failing when testing smalltalkCI under Gemstone. Two different kinds of errors appear:
https://travis-ci.com/github/MrModder/smalltalkCI/jobs/378371026
Fetched -> BaselineOfMetacello-dkh.101 --- filetree:///Users/travis/build/MrModder/smalltalkCI/_builds/GsDevKit_home/shared/repos/metacello-work/repository --- filetree:///Users/travis/build/MrModder/smalltalkCI/_builds/GsDevKit_home/shared/repos/metacello-work/repository'Errors in script loaded from /Users/travis/build/MrModder/smalltalkCI/_builds/GsDevKit_home/sys/default/pharo/gsDevKitCommandLineLoad.st'
[31mPrimitiveFailed: primitive #primGetPosition: in MultiByteFileStream failed
[0mMultiByteFileStream(Object)>>primitiveFailed:
MultiByteFileStream(Object)>>primitiveFailed
MultiByteFileStream(StandardFileStream)>>primGetPosition:
MultiByteFileStream(StandardFileStream)>>position:
MultiByteFileStream(StandardFileStream)>>setToEnd
ChangesLog>>assureStartupStampLogged
SmalltalkImage>>assureStartupStampLogged
CompiledMethod>>putSource:inFile:withPreamble:
CompiledMethod>>putSource:class:category:withStamp:inFile:priorMethod:
BaselineOfMetacello class(ClassDescription)>>logMethodSource:forMethod:inCategory:withStamp:
MethodAddition>>writeSourceToLog
MethodAddition>>createCompiledMethod
MCMethodDefinition>>addMethodAdditionTo:
MCPackageLoader>>basicLoadDefinitions in Block: [ :each | each addMethodAdditionTo: methodAddition...etc...
OrderedCollection(Collection)>>do:displayingProgress:every: in Block: [ :each | ...
OrderedCollection>>do:
OrderedCollection(Collection)>>do:displayingProgress:every: in Block: [ :bar | ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
NonInteractiveUIManager(UIManager)>>displayProgress:from:to:during:
ByteString(String)>>displayProgressFrom:to:during:
OrderedCollection(Collection)>>do:displayingProgress:every:
OrderedCollection(Collection)>>do:displayingProgress:
MCPackageLoader>>basicLoadDefinitions
MCPackageLoader>>basicLoad in Block: [ self basicLoadDefinitions ]
BlockClosure>>on:do:
[0m[91;1mError on or near line 142 :: create_gs_server_image -d /Users/travis/build/MrModder/smalltalkCI/_builds/GsDevKit_home/shared/pharo gsDevKitCommandLine :: create_gs_server_image -d /Users/travis/build/MrModder/smalltalkCI/_builds/GsDevKit_home/shared/pharo gsDevKitCommandLine[0m
[91;1mError on or near line 78 :: devKitCommandLine createSmalltalkCIStoneNew travis 3.5.0 DataCurator swordfish :: devKitCommandLine createSmalltalkCIStoneNew travis 3.5.0 DataCurator swordfish [0m
[91;1mError on or near line 203 :: createStone travis 3.5.0 :: createStone travis 3.5.0[0m
https://travis-ci.org/github/hpi-swa/smalltalkCI/jobs/721690820
---Step 3 of tODE bootstrap process: execute loadGLASS1.ws
-----Upgrade GLASS1 using gsUpgrader
======================
=====MetacelloPreview is loaded. Skipping GLASS upgrade.
======================
=====Metacello Preview already loaded
======================
=====Metacello project repository is not in standard location (github://dalehenrich/metacello-work:master/repository). The upgrade of Metacello may not be complete.
======================
=====Upgrading Metacello
and then a bit later...
Project: FileTree baseline
Fetched -> Metacello-GitBasedRepository-dkh.21 --- filetree:///Users/travis/build/hpi-swa/smalltalkCI/_builds/GsDevKit_home/shared/repos/metacello-work/repository [e404ac38:master] --- filetree:///Users/travis/build/hpi-swa/smalltalkCI/_builds/GsDevKit_home/shared/repos/metacello-work/repository
Fetched -> Metacello-GitHub-topa.46 --- filetree:///Users/travis/build/hpi-swa/smalltalkCI/_builds/GsDevKit_home/shared/repos/metacello-work/repository [e404ac38:master] --- filetree:///Users/travis/build/hpi-swa/smalltalkCI/_builds/GsDevKit_home/shared/repos/metacello-work/repository
Fetched -> Metacello-Bitbucket-topa.6 --- filetree:///Users/travis/build/hpi-swa/smalltalkCI/_builds/GsDevKit_home/shared/repos/metacello-work/repository [e404ac38:master] --- filetree:///Users/travis/build/hpi-swa/smalltalkCI/_builds/GsDevKit_home/shared/repos/metacello-work/repository
Loaded -> Metacello-Base-topa.124 --- filetree:///Users/travis/build/hpi-swa/smalltalkCI/_builds/GsDevKit_home/shared/repos/metacello-work/repository [e404ac38:master] --- cache
Loaded -> Metacello-Core-EstebanLorenzano.832 --- filetree:///Users/travis/build/hpi-swa/smalltalkCI/_builds/GsDevKit_home/shared/repos/metacello-work/repository [e404ac38:master] --- cache
Warning: You are about to load new versions of the following packages that have unsaved changes in the image. If you continue, you will lose these changes.
Metacello-MC
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received
The build has been terminated
From the log this appears to be a failure creating the pharo3 vm used by the $GS_HIOME/bin/devKitCommandLine command and it also looks like you are running the build on a OSX 10.13.6 ... leading up to the primitive failure there are a number of error messages about compression failures and I'm not sure what is happening there ...
Looking at the hpi-swa builds, I see the same error messages about compression failures, but in this case the build succeeds ...
Since the build should succeed, it is worth restarting the build and trying again ... it looks like the error is actually occurring while trying to write to the changelog so perhaps there was a problem with the hardware you were running on ...
Rerunning did fix it.
Maybe it was a temporary issue :shrug: Odd that it happened multiple times though.
The first error appeared again today, I had to rerun the build twice before it somehow fixed itself. The compression error's are still printed, so I don't think that's the problem per se.
It would be really helpful to fix this, as it holds up the entire rest of the build. I have no idea what the failing code does though and I'm unable to run GemStone locally as it can't find my SSL/TLS library for some reason :shrug:
Just a wild guess, but I have experienced similar errors in my image a few times before I uploaded System-ct.1136 into the Squeak Inbox. Could this be an explanation for these build failures? See also this thread: [squeak-dev] Re: [CRON] Errored: squeak-smalltalk/squeak-app#1811.