Skip to content

Conversation

@rsarm
Copy link
Contributor

@rsarm rsarm commented Mar 23, 2021

Close #1877

@rsarm rsarm added this to the ReFrame sprint 21.03.2 milestone Mar 23, 2021
@rsarm rsarm requested review from ekouts and vkarak March 23, 2021 10:46
@rsarm rsarm self-assigned this Mar 23, 2021
@rsarm rsarm changed the title [bugfix] Fix Popen call to support processes that treat stdin as a terminal [bugfix] Fix Popen call to support processes that treat stdin like a terminal Mar 23, 2021
Copy link
Contributor

@victorusu victorusu left a comment

Choose a reason for hiding this comment

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

lgtm

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 would suggest to add a unit test based on the logic of the bug reported in #1877.

This reverts commit dc7d35f.
@codecov-io
Copy link

Codecov Report

Merging #1879 (9254196) into master (13009ac) will increase coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1879   +/-   ##
=======================================
  Coverage   87.93%   87.94%           
=======================================
  Files          49       49           
  Lines        8457     8453    -4     
=======================================
- Hits         7437     7434    -3     
+ Misses       1020     1019    -1     
Impacted Files Coverage Δ
reframe/utility/osext.py 84.71% <ø> (ø)
reframe/core/meta.py 100.00% <0.00%> (ø)
reframe/core/parameters.py 100.00% <0.00%> (+1.49%) ⬆️

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 13009ac...9254196. Read the comment docs.

@vkarak vkarak changed the title [bugfix] Fix Popen call to support processes that treat stdin like a terminal [bugfix] Set stdin to null when launching processes from ReFrame, so that process do no think they are on a tty Mar 29, 2021
@vkarak vkarak changed the title [bugfix] Set stdin to null when launching processes from ReFrame, so that process do no think they are on a tty [bugfix] Set stdin to null when launching processes from ReFrame, so that processes do no think they are on a tty Mar 29, 2021
@vkarak vkarak merged commit f890e4d into reframe-hpc:master Mar 29, 2021
@rsarm rsarm deleted the bugfix/stdin-tty branch February 3, 2023 13:21
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.

RunOnlyRegressionTest with executables that treat stdin like a tty fail on local scheduler

5 participants