I'm trying to run squeak-ci on OS X machines (courtesy of the good
folk at Travis CI), and am trying to debug a build failure. The full log is here - https://travis-ci.org/squeak-smalltalk/squeak-ci/jobs/105019185 - but the juicy bit is this: spawning command 0 with timeout 600 seconds: unset DISPLAY && "/var/folders/gw/_2jq29095y7b__wtby9dg_5h0000gn/T/d20160126-547-19ihlo2/Contents/MacOS/Squeak VM Opt" "-vm-display-null" "/Users/travis/build/squeak-smalltalk/squeak-ci/target/TrunkImage.image" "../save-image.st" (Command started with PID 556) sh: /var/folders/gw/_2jq29095y7b__wtby9dg_5h0000gn/T/d20160126-547-19ihlo2/Contents/MacOS/Squeak VM Opt: Permission denied rake aborted! Process 556 failed with exit status 126 Would some kind soul please do the following, and report the results? * git clone https://github.com/squeak-smalltalk/squeak-ci * cd squeak-ci * comment out this line: https://github.com/squeak-smalltalk/squeak-ci/blob/master/lib/squeak-ci/build.rb#L48 * bundle install * bundle exec rake I'm particularly interested in whether this works on your machine. Hopefully it fails in the same way, giving us something debuggable. If so, what are the permissions of "Squeak VM Opt" ? frank |
I haven't played around much with squeak-ci yet, but does "Squeak VM Opt" even exist?
Shouldn't it be just "Squeak"? On Wed, Jan 27, 2016 at 11:01 AM Frank Shearar <[hidden email]> wrote: I'm trying to run squeak-ci on OS X machines (courtesy of the good |
On 27.01.2016, at 12:07, Fabio Niephaus <[hidden email]> wrote: > I haven't played around much with squeak-ci yet, but does "Squeak VM Opt" even exist? > Shouldn't it be just "Squeak"? well, it depends on the vm app bundle. Some use Squeak VM Opt, some use Squeak, some use Croquet. I don't know off-hand which uses which. But indeed, the Cog.app which is used in the process uses "Squeak". Nota bene: I don't think we need the copy-vm-to-temp-dir for osx and/or travis-ci. This is entirely a jenkins thing. Frank, I noticed that you started playing around with the squeak-ci repo using travis/appveyor. That's great! Yet, IMHO the squeak-ci repo has suffered a tad from being bent and bent to make jenkins happy. What about a fresh start, probably even using smalltalkCI? What about a squeak-smalltalk/squeak repo? Kidding a bit but I actually want to be there in some year, don't y'all think? Best regards -Tobias > > > On Wed, Jan 27, 2016 at 11:01 AM Frank Shearar <[hidden email]> wrote: > I'm trying to run squeak-ci on OS X machines (courtesy of the good > folk at Travis CI), and am trying to debug a build failure. The full > log is here - https://travis-ci.org/squeak-smalltalk/squeak-ci/jobs/105019185 > - but the juicy bit is this: > > spawning command 0 with timeout 600 seconds: unset DISPLAY && > "/var/folders/gw/_2jq29095y7b__wtby9dg_5h0000gn/T/d20160126-547-19ihlo2/Contents/MacOS/Squeak > VM Opt" "-vm-display-null" > "/Users/travis/build/squeak-smalltalk/squeak-ci/target/TrunkImage.image" > "../save-image.st" > (Command started with PID 556) > sh: /var/folders/gw/_2jq29095y7b__wtby9dg_5h0000gn/T/d20160126-547-19ihlo2/Contents/MacOS/Squeak > VM Opt: Permission denied > rake aborted! > Process 556 failed with exit status 126 > > Would some kind soul please do the following, and report the results? > * git clone https://github.com/squeak-smalltalk/squeak-ci > * cd squeak-ci > * comment out this line: > https://github.com/squeak-smalltalk/squeak-ci/blob/master/lib/squeak-ci/build.rb#L48 > * bundle install > * bundle exec rake > > I'm particularly interested in whether this works on your machine. > Hopefully it fails in the same way, giving us something debuggable. If > so, what are the permissions of "Squeak VM Opt" ? > > frank > > |
In reply to this post by fniephaus
The file definitely exists:
http://www.squeakvm.org/mac/release/Squeak%204.2.5beta1U.zip contains it. Is that _right_? I don't know. I last seriously worked on the OS X side of CI well over a year ago. frank On 27 January 2016 at 11:07, Fabio Niephaus <[hidden email]> wrote: > I haven't played around much with squeak-ci yet, but does "Squeak VM Opt" > even exist? > Shouldn't it be just "Squeak"? > > > On Wed, Jan 27, 2016 at 11:01 AM Frank Shearar <[hidden email]> > wrote: >> >> I'm trying to run squeak-ci on OS X machines (courtesy of the good >> folk at Travis CI), and am trying to debug a build failure. The full >> log is here - >> https://travis-ci.org/squeak-smalltalk/squeak-ci/jobs/105019185 >> - but the juicy bit is this: >> >> spawning command 0 with timeout 600 seconds: unset DISPLAY && >> >> "/var/folders/gw/_2jq29095y7b__wtby9dg_5h0000gn/T/d20160126-547-19ihlo2/Contents/MacOS/Squeak >> VM Opt" "-vm-display-null" >> "/Users/travis/build/squeak-smalltalk/squeak-ci/target/TrunkImage.image" >> "../save-image.st" >> (Command started with PID 556) >> sh: >> /var/folders/gw/_2jq29095y7b__wtby9dg_5h0000gn/T/d20160126-547-19ihlo2/Contents/MacOS/Squeak >> VM Opt: Permission denied >> rake aborted! >> Process 556 failed with exit status 126 >> >> Would some kind soul please do the following, and report the results? >> * git clone https://github.com/squeak-smalltalk/squeak-ci >> * cd squeak-ci >> * comment out this line: >> >> https://github.com/squeak-smalltalk/squeak-ci/blob/master/lib/squeak-ci/build.rb#L48 >> * bundle install >> * bundle exec rake >> >> I'm particularly interested in whether this works on your machine. >> Hopefully it fails in the same way, giving us something debuggable. If >> so, what are the permissions of "Squeak VM Opt" ? >> >> frank >> > > > |
In reply to this post by Tobias Pape
On 27 January 2016 at 11:23, Tobias Pape <[hidden email]> wrote:
> > On 27.01.2016, at 12:07, Fabio Niephaus <[hidden email]> wrote: > >> I haven't played around much with squeak-ci yet, but does "Squeak VM Opt" even exist? >> Shouldn't it be just "Squeak"? > > well, it depends on the vm app bundle. > Some use Squeak VM Opt, some use Squeak, some use Croquet. > I don't know off-hand which uses which. > > But indeed, the Cog.app which is used in the process uses "Squeak". > Nota bene: I don't think we need the copy-vm-to-temp-dir for osx and/or > travis-ci. This is entirely a jenkins thing. > > > > Frank, I noticed that you started playing around with the squeak-ci repo > using travis/appveyor. > That's great! Mainly, I wanted to investigate the NuScratch image (reverse engineering the GPIO FFI) and squeak-ci provides a convenient way of building/installing whatever VM you want. And then I found that things were a bit broken on Windows, so figured that AppVeyor would let that stop happening :) Today (hence my other thread) I remembered that Travis also run images on OS X, and figured I'd try get that working too. Also makes keeping an OS X build slave available much easier! > Yet, IMHO the squeak-ci repo has suffered > a tad from being bent and bent to make jenkins happy. Has it been bent & bent? Jenkins doesn't care: it just invokes scripts, which have all the smarts. Which is exactly what we want, because it keeps us more or less independent of CI systems, hence more portable. > What about a fresh start, probably even using smalltalkCI? > What about a squeak-smalltalk/squeak repo? Kidding a bit but I actually want to > be there in some year, don't y'all think? I don't want want to sound like I _object_ to moving to smalltalkCI - I don't care what tech we use as long as we're testing Smalltalk images in a repeatable fashion. So maybe squeak-ci filled a need that we can now address in other fashions. I don't really know. I wrote it mainly to run the Squeak base image tests, and then noticed later that I could test packages too. I guess the nice thing about squeak-ci is that testing a new package means adding a how-to-load-a-package script, and how-to-run-the-tests script, for a package. That package can be hosted in squeaksource, SS3, GitHub, whatever. On the other hand smalltalkCI would require the packages to be hosted on GitHub, wouldn't they? But what's nice is that _the package maintainer_ bears the burden of making things work in CI. (I suppose actually that a package maintainer could write a _stub_ GitHub project that just had a .travis.yml with an install script describing how to download the package from, say, SS3?) frank > Best regards > -Tobias > > >> >> >> On Wed, Jan 27, 2016 at 11:01 AM Frank Shearar <[hidden email]> wrote: >> I'm trying to run squeak-ci on OS X machines (courtesy of the good >> folk at Travis CI), and am trying to debug a build failure. The full >> log is here - https://travis-ci.org/squeak-smalltalk/squeak-ci/jobs/105019185 >> - but the juicy bit is this: >> >> spawning command 0 with timeout 600 seconds: unset DISPLAY && >> "/var/folders/gw/_2jq29095y7b__wtby9dg_5h0000gn/T/d20160126-547-19ihlo2/Contents/MacOS/Squeak >> VM Opt" "-vm-display-null" >> "/Users/travis/build/squeak-smalltalk/squeak-ci/target/TrunkImage.image" >> "../save-image.st" >> (Command started with PID 556) >> sh: /var/folders/gw/_2jq29095y7b__wtby9dg_5h0000gn/T/d20160126-547-19ihlo2/Contents/MacOS/Squeak >> VM Opt: Permission denied >> rake aborted! >> Process 556 failed with exit status 126 >> >> Would some kind soul please do the following, and report the results? >> * git clone https://github.com/squeak-smalltalk/squeak-ci >> * cd squeak-ci >> * comment out this line: >> https://github.com/squeak-smalltalk/squeak-ci/blob/master/lib/squeak-ci/build.rb#L48 >> * bundle install >> * bundle exec rake >> >> I'm particularly interested in whether this works on your machine. >> Hopefully it fails in the same way, giving us something debuggable. If >> so, what are the permissions of "Squeak VM Opt" ? >> >> frank >> >> > > |
In reply to this post by Frank Shearar-3
Squeak VM Opt is a pre-Cog context interpreter VM. Just so you know, that definitely /won't/ run trunk Spur images. As yet we have no context interpreter Spur VMs.
_,,,^..^,,,_ (phone) > On Jan 27, 2016, at 3:25 AM, Frank Shearar <[hidden email]> wrote: > > The file definitely exists: > http://www.squeakvm.org/mac/release/Squeak%204.2.5beta1U.zip contains > it. Is that _right_? I don't know. I last seriously worked on the OS X > side of CI well over a year ago. > > frank > >> On 27 January 2016 at 11:07, Fabio Niephaus <[hidden email]> wrote: >> I haven't played around much with squeak-ci yet, but does "Squeak VM Opt" >> even exist? >> Shouldn't it be just "Squeak"? >> >> >> On Wed, Jan 27, 2016 at 11:01 AM Frank Shearar <[hidden email]> >> wrote: >>> >>> I'm trying to run squeak-ci on OS X machines (courtesy of the good >>> folk at Travis CI), and am trying to debug a build failure. The full >>> log is here - >>> https://travis-ci.org/squeak-smalltalk/squeak-ci/jobs/105019185 >>> - but the juicy bit is this: >>> >>> spawning command 0 with timeout 600 seconds: unset DISPLAY && >>> >>> "/var/folders/gw/_2jq29095y7b__wtby9dg_5h0000gn/T/d20160126-547-19ihlo2/Contents/MacOS/Squeak >>> VM Opt" "-vm-display-null" >>> "/Users/travis/build/squeak-smalltalk/squeak-ci/target/TrunkImage.image" >>> "../save-image.st" >>> (Command started with PID 556) >>> sh: >>> /var/folders/gw/_2jq29095y7b__wtby9dg_5h0000gn/T/d20160126-547-19ihlo2/Contents/MacOS/Squeak >>> VM Opt: Permission denied >>> rake aborted! >>> Process 556 failed with exit status 126 >>> >>> Would some kind soul please do the following, and report the results? >>> * git clone https://github.com/squeak-smalltalk/squeak-ci >>> * cd squeak-ci >>> * comment out this line: >>> >>> https://github.com/squeak-smalltalk/squeak-ci/blob/master/lib/squeak-ci/build.rb#L48 >>> * bundle install >>> * bundle exec rake >>> >>> I'm particularly interested in whether this works on your machine. >>> Hopefully it fails in the same way, giving us something debuggable. If >>> so, what are the permissions of "Squeak VM Opt" ? >>> >>> frank > |
Yep: `rake build` in squeak-ci builds NON-Spur images, and tries to
make the Interpreter-friendly as well, with ckformat. This works fine in Linux, and not so much in Windows and OS X. `rake spur_build` does the obvious :) I realise we'll eventually only have Spur images, but I'm trying to reinvigorate the non-Spur stuff to try get a stable baseline for the current world. frank On 27 January 2016 at 12:29, Eliot Miranda <[hidden email]> wrote: > Squeak VM Opt is a pre-Cog context interpreter VM. Just so you know, that definitely /won't/ run trunk Spur images. As yet we have no context interpreter Spur VMs. > > _,,,^..^,,,_ (phone) > >> On Jan 27, 2016, at 3:25 AM, Frank Shearar <[hidden email]> wrote: >> >> The file definitely exists: >> http://www.squeakvm.org/mac/release/Squeak%204.2.5beta1U.zip contains >> it. Is that _right_? I don't know. I last seriously worked on the OS X >> side of CI well over a year ago. >> >> frank >> >>> On 27 January 2016 at 11:07, Fabio Niephaus <[hidden email]> wrote: >>> I haven't played around much with squeak-ci yet, but does "Squeak VM Opt" >>> even exist? >>> Shouldn't it be just "Squeak"? >>> >>> >>> On Wed, Jan 27, 2016 at 11:01 AM Frank Shearar <[hidden email]> >>> wrote: >>>> >>>> I'm trying to run squeak-ci on OS X machines (courtesy of the good >>>> folk at Travis CI), and am trying to debug a build failure. The full >>>> log is here - >>>> https://travis-ci.org/squeak-smalltalk/squeak-ci/jobs/105019185 >>>> - but the juicy bit is this: >>>> >>>> spawning command 0 with timeout 600 seconds: unset DISPLAY && >>>> >>>> "/var/folders/gw/_2jq29095y7b__wtby9dg_5h0000gn/T/d20160126-547-19ihlo2/Contents/MacOS/Squeak >>>> VM Opt" "-vm-display-null" >>>> "/Users/travis/build/squeak-smalltalk/squeak-ci/target/TrunkImage.image" >>>> "../save-image.st" >>>> (Command started with PID 556) >>>> sh: >>>> /var/folders/gw/_2jq29095y7b__wtby9dg_5h0000gn/T/d20160126-547-19ihlo2/Contents/MacOS/Squeak >>>> VM Opt: Permission denied >>>> rake aborted! >>>> Process 556 failed with exit status 126 >>>> >>>> Would some kind soul please do the following, and report the results? >>>> * git clone https://github.com/squeak-smalltalk/squeak-ci >>>> * cd squeak-ci >>>> * comment out this line: >>>> >>>> https://github.com/squeak-smalltalk/squeak-ci/blob/master/lib/squeak-ci/build.rb#L48 >>>> * bundle install >>>> * bundle exec rake >>>> >>>> I'm particularly interested in whether this works on your machine. >>>> Hopefully it fails in the same way, giving us something debuggable. If >>>> so, what are the permissions of "Squeak VM Opt" ? >>>> >>>> frank >> > |
In reply to this post by Tobias Pape
I'm also happy to help to get all of this working with smalltalkCI.
Best, Fabio -- On Wed, Jan 27, 2016 at 11:23 AM Tobias Pape <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |