-
Notifications
You must be signed in to change notification settings - Fork 18
CI: Call the ksm throttler installation #923
base: master
Are you sure you want to change the base?
CI: Call the ksm throttler installation #923
Conversation
@@ -45,6 +45,9 @@ bash -f ${cidir}/install_shim.sh | |||
echo "Install proxy" | |||
bash -f ${cidir}/install_proxy.sh | |||
|
|||
echo "Install ksm throttler" | |||
bash -f ${cidir}/install_ksm_throttler.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with the chmod to the install_ksm_throttler.sh
in this commit, do you still need the bash -f
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fundamentally lgtm.
I'll keep an eye on the metrics CI to see if we see the effect take place...
kubernetes qa-failed 👎 |
CIs failing:
|
6f3401e
to
5ea0bae
Compare
I think sudo was missing :( |
kubernetes qa-passed 👍 |
I see a network issue in the metrics CI job... relaunching. |
kubernetes qa-passed 👍 |
I see that metrics now passed on job: https://clearlinux.org/cc-ci/job/clear-containers-tests-16.04-PR/68/console, but status was not updated. |
Yeah, something looks like it did not update. I see you might have kicked another build as well? Anyway, looking at that log, it looks like stuff maybe did not do quite what we expected with the KSM. The summary part of the log where we get something like:
If the KSM en/disabling is working for the metrics-CI, then we should only get a '1' in the iters column for the memory-footprint-ksm. The fact we have a '2' means when it did the run to measure without KSM enabled, it found KSM was enabled (and hence added the result into this row...). Let's see what happens in the next run - and if that still does not work then I'll go look at the logs and on the machine.. |
@chavafg hmm, yeah, maybe there is something not quite right with the jenkins rebuild integration... If we look at the first build (Jenkins#67), we see the status update push to github like:
but if we look at the log from (Jenkins#68) - the rebuild, then those lines just don't appear - hence, no update on this page... odd. So, I'd like to kick off a rebuild - but, before I do that, I'll have a look to see why we still get '2 iters' for the memory footprint test, which indicates the fix is not working... |
Ah, @chavafg - maybe this is the clue in the logs why I still have KSM actice:
Probably because we have not landed clearcontainers/proxy#177 yet (as we are sort of racing PRs...), maybe we need an addition similar to:
I guess in reality we should do a |
5ea0bae
to
be29bd2
Compare
Ohhh right, as systemd files already existed in the system, we need to add the |
kubernetes qa-passed 👍 |
ho hum, we failed the metrics again. Well, the fail is actually due to an unrelated test fail (storage linear read came out smaller than we expected). The real issue is that we still get two KSM tests - you can find two of:
in the log, when there should be one of those and one:
I'll have to look at that next week again. mumble.... |
oh, we got an odd CRI-O related fail on F26 as well I think:
|
yeap, odd crio failure, I did a job restart, but I'll keep an eye on the cri-o tests to see if the failure is reproducible. |
adding the dnm label until we know why ksm is still active |
Sorry for the delay here @chavafg I had a look on the CI system, and I see:
Reading the systemctl manual, it suggests for a
So, maybe we want to add a Having said that, this also refers to units - and (I'm no systemd expert), it is not clear to me if this is a unit or a service, and/or if they are really that different etc. I can do a trivial quick fix here if we want to expedite, by just going and removing the |
We need to call install_ksm_throttler.sh into the main CC setup script. Fixes: clearcontainers#922. Signed-off-by: Salvador Fuentes <[email protected]>
be29bd2
to
c132ec9
Compare
I swapped the |
Run systemctl daemon-reload, in case the service files already existed and were installed again. Also we need to start systemd services with sudo. Otherwise, it will fail. Signed-off-by: Salvador Fuentes <[email protected]>
c132ec9
to
a302fab
Compare
Well, we are still getting two iterations on the ksm test
|
We enable full debug in the CI install scripts, but that costs us about 0.25s in boot time. Do not enable the debug if we are doing a METRICS_CI build/run. Fixes: clearcontainers#923 Signed-off-by: Graham Whaley <[email protected]>
We need to call install_ksm_throttler.sh into
the main CC setup script.
Fixes: #922.
Signed-off-by: Salvador Fuentes [email protected]