Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
tests: clean journalctl logs on trusty #3432
Conversation
sergiocazzolato
added some commits
Jun 2, 2017
| + systemctl kill --kill-who=main --signal=SIGUSR2 systemd-journald.service | ||
| + | ||
| + #Remove rotated journal logs | ||
| + systemctl stop systemd-journald.service |
zyga
Jun 5, 2017
Contributor
Last time I checked there was no journald on 14.04, has that changed since?
sergiocazzolato
Jun 5, 2017
Contributor
Well, I tested that manually in a vm and then in linode with ubuntu 14.04 and it is working, I ran the suite and I was monitoring the logs and it was cleaned for every test.
codecov-io
commented
Jun 6, 2017
Codecov Report
@@ Coverage Diff @@
## master #3432 +/- ##
==========================================
- Coverage 77.56% 77.55% -0.01%
==========================================
Files 371 371
Lines 25519 25519
==========================================
- Hits 19793 19792 -1
- Misses 3976 3977 +1
Partials 1750 1750
Continue to review full report at Codecov.
|
mvo5
merged commit 2b9d740
into
snapcore:master
Jun 7, 2017
7 checks passed
artful-amd64
autopkgtest finished (success)
Details
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
xenial-amd64
autopkgtest finished (success)
Details
xenial-i386
autopkgtest finished (success)
Details
xenial-ppc64el
autopkgtest finished (success)
Details
yakkety-amd64
autopkgtest finished (success)
Details
zesty-amd64
autopkgtest finished (success)
Details
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sergiocazzolato commentedJun 2, 2017
This is a way to reduce the size of the journalctl logs on ubuntu 14.04.
This is needed to improve the quality of the tests bacause some of them are using journalctl to check that the actions are done.
I also will help to make more readable the logs when a test fail.