Skip to content

Commit bc265dc

Browse files
authored
Merge pull request #297 from trz42/nessi_add_test_hook_for_highway
add `pre_test` hook for dealing with failing Highway tests
2 parents 332c616 + 2c8a6b3 commit bc265dc

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

eb_hooks.py

+11
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,16 @@ def pre_test_hook(self,*args, **kwargs):
402402
PRE_TEST_HOOKS[self.name](self, *args, **kwargs)
403403

404404

405+
def pre_test_hook_exclude_failing_test_Highway(self, *args, **kwargs):
406+
"""
407+
Pre-test hook for Highway: exclude failing TestAllShiftRightLanes/SVE_256 test on neoverse_v1
408+
cfr. https://github.com/EESSI/software-layer/issues/469
409+
"""
410+
cpu_target = get_eessi_envvar('EESSI_SOFTWARE_SUBDIR')
411+
if self.name == 'Highway' and self.version in ['1.0.3'] and cpu_target == CPU_TARGET_NEOVERSE_V1:
412+
self.cfg['runtest'] += ' ARGS="-E TestAllShiftRightLanes/SVE_256"'
413+
414+
405415
def pre_test_hook_ignore_failing_tests_ESPResSo(self, *args, **kwargs):
406416
"""
407417
Pre-test hook for ESPResSo: skip failing tests, tests frequently timeout due to known bugs in ESPResSo v4.2.1
@@ -642,6 +652,7 @@ def inject_gpu_property(ec):
642652
PRE_TEST_HOOKS = {
643653
'ESPResSo': pre_test_hook_ignore_failing_tests_ESPResSo,
644654
'FFTW.MPI': pre_test_hook_ignore_failing_tests_FFTWMPI,
655+
'Highway': pre_test_hook_exclude_failing_test_Highway,
645656
'SciPy-bundle': pre_test_hook_ignore_failing_tests_SciPybundle,
646657
'netCDF': pre_test_hook_ignore_failing_tests_netCDF,
647658
'PyTorch': pre_test_hook_increase_max_failed_tests_arm_PyTorch,

eessi-2023.06-known-issues.yml

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
- FFTW.MPI-3.3.10-gompi-2023b:
1717
- issue: https://github.com/EESSI/software-layer/issues/325
1818
- info: "Flaky FFTW tests, random failures"
19+
- Highway-1.0.3-GCCcore-12.2.0.eb:
20+
- issue: https://github.com/EESSI/software-layer/issues/469
21+
- info: "failing SVE test due to wrong expected value"
1922
- netCDF-4.9.2-gompi-2023a.eb:
2023
- issue: https://github.com/EESSI/software-layer/issues/425
2124
- info: "netCDF intermittent test failures"

0 commit comments

Comments
 (0)