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

Correctly bubble up errors when an integration test fails in a docker container. #10380

Merged
merged 2 commits into from
Jan 29, 2019

Conversation

ph
Copy link
Contributor

@ph ph commented Jan 28, 2019

As a retrospect leaving the invocation of docker-compose logs was a
bad idea, first it could hide some error in the integration suite and it
could add unnecessary long logs line in the CI job making debugging even harder.
So instead, I've remove it completely and leave up to the person debugging to enabled it back.

@ph ph added the in progress Pull request is currently in progress. label Jan 28, 2019
@ph ph requested review from a team as code owners January 28, 2019 17:14
@ph ph added the needs_backport PR is waiting to be backported to other branches. label Jan 28, 2019
@ph
Copy link
Contributor Author

ph commented Jan 28, 2019

Note: need backport to 6.0 6.x

@ph ph changed the title [WIP] Fix/test docker compose [WIP] Correctly bubble up errors when an integration test fails in a docker container. Jan 28, 2019
test

As a retrospect leaving the invocation of `docker-compose logs` was a
bad idea, first it could hide some error in the integration suite and it
could add unnecessary long logs line in the CI job making debugging even harder.
So instead, I've remove it completely and leave up to the person debugging to enabled it back.
@ph ph force-pushed the fix/test-docker-compose branch from 39c2f7c to 68f2464 Compare January 28, 2019 19:01
@ph ph added review libbeat :Testing and removed in progress Pull request is currently in progress. labels Jan 28, 2019
@ph
Copy link
Contributor Author

ph commented Jan 28, 2019

need backport to 6.x and 6.6

@ph
Copy link
Contributor Author

ph commented Jan 29, 2019

@ruflin I have added a comment with the docker-compose logs.

Copy link
Collaborator

@ruflin ruflin left a comment

Choose a reason for hiding this comment

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

Thx

@ph ph changed the title [WIP] Correctly bubble up errors when an integration test fails in a docker container. Correctly bubble up errors when an integration test fails in a docker container. Jan 29, 2019
@ph ph merged commit fd149bb into elastic:master Jan 29, 2019
@ph ph added v6.7.0 and removed needs_backport PR is waiting to be backported to other branches. labels Jan 29, 2019
@ph ph added the v6.6.1 label Jan 29, 2019
@ph ph mentioned this pull request Jan 29, 2019
ph added a commit that referenced this pull request Jan 29, 2019
… container. (#10380) (#10410)

As a retrospect leaving the invocation of `docker-compose logs` was a
bad idea, first it could hide some error in the integration suite and it
could add unnecessary long logs line in the CI job making debugging even harder.
So instead, I've remove it completely and leave up to the person debugging to enabled it back.

(cherry picked from commit fd149bb)
ph added a commit that referenced this pull request Jan 30, 2019
… container. (#10380) (#10409)

As a retrospect leaving the invocation of `docker-compose logs` was a
bad idea, first it could hide some error in the integration suite and it
could add unnecessary long logs line in the CI job making debugging even harder.
So instead, I've remove it completely and leave up to the person debugging to enabled it back.

(cherry picked from commit fd149bb)
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
… container. (elastic#10380) (elastic#10410)

As a retrospect leaving the invocation of `docker-compose logs` was a
bad idea, first it could hide some error in the integration suite and it
could add unnecessary long logs line in the CI job making debugging even harder.
So instead, I've remove it completely and leave up to the person debugging to enabled it back.

(cherry picked from commit c9ce1fe)
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.

3 participants