• Bug#1105156: flox: test_first_last fails on riscv64

    From Drew Parsons@21:1/5 to All on Mon May 12 14:40:01 2025
    Source: flox
    Version: 0.10.3-1
    Severity: serious
    Justification: debci

    test_first_last from test_properties.py is regularly failing in debci
    testing on riscv64, e.g. https://ci.debian.net/data/autopkgtest/testing/riscv64/f/flox/60337814/log.gz https://ci.debian.net/data/autopkgtest/testing/riscv64/f/flox/60473005/log.gz https://ci.debian.net/data/autopkgtest/unstable/riscv64/f/flox/60184699/log.gz

    The test imposes a 500 ms deadline, but riscv64 is slow and regularly
    completes the task in 600 ms, failing the test.

    test_first_last should probably be skipped on riscv64.

    The test log is

    2240s =================================== FAILURES ===================================
    2240s _______________________________ test_first_last ________________________________
    2240s ../../build.FuY/src/tests/test_properties.py:253: in test_first_last 2240s data=st.data(),
    2240s /usr/lib/python3/dist-packages/hypothesis/core.py:926: in test
    2240s raise DeadlineExceeded(
    2240s E hypothesis.errors.DeadlineExceeded: Test took 607.65ms, which exceeds the deadline of 500.00ms
    2240s E Falsifying example: test_first_last(
    2240s E data=data(...),
    2240s E array=dask.array<array, shape=(4, 1), dtype=object, chunksize=(2, 1), chunktype=numpy.ndarray>,
    2240s E func='first',
    2240s E )
    2240s E Draw 1: array([0], dtype=int8)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)