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.
The test crashes with as follows:
The problem is that we try to pin the build job based on
build_locally
's value. We should make sure that eitherbuild_job
is notNone
or that the test is not an instance of aRunOnlyRegressionTest
.https://github.com/reframe-hpc/reframe/blob/06f3e8a7c40a2933a453494dc1ab8466ecd062f7/reframe/frontend/testgenerators.py#L93