Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect better error messages from failures #122

Open
rcurtin opened this issue Jun 14, 2018 · 0 comments
Open

Collect better error messages from failures #122

rcurtin opened this issue Jun 14, 2018 · 0 comments

Comments

@rcurtin
Copy link
Member

rcurtin commented Jun 14, 2018

Sometimes failures can give us results like:

Traceback (most recent call last):
  File "/home/jenkins/workspace/pull-requests-benchmarks-benchmark/tests/benchmark_decision_tree.py", line 261, in test_RunMetrics
    self.assertTrue(result["Runtime"] > 0)
TypeError: 'int' object is not subscriptable

with stdout

[FATAL] Could not execute command:
orkspace/pull-requests-benchmarks-benchmark/libraries/bin/mlpack_decision_tree',
'-t', 'datasets/iris_train.csv', '-T', 'datasets/iris_test.csv', '-v', '-p',
'mlpack_dct_predict.csv'] The error is: Command
orkspace/pull-requests-benchmarks-benchmark/libraries/bin/mlpack_decision_tree',
'-t', 'datasets/iris_train.csv', '-T', 'datasets/iris_test.csv', '-v', '-p',
'mlpack_dct_predict.csv']' returned non-zero exit status -6

It would probably be helpful if we could provide the actual stdout or stderr output from the subprocess calls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant