Skip to content

GHA: Tests fail with ubuntu-20.04 #5662

@hugovk

Description

@hugovk

GitHub Actions fails when using the Ubuntu 20.04 image, and pass with 18.04.

Expected Result

Tests pass on GitHub Actions with ubuntu-20.04

Actual Result

Tests fail on GitHub Actions with ubuntu-20.04 for CPython, pass on PyPy.

Reproduction Steps

I noticed this annotation on this recent build:

Ubuntu-latest workflows will use Ubuntu-20.04 soon. For more details, see actions/runner-images#1816

I ran a quick test with explicit ubuntu-20.04 instead of ubuntu-latest:

I've not looked into the failures in detail, one is requests/adapters.py:514: SSLError.

The linked actions/runner-images#1816 says:

This change will be rolled out over a period of several weeks beginning on November, 30. (December, 22 - January, 4 will be a migration break due to holidays)

It's also possible to explicitly pin to ubuntu-18.04, which passes:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions