Skip to content

[Bug]: Systematic test failures with ubuntu-22.04-arm pipeline #29489

@timhoffm

Description

@timhoffm

Bug summary

__________________________ test_errorbar_limits[svg] ___________________________
[gw2] linux -- Python 3.12.8 /opt/hostedtoolcache/Python/3.12.8/arm64/bin/python

args = ()
kwds = {'extension': 'svg', 'request': <FixtureRequest for <Function test_errorbar_limits[svg]>>}

    @wraps(func)
    def inner(*args, **kwds):
        with self._recreate_cm():
>           return func(*args, **kwds)
E           matplotlib.testing.exceptions.ImageComparisonFailure: images not close (RMS 0.002):
E           	result_images/test_axes/errorbar_limits_svg.png
E           	result_images/test_axes/errorbar_limits-expected_svg.png
E           	result_images/test_axes/errorbar_limits_svg-failed-diff.png

/opt/hostedtoolcache/Python/3.12.8/arm64/lib/python3.12/contextlib.py:81: ImageComparisonFailure

and

_____________________________ test_get_font_names ______________________________
[gw3] linux -- Python 3.12.8 /opt/hostedtoolcache/Python/3.12.8/arm64/bin/python

    @pytest.mark.skipif(sys.platform == 'win32', reason='Linux or OS only')
    def test_get_font_names():
        paths_mpl = [cbook._get_data_path('fonts', subdir) for subdir in ['ttf']]
        fonts_mpl = findSystemFonts(paths_mpl, fontext='ttf')
        fonts_system = findSystemFonts(fontext='ttf')
        ttf_fonts = []
        for path in fonts_mpl + fonts_system:
            try:
                font = ft2font.FT2Font(path)
                prop = ttfFontProperty(font)
                ttf_fonts.append(prop.name)
            except Exception:
                pass
        available_fonts = sorted(list(set(ttf_fonts)))
        mpl_font_names = sorted(fontManager.get_font_names())
>       assert set(available_fonts) == set(mpl_font_names)
E       AssertionError: assert {'C059', 'D05...ns Mono', ...} == {'C059', 'D05...ns Mono', ...}
E         
E         Extra items in the right set:
E         'Liberation Serif'
E         'Liberation Sans Narrow'
E         'Liberation Sans'
E         'Liberation Mono'
[...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    CI: testingCI configuration and testing

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions