Hi,
I want to get a list of URL or the file itself of past success and failed build log and root.log on koji server with specified packages.
Which way is easy to do this? I want to analyze those log files from a program.
Ex. Success log https://kojipkgs.fedoraproject.org//packages/python-yourls/0.2.0/12.fc27/dat... https://kojipkgs.fedoraproject.org//packages/python-yourls/0.2.0/12.fc27/dat...
Failure log https://kojipkgs.fedoraproject.org//work/tasks/3994/23263994/root.log https://kojipkgs.fedoraproject.org//work/tasks/3994/23263994/build.log
Jun
Failed builds are never imported. Their logs remain in the work directory and most Koji instances clear old content from there regularly. You won't find a long history of failed build logs. Even when builds are successful, the logs are not specifically tracked in the database, though the getBuildLogs call will return a list of the log files for a given build (by looking at the fs).
You seem to know the paths to these logs already. Which part of this are you having trouble generating?
On Mon, Nov 20, 2017 at 2:44 PM, Jun Aruga jaruga@redhat.com wrote:
Hi,
I want to get a list of URL or the file itself of past success and failed build log and root.log on koji server with specified packages.
Which way is easy to do this? I want to analyze those log files from a program.
Ex. Success log https://kojipkgs.fedoraproject.org//packages/python-yourls/0.2.0/12.fc27/dat... https://kojipkgs.fedoraproject.org//packages/python-yourls/0.2.0/12.fc27/dat...
Failure log https://kojipkgs.fedoraproject.org//work/tasks/3994/23263994/root.log https://kojipkgs.fedoraproject.org//work/tasks/3994/23263994/build.log
Jun
koji-devel mailing list -- koji-devel@lists.fedorahosted.org To unsubscribe send an email to koji-devel-leave@lists.fedorahosted.org
Michael, Thanks for the answer.
You seem to know the paths to these logs already. Which part of this
are you having trouble generating?
Okay. Ideally I wanted the failed log paths too. This can be my trouble. But I am fine for that. Keeping the failed log for a long time does not make sense to save the disk capacity.
Even when builds are successful, the logs are not specifically tracked
in the database, though the getBuildLogs call will return a list of
the log files for a given build (by looking at the fs).
I am fine that is not in the database. I will load the file data from the list of the log files to my database. I will take a look at getBuildLogs method.
Jun
On Mon, Nov 20, 2017 at 9:21 PM, Michael McLean mikem@redhat.com wrote:
Failed builds are never imported. Their logs remain in the work directory and most Koji instances clear old content from there regularly. You won't find a long history of failed build logs. Even when builds are successful, the logs are not specifically tracked in the database, though the getBuildLogs call will return a list of the log files for a given build (by looking at the fs).
You seem to know the paths to these logs already. Which part of this are you having trouble generating?
On Mon, Nov 20, 2017 at 2:44 PM, Jun Aruga jaruga@redhat.com wrote:
Hi,
I want to get a list of URL or the file itself of past success and failed build log and root.log on koji server with specified packages.
Which way is easy to do this? I want to analyze those log files from a program.
Ex. Success log https://kojipkgs.fedoraproject.org//packages/
python-yourls/0.2.0/12.fc27/data/logs/noarch/root.log
python-yourls/0.2.0/12.fc27/data/logs/noarch/build.log
Failure log https://kojipkgs.fedoraproject.org//work/tasks/3994/23263994/root.log https://kojipkgs.fedoraproject.org//work/tasks/3994/23263994/build.log
Jun
koji-devel mailing list -- koji-devel@lists.fedorahosted.org To unsubscribe send an email to koji-devel-leave@lists.fedorahosted.org
koji-devel mailing list -- koji-devel@lists.fedorahosted.org To unsubscribe send an email to koji-devel-leave@lists.fedorahosted.org
koji-devel@lists.fedorahosted.org