Skip to content

Conversation

@vkarak
Copy link
Contributor

@vkarak vkarak commented Nov 2, 2020

This happens because TaskDependencyErrors are not associated with a stack trace, so this was raising ValueError:

./bin/reframe: Traceback (most recent call last):
  File "/users/karakasv/Devel/reframe/reframe/frontend/cli.py", line 738, in main
    runner.stats.print_failure_report(printer)
  File "/users/karakasv/Devel/reframe/reframe/frontend/statistics.py", line 175, in print_failure_report
    run_report = self.json()[-1]
  File "/users/karakasv/Devel/reframe/reframe/frontend/statistics.py", line 134, in json
    entry['fail_reason'] = errors.what(*t.exc_info)
  File "/users/karakasv/Devel/reframe/reframe/core/exceptions.py", line 329, in what
    frame = user_frame(exc_type, exc_value, tb)
  File "/users/karakasv/Devel/reframe/reframe/core/exceptions.py", line 286, in user_frame
    raise ValueError('could not retrieve frame: argument not a traceback')
ValueError: could not retrieve frame: argument not a traceback

@vkarak vkarak added this to the ReFrame sprint 20.16 milestone Nov 2, 2020
@vkarak vkarak requested review from ekouts and teojgo November 2, 2020 10:30
@vkarak vkarak self-assigned this Nov 2, 2020
@vkarak
Copy link
Contributor Author

vkarak commented Nov 2, 2020

@jenkins-cscs retry none

@vkarak vkarak merged commit cf6fe71 into reframe-hpc:master Nov 2, 2020
@vkarak vkarak deleted the bugfix/user-frame-tb branch November 2, 2020 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants