Replies: 1 comment
-
We discussed this feature with @skycastlelily and she's willing to work on exposing guest logs to users. To not get crushed by the vast possibilities, I proposed to start small and extend the coverage:
At first, there would be no recognized logs, all plugins would simply return So, from these, it seems to me |
Beta Was this translation helpful? Give feedback.
-
TL;DR: I wanted to test the handling of guest logs in Artemis, and while
artemis
plugin lets me ask for logs: how should tmt make guest logs accessible to me as a tmt user??There may be logs related to guests and their creation by the infrastructure hosting them. There is a so-called "console log", be it a virtual or actual console server, then there is Beaker with several logs saved during provisioning,
dmesg
,storage.log
, etc.Then there are users who are very interested in getting their hands on these logs, users like folks testing upgrades or kernel, folks that often render their guests unresponsive and need to dig deeper. In Artemis, we are working on exposing these logs, because the need for them is real, and we do know how to present them in Testing Farm, but, the question is, how to handle this with tmt alone?
We do have a couple of plugins that can offer interesting logs,
beaker
, I betvirtual
& Testcloud could be convinced to share VM's console as well,artemis
does have plugin support even though the backend is lacking behind a bit - how should we capture/download/fetch/acquire/whatever the logs, how do we present them?--fetch-log
key/option for the user to express their desire?execute
, before releasing guests?provision
directory in the workdir would be trivial, a directory per guest name?results.yaml
job description, but who knowsMy two cents, after observing AWS and Beaker for some time:
console.log
updated continuously, AWS offers this only with Nitro-based instances, Xen-based dump console log only after interesting life-time events (power on, power off, reboot, instance terminated, etc.). Fetching logs in runtime might be useful to have at least something should the infra alone break down, but having a console log recording broken Grub config after reboot would be appreciated more.less
it when needed. It would be nice to have a place similar toresults.yaml
for these logs though - we do have$workdir/run.yaml
, would it make sense to addlogs
list into it, with the same semantics as the one inresults.yaml
? I orreport
plugins could peek into run and display/create pointers to all logs.Beta Was this translation helpful? Give feedback.
All reactions