You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cassandra.apache.org by Mick Semb Wever <mc...@apache.org> on 2023/04/26 11:16:40 UTC

Cassandra CI Status 2023-04

A quarter since the last CI update. I'll start with the calls to action:
 - we need volunteers for the weekly Build Lead !
 - we need to start triaging and fixing our backlog of flakies in
preparation for 5.0

A big thank you to Maxwell Guo, Derek, German, Dan, Claude, Caleb and Josh
for taking turns at it this year.  We're had a pretty consistent run of
Build Leads and the entering of flaky tickets this year and its value is
really shining through.  I hope and pray we can continue this through to
the 5.0 GA release.  It's also a great way into our community.

With all this and now the addition of jdk17 testing it feels like a good
time for a status update.


 ** Build Lead & State of Affairs

There's 20+ flaky tickets created from the Build Lead now.  Most are
flakies but we have also caught the occasional regression.  Looking at
Butler, and having been the Build Lead a few times, it is evident that from
4.0 up most test failures are timeouts likely related to infra issues
(noisy neighbour, saturation) – these are intentionally not entered as jira
tickets.

If you have time please help out with triaging / fixing these flakies:
https://issues.apache.org/jira/issues/?jql=project%20%3D%20CASSANDRA%20AND%20summary%20~%20%22%5C%22test%20failure%3A%5C%22%22%20AND%20status%20%3D%20Open%20ORDER%20BY%20updated%20DESC

If we look at the failure rate at being around 0.02% it is pretty damn
amazing.   But it's important to treat flakies as serious regardless of
where they appear, as we know from the past two major releases they can
still be production bugs.  For now we can use CircleCI and the awesome
multiplexer to triage and validate the flakies.  Hopefully soon we'll have
the multiplexer in ci-cassandra!

The 2.2 dtests broke this year around fixes for the jdk jmx
"URISyntaxException: Malformed IPv6…" bug that didn't get back-ported
(CASSANDRA-17885).  If anyone needs CI on 2.2 the simple workaround is to
configure the job to use the older docker image
'apache/cassandra-testing-ubuntu2004-java11:20220503` (which will use the
older jdk patch version).  I figured this was worth raising in lieu of the
recent '(CVE only) support for 3,11 beyond published EOL' dev@ thread – we
want to keep the mechanics in place for 2.2 dev.

Butler's trends dashboard has been increased to 326 days, so we can get a
better idea of long term (annual) trends (and infra variability). See
screenshots below.


 ** JDK 17 tests

We have JDK17 tests for trunk now in both CircleCI and CI-Cassandra.  For
CircleCI you need to use the generate_11_and_17.sh script.

For CI-Cassandra it is only for post-commit, and the unit and jvm-dtests
are not yet included as there's still failures to fix there.  First
glimpses of it in action show the pipeline duration to be on-par (despite
dtests now running 1.8+11+17, yes 172 splits!), while the queue length does
spike much higher now.  I'm expecting some noise from this, as is typical
whenever we change the saturation pattern in this system, reach out if you
see anything odd.


 ** Proposal for a Repeatable Containerised CI  (CASSANDRA-18137)

The next step is moving the build-scripts from cassandra-builds to in-tree
(CASSANDRA-18133), which was blocked on the above jdk17 efforts.  This will
only be applied to trunk, and will inline the pipeline stage jobs into the
Jenkinsfile, as well as making the matrix axis dynamic (jdk, python, splits
,etc).  It will also make it easy to, with or without docker, run test
suites locally again (while removing that logic and complexity from ant).

Once this is in place we need volunteers on 18137, if you know folk that
want to get involved and have jenkins and k8s skills, send 'em on down.


Screenshots from butler.
[image: Screenshot 2023-04-26 at 13.13.29.png]
[image: Screenshot 2023-04-26 at 13.15.42.png]