-
Notifications
You must be signed in to change notification settings - Fork 49
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
LogJuicer integration #2345
Labels
complexity/epic
Lost of work ahead, planning/design required.
Comments
lachmanfrantisek
added
the
discuss
discuss To be discussed within a team (usually on the so-called Architecture meeting next Thursday)
label
Feb 13, 2024
majamassarini
added
the
complexity/epic
Lost of work ahead, planning/design required.
label
Feb 15, 2024
We take a look a this card again at the next quarter planning. |
majamassarini
removed
the
discuss
discuss To be discussed within a team (usually on the so-called Architecture meeting next Thursday)
label
Feb 15, 2024
We don't need to work on this for now since Copr/LogDetective is looking into this field now and we don't need to duplicate our efforts. |
Let's close this in favour of #2689 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The idea is to integrate LogJuicer into the Packit Service, it can easily pick the relevant part of logs for failed builds.
There is a web interface available, but it currently supports only Zuul and prow builds. There's also API which allows creation of the “reports”.
(for additional details see the original RFE at the end)
Subtasks
Enable LogJuicer in Packit packit-service-zuul#93
Caveats (open for discussion)
Original RFE
Description
Logjuicer is a CLI tool and a webservice that can drastically reduce log sizes. This is mega useful for failed builds because it can remove 99% (not kidding) of lines that match a successful build so only fragements related to the failure remain.
Logjuicer service runs inside Software Factory Zuul and is integrated into the zuul environment.
Let's give it a shot on a failure of 'packit-tests-git-main-sess-rec' job:
We're gonna enter the build URL in logjuicer:
Pretty successful:
It's not 99 but still in the high nighties 😇
https://softwarefactory-project.io/logjuicer/report/104
We got the precise pytest stacktrace for the failed requre test:
The output is malformed since the shell escape sequences are not properly interpreted - that's true also for the raw text log file.
Benefit
It will be easier to analyze logs of failed builds.
I'm not sure right now how the integration would work exactly.
@TristanCacqueray pointed me to the API of the webservice: https://github.com/logjuicer/logjuicer/tree/main/crates/web-service#api so in theory, we could do this on any logs if submit the baseline too.
Please share your ideas for start and we can then hop on a call and discuss there.
Importance
No response
Workaround
Participation
The text was updated successfully, but these errors were encountered: