Skip to content

Intermittently failing C-Execution test

From here: https://gitlab.tiker.net/arghdos/loopy/-/jobs/38794

fails with:

_______________________ test_c_target_strides_nonsquare ________________________
Traceback (most recent call last):
  File "/var/lib/gitlab-runner/builds/569f1b25/0/arghdos/loopy/test/test_c_execution.py", line 129, in test_c_target_strides_nonsquare
    assert np.allclose(knl(a=a_np)[1],
  File "build/bdist.linux-x86_64/egg/loopy/kernel/__init__.py", line 1258, in __call__
    return kex(*args, **kwargs)
  File "build/bdist.linux-x86_64/egg/loopy/target/c/c_execution.py", line 419, in __call__
    kernel_info.c_kernels, *args, **kwargs)
  File "<generated code>", line 43, in invoke_loopy_kernel_loopy_kernel
AssertionError: Strides of loopy created array out, do not match expected.

running this test (uncached) 20-30 times on my system does not reproduce -- perhaps this something due to different dependency versions?

edit: Also this has only appeared once on the 20 or so pipelines I've run for C-execution?

Edited by Nick Curtis