You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A colleague noticed that some of our execution mode configurations are no longer working as expected after upgrading to reframe 4.7 and pinpointed the specific commit where the behavior seemed to change:
After some manual bisection on git tag -l I found that this seems to have started breaking between 4.6.4 and 4.7.0. It looks like commit aa75c37 was the one where it started failing.
It seems like maybe an initial parsing of the cli arguments is failing before the options for the specified mode are added.
Indeed, this will not work with ReFrame >= 4.7. You will have to pass the action option outside the mode. This change of behaviour for modes has gone undocumented and we should update the docs.
Making the --mode option an "action" mode would automatically require the mode's options to include a real action (-r, -l etc.), which is against the original intent of execution modes.
A colleague noticed that some of our execution mode configurations are no longer working as expected after upgrading to reframe 4.7 and pinpointed the specific commit where the behavior seemed to change:
It seems like maybe an initial parsing of the cli arguments is failing before the options for the specified mode are added.
Here's a minimal reproducer:
The text was updated successfully, but these errors were encountered: