-
Notifications
You must be signed in to change notification settings - Fork 1.1k
oci: properly handle tty on execsync #5107
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5107 +/- ##
==========================================
- Coverage 43.98% 43.95% -0.03%
==========================================
Files 110 110
Lines 11437 11440 +3
==========================================
- Hits 5030 5028 -2
- Misses 5930 5935 +5
Partials 477 477 |
saschagrunert
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
ah we actually inhereited it in #1386. looking to make sure we don't break the same way we did |
|
Discussed with @haircommander offline that this will regress https://github.com/cri-o/cri-o/pull/1386/files for https://bugzilla.redhat.com/show_bug.cgi?id=1549029. |
2a69a56 to
9dc5c92
Compare
|
/retest |
1 similar comment
|
/retest |
or else containers may have trouble accessing the terminal Signed-off-by: Peter Hunt <[email protected]>
mrunalp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: haircommander, mrunalp, saschagrunert The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/cherry-pick release-1.21 |
|
@haircommander: once the present PR merges, I will cherry-pick it on top of release-1.21 in a new PR and assign it to you. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/override ci/openshift-jenkins/e2e_rhel |
|
@haircommander: Overrode contexts on behalf of haircommander: ci/openshift-jenkins/e2e_rhel DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/retest |
|
@haircommander: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
/retest |
|
@haircommander: new pull request created: #5121 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/cherry-pick release-1.20 |
|
@haircommander: new pull request created: #5122 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/cherry-pick release-1.19 |
|
@haircommander: new pull request created: #5123 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What type of PR is this?
/kind bug
What this PR does / why we need it:
or else containers may have trouble accessing the terminal
Signed-off-by: Peter Hunt [email protected]
Which issue(s) this PR fixes:
Special notes for your reviewer:
The background here is a bit weird. I tried figuring out why we actually specified this in the first place. It seems we first introduced this when adding initial support for execsync with conmon: #310
As the file before that was just
cri-o/oci/oci.go
Line 181 in 61e60bf
let's see what the tests think.
related to https://bugzilla.redhat.com/show_bug.cgi?id=1983205
edit: Turns out this is needed, for https://github.com/cri-o/cri-o/pull/1386/files and https://bugzilla.redhat.com/show_bug.cgi?id=1549029. changed the PR to account for this case
Does this PR introduce a user-facing change?