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

avoid exec_die filed before exec_start #2984

Merged
merged 1 commit into from
Oct 14, 2019
Merged

avoid exec_die filed before exec_start #2984

merged 1 commit into from
Oct 14, 2019

Conversation

fuweid
Copy link
Contributor

@fuweid fuweid commented Oct 14, 2019

Signed-off-by: Wei Fu fuweid89@gmail.com

Ⅰ. Describe what this PR did

When the exec command is quick to quit, like echo command, the exec_die
event will show up before exec_start.

Ⅱ. Does this pull request fix one issue?

none

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗?)

no need

Ⅳ. Describe how to verify it

CI

Ⅴ. Special notes for reviews

When the exec command is quick to quit, like echo command, the exec_die
event will show up before exec_start.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
@codecov
Copy link

codecov bot commented Oct 14, 2019

Codecov Report

Merging #2984 into master will decrease coverage by 8.38%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2984      +/-   ##
==========================================
- Coverage   66.22%   57.84%   -8.39%     
==========================================
  Files         291      288       -3     
  Lines       18366    18241     -125     
==========================================
- Hits        12163    10551    -1612     
- Misses       4739     6144    +1405     
- Partials     1464     1546      +82
Flag Coverage Δ
#criv1alpha2_test 34.78% <100%> (ø) ⬆️
#integration_test_0 36.15% <100%> (-0.04%) ⬇️
#integration_test_1 35.52% <100%> (-0.03%) ⬇️
#integration_test_2 36.11% <100%> (?)
#integration_test_3 35.55% <100%> (ø) ⬆️
#node_e2e_test 34.05% <100%> (-0.04%) ⬇️
#unittest ?
Impacted Files Coverage Δ
daemon/mgr/container_exec.go 80% <100%> (+1.59%) ⬆️
client/container_restart.go 0% <0%> (-100%) ⬇️
client/image_pull.go 0% <0%> (-100%) ⬇️
apis/opts/sysctl.go 0% <0%> (-100%) ⬇️
client/volume_create.go 0% <0%> (-100%) ⬇️
client/image_remove.go 0% <0%> (-100%) ⬇️
client/daemon_update.go 0% <0%> (-100%) ⬇️
client/container_update.go 0% <0%> (-100%) ⬇️
client/image_load.go 0% <0%> (-100%) ⬇️
client/checkpoint_create.go 0% <0%> (-100%) ⬇️
... and 148 more

Copy link
Contributor

@zhuangqh zhuangqh left a comment

Choose a reason for hiding this comment

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

LGTM

@zhuangqh zhuangqh merged commit acc08e1 into AliyunContainerService:master Oct 14, 2019
@fuweid fuweid deleted the me-exec-start-env-should-file-before-exec branch January 2, 2020 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants