Perfect then.
Thanks
Le mer. 23 oct. 2019 à 09:42, Philippe BEGNIC philippe.begnic@st.com a écrit :
Hello Remi,
The "start" parameters allows me to slice the windows by packets of 100 jobs. This is OK for my usage.
Thanks for your support
Philippe Begnic On 10/22/19 5:32 PM, Remi Duraffort wrote:
Hello,
this is the lava server that limit the number of jobs that will be returned. But the api allows to iterate by setting the "start" parameter. See https://validation.linaro.org/api/help/#scheduler.jobs.list
Rgds
Le mar. 22 oct. 2019 à 16:17, Philippe BEGNIC philippe.begnic@st.com a écrit :
Hello everyone,
I am using Lavacli to calculate basic statistics on the daily jobs executed with LAVA. (Nbr of complete//incomplete//canceled jobs). I also display the failure reason of the incomplete and canceled jobs by parsing the jobs logs. I can only do this operation for a limited number of jobs, because it seems that Lavacli has a restriction on the number of jobs to be treated. (100 jobs)
Here the command lines I am using : > lavacli jobs list --health INCOMPLETE --limit 200
To count the number of computed jobs: > lavacli jobs list --health INCOMPLETE --limit 200 |wc -l > 101
So, I have requested 200 jobs, and Lavacli has treated only 100 jobs ( Note that our jobs database contains more than 200 jobs incomplete)
Is it possible to remove or to increase the limitation on the number of jobs to be treated ?
Best regards
Philippe Begnic STMicroelectronics | MDG Group – MCD Division
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
-- Rémi Duraffort LAVA Architect Linaro
You can also use API to query for jobs: https://validation.linaro.org/api/v0.1/jobs/?limit=100&offset=200&he... '2' stands for 'Incomplete'. This isn't ideal as there should not be 'magic numbers'. I'll try to fix this.
milosz
On Wed, 23 Oct 2019 at 09:53, Remi Duraffort remi.duraffort@linaro.org wrote:
Perfect then.
Thanks
Le mer. 23 oct. 2019 à 09:42, Philippe BEGNIC philippe.begnic@st.com a écrit :
Hello Remi,
The "start" parameters allows me to slice the windows by packets of 100 jobs. This is OK for my usage.
Thanks for your support
Philippe Begnic
On 10/22/19 5:32 PM, Remi Duraffort wrote:
Hello,
this is the lava server that limit the number of jobs that will be returned. But the api allows to iterate by setting the "start" parameter. See https://validation.linaro.org/api/help/#scheduler.jobs.list
Rgds
Le mar. 22 oct. 2019 à 16:17, Philippe BEGNIC philippe.begnic@st.com a écrit :
Hello everyone,
I am using Lavacli to calculate basic statistics on the daily jobs executed with LAVA. (Nbr of complete//incomplete//canceled jobs). I also display the failure reason of the incomplete and canceled jobs by parsing the jobs logs. I can only do this operation for a limited number of jobs, because it seems that Lavacli has a restriction on the number of jobs to be treated. (100 jobs)
Here the command lines I am using : > lavacli jobs list --health INCOMPLETE --limit 200
To count the number of computed jobs: > lavacli jobs list --health INCOMPLETE --limit 200 |wc -l > 101
So, I have requested 200 jobs, and Lavacli has treated only 100 jobs ( Note that our jobs database contains more than 200 jobs incomplete)
Is it possible to remove or to increase the limitation on the number of jobs to be treated ?
Best regards
Philippe Begnic STMicroelectronics | MDG Group – MCD Division
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
-- Rémi Duraffort LAVA Architect Linaro
-- Rémi Duraffort LAVA Architect Linaro _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
lava-users@lists.lavasoftware.org