hpi-swa / smalltalkCI

Framework for testing Smalltalk projects with GitHub Actions, GitLab CI, Travis CI, AppVeyor, and others.
MIT License
94 stars 68 forks source link

CI cannot clone anymore #562

Closed hogoww closed 2 years ago

hogoww commented 2 years ago

Hello,

(Pharo 10/11, running on linux) I have been unable to clone my dependency on my CI since .. Today. My build fails after a few seconds with an error showing the clone of a dependency fails. This worked fine while running this locally. Last run that worked fine was 7 days ago, but I haven't committed since then.

Here's the relevant bit

MetacelloNotification: Loaded -> BaselineOfPolyphemus-cypress.1 --- filetree:///home/runner/work/Polyphemus/Polyphemus [:] --- filetree:///home/runner/work/Polyphemus/Polyphemus
MetacelloNotification: Loading baseline of BaselineOfPolyphemus...
I got an error while cloning: There was an authentication error while trying to execute the operation: . 
This happens usually because you didn't provide a valid set of credentials. 
You may fix this problem in different ways: 

1. adding your keys to ssh-agent, executing ssh-add ~/.ssh/id_rsa in your command line.
2. adding your keys in settings (open settings browser search for "Use custom SSH keys" and
add your public and private keys).
IceGenericError: error reading from the zlib stream
IceLibgitErrorVisitor>>visitGenericError:
IceLibgitErrorVisitor>>visitERROR:
LGit_GIT_ERROR>>acceptError:

Here's my smalltalk.ston

SmalltalkCISpec {
    #loading : [
        SCIMetacelloLoadSpec {
            #baseline : 'Polyphemus',
            #directory : '.',
            #platforms : [ #pharo ]
        }
    ],
  #testing : {
        #categories: [ 'Polyphemus*' ]
  }
}

And maybe more importantly, my baseline

baseline: spec
    <baseline>

    spec for: #common do: [
        spec baseline: 'VMMaker'
                with:[ spec repository: 'github://pharo-project/OpenSmalltalk-VM:pharoX' ].
        spec package: 'Polyphemus-Memory'.
        spec package: 'Polyphemus-Object'.
        spec package: 'Polyphemus-Tests'.
    ]

Some other people have had errors too apparently, not sure if they are related. https://github.com/pharo-vcs/iceberg/issues/1600

Any Idea? Or any additional information I can provide? Pierre

badetitou commented 2 years ago

It might be relative to GitHub. I also have GitLab ci that works

hogoww commented 2 years ago

This issue was fixed on the Pharo side (https://github.com/pharo-project/pharo/issues/11481)

fniephaus commented 2 years ago

Great! Thanks for the update!