Skip to content

CI: Many jobs fail cloning repos from opendev.org #2565

@mandre

Description

@mandre

Many CI jobs fail with GnuTLS error, for example:

+ functions-common:git_timed:639           :   timeout -s SIGINT 0 git clone https://opendev.org/openstack/glance.git /opt/stack/glance --branch stable/train
Cloning into '/opt/stack/glance'...
error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
fatal: expected 'packfile'

https://github.com/gophercloud/gophercloud/actions/runs/4248650726/jobs/7388053337

Many of the answers on stackoverflow for this error message point that it's a known issue with git compiled against gnutls and suggest compiling it against openssl. The github action image installs git from the git-core ppa and is using gnutls. The official package from the ubuntu repositories also uses gnutls.
We might want to build git ourselves, however that seems odd, instead let's try to use github mirrors to pull the code instead of opendev.org.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions