Commit Graph

18412 Commits

Author SHA1 Message Date
David Capwell 4fef917f98 In-jvm dtest builder should be provided to the factory and expose state
Patch by David Capwell; reviewed by Alex Petrov for CASSANDRA-15733.
2020-06-05 19:15:52 +02:00
Mick Semb Wever 1c898f9eb2
ninja-fix: slackSend fix on `Jenkins Test Results Report in plaintext for ASF ML` 2020-05-07 13:21:42 +02:00
Mick Semb Wever 94aee924e2
Jenkins Test Results Report in plaintext for ASF ML
patch by Mick Semb Wever; reviewed by Eduard Tudenhöfner for CASSANDRA-15729
2020-05-06 13:08:17 +02:00
mpfau c6a9f5513e
Remove duplicates from tarball
patch by Matthias Pfau; reviewed by Eduard Tudenhöfner, Mick Semb Wever for CASSANDRA-15768
2020-05-06 12:39:26 +02:00
Mick Semb Wever b44a2140f8
Make all test targets declare the temp directory (java.io.tmpdir) as defined by tmp.dir
patch by Mick Semb Wever; reviewed by Berenguer Blasi, Ekaterina Dimitrova for CASSANDRA-15777
2020-04-30 18:32:41 +02:00
Marcus Eriksson 16f639af94 Duplicate results with DISTINCT queries in mixed mode
Patch by marcuse; reviewed by Aleksey Yeschenko, Sam Tunnicliffe and Alex Petrov for CASSANDRA-15501
2020-04-16 12:51:44 +02:00
Marcus Eriksson 91ce047383 CASSANDRA-15708 followup - log warning if there is a missing field 2020-04-09 16:39:22 +02:00
Marcus Eriksson 479a76df23 Fix upgrade dtests
Patch by marcuse; reviewed by Alex Petrov and David Capwell for CASSANDRA-15708
2020-04-09 16:28:22 +02:00
Stefania Alborghetti c8081c2467 Merge branch 'cassandra-2.1' into cassandra-2.2 2020-04-09 08:56:38 -04:00
Aleksandr Sorokoumov f3568c0d50 Fix parse error in cqlsh COPY FROM and formatting for map of blobs
patch by Aleksandr Sorokoumov; reviewed by Stefania Alborghetti for CASSANDRA-15679
2020-04-07 12:32:15 -04:00
Mick Semb Wever 3940a9ec29
Jenkins 'Cassandra' label applied to the declarative pipeline
patch by Mick Semb Wever; reviewed by David Capwell for CASSANDRA-15668
2020-03-28 11:34:52 +01:00
Alex Petrov 1f72cc6197 Extract in-jvm-dtest API
Patch by Alex Petrov for CASSANDRA-15539; reviewed by David Capwell and Dinesh Joshi.
2020-03-27 18:34:53 +01:00
David Capwell b490847337
Fix test.distributed.timeout in CircleCI
patch by David Capwell; reviewed by Mick Semb Wever for CASSANDRA-15649
2020-03-27 12:13:09 +01:00
Colm O hEigeartaigh 6a6dd8ad24 Disable JMX rebinding
Patch by Colm O hEigeartaigh; reviewed by Sam Tunnicliffe for CASSANDRA-15653
2020-03-25 17:06:35 +00:00
Mick Semb Wever a8ef9c9ad1
Fix unit tests to listen on FBUtilities.getLocalAddress() instead of InetAddress.getLocalHost()
patch by Mick Semb Wever; reviewed by Benjamin Lerer for CASSANDRA-15622
2020-03-11 17:32:55 +01:00
Vincent White ae326eed2a
Fix Commit log replays when static column clustering keys are collections
patch by Vincent White; reviewed by Mick Semb Wever for CASSANDRA-14365
2020-03-10 08:58:49 +01:00
Mick Semb Wever 9105dcd99e
Fix Red Hat init script on newer systemd versions
The fix for systemd CVE-2018-16888 required changes to init scripts, so
that PID files end up owned by the "root" user.

 patch by Mike Kelly; reviewed by Mick Semb Wever for CASSANDRA-15273
2020-03-03 22:42:40 +01:00
Brandon Williams b2b1b46486 Allow EXTRA_CLASSPATH to work on tar/source installations
Patch by brandonwillams, reviewed by David Capwell for CASSANDRA-15567
2020-02-26 11:46:32 -06:00
Michael Shuler 5f0cf80c0a Bump version to 2.2.17 2020-02-14 18:41:47 -06:00
Mick Semb Wever c4d9e9ca4a Prepare debian changelog for 2.2.16 2020-02-10 10:55:15 +01:00
Alex Petrov 9705d823cd Add an ability to run bootstrap / streaming tests with in-JVM dtest framework.
Patch by Alex Petrov; reviewed by Marcus Eriksson for CASSANDRA-15497.
2020-02-05 11:48:41 +01:00
Alex Petrov 75d14b629d Add a test for a "real" nodetool command, not only "help"
Patch by Alex Petrov; reviewed by Yifan Cai for CASSANDRA-15429
2020-02-05 11:20:23 +01:00
Michael Shuler bd628ce7a2 Merge branch 'cassandra-2.1' into cassandra-2.2 2020-02-03 12:30:48 -06:00
Michael Shuler b26927d863 Switch http to https URLs in build.xml
Patch by Michael Shuler; Reviewed by Joshua McKenzie for CASSANDRA-15137
(Backport to 2.1 to fix build.)
2020-02-03 12:29:47 -06:00
Alex Petrov b2f2c70e26 Add message interceptors to in-jvm dtests
Patch by Alex Petrov; reviewed by Yifan Cai and David Capwell for CASSANDRA-15505.
2020-01-31 14:35:33 +01:00
Doug Rohrer 37828ee05c Allow end-user to configure dtest jar path
Patch by Doug Rohrer; reviewed by David Capwell and marcuse for CASSANDRA-15489
2020-01-30 09:20:55 +01:00
Mick Semb Wever 531dc2a46a
ninja-fixes: `ant publish` needs to have built the artifacts, and update the cassandra_logdir_fix debian patch after CASSANDRA-14306 2020-01-29 23:02:59 +01:00
Doug Rohrer f7ee96c74f Fix missing call to enable RPC after native transport is started in in-jvm dtests
Patch by Doug Rohrer, reviewed by David Capwell and Alex Petrov for CASSANDRA-15460.
2020-01-29 19:10:19 +01:00
David Capwell 6e3bf54579 Use testclasslist for jvm dtests in circleci
Patch by David Capwell; reviewed by marcuse for CASSANDRA-15508
2020-01-29 09:31:47 +01:00
Mick Semb Wever 06a36045fe
Source and build artifacts are published with sha512 checksums
patch by Mick Semb Wever; reviewed by Michael Shuler for CASSANDRA-14970
2020-01-28 07:51:12 +01:00
Mick Semb Wever 7827ad5430
ninja-fix: Create Jenkins pipeline definition (CASSANDRA-15496) 2020-01-22 20:49:06 +01:00
Marcus Eriksson 91f321e096 Fix in-jvm upgrade dtest version parsing
Patch by marcuse; reviewed by David Capwell for CASSANDRA-15509
2020-01-22 14:13:25 +01:00
Mick Semb Wever d69f7696e4
Create Jenkins pipeline definition, and split out Jenkins test-all builds to individual builds for each of the test targets
patch by Mick Semb Wever; reviewed by David Capwell for CASSANDRA-15496
2020-01-21 18:59:16 +01:00
Mick Semb Wever ca8469ecf5
Reduce burn length by reducing iteration count
patch by Mick Semb Wever; reviewed by Dinesh Joshi for CASSANDRA-15487
2020-01-08 08:19:40 +01:00
Doug Rohrer 563592801a Pass correct seed node through to InstanceConfig so it can set it properly when starting clusters on non-0 subnets.
Patch by Doug Rohrer, reviewed by Yifan Cai and David Capwell for CASSANDRA-15447.
2019-12-18 18:04:50 +01:00
Doug Rohrer 5459c121d5 Support NodeTool in dtest
patch by Doug Rohrer and Yifan Cai; reviewed by David Capwell
and Dinesh Joshi for CASSANDRA-15429

Co-Authored-By: Doug Rohrer <drohrer@apple.com>
Co-Authored-By: Yifan Cai <yifan_cai@apple.com>
2019-12-16 14:59:32 -08:00
Ekaterina Dimitrova c3dc6eb57e Fix SELECT JSON output for empty blobs
patch by Ekaterina Dimitrova; reviewed by Benjamin Lerer for
CASSANDRA-15435
2019-12-06 17:33:01 +01:00
Mick Semb Wever f05bf64fc1
Fix 2.2 eclipse-warnings
patch by Mick Semb Wever; reviewed by Benedict for CASSANDRA-15427
2019-11-15 07:27:46 +01:00
Doug Rohrer 50b7094278 Add client testing capabilities to in-jvm tests
Patch by Doug Rohrer, reviewed by Alex Petrov for CASSANDRA-15347.

Co-authored-by: Alex Petrov <oleksandr.petrov@gmail.com>
2019-11-11 15:21:51 +01:00
Michael Shuler a593d7b358 Increment version to 2.2.16 2019-10-29 16:09:30 -05:00
Jon Meredith 02cc5df0ed In-JVM DTest: Set correct internode message version for upgrade test
On instance startup, if using mock internode messaging,
find out what version of internode messaging should be used
for other endpoints and configure the messaging service.

Also adds a more helpful diagnostic message when versions are
not supported.

Patch by Jon Meredith; Reviewed by Dinesh Joshi for CASSANDRA-15371
2019-10-28 10:32:48 -07:00
Michael Shuler 4ee4ceea28 Fix 2.2 deb Build-Depends JDK version to match build.xml source.version 2019-10-24 09:49:13 -05:00
Michael Shuler f00e01f0b2 Prepare for release, set version build date 2019-10-24 08:54:03 -05:00
Marcus Eriksson 9081d00881 Avoid adding fake row deletions if they are superseeded by the partition deletion
Patch by marcuse; reviewed by Aleksey Yeshchenko and Benedict Elliott Smith for CASSANDRA-15363
2019-10-24 10:03:17 +01:00
Jon Meredith 58a5ce14ba In-JVM DTest: Add network topology and tracing support
In-JVM DTest: readRepairTest - Set read repair query to CL.ALL

The current test relies on the order of nodes returned by the snitch
to include node3, which SimpleSnitch does.  With support for other
snitches coming then the test should be able to handle any order
of nodes - so make sure all nodes are present.

In-JVM DTest: remove minimum messaging service calculation

Match change on trunk to resolves issue with trying to call
getMessagingVersion on nodes that are not started.  Fixes
mixed version upgrades once all branches are updated.

Patch by Jon Meredith; Reviewed by Dinesh Joshi and Alex Petrov for CASSANDRA-15319
2019-10-08 13:53:15 -07:00
Jon Meredith 8dcaa12baa Allow instance class loaders to be garbage collected for inJVM dtest
Backport support optional network/gossip test features,
instance generations and subnet support from trunk.

Backport MessageFilter and cluster builder API changes to match
trunk (except for the change in namespace for Verbs).

Add a test for repeatedly creating/tearing down in-JVM dtest
clusters to help find resource leaks.

Change IsolatedExecutor to clean up on an executor with zero
core threads so that it exits sooner enabling GC on the
InstanceClassLoader.  Moved classloader close after shutdown to prevent
improve logging when the isolated executor is shutdown.

Update the logback config for dtests to make it obvious
which log threads are for instances vs the main logger.

Disable native library loading until it can be reinstated
(tracked in CASSANDRA-15170).

Shutdown various executors and threads that were
preventing the instance classloader from being unloaded.

Add test-jvm-dtest-some ant target

Patch by Jon Meredith; Reviewed by Alex Petrov and
Benedict Elliott Smith for CASSANDRA-15170
2019-08-15 10:12:06 -06:00
Liudmila Kornilova f21106fcd0 Catch non-IOException in FileUtils.close so all resources are closed
patch by Liudmila Kornilova; reviewed by Benedict Elliott Smith for CASSANDRA-15225
2019-08-07 13:05:47 +01:00
Per Otterström b2f6953add Handle exceptions during authentication/authorization
Patch by Per Otterström; reviewed by Sam Tunnicliffe for CASSANDRA-15041
2019-07-05 18:56:22 +01:00
Ted Petersson a9a4f171be Fix JDK7 compatibility broken in cassandra-2.2
Patch by Ted Petersson; Reviewed by Michael Shuler for CASSANDRA-15050
2019-06-06 11:27:38 -05:00
Michael Shuler 63ff65a8dd Switch http to https URLs in build.xml
Patch by Michael Shuler; Reviewed by Joshua McKenzie for CASSANDRA-15137
2019-05-22 15:03:43 -04:00