Documentation
¶
Overview ¶
Command rts-ml-chromium is Chromium-specific part of the generic RTS framework that incorporates multiple features using an ml model.
Install it:
go install infra/rts/cmd/rts-ml-chromium
Primarily rts-chromium can generate history files:
rts-ml-chromium fetch-durations \ -from 2020-10-04 -to 2020-10-05 \ -out test.dur rts-ml-chromium fetch-rejections \ -from 2020-10-04 -to 2020-10-05 \ -out test.rej
It will ask to login on the first run.
Filtering ¶
Flags -builder and -test can be used to narrow the search down to specific builder and/or test. The flag values are regexps. The following retrieves history of browser_tests on linux-rel:
rts-chromium fetch-rejections \ -from 2020-10-04 -to 2020-10-05 \ -out test.rej \ -builder linux-rel
Test duration fraction ¶
By default the tool fetches only 0.1% of test durations, because Chromium CQ produces 1B+ of test results per day. Fetching them all would be excessive.
However, if the date range is short and/or filters are applied, the default fraction of 0.1% might be inappropriate. It can be changed using -duration-data-frac flag. The following changes the sample size to 10%:
rts-ml-chromium fetch-durations \ -from 2020-10-04 -to 2020-10-05 \ -out test.dur \ -duration-data-frac 0.1