Openjdk-tests: Add a test that checks how stale is the latest nightly from API

Created on 28 May 2020  路  5Comments  路  Source: AdoptOpenJDK/openjdk-tests

jdk14 is currently serving up builds from May 8th (from 20 days ago). We can add a test that runs that will fail if the nightlies from the API are over a certain number of days old. As we do not turn off builds (only testing) during release period, this should always be a short period of time that we miss producing a nightly build for any given version.

enhancement

Most helpful comment

I consider the API serving the wrong builds, outdated builds, not having nightly builds etc. an operational issue. I'd therefore add a check to our monitoring so that the right people get alerted. @Willsparker is currently working on various checks. Performing these checks with jq should be doable.

All 5 comments

We could add a test case in functional/api that checks that API serves up the 'correct' release and a non-stale nightly (allow for up to 5 ? days of no published nightly before failing as too stale)

I consider the API serving the wrong builds, outdated builds, not having nightly builds etc. an operational issue. I'd therefore add a check to our monitoring so that the right people get alerted. @Willsparker is currently working on various checks. Performing these checks with jq should be doable.

FYI @sxa

@Willsparker - do you have an issue in another repo that describes the work you are doing? If so, I will close this one. :)

Was this page helpful?
0 / 5 - 0 ratings