#369 include installed rpm versions in logs
Closed: Invalid 6 years ago Opened 7 years ago by kparal.

Sometimes we notice strange issues and need to know whether we have the latest version of e.g. python-resultsdb_api, or something else (this might not be exclusive to just our libraries). It would be helpful to run rpm -qa in the execution environment (definitely in the minion, it might not be that important in the overlord), and save it as a log file. That would make it easier for us to debug problems.


A proper solution will probably a bit more complex. Let's assume this is not just about rpm -qa, but more debug info in the future. We should not save such files into $artifactsdir, because they can clash with task-generated files. So we need a separate directory for that. That directory needs to be known to the overlord, so that it can pull files from it once the minion is finished. And we should do this together with #880, so that those two directories stay separated even when uploaded to a file hosting server (buildbot master, etc).

This is difficult to do in STI-based world, because we no longer have control over package installations. The tasks that need this extra info can create and store it themselves.

Metadata Update from @kparal:
- Issue close_status updated to: Invalid

6 years ago

Login to comment on this ticket.

Metadata