-
Notifications
You must be signed in to change notification settings - Fork 117
Closed
Labels
Description
It is very similar to #2715 . It happens when a performance test fails in sanity. Reproducer:
@rfm.simple_test
class Foo(rfm.RunOnlyRegressionTest):
valid_systems = ['*']
valid_prog_environs = ['*']
executable = 'echo'
executable_opts = ['Hello']
@sanity_function
def check_true(self):
return False
@performance_function('unit')
def extract_perf(self):
'''Generic performance extraction function.'''
return 1The error is similar to the last one:
ERROR: run session stopped: attribute error: 'AsynchronousExecutionPolicy' object has no attribute '_advance_fail'
ERROR: Traceback (most recent call last):
File "/Users/ekoutsaniti/repos/reframe/reframe/frontend/cli.py", line 1267, in main
runner.runall(testcases, restored_cases)
File "/Users/ekoutsaniti/repos/reframe/reframe/core/logging.py", line 887, in _fn
return fn(*args, **kwargs)
File "/Users/ekoutsaniti/repos/reframe/reframe/frontend/executors/__init__.py", line 518, in runall
self._runall(testcases)
File "/Users/ekoutsaniti/repos/reframe/reframe/frontend/executors/__init__.py", line 579, in _runall
self._policy.exit()
File "/Users/ekoutsaniti/repos/reframe/reframe/frontend/executors/policies.py", line 340, in exit
self._advance_all(self._current_tasks, timeout)
File "/Users/ekoutsaniti/repos/reframe/reframe/frontend/executors/policies.py", line 411, in _advance_all
bump_state = getattr(self, f'_advance_{t.state}')
AttributeError: 'AsynchronousExecutionPolicy' object has no attribute '_advance_fail'