-
Notifications
You must be signed in to change notification settings - Fork 117
Closed
Description
The test crashes with as follows:
Traceback (most recent call last):
File "/home/vkarakasis/.local/reframe/reframe/frontend/executors/__init__.py", line 317, in _safe_call
return fn(*args, **kwargs)
File "/home/vkarakasis/.local/reframe/reframe/core/hooks.py", line 107, in _fn
getattr(obj, h.__name__)()
File "/home/vkarakasis/.local/reframe/reframe/core/hooks.py", line 38, in _fn
func(*args, **kwargs)
File "/home/vkarakasis/.local/reframe/reframe/frontend/testgenerators.py", line 94, in _rfm_pin_build_nodes
obj.build_job.pin_nodes = pin_nodes
AttributeError: 'NoneType' object has no attribute 'pin_nodes'The problem is that we try to pin the build job based on build_locally's value. We should make sure that either build_job is not None or that the test is not an instance of a RunOnlyRegressionTest.
| if not obj.local and not obj.build_locally: |
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done