Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Added an option to skip adding /var/lib/juju to juju-crashdump. #3
Conversation
ktsakalozos
commented
Feb 3, 2017
|
Which files are large in there, we have a 5MB limit for files to include in the made bundle. Is that not being followed? |
|
@lutostag it's not a single file that's large -- it's the |
|
I wasn't aware of the 5MB limit. Maybe it makes more sense to simply blacklist the |
|
Should probably only be collected on actual test failures. But, I do like the idea of a --small flag, that we can have a better rule for what not to include in the future. This is a good start. |
|
Per discussion on IRC, we're all +1 on this PR with the understanding that the heuristic for "small" is improved in the future. |
petevg commentedFeb 2, 2017
Useful for automated testing frameworks, which don't necessarily want to
create a huge tarball each time.
@johnsca, @kwmonroe Thinking about this, I think that it makes sense to include /var/lib/juju in juju-crashdump when it is run manually. You are trying to diagnose a problem, and saving off the state of the /var/lib/juju dir is useful for that diagnosis.
I don't think that it's so useful that it needs to be included in the automated tests, though. If you agree with this approach, the next step is to pass "-s" in matrix (and bundletester).
... and the next step after that might be to only crashdump when we have a test failure.