Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

process 100 koji builds with logjuicer and evaluate them as a data set #106

Open
TomasTomecek opened this issue Feb 9, 2024 · 3 comments
Assignees

Comments

@TomasTomecek
Copy link
Collaborator

Just discussed this with @jpodivin

Let's write a simple script that will:

  • iterate over failed production builds in koji
  • for every failed build, it will find last successful one in the same arch/package/chroot setup
  • run logjuicer on these 2 build logs
  • save the output
  • [bonus points] send the output to chatgpt/bard and see what they say about it
@TomasTomecek TomasTomecek self-assigned this Feb 9, 2024
@github-project-automation github-project-automation bot moved this to Needs triage in CPT Kanban Feb 9, 2024
@FrostyX
Copy link
Member

FrostyX commented Feb 9, 2024

  • iterate over failed production builds in koji
  • for every failed build, it will find last successful one in the same arch/package/chroot setup

We have a script that does this in Copr. I was supposed to polish it, so it can be run via Cron but it is still to be done. If Copr would be good enough, somebody can work on the remaining steps and we can glue it together afterward.

@TomasTomecek
Copy link
Collaborator Author

@FrostyX wow, amazing! please share it with me, I can do that for Copr

@TomasTomecek
Copy link
Collaborator Author

I have made solid progress on this: https://github.com/TomasTomecek/log-detective-website/tree/logjuicer-and-llm

Logjuicer is producing amazing snippets and GPT4 can give us excellent descriptions for problems such as compilation failures, pytest failures, "autotools"-like checks

@praiskup praiskup removed this from CPT Kanban Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants