Skip to content

Conversation

@teojgo
Copy link
Contributor

@teojgo teojgo commented Mar 17, 2021

Fixes #1735

@teojgo teojgo added this to the ReFrame sprint 21.03.1 milestone Mar 17, 2021
@teojgo teojgo requested review from ekouts and vkarak March 17, 2021 16:07
@teojgo teojgo self-assigned this Mar 17, 2021
@pep8speaks
Copy link

pep8speaks commented Mar 17, 2021

Hello @teojgo, Thank you for updating!

Cheers! There are no PEP8 issues in this Pull Request!Do see the ReFrame Coding Style Guide

Comment last updated at 2021-03-22 16:47:09 UTC

@codecov-io
Copy link

Codecov Report

Merging #1873 (20654a9) into master (3623af2) will decrease coverage by 0.02%.
The diff coverage is 66.66%.

❗ Current head 20654a9 differs from pull request most recent head 0e7fd67. Consider uploading reports for the commit 0e7fd67 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1873      +/-   ##
==========================================
- Coverage   87.83%   87.81%   -0.03%     
==========================================
  Files          49       49              
  Lines        8395     8401       +6     
==========================================
+ Hits         7374     7377       +3     
- Misses       1021     1024       +3     
Impacted Files Coverage Δ
reframe/core/pipeline.py 91.53% <57.14%> (-0.43%) ⬇️
reframe/core/exceptions.py 94.20% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3623af2...0e7fd67. Read the comment docs.

The `BuildError` gets simply an additional `prefix` argument and makes sure to
construct the right message by reading the stderr. The 10 first lines of stderr
are printed and this is hard coded. No need to be configurable.
Copy link
Contributor

@vkarak vkarak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reimplemented it according to what we have discussed offline.

@vkarak vkarak changed the title [feat] Support previewing of build error in failure report [feat] Show a preview of the standard error in cases of build failures Mar 20, 2021
@vkarak vkarak self-assigned this Mar 22, 2021
@vkarak vkarak merged commit c253dcf into reframe-hpc:master Mar 22, 2021
@teojgo teojgo deleted the feat/preview_build_error branch May 21, 2021 11:59
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.

Print first N lines of a failed build's stderr

5 participants