Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Dump docker logs #4868

Merged
merged 3 commits into from
Nov 12, 2019
Merged

Dump docker logs #4868

merged 3 commits into from
Nov 12, 2019

Conversation

Wiezzel
Copy link

@Wiezzel Wiezzel commented Nov 7, 2019

Docker container output (and runtime output in general) is needed for debugging purposes. Implemented an environment wrapper that will automatically dump these outputs to text files and print the filenames in Golem logs.

Slight changes in the Environment and Runtime interfaces were needed to make the solution generic. Also done some refactoring in the auto_setup wrapper to avoid code repetition.

@Wiezzel Wiezzel self-assigned this Nov 7, 2019
@Wiezzel Wiezzel force-pushed the dump_docker_logs branch 2 times, most recently from 6ff43ee to 7fea99b Compare November 7, 2019 16:46
@codecov
Copy link

codecov bot commented Nov 7, 2019

Codecov Report

Merging #4868 into b0.22 will increase coverage by 0.05%.
The diff coverage is 95.21%.

@@            Coverage Diff             @@
##            b0.22    #4868      +/-   ##
==========================================
+ Coverage   89.18%   89.23%   +0.05%     
==========================================
  Files         231      233       +2     
  Lines       21287    21382      +95     
==========================================
+ Hits        18984    19080      +96     
+ Misses       2303     2302       -1

@Wiezzel Wiezzel changed the base branch from develop to b0.22 November 8, 2019 12:20
@Wiezzel Wiezzel marked this pull request as ready for review November 8, 2019 12:20
@Wiezzel Wiezzel added the clay label Nov 8, 2019
Copy link
Contributor

@maaktweluit maaktweluit left a comment

Choose a reason for hiding this comment

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

LGTM!

One minor comment, still approving!

golem/core/common.py Outdated Show resolved Hide resolved
@Wiezzel Wiezzel force-pushed the dump_docker_logs branch 3 times, most recently from f91106b to f5e12b0 Compare November 8, 2019 15:15
Signed-off-by: Adam Wierzbicki <awierzbicki@golem.network>
Signed-off-by: Adam Wierzbicki <awierzbicki@golem.network>
@mfranciszkiewicz mfranciszkiewicz merged commit 4a05d87 into b0.22 Nov 12, 2019
@mfranciszkiewicz mfranciszkiewicz deleted the dump_docker_logs branch November 12, 2019 19:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants