mirror of https://github.com/apache/cassandra
add py311 tests to circle
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-18094
This commit is contained in:
parent
0b5248d8c3
commit
d38427a67b
|
|
@ -535,6 +535,10 @@ j8_separate_jobs: &j8_separate_jobs
|
|||
requires:
|
||||
- start_j8_cqlsh_tests
|
||||
- j8_build
|
||||
- j8_cqlsh_dtests_py311_vnode:
|
||||
requires:
|
||||
- start_j8_cqlsh_tests
|
||||
- j8_build
|
||||
- j8_cqlsh-dtests-py2-no-vnodes:
|
||||
requires:
|
||||
- start_j8_cqlsh_tests
|
||||
|
|
@ -547,6 +551,10 @@ j8_separate_jobs: &j8_separate_jobs
|
|||
requires:
|
||||
- start_j8_cqlsh_tests
|
||||
- j8_build
|
||||
- j8_cqlsh_dtests_py311:
|
||||
requires:
|
||||
- start_j8_cqlsh_tests
|
||||
- j8_build
|
||||
# Java 8 cqlsh offheap dtests offheap
|
||||
- start_j8_cqlsh_tests_offheap:
|
||||
type: approval
|
||||
|
|
@ -562,6 +570,10 @@ j8_separate_jobs: &j8_separate_jobs
|
|||
requires:
|
||||
- start_j8_cqlsh_tests_offheap
|
||||
- j8_build
|
||||
- j8_cqlsh_dtests_py311_offheap:
|
||||
requires:
|
||||
- start_j8_cqlsh_tests_offheap
|
||||
- j8_build
|
||||
# Java 11 cqlsh dtests
|
||||
- start_j11_cqlsh_tests:
|
||||
type: approval
|
||||
|
|
@ -577,6 +589,10 @@ j8_separate_jobs: &j8_separate_jobs
|
|||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j8_build
|
||||
- j11_cqlsh_dtests_py311_vnode:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j8_build
|
||||
- j11_cqlsh-dtests-py2-no-vnodes:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
|
|
@ -589,6 +605,10 @@ j8_separate_jobs: &j8_separate_jobs
|
|||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j8_build
|
||||
- j11_cqlsh_dtests_py311:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j8_build
|
||||
# Java 11 cqlsh dtests off-heap
|
||||
- start_j11_cqlsh_tests_offheap:
|
||||
type: approval
|
||||
|
|
@ -604,6 +624,10 @@ j8_separate_jobs: &j8_separate_jobs
|
|||
requires:
|
||||
- start_j11_cqlsh_tests_offheap
|
||||
- j8_build
|
||||
- j11_cqlsh_dtests_py311_offheap:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests_offheap
|
||||
- j8_build
|
||||
# Java 8 repeated utest
|
||||
- start_j8_repeated_ant_test:
|
||||
type: approval
|
||||
|
|
@ -835,6 +859,9 @@ j8_pre-commit_jobs: &j8_pre-commit_jobs
|
|||
- j8_cqlsh_dtests_py38_vnode:
|
||||
requires:
|
||||
- j8_build
|
||||
- j8_cqlsh_dtests_py311_vnode:
|
||||
requires:
|
||||
- j8_build
|
||||
- j8_cqlsh-dtests-py2-no-vnodes:
|
||||
requires:
|
||||
- j8_build
|
||||
|
|
@ -844,6 +871,9 @@ j8_pre-commit_jobs: &j8_pre-commit_jobs
|
|||
- j8_cqlsh_dtests_py38:
|
||||
requires:
|
||||
- j8_build
|
||||
- j8_cqlsh_dtests_py311:
|
||||
requires:
|
||||
- j8_build
|
||||
# Java 8 cqlsh dtests offheap
|
||||
- start_j8_cqlsh_dtests_offheap:
|
||||
type: approval
|
||||
|
|
@ -859,6 +889,10 @@ j8_pre-commit_jobs: &j8_pre-commit_jobs
|
|||
requires:
|
||||
- start_j8_cqlsh_dtests_offheap
|
||||
- j8_build
|
||||
- j8_cqlsh_dtests_py311_offheap:
|
||||
requires:
|
||||
- start_j8_cqlsh_dtests_offheap
|
||||
- j8_build
|
||||
# Java 11 cqlsh dtests
|
||||
- j11_cqlsh-dtests-py2-with-vnodes:
|
||||
requires:
|
||||
|
|
@ -869,6 +903,9 @@ j8_pre-commit_jobs: &j8_pre-commit_jobs
|
|||
- j11_cqlsh_dtests_py38_vnode:
|
||||
requires:
|
||||
- j8_build
|
||||
- j11_cqlsh_dtests_py311_vnode:
|
||||
requires:
|
||||
- j8_build
|
||||
- j11_cqlsh-dtests-py2-no-vnodes:
|
||||
requires:
|
||||
- j8_build
|
||||
|
|
@ -878,6 +915,9 @@ j8_pre-commit_jobs: &j8_pre-commit_jobs
|
|||
- j11_cqlsh_dtests_py38:
|
||||
requires:
|
||||
- j8_build
|
||||
- j11_cqlsh_dtests_py311:
|
||||
requires:
|
||||
- j8_build
|
||||
# Java 11 cqlsh dtests off-heap
|
||||
- start_j11_cqlsh-dtests-offheap:
|
||||
type: approval
|
||||
|
|
@ -893,6 +933,10 @@ j8_pre-commit_jobs: &j8_pre-commit_jobs
|
|||
requires:
|
||||
- start_j11_cqlsh-dtests-offheap
|
||||
- j8_build
|
||||
- j11_cqlsh_dtests_py311_offheap:
|
||||
requires:
|
||||
- start_j11_cqlsh-dtests-offheap
|
||||
- j8_build
|
||||
|
||||
j11_separate_jobs: &j11_separate_jobs
|
||||
jobs:
|
||||
|
|
@ -983,6 +1027,10 @@ j11_separate_jobs: &j11_separate_jobs
|
|||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j11_build
|
||||
- j11_cqlsh_dtests_py311_vnode:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j11_build
|
||||
- j11_cqlsh-dtests-py2-no-vnodes:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
|
|
@ -995,6 +1043,10 @@ j11_separate_jobs: &j11_separate_jobs
|
|||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j11_build
|
||||
- j11_cqlsh_dtests_py311:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j11_build
|
||||
- start_j11_cqlsh-dtests-offheap:
|
||||
type: approval
|
||||
- j11_cqlsh-dtests-py2-offheap:
|
||||
|
|
@ -1009,6 +1061,10 @@ j11_separate_jobs: &j11_separate_jobs
|
|||
requires:
|
||||
- start_j11_cqlsh-dtests-offheap
|
||||
- j11_build
|
||||
- j11_cqlsh_dtests_py311_offheap:
|
||||
requires:
|
||||
- start_j11_cqlsh-dtests-offheap
|
||||
- j11_build
|
||||
# specialized unit tests (all run on request)
|
||||
- start_j11_utests_long:
|
||||
type: approval
|
||||
|
|
@ -1151,6 +1207,9 @@ j11_pre-commit_jobs: &j11_pre-commit_jobs
|
|||
- j11_cqlsh_dtests_py38_vnode:
|
||||
requires:
|
||||
- j11_build
|
||||
- j11_cqlsh_dtests_py311_vnode:
|
||||
requires:
|
||||
- j11_build
|
||||
- j11_cqlsh-dtests-py2-no-vnodes:
|
||||
requires:
|
||||
- j11_build
|
||||
|
|
@ -1160,6 +1219,9 @@ j11_pre-commit_jobs: &j11_pre-commit_jobs
|
|||
- j11_cqlsh_dtests_py38:
|
||||
requires:
|
||||
- j11_build
|
||||
- j11_cqlsh_dtests_py311:
|
||||
requires:
|
||||
- j11_build
|
||||
- start_j11_cqlsh-dtests-offheap:
|
||||
type: approval
|
||||
- j11_cqlsh-dtests-py2-offheap:
|
||||
|
|
@ -1174,6 +1236,10 @@ j11_pre-commit_jobs: &j11_pre-commit_jobs
|
|||
requires:
|
||||
- start_j11_cqlsh-dtests-offheap
|
||||
- j11_build
|
||||
- j11_cqlsh_dtests_py311_offheap:
|
||||
requires:
|
||||
- start_j11_cqlsh-dtests-offheap
|
||||
- j11_build
|
||||
# specialized unit tests (all run on request)
|
||||
- start_utests_long:
|
||||
type: approval
|
||||
|
|
@ -1667,6 +1733,24 @@ jobs:
|
|||
extra_env_args: 'CQLSH_PYTHON=/usr/bin/python3.8'
|
||||
python_version: '3.8'
|
||||
|
||||
j8_cqlsh_dtests_py311_vnode:
|
||||
<<: *j8_par_executor
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
- clone_dtest
|
||||
- create_venv:
|
||||
python_version: '3.11'
|
||||
- create_dtest_containers:
|
||||
file_tag: j8_with_vnodes
|
||||
run_dtests_extra_args: "--use-vnodes --skip-resource-intensive-tests --pytest-options '-k cql'"
|
||||
python_version: '3.11'
|
||||
- run_dtests:
|
||||
file_tag: j8_with_vnodes
|
||||
pytest_extra_args: '--use-vnodes --num-tokens=16 --skip-resource-intensive-tests'
|
||||
extra_env_args: 'CQLSH_PYTHON=/usr/bin/python3.11'
|
||||
python_version: '3.11'
|
||||
|
||||
j8_cqlsh_dtests_py38_offheap:
|
||||
<<: *j8_par_executor
|
||||
steps:
|
||||
|
|
@ -1685,6 +1769,24 @@ jobs:
|
|||
extra_env_args: 'CQLSH_PYTHON=/usr/bin/python3.8'
|
||||
python_version: '3.8'
|
||||
|
||||
j8_cqlsh_dtests_py311_offheap:
|
||||
<<: *j8_par_executor
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
- clone_dtest
|
||||
- create_venv:
|
||||
python_version: '3.11'
|
||||
- create_dtest_containers:
|
||||
file_tag: j8_dtests_offheap
|
||||
run_dtests_extra_args: "--use-vnodes --use-off-heap-memtables --skip-resource-intensive-tests --pytest-options '-k cql'"
|
||||
python_version: '3.11'
|
||||
- run_dtests:
|
||||
file_tag: j8_dtests_offheap
|
||||
pytest_extra_args: '--use-vnodes --num-tokens=16 --use-off-heap-memtables --skip-resource-intensive-tests'
|
||||
extra_env_args: 'CQLSH_PYTHON=/usr/bin/python3.11'
|
||||
python_version: '3.11'
|
||||
|
||||
j8_cqlsh-dtests-py2-no-vnodes:
|
||||
<<: *j8_par_executor
|
||||
steps:
|
||||
|
|
@ -1733,6 +1835,24 @@ jobs:
|
|||
extra_env_args: 'CQLSH_PYTHON=/usr/bin/python3.8'
|
||||
python_version: '3.8'
|
||||
|
||||
j8_cqlsh_dtests_py311:
|
||||
<<: *j8_par_executor
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
- clone_dtest
|
||||
- create_venv:
|
||||
python_version: '3.11'
|
||||
- create_dtest_containers:
|
||||
file_tag: j8_without_vnodes
|
||||
run_dtests_extra_args: "--skip-resource-intensive-tests --pytest-options '-k cql'"
|
||||
python_version: '3.11'
|
||||
- run_dtests:
|
||||
file_tag: j8_without_vnodes
|
||||
pytest_extra_args: '--skip-resource-intensive-tests'
|
||||
extra_env_args: 'CQLSH_PYTHON=/usr/bin/python3.11'
|
||||
python_version: '3.11'
|
||||
|
||||
j11_cqlsh-dtests-py2-with-vnodes:
|
||||
<<: *j11_par_executor
|
||||
steps:
|
||||
|
|
@ -1811,6 +1931,24 @@ jobs:
|
|||
extra_env_args: 'CQLSH_PYTHON=/usr/bin/python3.8'
|
||||
python_version: '3.8'
|
||||
|
||||
j11_cqlsh_dtests_py311_vnode:
|
||||
<<: *j11_par_executor
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
- clone_dtest
|
||||
- create_venv:
|
||||
python_version: '3.11'
|
||||
- create_dtest_containers:
|
||||
file_tag: j11_with_vnodes
|
||||
run_dtests_extra_args: "--use-vnodes --skip-resource-intensive-tests --pytest-options '-k cql'"
|
||||
python_version: '3.11'
|
||||
- run_dtests:
|
||||
file_tag: j11_with_vnodes
|
||||
pytest_extra_args: '--use-vnodes --num-tokens=16 --skip-resource-intensive-tests'
|
||||
extra_env_args: 'CQLSH_PYTHON=/usr/bin/python3.11'
|
||||
python_version: '3.11'
|
||||
|
||||
j11_cqlsh_dtests_py38_offheap:
|
||||
<<: *j11_par_executor
|
||||
steps:
|
||||
|
|
@ -1829,6 +1967,24 @@ jobs:
|
|||
extra_env_args: 'CQLSH_PYTHON=/usr/bin/python3.8'
|
||||
python_version: '3.8'
|
||||
|
||||
j11_cqlsh_dtests_py311_offheap:
|
||||
<<: *j11_par_executor
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
- clone_dtest
|
||||
- create_venv:
|
||||
python_version: '3.11'
|
||||
- create_dtest_containers:
|
||||
file_tag: j11_dtests_offheap
|
||||
run_dtests_extra_args: "--use-vnodes --use-off-heap-memtables --skip-resource-intensive-tests --pytest-options '-k cql'"
|
||||
python_version: '3.11'
|
||||
- run_dtests:
|
||||
file_tag: j11_dtests_offheap
|
||||
pytest_extra_args: '--use-vnodes --num-tokens=16 --use-off-heap-memtables --skip-resource-intensive-tests'
|
||||
extra_env_args: 'CQLSH_PYTHON=/usr/bin/python3.11'
|
||||
python_version: '3.11'
|
||||
|
||||
j11_cqlsh-dtests-py2-no-vnodes:
|
||||
<<: *j11_par_executor
|
||||
steps:
|
||||
|
|
@ -1877,6 +2033,24 @@ jobs:
|
|||
extra_env_args: 'CQLSH_PYTHON=/usr/bin/python3.8'
|
||||
python_version: '3.8'
|
||||
|
||||
j11_cqlsh_dtests_py311:
|
||||
<<: *j11_par_executor
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
- clone_dtest
|
||||
- create_venv:
|
||||
python_version: '3.11'
|
||||
- create_dtest_containers:
|
||||
file_tag: j11_without_vnodes
|
||||
run_dtests_extra_args: "--skip-resource-intensive-tests --pytest-options '-k cql'"
|
||||
python_version: '3.11'
|
||||
- run_dtests:
|
||||
file_tag: j11_without_vnodes
|
||||
pytest_extra_args: '--skip-resource-intensive-tests'
|
||||
extra_env_args: 'CQLSH_PYTHON=/usr/bin/python3.11'
|
||||
python_version: '3.11'
|
||||
|
||||
j8_unit_tests_repeat:
|
||||
<<: *j8_repeated_utest_executor
|
||||
steps:
|
||||
|
|
@ -2379,7 +2553,7 @@ commands:
|
|||
python_version:
|
||||
type: enum
|
||||
default: "3.6"
|
||||
enum: ["3.6", "3.7", "3.8"]
|
||||
enum: ["3.6", "3.7", "3.8", "3.11"]
|
||||
steps:
|
||||
- run:
|
||||
name: Configure virtualenv and python Dependencies
|
||||
|
|
@ -2410,7 +2584,7 @@ commands:
|
|||
python_version:
|
||||
type: enum
|
||||
default: "3.6"
|
||||
enum: ["3.6", "3.7", "3.8"]
|
||||
enum: ["3.6", "3.7", "3.8", "3.11"]
|
||||
steps:
|
||||
- run:
|
||||
name: Determine Tests to Run (<<parameters.file_tag>>)
|
||||
|
|
@ -2452,7 +2626,7 @@ commands:
|
|||
python_version:
|
||||
type: enum
|
||||
default: "3.6"
|
||||
enum: ["3.6", "3.7", "3.8"]
|
||||
enum: ["3.6", "3.7", "3.8", "3.11"]
|
||||
steps:
|
||||
- run:
|
||||
name: Run dtests (<<parameters.file_tag>>)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
--- config-2_1.yml 2022-12-23 09:48:14.000000000 -0500
|
||||
+++ config-2_1.yml.MIDRES 2022-12-23 09:49:05.000000000 -0500
|
||||
--- config-2_1.yml 2023-01-19 06:38:57.093283218 -0600
|
||||
+++ config-2_1.yml.MIDRES 2023-01-13 11:55:08.633040364 -0600
|
||||
@@ -136,14 +136,14 @@
|
||||
j8_par_executor: &j8_par_executor
|
||||
executor:
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
+j8_very_large_par_executor: &j8_very_large_par_executor
|
||||
+ executor:
|
||||
+ name: java8-executor
|
||||
+ exec_resource_class: large
|
||||
+ exec_resource_class: xlarge
|
||||
+ parallelism: 100
|
||||
|
||||
j8_seq_executor: &j8_seq_executor
|
||||
|
|
@ -126,7 +126,7 @@
|
|||
|
||||
j8_separate_jobs: &j8_separate_jobs
|
||||
jobs:
|
||||
@@ -1489,7 +1513,7 @@
|
||||
@@ -1555,7 +1579,7 @@
|
||||
target: testclasslist-system-keyspace-directory
|
||||
|
||||
j8_dtests_vnode:
|
||||
|
|
@ -135,7 +135,7 @@
|
|||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1503,7 +1527,7 @@
|
||||
@@ -1569,7 +1593,7 @@
|
||||
pytest_extra_args: '--use-vnodes --num-tokens=16 --skip-resource-intensive-tests'
|
||||
|
||||
j8_dtests_offheap:
|
||||
|
|
@ -144,7 +144,7 @@
|
|||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1517,7 +1541,7 @@
|
||||
@@ -1583,7 +1607,7 @@
|
||||
pytest_extra_args: '--use-vnodes --num-tokens=16 --use-off-heap-memtables --skip-resource-intensive-tests'
|
||||
|
||||
j11_dtests_vnode:
|
||||
|
|
@ -153,7 +153,7 @@
|
|||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1532,7 +1556,7 @@
|
||||
@@ -1598,7 +1622,7 @@
|
||||
pytest_extra_args: '--use-vnodes --num-tokens=16 --skip-resource-intensive-tests'
|
||||
|
||||
j11_dtests_offheap:
|
||||
|
|
@ -162,7 +162,7 @@
|
|||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1547,7 +1571,7 @@
|
||||
@@ -1613,7 +1637,7 @@
|
||||
pytest_extra_args: '--use-vnodes --num-tokens=16 --use-off-heap-memtables --skip-resource-intensive-tests'
|
||||
|
||||
j8_dtests:
|
||||
|
|
@ -171,7 +171,7 @@
|
|||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1561,7 +1585,7 @@
|
||||
@@ -1627,7 +1651,7 @@
|
||||
pytest_extra_args: '--skip-resource-intensive-tests'
|
||||
|
||||
j11_dtests:
|
||||
|
|
@ -180,7 +180,7 @@
|
|||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1576,7 +1600,7 @@
|
||||
@@ -1642,7 +1666,7 @@
|
||||
pytest_extra_args: '--skip-resource-intensive-tests'
|
||||
|
||||
j8_upgrade_dtests:
|
||||
|
|
@ -189,7 +189,7 @@
|
|||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1590,7 +1614,7 @@
|
||||
@@ -1656,7 +1680,7 @@
|
||||
pytest_extra_args: '--execute-upgrade-tests-only --upgrade-target-version-only --upgrade-version-selection all'
|
||||
|
||||
j8_cqlsh-dtests-py2-with-vnodes:
|
||||
|
|
@ -198,7 +198,7 @@
|
|||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1605,7 +1629,7 @@
|
||||
@@ -1671,7 +1695,7 @@
|
||||
extra_env_args: 'CQLSH_PYTHON=/usr/bin/python2.7'
|
||||
|
||||
j8_cqlsh-dtests-py2-offheap:
|
||||
|
|
@ -207,7 +207,7 @@
|
|||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1620,7 +1644,7 @@
|
||||
@@ -1686,7 +1710,7 @@
|
||||
extra_env_args: 'CQLSH_PYTHON=/usr/bin/python2.7'
|
||||
|
||||
j8_cqlsh_dtests_py3_vnode:
|
||||
|
|
@ -216,7 +216,7 @@
|
|||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1635,7 +1659,7 @@
|
||||
@@ -1701,7 +1725,7 @@
|
||||
extra_env_args: 'CQLSH_PYTHON=/usr/bin/python3.6'
|
||||
|
||||
j8_cqlsh_dtests_py3_offheap:
|
||||
|
|
@ -225,7 +225,7 @@
|
|||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1650,7 +1674,7 @@
|
||||
@@ -1716,7 +1740,7 @@
|
||||
extra_env_args: 'CQLSH_PYTHON=/usr/bin/python3.6'
|
||||
|
||||
j8_cqlsh_dtests_py38_vnode:
|
||||
|
|
@ -234,25 +234,43 @@
|
|||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1668,7 +1692,7 @@
|
||||
@@ -1734,7 +1758,7 @@
|
||||
python_version: '3.8'
|
||||
|
||||
j8_cqlsh_dtests_py311_vnode:
|
||||
- <<: *j8_par_executor
|
||||
+ <<: *j8_large_par_executor
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1752,7 +1776,7 @@
|
||||
python_version: '3.11'
|
||||
|
||||
j8_cqlsh_dtests_py38_offheap:
|
||||
- <<: *j8_par_executor
|
||||
+ <<: *j8_large_par_executor
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1686,7 +1710,7 @@
|
||||
@@ -1770,7 +1794,7 @@
|
||||
python_version: '3.8'
|
||||
|
||||
j8_cqlsh_dtests_py311_offheap:
|
||||
- <<: *j8_par_executor
|
||||
+ <<: *j8_large_par_executor
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1788,7 +1812,7 @@
|
||||
python_version: '3.11'
|
||||
|
||||
j8_cqlsh-dtests-py2-no-vnodes:
|
||||
- <<: *j8_par_executor
|
||||
+ <<: *j8_large_par_executor
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1701,7 +1725,7 @@
|
||||
@@ -1803,7 +1827,7 @@
|
||||
extra_env_args: 'CQLSH_PYTHON=/usr/bin/python2.7'
|
||||
|
||||
j8_cqlsh_dtests_py3:
|
||||
|
|
@ -261,7 +279,7 @@
|
|||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1716,7 +1740,7 @@
|
||||
@@ -1818,7 +1842,7 @@
|
||||
extra_env_args: 'CQLSH_PYTHON=/usr/bin/python3.6'
|
||||
|
||||
j8_cqlsh_dtests_py38:
|
||||
|
|
@ -270,16 +288,25 @@
|
|||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1734,7 +1758,7 @@
|
||||
@@ -1836,7 +1860,7 @@
|
||||
python_version: '3.8'
|
||||
|
||||
j8_cqlsh_dtests_py311:
|
||||
- <<: *j8_par_executor
|
||||
+ <<: *j8_large_par_executor
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1854,7 +1878,7 @@
|
||||
python_version: '3.11'
|
||||
|
||||
j11_cqlsh-dtests-py2-with-vnodes:
|
||||
- <<: *j11_par_executor
|
||||
+ <<: *j11_large_par_executor
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1749,7 +1773,7 @@
|
||||
@@ -1869,7 +1893,7 @@
|
||||
extra_env_args: 'CQLSH_PYTHON=/usr/bin/python2.7'
|
||||
|
||||
j11_cqlsh-dtests-py2-offheap:
|
||||
|
|
@ -288,7 +315,7 @@
|
|||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1764,7 +1788,7 @@
|
||||
@@ -1884,7 +1908,7 @@
|
||||
extra_env_args: 'CQLSH_PYTHON=/usr/bin/python2.7'
|
||||
|
||||
j11_cqlsh_dtests_py3_vnode:
|
||||
|
|
@ -297,7 +324,7 @@
|
|||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1779,7 +1803,7 @@
|
||||
@@ -1899,7 +1923,7 @@
|
||||
extra_env_args: 'CQLSH_PYTHON=/usr/bin/python3.6'
|
||||
|
||||
j11_cqlsh_dtests_py3_offheap:
|
||||
|
|
@ -306,7 +333,7 @@
|
|||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1794,7 +1818,7 @@
|
||||
@@ -1914,7 +1938,7 @@
|
||||
extra_env_args: 'CQLSH_PYTHON=/usr/bin/python3.6'
|
||||
|
||||
j11_cqlsh_dtests_py38_vnode:
|
||||
|
|
@ -315,25 +342,43 @@
|
|||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1812,7 +1836,7 @@
|
||||
@@ -1932,7 +1956,7 @@
|
||||
python_version: '3.8'
|
||||
|
||||
j11_cqlsh_dtests_py311_vnode:
|
||||
- <<: *j11_par_executor
|
||||
+ <<: *j11_large_par_executor
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1950,7 +1974,7 @@
|
||||
python_version: '3.11'
|
||||
|
||||
j11_cqlsh_dtests_py38_offheap:
|
||||
- <<: *j11_par_executor
|
||||
+ <<: *j11_large_par_executor
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1830,7 +1854,7 @@
|
||||
@@ -1968,7 +1992,7 @@
|
||||
python_version: '3.8'
|
||||
|
||||
j11_cqlsh_dtests_py311_offheap:
|
||||
- <<: *j11_par_executor
|
||||
+ <<: *j11_large_par_executor
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1986,7 +2010,7 @@
|
||||
python_version: '3.11'
|
||||
|
||||
j11_cqlsh-dtests-py2-no-vnodes:
|
||||
- <<: *j11_par_executor
|
||||
+ <<: *j11_large_par_executor
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1845,7 +1869,7 @@
|
||||
@@ -2001,7 +2025,7 @@
|
||||
extra_env_args: 'CQLSH_PYTHON=/usr/bin/python2.7'
|
||||
|
||||
j11_cqlsh_dtests_py3:
|
||||
|
|
@ -342,7 +387,7 @@
|
|||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -1860,7 +1884,7 @@
|
||||
@@ -2016,7 +2040,7 @@
|
||||
extra_env_args: 'CQLSH_PYTHON=/usr/bin/python3.6'
|
||||
|
||||
j11_cqlsh_dtests_py38:
|
||||
|
|
@ -351,7 +396,16 @@
|
|||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -2895,3 +2919,4 @@
|
||||
@@ -2034,7 +2058,7 @@
|
||||
python_version: '3.8'
|
||||
|
||||
j11_cqlsh_dtests_py311:
|
||||
- <<: *j11_par_executor
|
||||
+ <<: *j11_large_par_executor
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
@@ -3069,3 +3093,4 @@
|
||||
- store_artifacts:
|
||||
path: ~/cassandra-dtest/logs
|
||||
destination: dtest_logs
|
||||
|
|
|
|||
|
|
@ -423,6 +423,106 @@ jobs:
|
|||
- REPEATED_ANT_TEST_COUNT: 500
|
||||
- JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
j8_cqlsh_dtests_py311_vnode:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:latest
|
||||
resource_class: medium
|
||||
working_directory: ~/
|
||||
shell: /bin/bash -eo pipefail -l
|
||||
parallelism: 4
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
- run:
|
||||
name: Clone Cassandra dtest Repository (via git)
|
||||
command: |
|
||||
git clone --single-branch --branch $DTEST_BRANCH --depth 1 $DTEST_REPO ~/cassandra-dtest
|
||||
- run:
|
||||
name: Configure virtualenv and python Dependencies
|
||||
command: |
|
||||
# note, this should be super quick as all dependencies should be pre-installed in the docker image
|
||||
# if additional dependencies were added to requirmeents.txt and the docker image hasn't been updated
|
||||
# we'd have to install it here at runtime -- which will make things slow, so do yourself a favor and
|
||||
# rebuild the docker image! (it automatically pulls the latest requirements.txt on build)
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
pip3 install --exists-action w --upgrade -r ~/cassandra-dtest/requirements.txt
|
||||
pip3 uninstall -y cqlsh
|
||||
pip3 freeze
|
||||
- run:
|
||||
name: Determine Tests to Run (j8_with_vnodes)
|
||||
no_output_timeout: 5m
|
||||
command: "# reminder: this code (along with all the steps) is independently executed on every circle container\n# so the goal here is to get the circleci script to return the tests *this* container will run\n# which we do via the `circleci` cli tool.\n\ncd cassandra-dtest\nsource ~/env3.11/bin/activate\nexport PATH=$JAVA_HOME/bin:$PATH\n\nif [ -n '' ]; then\n export \nfi\n\necho \"***Collected DTests (j8_with_vnodes)***\"\nset -eo pipefail && ./run_dtests.py --use-vnodes --skip-resource-intensive-tests --pytest-options '-k cql' --dtest-print-tests-only --dtest-print-tests-output=/tmp/all_dtest_tests_j8_with_vnodes_raw --cassandra-dir=../cassandra\nif [ -z '' ]; then\n mv /tmp/all_dtest_tests_j8_with_vnodes_raw /tmp/all_dtest_tests_j8_with_vnodes\nelse\n grep -e '' /tmp/all_dtest_tests_j8_with_vnodes_raw > /tmp/all_dtest_tests_j8_with_vnodes || { echo \"Filter did not match any tests! Exiting build.\"; exit 0; }\nfi\nset -eo pipefail && circleci tests split --split-by=timings --timings-type=classname /tmp/all_dtest_tests_j8_with_vnodes > /tmp/split_dtest_tests_j8_with_vnodes.txt\ncat /tmp/split_dtest_tests_j8_with_vnodes.txt | tr '\\n' ' ' > /tmp/split_dtest_tests_j8_with_vnodes_final.txt\ncat /tmp/split_dtest_tests_j8_with_vnodes_final.txt\n"
|
||||
- run:
|
||||
name: Run dtests (j8_with_vnodes)
|
||||
no_output_timeout: 15m
|
||||
command: |
|
||||
echo "cat /tmp/split_dtest_tests_j8_with_vnodes_final.txt"
|
||||
cat /tmp/split_dtest_tests_j8_with_vnodes_final.txt
|
||||
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
if [ -n 'CQLSH_PYTHON=/usr/bin/python3.11' ]; then
|
||||
export CQLSH_PYTHON=/usr/bin/python3.11
|
||||
fi
|
||||
|
||||
java -version
|
||||
cd ~/cassandra-dtest
|
||||
mkdir -p /tmp/dtest
|
||||
|
||||
echo "env: $(env)"
|
||||
echo "** done env"
|
||||
mkdir -p /tmp/results/dtests
|
||||
# we need the "set -o pipefail" here so that the exit code that circleci will actually use is from pytest and not the exit code from tee
|
||||
export SPLIT_TESTS=`cat /tmp/split_dtest_tests_j8_with_vnodes_final.txt`
|
||||
set -o pipefail && cd ~/cassandra-dtest && pytest --use-vnodes --num-tokens=16 --skip-resource-intensive-tests --log-cli-level=DEBUG --junit-xml=/tmp/results/dtests/pytest_result_j8_with_vnodes.xml -s --cassandra-dir=/home/cassandra/cassandra --keep-test-dir $SPLIT_TESTS 2>&1 | tee /tmp/dtest/stdout.txt
|
||||
- store_test_results:
|
||||
path: /tmp/results
|
||||
- store_artifacts:
|
||||
path: /tmp/dtest
|
||||
destination: dtest_j8_with_vnodes
|
||||
- store_artifacts:
|
||||
path: ~/cassandra-dtest/logs
|
||||
destination: dtest_j8_with_vnodes_logs
|
||||
environment:
|
||||
- ANT_HOME: /usr/share/ant
|
||||
- JAVA11_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JAVA8_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- LANG: en_US.UTF-8
|
||||
- KEEP_TEST_DIR: true
|
||||
- DEFAULT_DIR: /home/cassandra/cassandra-dtest
|
||||
- PYTHONIOENCODING: utf-8
|
||||
- PYTHONUNBUFFERED: true
|
||||
- CASS_DRIVER_NO_EXTENSIONS: true
|
||||
- CASS_DRIVER_NO_CYTHON: true
|
||||
- CASSANDRA_SKIP_SYNC: true
|
||||
- DTEST_REPO: https://github.com/apache/cassandra-dtest.git
|
||||
- DTEST_BRANCH: trunk
|
||||
- CCM_MAX_HEAP_SIZE: 1024M
|
||||
- CCM_HEAP_NEWSIZE: 256M
|
||||
- REPEATED_TESTS_STOP_ON_FAILURE: false
|
||||
- REPEATED_UTESTS: null
|
||||
- REPEATED_UTESTS_COUNT: 500
|
||||
- REPEATED_UTESTS_FQLTOOL: null
|
||||
- REPEATED_UTESTS_FQLTOOL_COUNT: 500
|
||||
- REPEATED_UTESTS_LONG: null
|
||||
- REPEATED_UTESTS_LONG_COUNT: 100
|
||||
- REPEATED_UTESTS_STRESS: null
|
||||
- REPEATED_UTESTS_STRESS_COUNT: 500
|
||||
- REPEATED_JVM_DTESTS: null
|
||||
- REPEATED_JVM_DTESTS_COUNT: 500
|
||||
- REPEATED_JVM_UPGRADE_DTESTS: null
|
||||
- REPEATED_JVM_UPGRADE_DTESTS_COUNT: 500
|
||||
- REPEATED_DTESTS: null
|
||||
- REPEATED_DTESTS_COUNT: 500
|
||||
- REPEATED_UPGRADE_DTESTS: null
|
||||
- REPEATED_UPGRADE_DTESTS_COUNT: 25
|
||||
- REPEATED_ANT_TEST_TARGET: testsome
|
||||
- REPEATED_ANT_TEST_CLASS: null
|
||||
- REPEATED_ANT_TEST_METHODS: null
|
||||
- REPEATED_ANT_TEST_COUNT: 500
|
||||
- JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
j11_dtests_vnode_repeat:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11:latest
|
||||
|
|
@ -949,6 +1049,107 @@ jobs:
|
|||
- JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- CASSANDRA_USE_JDK11: true
|
||||
j11_cqlsh_dtests_py311:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11:latest
|
||||
resource_class: medium
|
||||
working_directory: ~/
|
||||
shell: /bin/bash -eo pipefail -l
|
||||
parallelism: 4
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
- run:
|
||||
name: Clone Cassandra dtest Repository (via git)
|
||||
command: |
|
||||
git clone --single-branch --branch $DTEST_BRANCH --depth 1 $DTEST_REPO ~/cassandra-dtest
|
||||
- run:
|
||||
name: Configure virtualenv and python Dependencies
|
||||
command: |
|
||||
# note, this should be super quick as all dependencies should be pre-installed in the docker image
|
||||
# if additional dependencies were added to requirmeents.txt and the docker image hasn't been updated
|
||||
# we'd have to install it here at runtime -- which will make things slow, so do yourself a favor and
|
||||
# rebuild the docker image! (it automatically pulls the latest requirements.txt on build)
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
pip3 install --exists-action w --upgrade -r ~/cassandra-dtest/requirements.txt
|
||||
pip3 uninstall -y cqlsh
|
||||
pip3 freeze
|
||||
- run:
|
||||
name: Determine Tests to Run (j11_without_vnodes)
|
||||
no_output_timeout: 5m
|
||||
command: "# reminder: this code (along with all the steps) is independently executed on every circle container\n# so the goal here is to get the circleci script to return the tests *this* container will run\n# which we do via the `circleci` cli tool.\n\ncd cassandra-dtest\nsource ~/env3.11/bin/activate\nexport PATH=$JAVA_HOME/bin:$PATH\n\nif [ -n '' ]; then\n export \nfi\n\necho \"***Collected DTests (j11_without_vnodes)***\"\nset -eo pipefail && ./run_dtests.py --skip-resource-intensive-tests --pytest-options '-k cql' --dtest-print-tests-only --dtest-print-tests-output=/tmp/all_dtest_tests_j11_without_vnodes_raw --cassandra-dir=../cassandra\nif [ -z '' ]; then\n mv /tmp/all_dtest_tests_j11_without_vnodes_raw /tmp/all_dtest_tests_j11_without_vnodes\nelse\n grep -e '' /tmp/all_dtest_tests_j11_without_vnodes_raw > /tmp/all_dtest_tests_j11_without_vnodes || { echo \"Filter did not match any tests! Exiting build.\"; exit 0; }\nfi\nset -eo pipefail && circleci tests split --split-by=timings --timings-type=classname /tmp/all_dtest_tests_j11_without_vnodes > /tmp/split_dtest_tests_j11_without_vnodes.txt\ncat /tmp/split_dtest_tests_j11_without_vnodes.txt | tr '\\n' ' ' > /tmp/split_dtest_tests_j11_without_vnodes_final.txt\ncat /tmp/split_dtest_tests_j11_without_vnodes_final.txt\n"
|
||||
- run:
|
||||
name: Run dtests (j11_without_vnodes)
|
||||
no_output_timeout: 15m
|
||||
command: |
|
||||
echo "cat /tmp/split_dtest_tests_j11_without_vnodes_final.txt"
|
||||
cat /tmp/split_dtest_tests_j11_without_vnodes_final.txt
|
||||
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
if [ -n 'CQLSH_PYTHON=/usr/bin/python3.11' ]; then
|
||||
export CQLSH_PYTHON=/usr/bin/python3.11
|
||||
fi
|
||||
|
||||
java -version
|
||||
cd ~/cassandra-dtest
|
||||
mkdir -p /tmp/dtest
|
||||
|
||||
echo "env: $(env)"
|
||||
echo "** done env"
|
||||
mkdir -p /tmp/results/dtests
|
||||
# we need the "set -o pipefail" here so that the exit code that circleci will actually use is from pytest and not the exit code from tee
|
||||
export SPLIT_TESTS=`cat /tmp/split_dtest_tests_j11_without_vnodes_final.txt`
|
||||
set -o pipefail && cd ~/cassandra-dtest && pytest --skip-resource-intensive-tests --log-cli-level=DEBUG --junit-xml=/tmp/results/dtests/pytest_result_j11_without_vnodes.xml -s --cassandra-dir=/home/cassandra/cassandra --keep-test-dir $SPLIT_TESTS 2>&1 | tee /tmp/dtest/stdout.txt
|
||||
- store_test_results:
|
||||
path: /tmp/results
|
||||
- store_artifacts:
|
||||
path: /tmp/dtest
|
||||
destination: dtest_j11_without_vnodes
|
||||
- store_artifacts:
|
||||
path: ~/cassandra-dtest/logs
|
||||
destination: dtest_j11_without_vnodes_logs
|
||||
environment:
|
||||
- ANT_HOME: /usr/share/ant
|
||||
- JAVA11_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JAVA8_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- LANG: en_US.UTF-8
|
||||
- KEEP_TEST_DIR: true
|
||||
- DEFAULT_DIR: /home/cassandra/cassandra-dtest
|
||||
- PYTHONIOENCODING: utf-8
|
||||
- PYTHONUNBUFFERED: true
|
||||
- CASS_DRIVER_NO_EXTENSIONS: true
|
||||
- CASS_DRIVER_NO_CYTHON: true
|
||||
- CASSANDRA_SKIP_SYNC: true
|
||||
- DTEST_REPO: https://github.com/apache/cassandra-dtest.git
|
||||
- DTEST_BRANCH: trunk
|
||||
- CCM_MAX_HEAP_SIZE: 1024M
|
||||
- CCM_HEAP_NEWSIZE: 256M
|
||||
- REPEATED_TESTS_STOP_ON_FAILURE: false
|
||||
- REPEATED_UTESTS: null
|
||||
- REPEATED_UTESTS_COUNT: 500
|
||||
- REPEATED_UTESTS_FQLTOOL: null
|
||||
- REPEATED_UTESTS_FQLTOOL_COUNT: 500
|
||||
- REPEATED_UTESTS_LONG: null
|
||||
- REPEATED_UTESTS_LONG_COUNT: 100
|
||||
- REPEATED_UTESTS_STRESS: null
|
||||
- REPEATED_UTESTS_STRESS_COUNT: 500
|
||||
- REPEATED_JVM_DTESTS: null
|
||||
- REPEATED_JVM_DTESTS_COUNT: 500
|
||||
- REPEATED_JVM_UPGRADE_DTESTS: null
|
||||
- REPEATED_JVM_UPGRADE_DTESTS_COUNT: 500
|
||||
- REPEATED_DTESTS: null
|
||||
- REPEATED_DTESTS_COUNT: 500
|
||||
- REPEATED_UPGRADE_DTESTS: null
|
||||
- REPEATED_UPGRADE_DTESTS_COUNT: 25
|
||||
- REPEATED_ANT_TEST_TARGET: testsome
|
||||
- REPEATED_ANT_TEST_CLASS: null
|
||||
- REPEATED_ANT_TEST_METHODS: null
|
||||
- REPEATED_ANT_TEST_COUNT: 500
|
||||
- JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- CASSANDRA_USE_JDK11: true
|
||||
j8_utests_compression_repeat:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:latest
|
||||
|
|
@ -1830,6 +2031,106 @@ jobs:
|
|||
- JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- CASSANDRA_USE_JDK11: true
|
||||
j8_cqlsh_dtests_py311:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:latest
|
||||
resource_class: medium
|
||||
working_directory: ~/
|
||||
shell: /bin/bash -eo pipefail -l
|
||||
parallelism: 4
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
- run:
|
||||
name: Clone Cassandra dtest Repository (via git)
|
||||
command: |
|
||||
git clone --single-branch --branch $DTEST_BRANCH --depth 1 $DTEST_REPO ~/cassandra-dtest
|
||||
- run:
|
||||
name: Configure virtualenv and python Dependencies
|
||||
command: |
|
||||
# note, this should be super quick as all dependencies should be pre-installed in the docker image
|
||||
# if additional dependencies were added to requirmeents.txt and the docker image hasn't been updated
|
||||
# we'd have to install it here at runtime -- which will make things slow, so do yourself a favor and
|
||||
# rebuild the docker image! (it automatically pulls the latest requirements.txt on build)
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
pip3 install --exists-action w --upgrade -r ~/cassandra-dtest/requirements.txt
|
||||
pip3 uninstall -y cqlsh
|
||||
pip3 freeze
|
||||
- run:
|
||||
name: Determine Tests to Run (j8_without_vnodes)
|
||||
no_output_timeout: 5m
|
||||
command: "# reminder: this code (along with all the steps) is independently executed on every circle container\n# so the goal here is to get the circleci script to return the tests *this* container will run\n# which we do via the `circleci` cli tool.\n\ncd cassandra-dtest\nsource ~/env3.11/bin/activate\nexport PATH=$JAVA_HOME/bin:$PATH\n\nif [ -n '' ]; then\n export \nfi\n\necho \"***Collected DTests (j8_without_vnodes)***\"\nset -eo pipefail && ./run_dtests.py --skip-resource-intensive-tests --pytest-options '-k cql' --dtest-print-tests-only --dtest-print-tests-output=/tmp/all_dtest_tests_j8_without_vnodes_raw --cassandra-dir=../cassandra\nif [ -z '' ]; then\n mv /tmp/all_dtest_tests_j8_without_vnodes_raw /tmp/all_dtest_tests_j8_without_vnodes\nelse\n grep -e '' /tmp/all_dtest_tests_j8_without_vnodes_raw > /tmp/all_dtest_tests_j8_without_vnodes || { echo \"Filter did not match any tests! Exiting build.\"; exit 0; }\nfi\nset -eo pipefail && circleci tests split --split-by=timings --timings-type=classname /tmp/all_dtest_tests_j8_without_vnodes > /tmp/split_dtest_tests_j8_without_vnodes.txt\ncat /tmp/split_dtest_tests_j8_without_vnodes.txt | tr '\\n' ' ' > /tmp/split_dtest_tests_j8_without_vnodes_final.txt\ncat /tmp/split_dtest_tests_j8_without_vnodes_final.txt\n"
|
||||
- run:
|
||||
name: Run dtests (j8_without_vnodes)
|
||||
no_output_timeout: 15m
|
||||
command: |
|
||||
echo "cat /tmp/split_dtest_tests_j8_without_vnodes_final.txt"
|
||||
cat /tmp/split_dtest_tests_j8_without_vnodes_final.txt
|
||||
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
if [ -n 'CQLSH_PYTHON=/usr/bin/python3.11' ]; then
|
||||
export CQLSH_PYTHON=/usr/bin/python3.11
|
||||
fi
|
||||
|
||||
java -version
|
||||
cd ~/cassandra-dtest
|
||||
mkdir -p /tmp/dtest
|
||||
|
||||
echo "env: $(env)"
|
||||
echo "** done env"
|
||||
mkdir -p /tmp/results/dtests
|
||||
# we need the "set -o pipefail" here so that the exit code that circleci will actually use is from pytest and not the exit code from tee
|
||||
export SPLIT_TESTS=`cat /tmp/split_dtest_tests_j8_without_vnodes_final.txt`
|
||||
set -o pipefail && cd ~/cassandra-dtest && pytest --skip-resource-intensive-tests --log-cli-level=DEBUG --junit-xml=/tmp/results/dtests/pytest_result_j8_without_vnodes.xml -s --cassandra-dir=/home/cassandra/cassandra --keep-test-dir $SPLIT_TESTS 2>&1 | tee /tmp/dtest/stdout.txt
|
||||
- store_test_results:
|
||||
path: /tmp/results
|
||||
- store_artifacts:
|
||||
path: /tmp/dtest
|
||||
destination: dtest_j8_without_vnodes
|
||||
- store_artifacts:
|
||||
path: ~/cassandra-dtest/logs
|
||||
destination: dtest_j8_without_vnodes_logs
|
||||
environment:
|
||||
- ANT_HOME: /usr/share/ant
|
||||
- JAVA11_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JAVA8_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- LANG: en_US.UTF-8
|
||||
- KEEP_TEST_DIR: true
|
||||
- DEFAULT_DIR: /home/cassandra/cassandra-dtest
|
||||
- PYTHONIOENCODING: utf-8
|
||||
- PYTHONUNBUFFERED: true
|
||||
- CASS_DRIVER_NO_EXTENSIONS: true
|
||||
- CASS_DRIVER_NO_CYTHON: true
|
||||
- CASSANDRA_SKIP_SYNC: true
|
||||
- DTEST_REPO: https://github.com/apache/cassandra-dtest.git
|
||||
- DTEST_BRANCH: trunk
|
||||
- CCM_MAX_HEAP_SIZE: 1024M
|
||||
- CCM_HEAP_NEWSIZE: 256M
|
||||
- REPEATED_TESTS_STOP_ON_FAILURE: false
|
||||
- REPEATED_UTESTS: null
|
||||
- REPEATED_UTESTS_COUNT: 500
|
||||
- REPEATED_UTESTS_FQLTOOL: null
|
||||
- REPEATED_UTESTS_FQLTOOL_COUNT: 500
|
||||
- REPEATED_UTESTS_LONG: null
|
||||
- REPEATED_UTESTS_LONG_COUNT: 100
|
||||
- REPEATED_UTESTS_STRESS: null
|
||||
- REPEATED_UTESTS_STRESS_COUNT: 500
|
||||
- REPEATED_JVM_DTESTS: null
|
||||
- REPEATED_JVM_DTESTS_COUNT: 500
|
||||
- REPEATED_JVM_UPGRADE_DTESTS: null
|
||||
- REPEATED_JVM_UPGRADE_DTESTS_COUNT: 500
|
||||
- REPEATED_DTESTS: null
|
||||
- REPEATED_DTESTS_COUNT: 500
|
||||
- REPEATED_UPGRADE_DTESTS: null
|
||||
- REPEATED_UPGRADE_DTESTS_COUNT: 25
|
||||
- REPEATED_ANT_TEST_TARGET: testsome
|
||||
- REPEATED_ANT_TEST_CLASS: null
|
||||
- REPEATED_ANT_TEST_METHODS: null
|
||||
- REPEATED_ANT_TEST_COUNT: 500
|
||||
- JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
j11_cqlsh_dtests_py38_offheap:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11:latest
|
||||
|
|
@ -4701,6 +5002,107 @@ jobs:
|
|||
- JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- CASSANDRA_USE_JDK11: true
|
||||
j11_cqlsh_dtests_py311_offheap:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11:latest
|
||||
resource_class: medium
|
||||
working_directory: ~/
|
||||
shell: /bin/bash -eo pipefail -l
|
||||
parallelism: 4
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
- run:
|
||||
name: Clone Cassandra dtest Repository (via git)
|
||||
command: |
|
||||
git clone --single-branch --branch $DTEST_BRANCH --depth 1 $DTEST_REPO ~/cassandra-dtest
|
||||
- run:
|
||||
name: Configure virtualenv and python Dependencies
|
||||
command: |
|
||||
# note, this should be super quick as all dependencies should be pre-installed in the docker image
|
||||
# if additional dependencies were added to requirmeents.txt and the docker image hasn't been updated
|
||||
# we'd have to install it here at runtime -- which will make things slow, so do yourself a favor and
|
||||
# rebuild the docker image! (it automatically pulls the latest requirements.txt on build)
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
pip3 install --exists-action w --upgrade -r ~/cassandra-dtest/requirements.txt
|
||||
pip3 uninstall -y cqlsh
|
||||
pip3 freeze
|
||||
- run:
|
||||
name: Determine Tests to Run (j11_dtests_offheap)
|
||||
no_output_timeout: 5m
|
||||
command: "# reminder: this code (along with all the steps) is independently executed on every circle container\n# so the goal here is to get the circleci script to return the tests *this* container will run\n# which we do via the `circleci` cli tool.\n\ncd cassandra-dtest\nsource ~/env3.11/bin/activate\nexport PATH=$JAVA_HOME/bin:$PATH\n\nif [ -n '' ]; then\n export \nfi\n\necho \"***Collected DTests (j11_dtests_offheap)***\"\nset -eo pipefail && ./run_dtests.py --use-vnodes --use-off-heap-memtables --skip-resource-intensive-tests --pytest-options '-k cql' --dtest-print-tests-only --dtest-print-tests-output=/tmp/all_dtest_tests_j11_dtests_offheap_raw --cassandra-dir=../cassandra\nif [ -z '' ]; then\n mv /tmp/all_dtest_tests_j11_dtests_offheap_raw /tmp/all_dtest_tests_j11_dtests_offheap\nelse\n grep -e '' /tmp/all_dtest_tests_j11_dtests_offheap_raw > /tmp/all_dtest_tests_j11_dtests_offheap || { echo \"Filter did not match any tests! Exiting build.\"; exit 0; }\nfi\nset -eo pipefail && circleci tests split --split-by=timings --timings-type=classname /tmp/all_dtest_tests_j11_dtests_offheap > /tmp/split_dtest_tests_j11_dtests_offheap.txt\ncat /tmp/split_dtest_tests_j11_dtests_offheap.txt | tr '\\n' ' ' > /tmp/split_dtest_tests_j11_dtests_offheap_final.txt\ncat /tmp/split_dtest_tests_j11_dtests_offheap_final.txt\n"
|
||||
- run:
|
||||
name: Run dtests (j11_dtests_offheap)
|
||||
no_output_timeout: 15m
|
||||
command: |
|
||||
echo "cat /tmp/split_dtest_tests_j11_dtests_offheap_final.txt"
|
||||
cat /tmp/split_dtest_tests_j11_dtests_offheap_final.txt
|
||||
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
if [ -n 'CQLSH_PYTHON=/usr/bin/python3.11' ]; then
|
||||
export CQLSH_PYTHON=/usr/bin/python3.11
|
||||
fi
|
||||
|
||||
java -version
|
||||
cd ~/cassandra-dtest
|
||||
mkdir -p /tmp/dtest
|
||||
|
||||
echo "env: $(env)"
|
||||
echo "** done env"
|
||||
mkdir -p /tmp/results/dtests
|
||||
# we need the "set -o pipefail" here so that the exit code that circleci will actually use is from pytest and not the exit code from tee
|
||||
export SPLIT_TESTS=`cat /tmp/split_dtest_tests_j11_dtests_offheap_final.txt`
|
||||
set -o pipefail && cd ~/cassandra-dtest && pytest --use-vnodes --num-tokens=16 --use-off-heap-memtables --skip-resource-intensive-tests --log-cli-level=DEBUG --junit-xml=/tmp/results/dtests/pytest_result_j11_dtests_offheap.xml -s --cassandra-dir=/home/cassandra/cassandra --keep-test-dir $SPLIT_TESTS 2>&1 | tee /tmp/dtest/stdout.txt
|
||||
- store_test_results:
|
||||
path: /tmp/results
|
||||
- store_artifacts:
|
||||
path: /tmp/dtest
|
||||
destination: dtest_j11_dtests_offheap
|
||||
- store_artifacts:
|
||||
path: ~/cassandra-dtest/logs
|
||||
destination: dtest_j11_dtests_offheap_logs
|
||||
environment:
|
||||
- ANT_HOME: /usr/share/ant
|
||||
- JAVA11_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JAVA8_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- LANG: en_US.UTF-8
|
||||
- KEEP_TEST_DIR: true
|
||||
- DEFAULT_DIR: /home/cassandra/cassandra-dtest
|
||||
- PYTHONIOENCODING: utf-8
|
||||
- PYTHONUNBUFFERED: true
|
||||
- CASS_DRIVER_NO_EXTENSIONS: true
|
||||
- CASS_DRIVER_NO_CYTHON: true
|
||||
- CASSANDRA_SKIP_SYNC: true
|
||||
- DTEST_REPO: https://github.com/apache/cassandra-dtest.git
|
||||
- DTEST_BRANCH: trunk
|
||||
- CCM_MAX_HEAP_SIZE: 1024M
|
||||
- CCM_HEAP_NEWSIZE: 256M
|
||||
- REPEATED_TESTS_STOP_ON_FAILURE: false
|
||||
- REPEATED_UTESTS: null
|
||||
- REPEATED_UTESTS_COUNT: 500
|
||||
- REPEATED_UTESTS_FQLTOOL: null
|
||||
- REPEATED_UTESTS_FQLTOOL_COUNT: 500
|
||||
- REPEATED_UTESTS_LONG: null
|
||||
- REPEATED_UTESTS_LONG_COUNT: 100
|
||||
- REPEATED_UTESTS_STRESS: null
|
||||
- REPEATED_UTESTS_STRESS_COUNT: 500
|
||||
- REPEATED_JVM_DTESTS: null
|
||||
- REPEATED_JVM_DTESTS_COUNT: 500
|
||||
- REPEATED_JVM_UPGRADE_DTESTS: null
|
||||
- REPEATED_JVM_UPGRADE_DTESTS_COUNT: 500
|
||||
- REPEATED_DTESTS: null
|
||||
- REPEATED_DTESTS_COUNT: 500
|
||||
- REPEATED_UPGRADE_DTESTS: null
|
||||
- REPEATED_UPGRADE_DTESTS_COUNT: 25
|
||||
- REPEATED_ANT_TEST_TARGET: testsome
|
||||
- REPEATED_ANT_TEST_CLASS: null
|
||||
- REPEATED_ANT_TEST_METHODS: null
|
||||
- REPEATED_ANT_TEST_COUNT: 500
|
||||
- JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- CASSANDRA_USE_JDK11: true
|
||||
j8_utests_system_keyspace_directory_repeat:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:latest
|
||||
|
|
@ -6078,6 +6480,107 @@ jobs:
|
|||
- JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- CASSANDRA_USE_JDK11: true
|
||||
j11_cqlsh_dtests_py311_vnode:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11:latest
|
||||
resource_class: medium
|
||||
working_directory: ~/
|
||||
shell: /bin/bash -eo pipefail -l
|
||||
parallelism: 4
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
- run:
|
||||
name: Clone Cassandra dtest Repository (via git)
|
||||
command: |
|
||||
git clone --single-branch --branch $DTEST_BRANCH --depth 1 $DTEST_REPO ~/cassandra-dtest
|
||||
- run:
|
||||
name: Configure virtualenv and python Dependencies
|
||||
command: |
|
||||
# note, this should be super quick as all dependencies should be pre-installed in the docker image
|
||||
# if additional dependencies were added to requirmeents.txt and the docker image hasn't been updated
|
||||
# we'd have to install it here at runtime -- which will make things slow, so do yourself a favor and
|
||||
# rebuild the docker image! (it automatically pulls the latest requirements.txt on build)
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
pip3 install --exists-action w --upgrade -r ~/cassandra-dtest/requirements.txt
|
||||
pip3 uninstall -y cqlsh
|
||||
pip3 freeze
|
||||
- run:
|
||||
name: Determine Tests to Run (j11_with_vnodes)
|
||||
no_output_timeout: 5m
|
||||
command: "# reminder: this code (along with all the steps) is independently executed on every circle container\n# so the goal here is to get the circleci script to return the tests *this* container will run\n# which we do via the `circleci` cli tool.\n\ncd cassandra-dtest\nsource ~/env3.11/bin/activate\nexport PATH=$JAVA_HOME/bin:$PATH\n\nif [ -n '' ]; then\n export \nfi\n\necho \"***Collected DTests (j11_with_vnodes)***\"\nset -eo pipefail && ./run_dtests.py --use-vnodes --skip-resource-intensive-tests --pytest-options '-k cql' --dtest-print-tests-only --dtest-print-tests-output=/tmp/all_dtest_tests_j11_with_vnodes_raw --cassandra-dir=../cassandra\nif [ -z '' ]; then\n mv /tmp/all_dtest_tests_j11_with_vnodes_raw /tmp/all_dtest_tests_j11_with_vnodes\nelse\n grep -e '' /tmp/all_dtest_tests_j11_with_vnodes_raw > /tmp/all_dtest_tests_j11_with_vnodes || { echo \"Filter did not match any tests! Exiting build.\"; exit 0; }\nfi\nset -eo pipefail && circleci tests split --split-by=timings --timings-type=classname /tmp/all_dtest_tests_j11_with_vnodes > /tmp/split_dtest_tests_j11_with_vnodes.txt\ncat /tmp/split_dtest_tests_j11_with_vnodes.txt | tr '\\n' ' ' > /tmp/split_dtest_tests_j11_with_vnodes_final.txt\ncat /tmp/split_dtest_tests_j11_with_vnodes_final.txt\n"
|
||||
- run:
|
||||
name: Run dtests (j11_with_vnodes)
|
||||
no_output_timeout: 15m
|
||||
command: |
|
||||
echo "cat /tmp/split_dtest_tests_j11_with_vnodes_final.txt"
|
||||
cat /tmp/split_dtest_tests_j11_with_vnodes_final.txt
|
||||
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
if [ -n 'CQLSH_PYTHON=/usr/bin/python3.11' ]; then
|
||||
export CQLSH_PYTHON=/usr/bin/python3.11
|
||||
fi
|
||||
|
||||
java -version
|
||||
cd ~/cassandra-dtest
|
||||
mkdir -p /tmp/dtest
|
||||
|
||||
echo "env: $(env)"
|
||||
echo "** done env"
|
||||
mkdir -p /tmp/results/dtests
|
||||
# we need the "set -o pipefail" here so that the exit code that circleci will actually use is from pytest and not the exit code from tee
|
||||
export SPLIT_TESTS=`cat /tmp/split_dtest_tests_j11_with_vnodes_final.txt`
|
||||
set -o pipefail && cd ~/cassandra-dtest && pytest --use-vnodes --num-tokens=16 --skip-resource-intensive-tests --log-cli-level=DEBUG --junit-xml=/tmp/results/dtests/pytest_result_j11_with_vnodes.xml -s --cassandra-dir=/home/cassandra/cassandra --keep-test-dir $SPLIT_TESTS 2>&1 | tee /tmp/dtest/stdout.txt
|
||||
- store_test_results:
|
||||
path: /tmp/results
|
||||
- store_artifacts:
|
||||
path: /tmp/dtest
|
||||
destination: dtest_j11_with_vnodes
|
||||
- store_artifacts:
|
||||
path: ~/cassandra-dtest/logs
|
||||
destination: dtest_j11_with_vnodes_logs
|
||||
environment:
|
||||
- ANT_HOME: /usr/share/ant
|
||||
- JAVA11_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JAVA8_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- LANG: en_US.UTF-8
|
||||
- KEEP_TEST_DIR: true
|
||||
- DEFAULT_DIR: /home/cassandra/cassandra-dtest
|
||||
- PYTHONIOENCODING: utf-8
|
||||
- PYTHONUNBUFFERED: true
|
||||
- CASS_DRIVER_NO_EXTENSIONS: true
|
||||
- CASS_DRIVER_NO_CYTHON: true
|
||||
- CASSANDRA_SKIP_SYNC: true
|
||||
- DTEST_REPO: https://github.com/apache/cassandra-dtest.git
|
||||
- DTEST_BRANCH: trunk
|
||||
- CCM_MAX_HEAP_SIZE: 1024M
|
||||
- CCM_HEAP_NEWSIZE: 256M
|
||||
- REPEATED_TESTS_STOP_ON_FAILURE: false
|
||||
- REPEATED_UTESTS: null
|
||||
- REPEATED_UTESTS_COUNT: 500
|
||||
- REPEATED_UTESTS_FQLTOOL: null
|
||||
- REPEATED_UTESTS_FQLTOOL_COUNT: 500
|
||||
- REPEATED_UTESTS_LONG: null
|
||||
- REPEATED_UTESTS_LONG_COUNT: 100
|
||||
- REPEATED_UTESTS_STRESS: null
|
||||
- REPEATED_UTESTS_STRESS_COUNT: 500
|
||||
- REPEATED_JVM_DTESTS: null
|
||||
- REPEATED_JVM_DTESTS_COUNT: 500
|
||||
- REPEATED_JVM_UPGRADE_DTESTS: null
|
||||
- REPEATED_JVM_UPGRADE_DTESTS_COUNT: 500
|
||||
- REPEATED_DTESTS: null
|
||||
- REPEATED_DTESTS_COUNT: 500
|
||||
- REPEATED_UPGRADE_DTESTS: null
|
||||
- REPEATED_UPGRADE_DTESTS_COUNT: 25
|
||||
- REPEATED_ANT_TEST_TARGET: testsome
|
||||
- REPEATED_ANT_TEST_CLASS: null
|
||||
- REPEATED_ANT_TEST_METHODS: null
|
||||
- REPEATED_ANT_TEST_COUNT: 500
|
||||
- JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- CASSANDRA_USE_JDK11: true
|
||||
j8_utests_long_repeat:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:latest
|
||||
|
|
@ -7664,6 +8167,106 @@ jobs:
|
|||
- REPEATED_ANT_TEST_COUNT: 500
|
||||
- JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
j8_cqlsh_dtests_py311_offheap:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:latest
|
||||
resource_class: medium
|
||||
working_directory: ~/
|
||||
shell: /bin/bash -eo pipefail -l
|
||||
parallelism: 4
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
- run:
|
||||
name: Clone Cassandra dtest Repository (via git)
|
||||
command: |
|
||||
git clone --single-branch --branch $DTEST_BRANCH --depth 1 $DTEST_REPO ~/cassandra-dtest
|
||||
- run:
|
||||
name: Configure virtualenv and python Dependencies
|
||||
command: |
|
||||
# note, this should be super quick as all dependencies should be pre-installed in the docker image
|
||||
# if additional dependencies were added to requirmeents.txt and the docker image hasn't been updated
|
||||
# we'd have to install it here at runtime -- which will make things slow, so do yourself a favor and
|
||||
# rebuild the docker image! (it automatically pulls the latest requirements.txt on build)
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
pip3 install --exists-action w --upgrade -r ~/cassandra-dtest/requirements.txt
|
||||
pip3 uninstall -y cqlsh
|
||||
pip3 freeze
|
||||
- run:
|
||||
name: Determine Tests to Run (j8_dtests_offheap)
|
||||
no_output_timeout: 5m
|
||||
command: "# reminder: this code (along with all the steps) is independently executed on every circle container\n# so the goal here is to get the circleci script to return the tests *this* container will run\n# which we do via the `circleci` cli tool.\n\ncd cassandra-dtest\nsource ~/env3.11/bin/activate\nexport PATH=$JAVA_HOME/bin:$PATH\n\nif [ -n '' ]; then\n export \nfi\n\necho \"***Collected DTests (j8_dtests_offheap)***\"\nset -eo pipefail && ./run_dtests.py --use-vnodes --use-off-heap-memtables --skip-resource-intensive-tests --pytest-options '-k cql' --dtest-print-tests-only --dtest-print-tests-output=/tmp/all_dtest_tests_j8_dtests_offheap_raw --cassandra-dir=../cassandra\nif [ -z '' ]; then\n mv /tmp/all_dtest_tests_j8_dtests_offheap_raw /tmp/all_dtest_tests_j8_dtests_offheap\nelse\n grep -e '' /tmp/all_dtest_tests_j8_dtests_offheap_raw > /tmp/all_dtest_tests_j8_dtests_offheap || { echo \"Filter did not match any tests! Exiting build.\"; exit 0; }\nfi\nset -eo pipefail && circleci tests split --split-by=timings --timings-type=classname /tmp/all_dtest_tests_j8_dtests_offheap > /tmp/split_dtest_tests_j8_dtests_offheap.txt\ncat /tmp/split_dtest_tests_j8_dtests_offheap.txt | tr '\\n' ' ' > /tmp/split_dtest_tests_j8_dtests_offheap_final.txt\ncat /tmp/split_dtest_tests_j8_dtests_offheap_final.txt\n"
|
||||
- run:
|
||||
name: Run dtests (j8_dtests_offheap)
|
||||
no_output_timeout: 15m
|
||||
command: |
|
||||
echo "cat /tmp/split_dtest_tests_j8_dtests_offheap_final.txt"
|
||||
cat /tmp/split_dtest_tests_j8_dtests_offheap_final.txt
|
||||
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
if [ -n 'CQLSH_PYTHON=/usr/bin/python3.11' ]; then
|
||||
export CQLSH_PYTHON=/usr/bin/python3.11
|
||||
fi
|
||||
|
||||
java -version
|
||||
cd ~/cassandra-dtest
|
||||
mkdir -p /tmp/dtest
|
||||
|
||||
echo "env: $(env)"
|
||||
echo "** done env"
|
||||
mkdir -p /tmp/results/dtests
|
||||
# we need the "set -o pipefail" here so that the exit code that circleci will actually use is from pytest and not the exit code from tee
|
||||
export SPLIT_TESTS=`cat /tmp/split_dtest_tests_j8_dtests_offheap_final.txt`
|
||||
set -o pipefail && cd ~/cassandra-dtest && pytest --use-vnodes --num-tokens=16 --use-off-heap-memtables --skip-resource-intensive-tests --log-cli-level=DEBUG --junit-xml=/tmp/results/dtests/pytest_result_j8_dtests_offheap.xml -s --cassandra-dir=/home/cassandra/cassandra --keep-test-dir $SPLIT_TESTS 2>&1 | tee /tmp/dtest/stdout.txt
|
||||
- store_test_results:
|
||||
path: /tmp/results
|
||||
- store_artifacts:
|
||||
path: /tmp/dtest
|
||||
destination: dtest_j8_dtests_offheap
|
||||
- store_artifacts:
|
||||
path: ~/cassandra-dtest/logs
|
||||
destination: dtest_j8_dtests_offheap_logs
|
||||
environment:
|
||||
- ANT_HOME: /usr/share/ant
|
||||
- JAVA11_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JAVA8_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- LANG: en_US.UTF-8
|
||||
- KEEP_TEST_DIR: true
|
||||
- DEFAULT_DIR: /home/cassandra/cassandra-dtest
|
||||
- PYTHONIOENCODING: utf-8
|
||||
- PYTHONUNBUFFERED: true
|
||||
- CASS_DRIVER_NO_EXTENSIONS: true
|
||||
- CASS_DRIVER_NO_CYTHON: true
|
||||
- CASSANDRA_SKIP_SYNC: true
|
||||
- DTEST_REPO: https://github.com/apache/cassandra-dtest.git
|
||||
- DTEST_BRANCH: trunk
|
||||
- CCM_MAX_HEAP_SIZE: 1024M
|
||||
- CCM_HEAP_NEWSIZE: 256M
|
||||
- REPEATED_TESTS_STOP_ON_FAILURE: false
|
||||
- REPEATED_UTESTS: null
|
||||
- REPEATED_UTESTS_COUNT: 500
|
||||
- REPEATED_UTESTS_FQLTOOL: null
|
||||
- REPEATED_UTESTS_FQLTOOL_COUNT: 500
|
||||
- REPEATED_UTESTS_LONG: null
|
||||
- REPEATED_UTESTS_LONG_COUNT: 100
|
||||
- REPEATED_UTESTS_STRESS: null
|
||||
- REPEATED_UTESTS_STRESS_COUNT: 500
|
||||
- REPEATED_JVM_DTESTS: null
|
||||
- REPEATED_JVM_DTESTS_COUNT: 500
|
||||
- REPEATED_JVM_UPGRADE_DTESTS: null
|
||||
- REPEATED_JVM_UPGRADE_DTESTS_COUNT: 500
|
||||
- REPEATED_DTESTS: null
|
||||
- REPEATED_DTESTS_COUNT: 500
|
||||
- REPEATED_UPGRADE_DTESTS: null
|
||||
- REPEATED_UPGRADE_DTESTS_COUNT: 25
|
||||
- REPEATED_ANT_TEST_TARGET: testsome
|
||||
- REPEATED_ANT_TEST_CLASS: null
|
||||
- REPEATED_ANT_TEST_METHODS: null
|
||||
- REPEATED_ANT_TEST_COUNT: 500
|
||||
- JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
j8_dtests_repeat:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:latest
|
||||
|
|
@ -9287,6 +9890,10 @@ workflows:
|
|||
requires:
|
||||
- start_j8_cqlsh_tests
|
||||
- j8_build
|
||||
- j8_cqlsh_dtests_py311_vnode:
|
||||
requires:
|
||||
- start_j8_cqlsh_tests
|
||||
- j8_build
|
||||
- j8_cqlsh-dtests-py2-no-vnodes:
|
||||
requires:
|
||||
- start_j8_cqlsh_tests
|
||||
|
|
@ -9299,6 +9906,10 @@ workflows:
|
|||
requires:
|
||||
- start_j8_cqlsh_tests
|
||||
- j8_build
|
||||
- j8_cqlsh_dtests_py311:
|
||||
requires:
|
||||
- start_j8_cqlsh_tests
|
||||
- j8_build
|
||||
- start_j8_cqlsh_tests_offheap:
|
||||
type: approval
|
||||
- j8_cqlsh-dtests-py2-offheap:
|
||||
|
|
@ -9313,6 +9924,10 @@ workflows:
|
|||
requires:
|
||||
- start_j8_cqlsh_tests_offheap
|
||||
- j8_build
|
||||
- j8_cqlsh_dtests_py311_offheap:
|
||||
requires:
|
||||
- start_j8_cqlsh_tests_offheap
|
||||
- j8_build
|
||||
- start_j11_cqlsh_tests:
|
||||
type: approval
|
||||
- j11_cqlsh-dtests-py2-with-vnodes:
|
||||
|
|
@ -9327,6 +9942,10 @@ workflows:
|
|||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j8_build
|
||||
- j11_cqlsh_dtests_py311_vnode:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j8_build
|
||||
- j11_cqlsh-dtests-py2-no-vnodes:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
|
|
@ -9339,6 +9958,10 @@ workflows:
|
|||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j8_build
|
||||
- j11_cqlsh_dtests_py311:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j8_build
|
||||
- start_j11_cqlsh_tests_offheap:
|
||||
type: approval
|
||||
- j11_cqlsh-dtests-py2-offheap:
|
||||
|
|
@ -9353,6 +9976,10 @@ workflows:
|
|||
requires:
|
||||
- start_j11_cqlsh_tests_offheap
|
||||
- j8_build
|
||||
- j11_cqlsh_dtests_py311_offheap:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests_offheap
|
||||
- j8_build
|
||||
java8_pre-commit_tests:
|
||||
jobs:
|
||||
- start_pre-commit_tests:
|
||||
|
|
@ -9479,6 +10106,9 @@ workflows:
|
|||
- j8_cqlsh_dtests_py38_vnode:
|
||||
requires:
|
||||
- j8_build
|
||||
- j8_cqlsh_dtests_py311_vnode:
|
||||
requires:
|
||||
- j8_build
|
||||
- j8_cqlsh-dtests-py2-no-vnodes:
|
||||
requires:
|
||||
- j8_build
|
||||
|
|
@ -9488,6 +10118,9 @@ workflows:
|
|||
- j8_cqlsh_dtests_py38:
|
||||
requires:
|
||||
- j8_build
|
||||
- j8_cqlsh_dtests_py311:
|
||||
requires:
|
||||
- j8_build
|
||||
- start_j8_cqlsh_dtests_offheap:
|
||||
type: approval
|
||||
- j8_cqlsh-dtests-py2-offheap:
|
||||
|
|
@ -9502,6 +10135,10 @@ workflows:
|
|||
requires:
|
||||
- start_j8_cqlsh_dtests_offheap
|
||||
- j8_build
|
||||
- j8_cqlsh_dtests_py311_offheap:
|
||||
requires:
|
||||
- start_j8_cqlsh_dtests_offheap
|
||||
- j8_build
|
||||
- j11_cqlsh-dtests-py2-with-vnodes:
|
||||
requires:
|
||||
- j8_build
|
||||
|
|
@ -9511,6 +10148,9 @@ workflows:
|
|||
- j11_cqlsh_dtests_py38_vnode:
|
||||
requires:
|
||||
- j8_build
|
||||
- j11_cqlsh_dtests_py311_vnode:
|
||||
requires:
|
||||
- j8_build
|
||||
- j11_cqlsh-dtests-py2-no-vnodes:
|
||||
requires:
|
||||
- j8_build
|
||||
|
|
@ -9520,6 +10160,9 @@ workflows:
|
|||
- j11_cqlsh_dtests_py38:
|
||||
requires:
|
||||
- j8_build
|
||||
- j11_cqlsh_dtests_py311:
|
||||
requires:
|
||||
- j8_build
|
||||
- start_j11_cqlsh-dtests-offheap:
|
||||
type: approval
|
||||
- j11_cqlsh-dtests-py2-offheap:
|
||||
|
|
@ -9534,6 +10177,10 @@ workflows:
|
|||
requires:
|
||||
- start_j11_cqlsh-dtests-offheap
|
||||
- j8_build
|
||||
- j11_cqlsh_dtests_py311_offheap:
|
||||
requires:
|
||||
- start_j11_cqlsh-dtests-offheap
|
||||
- j8_build
|
||||
java11_separate_tests:
|
||||
jobs:
|
||||
- start_j11_build:
|
||||
|
|
@ -9591,6 +10238,10 @@ workflows:
|
|||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j11_build
|
||||
- j11_cqlsh_dtests_py311_vnode:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j11_build
|
||||
- j11_cqlsh-dtests-py2-no-vnodes:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
|
|
@ -9603,6 +10254,10 @@ workflows:
|
|||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j11_build
|
||||
- j11_cqlsh_dtests_py311:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j11_build
|
||||
- start_j11_cqlsh-dtests-offheap:
|
||||
type: approval
|
||||
- j11_cqlsh-dtests-py2-offheap:
|
||||
|
|
@ -9617,6 +10272,10 @@ workflows:
|
|||
requires:
|
||||
- start_j11_cqlsh-dtests-offheap
|
||||
- j11_build
|
||||
- j11_cqlsh_dtests_py311_offheap:
|
||||
requires:
|
||||
- start_j11_cqlsh-dtests-offheap
|
||||
- j11_build
|
||||
- start_j11_utests_long:
|
||||
type: approval
|
||||
- j11_utests_long:
|
||||
|
|
@ -9696,6 +10355,9 @@ workflows:
|
|||
- j11_cqlsh_dtests_py38_vnode:
|
||||
requires:
|
||||
- j11_build
|
||||
- j11_cqlsh_dtests_py311_vnode:
|
||||
requires:
|
||||
- j11_build
|
||||
- j11_cqlsh-dtests-py2-no-vnodes:
|
||||
requires:
|
||||
- j11_build
|
||||
|
|
@ -9705,6 +10367,9 @@ workflows:
|
|||
- j11_cqlsh_dtests_py38:
|
||||
requires:
|
||||
- j11_build
|
||||
- j11_cqlsh_dtests_py311:
|
||||
requires:
|
||||
- j11_build
|
||||
- start_j11_cqlsh-dtests-offheap:
|
||||
type: approval
|
||||
- j11_cqlsh-dtests-py2-offheap:
|
||||
|
|
@ -9719,6 +10384,10 @@ workflows:
|
|||
requires:
|
||||
- start_j11_cqlsh-dtests-offheap
|
||||
- j11_build
|
||||
- j11_cqlsh_dtests_py311_offheap:
|
||||
requires:
|
||||
- start_j11_cqlsh-dtests-offheap
|
||||
- j11_build
|
||||
- start_utests_long:
|
||||
type: approval
|
||||
- j11_utests_long:
|
||||
|
|
|
|||
|
|
@ -423,6 +423,106 @@ jobs:
|
|||
- REPEATED_ANT_TEST_COUNT: 500
|
||||
- JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
j8_cqlsh_dtests_py311_vnode:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:latest
|
||||
resource_class: xlarge
|
||||
working_directory: ~/
|
||||
shell: /bin/bash -eo pipefail -l
|
||||
parallelism: 100
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
- run:
|
||||
name: Clone Cassandra dtest Repository (via git)
|
||||
command: |
|
||||
git clone --single-branch --branch $DTEST_BRANCH --depth 1 $DTEST_REPO ~/cassandra-dtest
|
||||
- run:
|
||||
name: Configure virtualenv and python Dependencies
|
||||
command: |
|
||||
# note, this should be super quick as all dependencies should be pre-installed in the docker image
|
||||
# if additional dependencies were added to requirmeents.txt and the docker image hasn't been updated
|
||||
# we'd have to install it here at runtime -- which will make things slow, so do yourself a favor and
|
||||
# rebuild the docker image! (it automatically pulls the latest requirements.txt on build)
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
pip3 install --exists-action w --upgrade -r ~/cassandra-dtest/requirements.txt
|
||||
pip3 uninstall -y cqlsh
|
||||
pip3 freeze
|
||||
- run:
|
||||
name: Determine Tests to Run (j8_with_vnodes)
|
||||
no_output_timeout: 5m
|
||||
command: "# reminder: this code (along with all the steps) is independently executed on every circle container\n# so the goal here is to get the circleci script to return the tests *this* container will run\n# which we do via the `circleci` cli tool.\n\ncd cassandra-dtest\nsource ~/env3.11/bin/activate\nexport PATH=$JAVA_HOME/bin:$PATH\n\nif [ -n '' ]; then\n export \nfi\n\necho \"***Collected DTests (j8_with_vnodes)***\"\nset -eo pipefail && ./run_dtests.py --use-vnodes --skip-resource-intensive-tests --pytest-options '-k cql' --dtest-print-tests-only --dtest-print-tests-output=/tmp/all_dtest_tests_j8_with_vnodes_raw --cassandra-dir=../cassandra\nif [ -z '' ]; then\n mv /tmp/all_dtest_tests_j8_with_vnodes_raw /tmp/all_dtest_tests_j8_with_vnodes\nelse\n grep -e '' /tmp/all_dtest_tests_j8_with_vnodes_raw > /tmp/all_dtest_tests_j8_with_vnodes || { echo \"Filter did not match any tests! Exiting build.\"; exit 0; }\nfi\nset -eo pipefail && circleci tests split --split-by=timings --timings-type=classname /tmp/all_dtest_tests_j8_with_vnodes > /tmp/split_dtest_tests_j8_with_vnodes.txt\ncat /tmp/split_dtest_tests_j8_with_vnodes.txt | tr '\\n' ' ' > /tmp/split_dtest_tests_j8_with_vnodes_final.txt\ncat /tmp/split_dtest_tests_j8_with_vnodes_final.txt\n"
|
||||
- run:
|
||||
name: Run dtests (j8_with_vnodes)
|
||||
no_output_timeout: 15m
|
||||
command: |
|
||||
echo "cat /tmp/split_dtest_tests_j8_with_vnodes_final.txt"
|
||||
cat /tmp/split_dtest_tests_j8_with_vnodes_final.txt
|
||||
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
if [ -n 'CQLSH_PYTHON=/usr/bin/python3.11' ]; then
|
||||
export CQLSH_PYTHON=/usr/bin/python3.11
|
||||
fi
|
||||
|
||||
java -version
|
||||
cd ~/cassandra-dtest
|
||||
mkdir -p /tmp/dtest
|
||||
|
||||
echo "env: $(env)"
|
||||
echo "** done env"
|
||||
mkdir -p /tmp/results/dtests
|
||||
# we need the "set -o pipefail" here so that the exit code that circleci will actually use is from pytest and not the exit code from tee
|
||||
export SPLIT_TESTS=`cat /tmp/split_dtest_tests_j8_with_vnodes_final.txt`
|
||||
set -o pipefail && cd ~/cassandra-dtest && pytest --use-vnodes --num-tokens=16 --skip-resource-intensive-tests --log-cli-level=DEBUG --junit-xml=/tmp/results/dtests/pytest_result_j8_with_vnodes.xml -s --cassandra-dir=/home/cassandra/cassandra --keep-test-dir $SPLIT_TESTS 2>&1 | tee /tmp/dtest/stdout.txt
|
||||
- store_test_results:
|
||||
path: /tmp/results
|
||||
- store_artifacts:
|
||||
path: /tmp/dtest
|
||||
destination: dtest_j8_with_vnodes
|
||||
- store_artifacts:
|
||||
path: ~/cassandra-dtest/logs
|
||||
destination: dtest_j8_with_vnodes_logs
|
||||
environment:
|
||||
- ANT_HOME: /usr/share/ant
|
||||
- JAVA11_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JAVA8_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- LANG: en_US.UTF-8
|
||||
- KEEP_TEST_DIR: true
|
||||
- DEFAULT_DIR: /home/cassandra/cassandra-dtest
|
||||
- PYTHONIOENCODING: utf-8
|
||||
- PYTHONUNBUFFERED: true
|
||||
- CASS_DRIVER_NO_EXTENSIONS: true
|
||||
- CASS_DRIVER_NO_CYTHON: true
|
||||
- CASSANDRA_SKIP_SYNC: true
|
||||
- DTEST_REPO: https://github.com/apache/cassandra-dtest.git
|
||||
- DTEST_BRANCH: trunk
|
||||
- CCM_MAX_HEAP_SIZE: 1024M
|
||||
- CCM_HEAP_NEWSIZE: 256M
|
||||
- REPEATED_TESTS_STOP_ON_FAILURE: false
|
||||
- REPEATED_UTESTS: null
|
||||
- REPEATED_UTESTS_COUNT: 500
|
||||
- REPEATED_UTESTS_FQLTOOL: null
|
||||
- REPEATED_UTESTS_FQLTOOL_COUNT: 500
|
||||
- REPEATED_UTESTS_LONG: null
|
||||
- REPEATED_UTESTS_LONG_COUNT: 100
|
||||
- REPEATED_UTESTS_STRESS: null
|
||||
- REPEATED_UTESTS_STRESS_COUNT: 500
|
||||
- REPEATED_JVM_DTESTS: null
|
||||
- REPEATED_JVM_DTESTS_COUNT: 500
|
||||
- REPEATED_JVM_UPGRADE_DTESTS: null
|
||||
- REPEATED_JVM_UPGRADE_DTESTS_COUNT: 500
|
||||
- REPEATED_DTESTS: null
|
||||
- REPEATED_DTESTS_COUNT: 500
|
||||
- REPEATED_UPGRADE_DTESTS: null
|
||||
- REPEATED_UPGRADE_DTESTS_COUNT: 25
|
||||
- REPEATED_ANT_TEST_TARGET: testsome
|
||||
- REPEATED_ANT_TEST_CLASS: null
|
||||
- REPEATED_ANT_TEST_METHODS: null
|
||||
- REPEATED_ANT_TEST_COUNT: 500
|
||||
- JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
j11_dtests_vnode_repeat:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11:latest
|
||||
|
|
@ -949,6 +1049,107 @@ jobs:
|
|||
- JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- CASSANDRA_USE_JDK11: true
|
||||
j11_cqlsh_dtests_py311:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11:latest
|
||||
resource_class: xlarge
|
||||
working_directory: ~/
|
||||
shell: /bin/bash -eo pipefail -l
|
||||
parallelism: 100
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
- run:
|
||||
name: Clone Cassandra dtest Repository (via git)
|
||||
command: |
|
||||
git clone --single-branch --branch $DTEST_BRANCH --depth 1 $DTEST_REPO ~/cassandra-dtest
|
||||
- run:
|
||||
name: Configure virtualenv and python Dependencies
|
||||
command: |
|
||||
# note, this should be super quick as all dependencies should be pre-installed in the docker image
|
||||
# if additional dependencies were added to requirmeents.txt and the docker image hasn't been updated
|
||||
# we'd have to install it here at runtime -- which will make things slow, so do yourself a favor and
|
||||
# rebuild the docker image! (it automatically pulls the latest requirements.txt on build)
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
pip3 install --exists-action w --upgrade -r ~/cassandra-dtest/requirements.txt
|
||||
pip3 uninstall -y cqlsh
|
||||
pip3 freeze
|
||||
- run:
|
||||
name: Determine Tests to Run (j11_without_vnodes)
|
||||
no_output_timeout: 5m
|
||||
command: "# reminder: this code (along with all the steps) is independently executed on every circle container\n# so the goal here is to get the circleci script to return the tests *this* container will run\n# which we do via the `circleci` cli tool.\n\ncd cassandra-dtest\nsource ~/env3.11/bin/activate\nexport PATH=$JAVA_HOME/bin:$PATH\n\nif [ -n '' ]; then\n export \nfi\n\necho \"***Collected DTests (j11_without_vnodes)***\"\nset -eo pipefail && ./run_dtests.py --skip-resource-intensive-tests --pytest-options '-k cql' --dtest-print-tests-only --dtest-print-tests-output=/tmp/all_dtest_tests_j11_without_vnodes_raw --cassandra-dir=../cassandra\nif [ -z '' ]; then\n mv /tmp/all_dtest_tests_j11_without_vnodes_raw /tmp/all_dtest_tests_j11_without_vnodes\nelse\n grep -e '' /tmp/all_dtest_tests_j11_without_vnodes_raw > /tmp/all_dtest_tests_j11_without_vnodes || { echo \"Filter did not match any tests! Exiting build.\"; exit 0; }\nfi\nset -eo pipefail && circleci tests split --split-by=timings --timings-type=classname /tmp/all_dtest_tests_j11_without_vnodes > /tmp/split_dtest_tests_j11_without_vnodes.txt\ncat /tmp/split_dtest_tests_j11_without_vnodes.txt | tr '\\n' ' ' > /tmp/split_dtest_tests_j11_without_vnodes_final.txt\ncat /tmp/split_dtest_tests_j11_without_vnodes_final.txt\n"
|
||||
- run:
|
||||
name: Run dtests (j11_without_vnodes)
|
||||
no_output_timeout: 15m
|
||||
command: |
|
||||
echo "cat /tmp/split_dtest_tests_j11_without_vnodes_final.txt"
|
||||
cat /tmp/split_dtest_tests_j11_without_vnodes_final.txt
|
||||
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
if [ -n 'CQLSH_PYTHON=/usr/bin/python3.11' ]; then
|
||||
export CQLSH_PYTHON=/usr/bin/python3.11
|
||||
fi
|
||||
|
||||
java -version
|
||||
cd ~/cassandra-dtest
|
||||
mkdir -p /tmp/dtest
|
||||
|
||||
echo "env: $(env)"
|
||||
echo "** done env"
|
||||
mkdir -p /tmp/results/dtests
|
||||
# we need the "set -o pipefail" here so that the exit code that circleci will actually use is from pytest and not the exit code from tee
|
||||
export SPLIT_TESTS=`cat /tmp/split_dtest_tests_j11_without_vnodes_final.txt`
|
||||
set -o pipefail && cd ~/cassandra-dtest && pytest --skip-resource-intensive-tests --log-cli-level=DEBUG --junit-xml=/tmp/results/dtests/pytest_result_j11_without_vnodes.xml -s --cassandra-dir=/home/cassandra/cassandra --keep-test-dir $SPLIT_TESTS 2>&1 | tee /tmp/dtest/stdout.txt
|
||||
- store_test_results:
|
||||
path: /tmp/results
|
||||
- store_artifacts:
|
||||
path: /tmp/dtest
|
||||
destination: dtest_j11_without_vnodes
|
||||
- store_artifacts:
|
||||
path: ~/cassandra-dtest/logs
|
||||
destination: dtest_j11_without_vnodes_logs
|
||||
environment:
|
||||
- ANT_HOME: /usr/share/ant
|
||||
- JAVA11_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JAVA8_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- LANG: en_US.UTF-8
|
||||
- KEEP_TEST_DIR: true
|
||||
- DEFAULT_DIR: /home/cassandra/cassandra-dtest
|
||||
- PYTHONIOENCODING: utf-8
|
||||
- PYTHONUNBUFFERED: true
|
||||
- CASS_DRIVER_NO_EXTENSIONS: true
|
||||
- CASS_DRIVER_NO_CYTHON: true
|
||||
- CASSANDRA_SKIP_SYNC: true
|
||||
- DTEST_REPO: https://github.com/apache/cassandra-dtest.git
|
||||
- DTEST_BRANCH: trunk
|
||||
- CCM_MAX_HEAP_SIZE: 1024M
|
||||
- CCM_HEAP_NEWSIZE: 256M
|
||||
- REPEATED_TESTS_STOP_ON_FAILURE: false
|
||||
- REPEATED_UTESTS: null
|
||||
- REPEATED_UTESTS_COUNT: 500
|
||||
- REPEATED_UTESTS_FQLTOOL: null
|
||||
- REPEATED_UTESTS_FQLTOOL_COUNT: 500
|
||||
- REPEATED_UTESTS_LONG: null
|
||||
- REPEATED_UTESTS_LONG_COUNT: 100
|
||||
- REPEATED_UTESTS_STRESS: null
|
||||
- REPEATED_UTESTS_STRESS_COUNT: 500
|
||||
- REPEATED_JVM_DTESTS: null
|
||||
- REPEATED_JVM_DTESTS_COUNT: 500
|
||||
- REPEATED_JVM_UPGRADE_DTESTS: null
|
||||
- REPEATED_JVM_UPGRADE_DTESTS_COUNT: 500
|
||||
- REPEATED_DTESTS: null
|
||||
- REPEATED_DTESTS_COUNT: 500
|
||||
- REPEATED_UPGRADE_DTESTS: null
|
||||
- REPEATED_UPGRADE_DTESTS_COUNT: 25
|
||||
- REPEATED_ANT_TEST_TARGET: testsome
|
||||
- REPEATED_ANT_TEST_CLASS: null
|
||||
- REPEATED_ANT_TEST_METHODS: null
|
||||
- REPEATED_ANT_TEST_COUNT: 500
|
||||
- JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- CASSANDRA_USE_JDK11: true
|
||||
j8_utests_compression_repeat:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:latest
|
||||
|
|
@ -1830,6 +2031,106 @@ jobs:
|
|||
- JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- CASSANDRA_USE_JDK11: true
|
||||
j8_cqlsh_dtests_py311:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:latest
|
||||
resource_class: xlarge
|
||||
working_directory: ~/
|
||||
shell: /bin/bash -eo pipefail -l
|
||||
parallelism: 100
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
- run:
|
||||
name: Clone Cassandra dtest Repository (via git)
|
||||
command: |
|
||||
git clone --single-branch --branch $DTEST_BRANCH --depth 1 $DTEST_REPO ~/cassandra-dtest
|
||||
- run:
|
||||
name: Configure virtualenv and python Dependencies
|
||||
command: |
|
||||
# note, this should be super quick as all dependencies should be pre-installed in the docker image
|
||||
# if additional dependencies were added to requirmeents.txt and the docker image hasn't been updated
|
||||
# we'd have to install it here at runtime -- which will make things slow, so do yourself a favor and
|
||||
# rebuild the docker image! (it automatically pulls the latest requirements.txt on build)
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
pip3 install --exists-action w --upgrade -r ~/cassandra-dtest/requirements.txt
|
||||
pip3 uninstall -y cqlsh
|
||||
pip3 freeze
|
||||
- run:
|
||||
name: Determine Tests to Run (j8_without_vnodes)
|
||||
no_output_timeout: 5m
|
||||
command: "# reminder: this code (along with all the steps) is independently executed on every circle container\n# so the goal here is to get the circleci script to return the tests *this* container will run\n# which we do via the `circleci` cli tool.\n\ncd cassandra-dtest\nsource ~/env3.11/bin/activate\nexport PATH=$JAVA_HOME/bin:$PATH\n\nif [ -n '' ]; then\n export \nfi\n\necho \"***Collected DTests (j8_without_vnodes)***\"\nset -eo pipefail && ./run_dtests.py --skip-resource-intensive-tests --pytest-options '-k cql' --dtest-print-tests-only --dtest-print-tests-output=/tmp/all_dtest_tests_j8_without_vnodes_raw --cassandra-dir=../cassandra\nif [ -z '' ]; then\n mv /tmp/all_dtest_tests_j8_without_vnodes_raw /tmp/all_dtest_tests_j8_without_vnodes\nelse\n grep -e '' /tmp/all_dtest_tests_j8_without_vnodes_raw > /tmp/all_dtest_tests_j8_without_vnodes || { echo \"Filter did not match any tests! Exiting build.\"; exit 0; }\nfi\nset -eo pipefail && circleci tests split --split-by=timings --timings-type=classname /tmp/all_dtest_tests_j8_without_vnodes > /tmp/split_dtest_tests_j8_without_vnodes.txt\ncat /tmp/split_dtest_tests_j8_without_vnodes.txt | tr '\\n' ' ' > /tmp/split_dtest_tests_j8_without_vnodes_final.txt\ncat /tmp/split_dtest_tests_j8_without_vnodes_final.txt\n"
|
||||
- run:
|
||||
name: Run dtests (j8_without_vnodes)
|
||||
no_output_timeout: 15m
|
||||
command: |
|
||||
echo "cat /tmp/split_dtest_tests_j8_without_vnodes_final.txt"
|
||||
cat /tmp/split_dtest_tests_j8_without_vnodes_final.txt
|
||||
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
if [ -n 'CQLSH_PYTHON=/usr/bin/python3.11' ]; then
|
||||
export CQLSH_PYTHON=/usr/bin/python3.11
|
||||
fi
|
||||
|
||||
java -version
|
||||
cd ~/cassandra-dtest
|
||||
mkdir -p /tmp/dtest
|
||||
|
||||
echo "env: $(env)"
|
||||
echo "** done env"
|
||||
mkdir -p /tmp/results/dtests
|
||||
# we need the "set -o pipefail" here so that the exit code that circleci will actually use is from pytest and not the exit code from tee
|
||||
export SPLIT_TESTS=`cat /tmp/split_dtest_tests_j8_without_vnodes_final.txt`
|
||||
set -o pipefail && cd ~/cassandra-dtest && pytest --skip-resource-intensive-tests --log-cli-level=DEBUG --junit-xml=/tmp/results/dtests/pytest_result_j8_without_vnodes.xml -s --cassandra-dir=/home/cassandra/cassandra --keep-test-dir $SPLIT_TESTS 2>&1 | tee /tmp/dtest/stdout.txt
|
||||
- store_test_results:
|
||||
path: /tmp/results
|
||||
- store_artifacts:
|
||||
path: /tmp/dtest
|
||||
destination: dtest_j8_without_vnodes
|
||||
- store_artifacts:
|
||||
path: ~/cassandra-dtest/logs
|
||||
destination: dtest_j8_without_vnodes_logs
|
||||
environment:
|
||||
- ANT_HOME: /usr/share/ant
|
||||
- JAVA11_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JAVA8_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- LANG: en_US.UTF-8
|
||||
- KEEP_TEST_DIR: true
|
||||
- DEFAULT_DIR: /home/cassandra/cassandra-dtest
|
||||
- PYTHONIOENCODING: utf-8
|
||||
- PYTHONUNBUFFERED: true
|
||||
- CASS_DRIVER_NO_EXTENSIONS: true
|
||||
- CASS_DRIVER_NO_CYTHON: true
|
||||
- CASSANDRA_SKIP_SYNC: true
|
||||
- DTEST_REPO: https://github.com/apache/cassandra-dtest.git
|
||||
- DTEST_BRANCH: trunk
|
||||
- CCM_MAX_HEAP_SIZE: 1024M
|
||||
- CCM_HEAP_NEWSIZE: 256M
|
||||
- REPEATED_TESTS_STOP_ON_FAILURE: false
|
||||
- REPEATED_UTESTS: null
|
||||
- REPEATED_UTESTS_COUNT: 500
|
||||
- REPEATED_UTESTS_FQLTOOL: null
|
||||
- REPEATED_UTESTS_FQLTOOL_COUNT: 500
|
||||
- REPEATED_UTESTS_LONG: null
|
||||
- REPEATED_UTESTS_LONG_COUNT: 100
|
||||
- REPEATED_UTESTS_STRESS: null
|
||||
- REPEATED_UTESTS_STRESS_COUNT: 500
|
||||
- REPEATED_JVM_DTESTS: null
|
||||
- REPEATED_JVM_DTESTS_COUNT: 500
|
||||
- REPEATED_JVM_UPGRADE_DTESTS: null
|
||||
- REPEATED_JVM_UPGRADE_DTESTS_COUNT: 500
|
||||
- REPEATED_DTESTS: null
|
||||
- REPEATED_DTESTS_COUNT: 500
|
||||
- REPEATED_UPGRADE_DTESTS: null
|
||||
- REPEATED_UPGRADE_DTESTS_COUNT: 25
|
||||
- REPEATED_ANT_TEST_TARGET: testsome
|
||||
- REPEATED_ANT_TEST_CLASS: null
|
||||
- REPEATED_ANT_TEST_METHODS: null
|
||||
- REPEATED_ANT_TEST_COUNT: 500
|
||||
- JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
j11_cqlsh_dtests_py38_offheap:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11:latest
|
||||
|
|
@ -4701,6 +5002,107 @@ jobs:
|
|||
- JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- CASSANDRA_USE_JDK11: true
|
||||
j11_cqlsh_dtests_py311_offheap:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11:latest
|
||||
resource_class: xlarge
|
||||
working_directory: ~/
|
||||
shell: /bin/bash -eo pipefail -l
|
||||
parallelism: 100
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
- run:
|
||||
name: Clone Cassandra dtest Repository (via git)
|
||||
command: |
|
||||
git clone --single-branch --branch $DTEST_BRANCH --depth 1 $DTEST_REPO ~/cassandra-dtest
|
||||
- run:
|
||||
name: Configure virtualenv and python Dependencies
|
||||
command: |
|
||||
# note, this should be super quick as all dependencies should be pre-installed in the docker image
|
||||
# if additional dependencies were added to requirmeents.txt and the docker image hasn't been updated
|
||||
# we'd have to install it here at runtime -- which will make things slow, so do yourself a favor and
|
||||
# rebuild the docker image! (it automatically pulls the latest requirements.txt on build)
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
pip3 install --exists-action w --upgrade -r ~/cassandra-dtest/requirements.txt
|
||||
pip3 uninstall -y cqlsh
|
||||
pip3 freeze
|
||||
- run:
|
||||
name: Determine Tests to Run (j11_dtests_offheap)
|
||||
no_output_timeout: 5m
|
||||
command: "# reminder: this code (along with all the steps) is independently executed on every circle container\n# so the goal here is to get the circleci script to return the tests *this* container will run\n# which we do via the `circleci` cli tool.\n\ncd cassandra-dtest\nsource ~/env3.11/bin/activate\nexport PATH=$JAVA_HOME/bin:$PATH\n\nif [ -n '' ]; then\n export \nfi\n\necho \"***Collected DTests (j11_dtests_offheap)***\"\nset -eo pipefail && ./run_dtests.py --use-vnodes --use-off-heap-memtables --skip-resource-intensive-tests --pytest-options '-k cql' --dtest-print-tests-only --dtest-print-tests-output=/tmp/all_dtest_tests_j11_dtests_offheap_raw --cassandra-dir=../cassandra\nif [ -z '' ]; then\n mv /tmp/all_dtest_tests_j11_dtests_offheap_raw /tmp/all_dtest_tests_j11_dtests_offheap\nelse\n grep -e '' /tmp/all_dtest_tests_j11_dtests_offheap_raw > /tmp/all_dtest_tests_j11_dtests_offheap || { echo \"Filter did not match any tests! Exiting build.\"; exit 0; }\nfi\nset -eo pipefail && circleci tests split --split-by=timings --timings-type=classname /tmp/all_dtest_tests_j11_dtests_offheap > /tmp/split_dtest_tests_j11_dtests_offheap.txt\ncat /tmp/split_dtest_tests_j11_dtests_offheap.txt | tr '\\n' ' ' > /tmp/split_dtest_tests_j11_dtests_offheap_final.txt\ncat /tmp/split_dtest_tests_j11_dtests_offheap_final.txt\n"
|
||||
- run:
|
||||
name: Run dtests (j11_dtests_offheap)
|
||||
no_output_timeout: 15m
|
||||
command: |
|
||||
echo "cat /tmp/split_dtest_tests_j11_dtests_offheap_final.txt"
|
||||
cat /tmp/split_dtest_tests_j11_dtests_offheap_final.txt
|
||||
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
if [ -n 'CQLSH_PYTHON=/usr/bin/python3.11' ]; then
|
||||
export CQLSH_PYTHON=/usr/bin/python3.11
|
||||
fi
|
||||
|
||||
java -version
|
||||
cd ~/cassandra-dtest
|
||||
mkdir -p /tmp/dtest
|
||||
|
||||
echo "env: $(env)"
|
||||
echo "** done env"
|
||||
mkdir -p /tmp/results/dtests
|
||||
# we need the "set -o pipefail" here so that the exit code that circleci will actually use is from pytest and not the exit code from tee
|
||||
export SPLIT_TESTS=`cat /tmp/split_dtest_tests_j11_dtests_offheap_final.txt`
|
||||
set -o pipefail && cd ~/cassandra-dtest && pytest --use-vnodes --num-tokens=16 --use-off-heap-memtables --skip-resource-intensive-tests --log-cli-level=DEBUG --junit-xml=/tmp/results/dtests/pytest_result_j11_dtests_offheap.xml -s --cassandra-dir=/home/cassandra/cassandra --keep-test-dir $SPLIT_TESTS 2>&1 | tee /tmp/dtest/stdout.txt
|
||||
- store_test_results:
|
||||
path: /tmp/results
|
||||
- store_artifacts:
|
||||
path: /tmp/dtest
|
||||
destination: dtest_j11_dtests_offheap
|
||||
- store_artifacts:
|
||||
path: ~/cassandra-dtest/logs
|
||||
destination: dtest_j11_dtests_offheap_logs
|
||||
environment:
|
||||
- ANT_HOME: /usr/share/ant
|
||||
- JAVA11_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JAVA8_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- LANG: en_US.UTF-8
|
||||
- KEEP_TEST_DIR: true
|
||||
- DEFAULT_DIR: /home/cassandra/cassandra-dtest
|
||||
- PYTHONIOENCODING: utf-8
|
||||
- PYTHONUNBUFFERED: true
|
||||
- CASS_DRIVER_NO_EXTENSIONS: true
|
||||
- CASS_DRIVER_NO_CYTHON: true
|
||||
- CASSANDRA_SKIP_SYNC: true
|
||||
- DTEST_REPO: https://github.com/apache/cassandra-dtest.git
|
||||
- DTEST_BRANCH: trunk
|
||||
- CCM_MAX_HEAP_SIZE: 1024M
|
||||
- CCM_HEAP_NEWSIZE: 256M
|
||||
- REPEATED_TESTS_STOP_ON_FAILURE: false
|
||||
- REPEATED_UTESTS: null
|
||||
- REPEATED_UTESTS_COUNT: 500
|
||||
- REPEATED_UTESTS_FQLTOOL: null
|
||||
- REPEATED_UTESTS_FQLTOOL_COUNT: 500
|
||||
- REPEATED_UTESTS_LONG: null
|
||||
- REPEATED_UTESTS_LONG_COUNT: 100
|
||||
- REPEATED_UTESTS_STRESS: null
|
||||
- REPEATED_UTESTS_STRESS_COUNT: 500
|
||||
- REPEATED_JVM_DTESTS: null
|
||||
- REPEATED_JVM_DTESTS_COUNT: 500
|
||||
- REPEATED_JVM_UPGRADE_DTESTS: null
|
||||
- REPEATED_JVM_UPGRADE_DTESTS_COUNT: 500
|
||||
- REPEATED_DTESTS: null
|
||||
- REPEATED_DTESTS_COUNT: 500
|
||||
- REPEATED_UPGRADE_DTESTS: null
|
||||
- REPEATED_UPGRADE_DTESTS_COUNT: 25
|
||||
- REPEATED_ANT_TEST_TARGET: testsome
|
||||
- REPEATED_ANT_TEST_CLASS: null
|
||||
- REPEATED_ANT_TEST_METHODS: null
|
||||
- REPEATED_ANT_TEST_COUNT: 500
|
||||
- JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- CASSANDRA_USE_JDK11: true
|
||||
j8_utests_system_keyspace_directory_repeat:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:latest
|
||||
|
|
@ -6078,6 +6480,107 @@ jobs:
|
|||
- JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- CASSANDRA_USE_JDK11: true
|
||||
j11_cqlsh_dtests_py311_vnode:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11:latest
|
||||
resource_class: xlarge
|
||||
working_directory: ~/
|
||||
shell: /bin/bash -eo pipefail -l
|
||||
parallelism: 100
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
- run:
|
||||
name: Clone Cassandra dtest Repository (via git)
|
||||
command: |
|
||||
git clone --single-branch --branch $DTEST_BRANCH --depth 1 $DTEST_REPO ~/cassandra-dtest
|
||||
- run:
|
||||
name: Configure virtualenv and python Dependencies
|
||||
command: |
|
||||
# note, this should be super quick as all dependencies should be pre-installed in the docker image
|
||||
# if additional dependencies were added to requirmeents.txt and the docker image hasn't been updated
|
||||
# we'd have to install it here at runtime -- which will make things slow, so do yourself a favor and
|
||||
# rebuild the docker image! (it automatically pulls the latest requirements.txt on build)
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
pip3 install --exists-action w --upgrade -r ~/cassandra-dtest/requirements.txt
|
||||
pip3 uninstall -y cqlsh
|
||||
pip3 freeze
|
||||
- run:
|
||||
name: Determine Tests to Run (j11_with_vnodes)
|
||||
no_output_timeout: 5m
|
||||
command: "# reminder: this code (along with all the steps) is independently executed on every circle container\n# so the goal here is to get the circleci script to return the tests *this* container will run\n# which we do via the `circleci` cli tool.\n\ncd cassandra-dtest\nsource ~/env3.11/bin/activate\nexport PATH=$JAVA_HOME/bin:$PATH\n\nif [ -n '' ]; then\n export \nfi\n\necho \"***Collected DTests (j11_with_vnodes)***\"\nset -eo pipefail && ./run_dtests.py --use-vnodes --skip-resource-intensive-tests --pytest-options '-k cql' --dtest-print-tests-only --dtest-print-tests-output=/tmp/all_dtest_tests_j11_with_vnodes_raw --cassandra-dir=../cassandra\nif [ -z '' ]; then\n mv /tmp/all_dtest_tests_j11_with_vnodes_raw /tmp/all_dtest_tests_j11_with_vnodes\nelse\n grep -e '' /tmp/all_dtest_tests_j11_with_vnodes_raw > /tmp/all_dtest_tests_j11_with_vnodes || { echo \"Filter did not match any tests! Exiting build.\"; exit 0; }\nfi\nset -eo pipefail && circleci tests split --split-by=timings --timings-type=classname /tmp/all_dtest_tests_j11_with_vnodes > /tmp/split_dtest_tests_j11_with_vnodes.txt\ncat /tmp/split_dtest_tests_j11_with_vnodes.txt | tr '\\n' ' ' > /tmp/split_dtest_tests_j11_with_vnodes_final.txt\ncat /tmp/split_dtest_tests_j11_with_vnodes_final.txt\n"
|
||||
- run:
|
||||
name: Run dtests (j11_with_vnodes)
|
||||
no_output_timeout: 15m
|
||||
command: |
|
||||
echo "cat /tmp/split_dtest_tests_j11_with_vnodes_final.txt"
|
||||
cat /tmp/split_dtest_tests_j11_with_vnodes_final.txt
|
||||
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
if [ -n 'CQLSH_PYTHON=/usr/bin/python3.11' ]; then
|
||||
export CQLSH_PYTHON=/usr/bin/python3.11
|
||||
fi
|
||||
|
||||
java -version
|
||||
cd ~/cassandra-dtest
|
||||
mkdir -p /tmp/dtest
|
||||
|
||||
echo "env: $(env)"
|
||||
echo "** done env"
|
||||
mkdir -p /tmp/results/dtests
|
||||
# we need the "set -o pipefail" here so that the exit code that circleci will actually use is from pytest and not the exit code from tee
|
||||
export SPLIT_TESTS=`cat /tmp/split_dtest_tests_j11_with_vnodes_final.txt`
|
||||
set -o pipefail && cd ~/cassandra-dtest && pytest --use-vnodes --num-tokens=16 --skip-resource-intensive-tests --log-cli-level=DEBUG --junit-xml=/tmp/results/dtests/pytest_result_j11_with_vnodes.xml -s --cassandra-dir=/home/cassandra/cassandra --keep-test-dir $SPLIT_TESTS 2>&1 | tee /tmp/dtest/stdout.txt
|
||||
- store_test_results:
|
||||
path: /tmp/results
|
||||
- store_artifacts:
|
||||
path: /tmp/dtest
|
||||
destination: dtest_j11_with_vnodes
|
||||
- store_artifacts:
|
||||
path: ~/cassandra-dtest/logs
|
||||
destination: dtest_j11_with_vnodes_logs
|
||||
environment:
|
||||
- ANT_HOME: /usr/share/ant
|
||||
- JAVA11_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JAVA8_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- LANG: en_US.UTF-8
|
||||
- KEEP_TEST_DIR: true
|
||||
- DEFAULT_DIR: /home/cassandra/cassandra-dtest
|
||||
- PYTHONIOENCODING: utf-8
|
||||
- PYTHONUNBUFFERED: true
|
||||
- CASS_DRIVER_NO_EXTENSIONS: true
|
||||
- CASS_DRIVER_NO_CYTHON: true
|
||||
- CASSANDRA_SKIP_SYNC: true
|
||||
- DTEST_REPO: https://github.com/apache/cassandra-dtest.git
|
||||
- DTEST_BRANCH: trunk
|
||||
- CCM_MAX_HEAP_SIZE: 1024M
|
||||
- CCM_HEAP_NEWSIZE: 256M
|
||||
- REPEATED_TESTS_STOP_ON_FAILURE: false
|
||||
- REPEATED_UTESTS: null
|
||||
- REPEATED_UTESTS_COUNT: 500
|
||||
- REPEATED_UTESTS_FQLTOOL: null
|
||||
- REPEATED_UTESTS_FQLTOOL_COUNT: 500
|
||||
- REPEATED_UTESTS_LONG: null
|
||||
- REPEATED_UTESTS_LONG_COUNT: 100
|
||||
- REPEATED_UTESTS_STRESS: null
|
||||
- REPEATED_UTESTS_STRESS_COUNT: 500
|
||||
- REPEATED_JVM_DTESTS: null
|
||||
- REPEATED_JVM_DTESTS_COUNT: 500
|
||||
- REPEATED_JVM_UPGRADE_DTESTS: null
|
||||
- REPEATED_JVM_UPGRADE_DTESTS_COUNT: 500
|
||||
- REPEATED_DTESTS: null
|
||||
- REPEATED_DTESTS_COUNT: 500
|
||||
- REPEATED_UPGRADE_DTESTS: null
|
||||
- REPEATED_UPGRADE_DTESTS_COUNT: 25
|
||||
- REPEATED_ANT_TEST_TARGET: testsome
|
||||
- REPEATED_ANT_TEST_CLASS: null
|
||||
- REPEATED_ANT_TEST_METHODS: null
|
||||
- REPEATED_ANT_TEST_COUNT: 500
|
||||
- JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- CASSANDRA_USE_JDK11: true
|
||||
j8_utests_long_repeat:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:latest
|
||||
|
|
@ -7664,6 +8167,106 @@ jobs:
|
|||
- REPEATED_ANT_TEST_COUNT: 500
|
||||
- JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
j8_cqlsh_dtests_py311_offheap:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:latest
|
||||
resource_class: xlarge
|
||||
working_directory: ~/
|
||||
shell: /bin/bash -eo pipefail -l
|
||||
parallelism: 100
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
- run:
|
||||
name: Clone Cassandra dtest Repository (via git)
|
||||
command: |
|
||||
git clone --single-branch --branch $DTEST_BRANCH --depth 1 $DTEST_REPO ~/cassandra-dtest
|
||||
- run:
|
||||
name: Configure virtualenv and python Dependencies
|
||||
command: |
|
||||
# note, this should be super quick as all dependencies should be pre-installed in the docker image
|
||||
# if additional dependencies were added to requirmeents.txt and the docker image hasn't been updated
|
||||
# we'd have to install it here at runtime -- which will make things slow, so do yourself a favor and
|
||||
# rebuild the docker image! (it automatically pulls the latest requirements.txt on build)
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
pip3 install --exists-action w --upgrade -r ~/cassandra-dtest/requirements.txt
|
||||
pip3 uninstall -y cqlsh
|
||||
pip3 freeze
|
||||
- run:
|
||||
name: Determine Tests to Run (j8_dtests_offheap)
|
||||
no_output_timeout: 5m
|
||||
command: "# reminder: this code (along with all the steps) is independently executed on every circle container\n# so the goal here is to get the circleci script to return the tests *this* container will run\n# which we do via the `circleci` cli tool.\n\ncd cassandra-dtest\nsource ~/env3.11/bin/activate\nexport PATH=$JAVA_HOME/bin:$PATH\n\nif [ -n '' ]; then\n export \nfi\n\necho \"***Collected DTests (j8_dtests_offheap)***\"\nset -eo pipefail && ./run_dtests.py --use-vnodes --use-off-heap-memtables --skip-resource-intensive-tests --pytest-options '-k cql' --dtest-print-tests-only --dtest-print-tests-output=/tmp/all_dtest_tests_j8_dtests_offheap_raw --cassandra-dir=../cassandra\nif [ -z '' ]; then\n mv /tmp/all_dtest_tests_j8_dtests_offheap_raw /tmp/all_dtest_tests_j8_dtests_offheap\nelse\n grep -e '' /tmp/all_dtest_tests_j8_dtests_offheap_raw > /tmp/all_dtest_tests_j8_dtests_offheap || { echo \"Filter did not match any tests! Exiting build.\"; exit 0; }\nfi\nset -eo pipefail && circleci tests split --split-by=timings --timings-type=classname /tmp/all_dtest_tests_j8_dtests_offheap > /tmp/split_dtest_tests_j8_dtests_offheap.txt\ncat /tmp/split_dtest_tests_j8_dtests_offheap.txt | tr '\\n' ' ' > /tmp/split_dtest_tests_j8_dtests_offheap_final.txt\ncat /tmp/split_dtest_tests_j8_dtests_offheap_final.txt\n"
|
||||
- run:
|
||||
name: Run dtests (j8_dtests_offheap)
|
||||
no_output_timeout: 15m
|
||||
command: |
|
||||
echo "cat /tmp/split_dtest_tests_j8_dtests_offheap_final.txt"
|
||||
cat /tmp/split_dtest_tests_j8_dtests_offheap_final.txt
|
||||
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
if [ -n 'CQLSH_PYTHON=/usr/bin/python3.11' ]; then
|
||||
export CQLSH_PYTHON=/usr/bin/python3.11
|
||||
fi
|
||||
|
||||
java -version
|
||||
cd ~/cassandra-dtest
|
||||
mkdir -p /tmp/dtest
|
||||
|
||||
echo "env: $(env)"
|
||||
echo "** done env"
|
||||
mkdir -p /tmp/results/dtests
|
||||
# we need the "set -o pipefail" here so that the exit code that circleci will actually use is from pytest and not the exit code from tee
|
||||
export SPLIT_TESTS=`cat /tmp/split_dtest_tests_j8_dtests_offheap_final.txt`
|
||||
set -o pipefail && cd ~/cassandra-dtest && pytest --use-vnodes --num-tokens=16 --use-off-heap-memtables --skip-resource-intensive-tests --log-cli-level=DEBUG --junit-xml=/tmp/results/dtests/pytest_result_j8_dtests_offheap.xml -s --cassandra-dir=/home/cassandra/cassandra --keep-test-dir $SPLIT_TESTS 2>&1 | tee /tmp/dtest/stdout.txt
|
||||
- store_test_results:
|
||||
path: /tmp/results
|
||||
- store_artifacts:
|
||||
path: /tmp/dtest
|
||||
destination: dtest_j8_dtests_offheap
|
||||
- store_artifacts:
|
||||
path: ~/cassandra-dtest/logs
|
||||
destination: dtest_j8_dtests_offheap_logs
|
||||
environment:
|
||||
- ANT_HOME: /usr/share/ant
|
||||
- JAVA11_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JAVA8_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- LANG: en_US.UTF-8
|
||||
- KEEP_TEST_DIR: true
|
||||
- DEFAULT_DIR: /home/cassandra/cassandra-dtest
|
||||
- PYTHONIOENCODING: utf-8
|
||||
- PYTHONUNBUFFERED: true
|
||||
- CASS_DRIVER_NO_EXTENSIONS: true
|
||||
- CASS_DRIVER_NO_CYTHON: true
|
||||
- CASSANDRA_SKIP_SYNC: true
|
||||
- DTEST_REPO: https://github.com/apache/cassandra-dtest.git
|
||||
- DTEST_BRANCH: trunk
|
||||
- CCM_MAX_HEAP_SIZE: 1024M
|
||||
- CCM_HEAP_NEWSIZE: 256M
|
||||
- REPEATED_TESTS_STOP_ON_FAILURE: false
|
||||
- REPEATED_UTESTS: null
|
||||
- REPEATED_UTESTS_COUNT: 500
|
||||
- REPEATED_UTESTS_FQLTOOL: null
|
||||
- REPEATED_UTESTS_FQLTOOL_COUNT: 500
|
||||
- REPEATED_UTESTS_LONG: null
|
||||
- REPEATED_UTESTS_LONG_COUNT: 100
|
||||
- REPEATED_UTESTS_STRESS: null
|
||||
- REPEATED_UTESTS_STRESS_COUNT: 500
|
||||
- REPEATED_JVM_DTESTS: null
|
||||
- REPEATED_JVM_DTESTS_COUNT: 500
|
||||
- REPEATED_JVM_UPGRADE_DTESTS: null
|
||||
- REPEATED_JVM_UPGRADE_DTESTS_COUNT: 500
|
||||
- REPEATED_DTESTS: null
|
||||
- REPEATED_DTESTS_COUNT: 500
|
||||
- REPEATED_UPGRADE_DTESTS: null
|
||||
- REPEATED_UPGRADE_DTESTS_COUNT: 25
|
||||
- REPEATED_ANT_TEST_TARGET: testsome
|
||||
- REPEATED_ANT_TEST_CLASS: null
|
||||
- REPEATED_ANT_TEST_METHODS: null
|
||||
- REPEATED_ANT_TEST_COUNT: 500
|
||||
- JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
j8_dtests_repeat:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:latest
|
||||
|
|
@ -9287,6 +9890,10 @@ workflows:
|
|||
requires:
|
||||
- start_j8_cqlsh_tests
|
||||
- j8_build
|
||||
- j8_cqlsh_dtests_py311_vnode:
|
||||
requires:
|
||||
- start_j8_cqlsh_tests
|
||||
- j8_build
|
||||
- j8_cqlsh-dtests-py2-no-vnodes:
|
||||
requires:
|
||||
- start_j8_cqlsh_tests
|
||||
|
|
@ -9299,6 +9906,10 @@ workflows:
|
|||
requires:
|
||||
- start_j8_cqlsh_tests
|
||||
- j8_build
|
||||
- j8_cqlsh_dtests_py311:
|
||||
requires:
|
||||
- start_j8_cqlsh_tests
|
||||
- j8_build
|
||||
- start_j8_cqlsh_tests_offheap:
|
||||
type: approval
|
||||
- j8_cqlsh-dtests-py2-offheap:
|
||||
|
|
@ -9313,6 +9924,10 @@ workflows:
|
|||
requires:
|
||||
- start_j8_cqlsh_tests_offheap
|
||||
- j8_build
|
||||
- j8_cqlsh_dtests_py311_offheap:
|
||||
requires:
|
||||
- start_j8_cqlsh_tests_offheap
|
||||
- j8_build
|
||||
- start_j11_cqlsh_tests:
|
||||
type: approval
|
||||
- j11_cqlsh-dtests-py2-with-vnodes:
|
||||
|
|
@ -9327,6 +9942,10 @@ workflows:
|
|||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j8_build
|
||||
- j11_cqlsh_dtests_py311_vnode:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j8_build
|
||||
- j11_cqlsh-dtests-py2-no-vnodes:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
|
|
@ -9339,6 +9958,10 @@ workflows:
|
|||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j8_build
|
||||
- j11_cqlsh_dtests_py311:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j8_build
|
||||
- start_j11_cqlsh_tests_offheap:
|
||||
type: approval
|
||||
- j11_cqlsh-dtests-py2-offheap:
|
||||
|
|
@ -9353,6 +9976,10 @@ workflows:
|
|||
requires:
|
||||
- start_j11_cqlsh_tests_offheap
|
||||
- j8_build
|
||||
- j11_cqlsh_dtests_py311_offheap:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests_offheap
|
||||
- j8_build
|
||||
java8_pre-commit_tests:
|
||||
jobs:
|
||||
- start_pre-commit_tests:
|
||||
|
|
@ -9479,6 +10106,9 @@ workflows:
|
|||
- j8_cqlsh_dtests_py38_vnode:
|
||||
requires:
|
||||
- j8_build
|
||||
- j8_cqlsh_dtests_py311_vnode:
|
||||
requires:
|
||||
- j8_build
|
||||
- j8_cqlsh-dtests-py2-no-vnodes:
|
||||
requires:
|
||||
- j8_build
|
||||
|
|
@ -9488,6 +10118,9 @@ workflows:
|
|||
- j8_cqlsh_dtests_py38:
|
||||
requires:
|
||||
- j8_build
|
||||
- j8_cqlsh_dtests_py311:
|
||||
requires:
|
||||
- j8_build
|
||||
- start_j8_cqlsh_dtests_offheap:
|
||||
type: approval
|
||||
- j8_cqlsh-dtests-py2-offheap:
|
||||
|
|
@ -9502,6 +10135,10 @@ workflows:
|
|||
requires:
|
||||
- start_j8_cqlsh_dtests_offheap
|
||||
- j8_build
|
||||
- j8_cqlsh_dtests_py311_offheap:
|
||||
requires:
|
||||
- start_j8_cqlsh_dtests_offheap
|
||||
- j8_build
|
||||
- j11_cqlsh-dtests-py2-with-vnodes:
|
||||
requires:
|
||||
- j8_build
|
||||
|
|
@ -9511,6 +10148,9 @@ workflows:
|
|||
- j11_cqlsh_dtests_py38_vnode:
|
||||
requires:
|
||||
- j8_build
|
||||
- j11_cqlsh_dtests_py311_vnode:
|
||||
requires:
|
||||
- j8_build
|
||||
- j11_cqlsh-dtests-py2-no-vnodes:
|
||||
requires:
|
||||
- j8_build
|
||||
|
|
@ -9520,6 +10160,9 @@ workflows:
|
|||
- j11_cqlsh_dtests_py38:
|
||||
requires:
|
||||
- j8_build
|
||||
- j11_cqlsh_dtests_py311:
|
||||
requires:
|
||||
- j8_build
|
||||
- start_j11_cqlsh-dtests-offheap:
|
||||
type: approval
|
||||
- j11_cqlsh-dtests-py2-offheap:
|
||||
|
|
@ -9534,6 +10177,10 @@ workflows:
|
|||
requires:
|
||||
- start_j11_cqlsh-dtests-offheap
|
||||
- j8_build
|
||||
- j11_cqlsh_dtests_py311_offheap:
|
||||
requires:
|
||||
- start_j11_cqlsh-dtests-offheap
|
||||
- j8_build
|
||||
java11_separate_tests:
|
||||
jobs:
|
||||
- start_j11_build:
|
||||
|
|
@ -9591,6 +10238,10 @@ workflows:
|
|||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j11_build
|
||||
- j11_cqlsh_dtests_py311_vnode:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j11_build
|
||||
- j11_cqlsh-dtests-py2-no-vnodes:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
|
|
@ -9603,6 +10254,10 @@ workflows:
|
|||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j11_build
|
||||
- j11_cqlsh_dtests_py311:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j11_build
|
||||
- start_j11_cqlsh-dtests-offheap:
|
||||
type: approval
|
||||
- j11_cqlsh-dtests-py2-offheap:
|
||||
|
|
@ -9617,6 +10272,10 @@ workflows:
|
|||
requires:
|
||||
- start_j11_cqlsh-dtests-offheap
|
||||
- j11_build
|
||||
- j11_cqlsh_dtests_py311_offheap:
|
||||
requires:
|
||||
- start_j11_cqlsh-dtests-offheap
|
||||
- j11_build
|
||||
- start_j11_utests_long:
|
||||
type: approval
|
||||
- j11_utests_long:
|
||||
|
|
@ -9696,6 +10355,9 @@ workflows:
|
|||
- j11_cqlsh_dtests_py38_vnode:
|
||||
requires:
|
||||
- j11_build
|
||||
- j11_cqlsh_dtests_py311_vnode:
|
||||
requires:
|
||||
- j11_build
|
||||
- j11_cqlsh-dtests-py2-no-vnodes:
|
||||
requires:
|
||||
- j11_build
|
||||
|
|
@ -9705,6 +10367,9 @@ workflows:
|
|||
- j11_cqlsh_dtests_py38:
|
||||
requires:
|
||||
- j11_build
|
||||
- j11_cqlsh_dtests_py311:
|
||||
requires:
|
||||
- j11_build
|
||||
- start_j11_cqlsh-dtests-offheap:
|
||||
type: approval
|
||||
- j11_cqlsh-dtests-py2-offheap:
|
||||
|
|
@ -9719,6 +10384,10 @@ workflows:
|
|||
requires:
|
||||
- start_j11_cqlsh-dtests-offheap
|
||||
- j11_build
|
||||
- j11_cqlsh_dtests_py311_offheap:
|
||||
requires:
|
||||
- start_j11_cqlsh-dtests-offheap
|
||||
- j11_build
|
||||
- start_utests_long:
|
||||
type: approval
|
||||
- j11_utests_long:
|
||||
|
|
|
|||
|
|
@ -423,6 +423,106 @@ jobs:
|
|||
- REPEATED_ANT_TEST_COUNT: 500
|
||||
- JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
j8_cqlsh_dtests_py311_vnode:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:latest
|
||||
resource_class: medium
|
||||
working_directory: ~/
|
||||
shell: /bin/bash -eo pipefail -l
|
||||
parallelism: 4
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
- run:
|
||||
name: Clone Cassandra dtest Repository (via git)
|
||||
command: |
|
||||
git clone --single-branch --branch $DTEST_BRANCH --depth 1 $DTEST_REPO ~/cassandra-dtest
|
||||
- run:
|
||||
name: Configure virtualenv and python Dependencies
|
||||
command: |
|
||||
# note, this should be super quick as all dependencies should be pre-installed in the docker image
|
||||
# if additional dependencies were added to requirmeents.txt and the docker image hasn't been updated
|
||||
# we'd have to install it here at runtime -- which will make things slow, so do yourself a favor and
|
||||
# rebuild the docker image! (it automatically pulls the latest requirements.txt on build)
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
pip3 install --exists-action w --upgrade -r ~/cassandra-dtest/requirements.txt
|
||||
pip3 uninstall -y cqlsh
|
||||
pip3 freeze
|
||||
- run:
|
||||
name: Determine Tests to Run (j8_with_vnodes)
|
||||
no_output_timeout: 5m
|
||||
command: "# reminder: this code (along with all the steps) is independently executed on every circle container\n# so the goal here is to get the circleci script to return the tests *this* container will run\n# which we do via the `circleci` cli tool.\n\ncd cassandra-dtest\nsource ~/env3.11/bin/activate\nexport PATH=$JAVA_HOME/bin:$PATH\n\nif [ -n '' ]; then\n export \nfi\n\necho \"***Collected DTests (j8_with_vnodes)***\"\nset -eo pipefail && ./run_dtests.py --use-vnodes --skip-resource-intensive-tests --pytest-options '-k cql' --dtest-print-tests-only --dtest-print-tests-output=/tmp/all_dtest_tests_j8_with_vnodes_raw --cassandra-dir=../cassandra\nif [ -z '' ]; then\n mv /tmp/all_dtest_tests_j8_with_vnodes_raw /tmp/all_dtest_tests_j8_with_vnodes\nelse\n grep -e '' /tmp/all_dtest_tests_j8_with_vnodes_raw > /tmp/all_dtest_tests_j8_with_vnodes || { echo \"Filter did not match any tests! Exiting build.\"; exit 0; }\nfi\nset -eo pipefail && circleci tests split --split-by=timings --timings-type=classname /tmp/all_dtest_tests_j8_with_vnodes > /tmp/split_dtest_tests_j8_with_vnodes.txt\ncat /tmp/split_dtest_tests_j8_with_vnodes.txt | tr '\\n' ' ' > /tmp/split_dtest_tests_j8_with_vnodes_final.txt\ncat /tmp/split_dtest_tests_j8_with_vnodes_final.txt\n"
|
||||
- run:
|
||||
name: Run dtests (j8_with_vnodes)
|
||||
no_output_timeout: 15m
|
||||
command: |
|
||||
echo "cat /tmp/split_dtest_tests_j8_with_vnodes_final.txt"
|
||||
cat /tmp/split_dtest_tests_j8_with_vnodes_final.txt
|
||||
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
if [ -n 'CQLSH_PYTHON=/usr/bin/python3.11' ]; then
|
||||
export CQLSH_PYTHON=/usr/bin/python3.11
|
||||
fi
|
||||
|
||||
java -version
|
||||
cd ~/cassandra-dtest
|
||||
mkdir -p /tmp/dtest
|
||||
|
||||
echo "env: $(env)"
|
||||
echo "** done env"
|
||||
mkdir -p /tmp/results/dtests
|
||||
# we need the "set -o pipefail" here so that the exit code that circleci will actually use is from pytest and not the exit code from tee
|
||||
export SPLIT_TESTS=`cat /tmp/split_dtest_tests_j8_with_vnodes_final.txt`
|
||||
set -o pipefail && cd ~/cassandra-dtest && pytest --use-vnodes --num-tokens=16 --skip-resource-intensive-tests --log-cli-level=DEBUG --junit-xml=/tmp/results/dtests/pytest_result_j8_with_vnodes.xml -s --cassandra-dir=/home/cassandra/cassandra --keep-test-dir $SPLIT_TESTS 2>&1 | tee /tmp/dtest/stdout.txt
|
||||
- store_test_results:
|
||||
path: /tmp/results
|
||||
- store_artifacts:
|
||||
path: /tmp/dtest
|
||||
destination: dtest_j8_with_vnodes
|
||||
- store_artifacts:
|
||||
path: ~/cassandra-dtest/logs
|
||||
destination: dtest_j8_with_vnodes_logs
|
||||
environment:
|
||||
- ANT_HOME: /usr/share/ant
|
||||
- JAVA11_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JAVA8_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- LANG: en_US.UTF-8
|
||||
- KEEP_TEST_DIR: true
|
||||
- DEFAULT_DIR: /home/cassandra/cassandra-dtest
|
||||
- PYTHONIOENCODING: utf-8
|
||||
- PYTHONUNBUFFERED: true
|
||||
- CASS_DRIVER_NO_EXTENSIONS: true
|
||||
- CASS_DRIVER_NO_CYTHON: true
|
||||
- CASSANDRA_SKIP_SYNC: true
|
||||
- DTEST_REPO: https://github.com/apache/cassandra-dtest.git
|
||||
- DTEST_BRANCH: trunk
|
||||
- CCM_MAX_HEAP_SIZE: 1024M
|
||||
- CCM_HEAP_NEWSIZE: 256M
|
||||
- REPEATED_TESTS_STOP_ON_FAILURE: false
|
||||
- REPEATED_UTESTS: null
|
||||
- REPEATED_UTESTS_COUNT: 500
|
||||
- REPEATED_UTESTS_FQLTOOL: null
|
||||
- REPEATED_UTESTS_FQLTOOL_COUNT: 500
|
||||
- REPEATED_UTESTS_LONG: null
|
||||
- REPEATED_UTESTS_LONG_COUNT: 100
|
||||
- REPEATED_UTESTS_STRESS: null
|
||||
- REPEATED_UTESTS_STRESS_COUNT: 500
|
||||
- REPEATED_JVM_DTESTS: null
|
||||
- REPEATED_JVM_DTESTS_COUNT: 500
|
||||
- REPEATED_JVM_UPGRADE_DTESTS: null
|
||||
- REPEATED_JVM_UPGRADE_DTESTS_COUNT: 500
|
||||
- REPEATED_DTESTS: null
|
||||
- REPEATED_DTESTS_COUNT: 500
|
||||
- REPEATED_UPGRADE_DTESTS: null
|
||||
- REPEATED_UPGRADE_DTESTS_COUNT: 25
|
||||
- REPEATED_ANT_TEST_TARGET: testsome
|
||||
- REPEATED_ANT_TEST_CLASS: null
|
||||
- REPEATED_ANT_TEST_METHODS: null
|
||||
- REPEATED_ANT_TEST_COUNT: 500
|
||||
- JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
j11_dtests_vnode_repeat:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11:latest
|
||||
|
|
@ -949,6 +1049,107 @@ jobs:
|
|||
- JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- CASSANDRA_USE_JDK11: true
|
||||
j11_cqlsh_dtests_py311:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11:latest
|
||||
resource_class: medium
|
||||
working_directory: ~/
|
||||
shell: /bin/bash -eo pipefail -l
|
||||
parallelism: 4
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
- run:
|
||||
name: Clone Cassandra dtest Repository (via git)
|
||||
command: |
|
||||
git clone --single-branch --branch $DTEST_BRANCH --depth 1 $DTEST_REPO ~/cassandra-dtest
|
||||
- run:
|
||||
name: Configure virtualenv and python Dependencies
|
||||
command: |
|
||||
# note, this should be super quick as all dependencies should be pre-installed in the docker image
|
||||
# if additional dependencies were added to requirmeents.txt and the docker image hasn't been updated
|
||||
# we'd have to install it here at runtime -- which will make things slow, so do yourself a favor and
|
||||
# rebuild the docker image! (it automatically pulls the latest requirements.txt on build)
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
pip3 install --exists-action w --upgrade -r ~/cassandra-dtest/requirements.txt
|
||||
pip3 uninstall -y cqlsh
|
||||
pip3 freeze
|
||||
- run:
|
||||
name: Determine Tests to Run (j11_without_vnodes)
|
||||
no_output_timeout: 5m
|
||||
command: "# reminder: this code (along with all the steps) is independently executed on every circle container\n# so the goal here is to get the circleci script to return the tests *this* container will run\n# which we do via the `circleci` cli tool.\n\ncd cassandra-dtest\nsource ~/env3.11/bin/activate\nexport PATH=$JAVA_HOME/bin:$PATH\n\nif [ -n '' ]; then\n export \nfi\n\necho \"***Collected DTests (j11_without_vnodes)***\"\nset -eo pipefail && ./run_dtests.py --skip-resource-intensive-tests --pytest-options '-k cql' --dtest-print-tests-only --dtest-print-tests-output=/tmp/all_dtest_tests_j11_without_vnodes_raw --cassandra-dir=../cassandra\nif [ -z '' ]; then\n mv /tmp/all_dtest_tests_j11_without_vnodes_raw /tmp/all_dtest_tests_j11_without_vnodes\nelse\n grep -e '' /tmp/all_dtest_tests_j11_without_vnodes_raw > /tmp/all_dtest_tests_j11_without_vnodes || { echo \"Filter did not match any tests! Exiting build.\"; exit 0; }\nfi\nset -eo pipefail && circleci tests split --split-by=timings --timings-type=classname /tmp/all_dtest_tests_j11_without_vnodes > /tmp/split_dtest_tests_j11_without_vnodes.txt\ncat /tmp/split_dtest_tests_j11_without_vnodes.txt | tr '\\n' ' ' > /tmp/split_dtest_tests_j11_without_vnodes_final.txt\ncat /tmp/split_dtest_tests_j11_without_vnodes_final.txt\n"
|
||||
- run:
|
||||
name: Run dtests (j11_without_vnodes)
|
||||
no_output_timeout: 15m
|
||||
command: |
|
||||
echo "cat /tmp/split_dtest_tests_j11_without_vnodes_final.txt"
|
||||
cat /tmp/split_dtest_tests_j11_without_vnodes_final.txt
|
||||
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
if [ -n 'CQLSH_PYTHON=/usr/bin/python3.11' ]; then
|
||||
export CQLSH_PYTHON=/usr/bin/python3.11
|
||||
fi
|
||||
|
||||
java -version
|
||||
cd ~/cassandra-dtest
|
||||
mkdir -p /tmp/dtest
|
||||
|
||||
echo "env: $(env)"
|
||||
echo "** done env"
|
||||
mkdir -p /tmp/results/dtests
|
||||
# we need the "set -o pipefail" here so that the exit code that circleci will actually use is from pytest and not the exit code from tee
|
||||
export SPLIT_TESTS=`cat /tmp/split_dtest_tests_j11_without_vnodes_final.txt`
|
||||
set -o pipefail && cd ~/cassandra-dtest && pytest --skip-resource-intensive-tests --log-cli-level=DEBUG --junit-xml=/tmp/results/dtests/pytest_result_j11_without_vnodes.xml -s --cassandra-dir=/home/cassandra/cassandra --keep-test-dir $SPLIT_TESTS 2>&1 | tee /tmp/dtest/stdout.txt
|
||||
- store_test_results:
|
||||
path: /tmp/results
|
||||
- store_artifacts:
|
||||
path: /tmp/dtest
|
||||
destination: dtest_j11_without_vnodes
|
||||
- store_artifacts:
|
||||
path: ~/cassandra-dtest/logs
|
||||
destination: dtest_j11_without_vnodes_logs
|
||||
environment:
|
||||
- ANT_HOME: /usr/share/ant
|
||||
- JAVA11_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JAVA8_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- LANG: en_US.UTF-8
|
||||
- KEEP_TEST_DIR: true
|
||||
- DEFAULT_DIR: /home/cassandra/cassandra-dtest
|
||||
- PYTHONIOENCODING: utf-8
|
||||
- PYTHONUNBUFFERED: true
|
||||
- CASS_DRIVER_NO_EXTENSIONS: true
|
||||
- CASS_DRIVER_NO_CYTHON: true
|
||||
- CASSANDRA_SKIP_SYNC: true
|
||||
- DTEST_REPO: https://github.com/apache/cassandra-dtest.git
|
||||
- DTEST_BRANCH: trunk
|
||||
- CCM_MAX_HEAP_SIZE: 1024M
|
||||
- CCM_HEAP_NEWSIZE: 256M
|
||||
- REPEATED_TESTS_STOP_ON_FAILURE: false
|
||||
- REPEATED_UTESTS: null
|
||||
- REPEATED_UTESTS_COUNT: 500
|
||||
- REPEATED_UTESTS_FQLTOOL: null
|
||||
- REPEATED_UTESTS_FQLTOOL_COUNT: 500
|
||||
- REPEATED_UTESTS_LONG: null
|
||||
- REPEATED_UTESTS_LONG_COUNT: 100
|
||||
- REPEATED_UTESTS_STRESS: null
|
||||
- REPEATED_UTESTS_STRESS_COUNT: 500
|
||||
- REPEATED_JVM_DTESTS: null
|
||||
- REPEATED_JVM_DTESTS_COUNT: 500
|
||||
- REPEATED_JVM_UPGRADE_DTESTS: null
|
||||
- REPEATED_JVM_UPGRADE_DTESTS_COUNT: 500
|
||||
- REPEATED_DTESTS: null
|
||||
- REPEATED_DTESTS_COUNT: 500
|
||||
- REPEATED_UPGRADE_DTESTS: null
|
||||
- REPEATED_UPGRADE_DTESTS_COUNT: 25
|
||||
- REPEATED_ANT_TEST_TARGET: testsome
|
||||
- REPEATED_ANT_TEST_CLASS: null
|
||||
- REPEATED_ANT_TEST_METHODS: null
|
||||
- REPEATED_ANT_TEST_COUNT: 500
|
||||
- JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- CASSANDRA_USE_JDK11: true
|
||||
j8_utests_compression_repeat:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:latest
|
||||
|
|
@ -1830,6 +2031,106 @@ jobs:
|
|||
- JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- CASSANDRA_USE_JDK11: true
|
||||
j8_cqlsh_dtests_py311:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:latest
|
||||
resource_class: medium
|
||||
working_directory: ~/
|
||||
shell: /bin/bash -eo pipefail -l
|
||||
parallelism: 4
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
- run:
|
||||
name: Clone Cassandra dtest Repository (via git)
|
||||
command: |
|
||||
git clone --single-branch --branch $DTEST_BRANCH --depth 1 $DTEST_REPO ~/cassandra-dtest
|
||||
- run:
|
||||
name: Configure virtualenv and python Dependencies
|
||||
command: |
|
||||
# note, this should be super quick as all dependencies should be pre-installed in the docker image
|
||||
# if additional dependencies were added to requirmeents.txt and the docker image hasn't been updated
|
||||
# we'd have to install it here at runtime -- which will make things slow, so do yourself a favor and
|
||||
# rebuild the docker image! (it automatically pulls the latest requirements.txt on build)
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
pip3 install --exists-action w --upgrade -r ~/cassandra-dtest/requirements.txt
|
||||
pip3 uninstall -y cqlsh
|
||||
pip3 freeze
|
||||
- run:
|
||||
name: Determine Tests to Run (j8_without_vnodes)
|
||||
no_output_timeout: 5m
|
||||
command: "# reminder: this code (along with all the steps) is independently executed on every circle container\n# so the goal here is to get the circleci script to return the tests *this* container will run\n# which we do via the `circleci` cli tool.\n\ncd cassandra-dtest\nsource ~/env3.11/bin/activate\nexport PATH=$JAVA_HOME/bin:$PATH\n\nif [ -n '' ]; then\n export \nfi\n\necho \"***Collected DTests (j8_without_vnodes)***\"\nset -eo pipefail && ./run_dtests.py --skip-resource-intensive-tests --pytest-options '-k cql' --dtest-print-tests-only --dtest-print-tests-output=/tmp/all_dtest_tests_j8_without_vnodes_raw --cassandra-dir=../cassandra\nif [ -z '' ]; then\n mv /tmp/all_dtest_tests_j8_without_vnodes_raw /tmp/all_dtest_tests_j8_without_vnodes\nelse\n grep -e '' /tmp/all_dtest_tests_j8_without_vnodes_raw > /tmp/all_dtest_tests_j8_without_vnodes || { echo \"Filter did not match any tests! Exiting build.\"; exit 0; }\nfi\nset -eo pipefail && circleci tests split --split-by=timings --timings-type=classname /tmp/all_dtest_tests_j8_without_vnodes > /tmp/split_dtest_tests_j8_without_vnodes.txt\ncat /tmp/split_dtest_tests_j8_without_vnodes.txt | tr '\\n' ' ' > /tmp/split_dtest_tests_j8_without_vnodes_final.txt\ncat /tmp/split_dtest_tests_j8_without_vnodes_final.txt\n"
|
||||
- run:
|
||||
name: Run dtests (j8_without_vnodes)
|
||||
no_output_timeout: 15m
|
||||
command: |
|
||||
echo "cat /tmp/split_dtest_tests_j8_without_vnodes_final.txt"
|
||||
cat /tmp/split_dtest_tests_j8_without_vnodes_final.txt
|
||||
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
if [ -n 'CQLSH_PYTHON=/usr/bin/python3.11' ]; then
|
||||
export CQLSH_PYTHON=/usr/bin/python3.11
|
||||
fi
|
||||
|
||||
java -version
|
||||
cd ~/cassandra-dtest
|
||||
mkdir -p /tmp/dtest
|
||||
|
||||
echo "env: $(env)"
|
||||
echo "** done env"
|
||||
mkdir -p /tmp/results/dtests
|
||||
# we need the "set -o pipefail" here so that the exit code that circleci will actually use is from pytest and not the exit code from tee
|
||||
export SPLIT_TESTS=`cat /tmp/split_dtest_tests_j8_without_vnodes_final.txt`
|
||||
set -o pipefail && cd ~/cassandra-dtest && pytest --skip-resource-intensive-tests --log-cli-level=DEBUG --junit-xml=/tmp/results/dtests/pytest_result_j8_without_vnodes.xml -s --cassandra-dir=/home/cassandra/cassandra --keep-test-dir $SPLIT_TESTS 2>&1 | tee /tmp/dtest/stdout.txt
|
||||
- store_test_results:
|
||||
path: /tmp/results
|
||||
- store_artifacts:
|
||||
path: /tmp/dtest
|
||||
destination: dtest_j8_without_vnodes
|
||||
- store_artifacts:
|
||||
path: ~/cassandra-dtest/logs
|
||||
destination: dtest_j8_without_vnodes_logs
|
||||
environment:
|
||||
- ANT_HOME: /usr/share/ant
|
||||
- JAVA11_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JAVA8_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- LANG: en_US.UTF-8
|
||||
- KEEP_TEST_DIR: true
|
||||
- DEFAULT_DIR: /home/cassandra/cassandra-dtest
|
||||
- PYTHONIOENCODING: utf-8
|
||||
- PYTHONUNBUFFERED: true
|
||||
- CASS_DRIVER_NO_EXTENSIONS: true
|
||||
- CASS_DRIVER_NO_CYTHON: true
|
||||
- CASSANDRA_SKIP_SYNC: true
|
||||
- DTEST_REPO: https://github.com/apache/cassandra-dtest.git
|
||||
- DTEST_BRANCH: trunk
|
||||
- CCM_MAX_HEAP_SIZE: 1024M
|
||||
- CCM_HEAP_NEWSIZE: 256M
|
||||
- REPEATED_TESTS_STOP_ON_FAILURE: false
|
||||
- REPEATED_UTESTS: null
|
||||
- REPEATED_UTESTS_COUNT: 500
|
||||
- REPEATED_UTESTS_FQLTOOL: null
|
||||
- REPEATED_UTESTS_FQLTOOL_COUNT: 500
|
||||
- REPEATED_UTESTS_LONG: null
|
||||
- REPEATED_UTESTS_LONG_COUNT: 100
|
||||
- REPEATED_UTESTS_STRESS: null
|
||||
- REPEATED_UTESTS_STRESS_COUNT: 500
|
||||
- REPEATED_JVM_DTESTS: null
|
||||
- REPEATED_JVM_DTESTS_COUNT: 500
|
||||
- REPEATED_JVM_UPGRADE_DTESTS: null
|
||||
- REPEATED_JVM_UPGRADE_DTESTS_COUNT: 500
|
||||
- REPEATED_DTESTS: null
|
||||
- REPEATED_DTESTS_COUNT: 500
|
||||
- REPEATED_UPGRADE_DTESTS: null
|
||||
- REPEATED_UPGRADE_DTESTS_COUNT: 25
|
||||
- REPEATED_ANT_TEST_TARGET: testsome
|
||||
- REPEATED_ANT_TEST_CLASS: null
|
||||
- REPEATED_ANT_TEST_METHODS: null
|
||||
- REPEATED_ANT_TEST_COUNT: 500
|
||||
- JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
j11_cqlsh_dtests_py38_offheap:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11:latest
|
||||
|
|
@ -4701,6 +5002,107 @@ jobs:
|
|||
- JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- CASSANDRA_USE_JDK11: true
|
||||
j11_cqlsh_dtests_py311_offheap:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11:latest
|
||||
resource_class: medium
|
||||
working_directory: ~/
|
||||
shell: /bin/bash -eo pipefail -l
|
||||
parallelism: 4
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
- run:
|
||||
name: Clone Cassandra dtest Repository (via git)
|
||||
command: |
|
||||
git clone --single-branch --branch $DTEST_BRANCH --depth 1 $DTEST_REPO ~/cassandra-dtest
|
||||
- run:
|
||||
name: Configure virtualenv and python Dependencies
|
||||
command: |
|
||||
# note, this should be super quick as all dependencies should be pre-installed in the docker image
|
||||
# if additional dependencies were added to requirmeents.txt and the docker image hasn't been updated
|
||||
# we'd have to install it here at runtime -- which will make things slow, so do yourself a favor and
|
||||
# rebuild the docker image! (it automatically pulls the latest requirements.txt on build)
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
pip3 install --exists-action w --upgrade -r ~/cassandra-dtest/requirements.txt
|
||||
pip3 uninstall -y cqlsh
|
||||
pip3 freeze
|
||||
- run:
|
||||
name: Determine Tests to Run (j11_dtests_offheap)
|
||||
no_output_timeout: 5m
|
||||
command: "# reminder: this code (along with all the steps) is independently executed on every circle container\n# so the goal here is to get the circleci script to return the tests *this* container will run\n# which we do via the `circleci` cli tool.\n\ncd cassandra-dtest\nsource ~/env3.11/bin/activate\nexport PATH=$JAVA_HOME/bin:$PATH\n\nif [ -n '' ]; then\n export \nfi\n\necho \"***Collected DTests (j11_dtests_offheap)***\"\nset -eo pipefail && ./run_dtests.py --use-vnodes --use-off-heap-memtables --skip-resource-intensive-tests --pytest-options '-k cql' --dtest-print-tests-only --dtest-print-tests-output=/tmp/all_dtest_tests_j11_dtests_offheap_raw --cassandra-dir=../cassandra\nif [ -z '' ]; then\n mv /tmp/all_dtest_tests_j11_dtests_offheap_raw /tmp/all_dtest_tests_j11_dtests_offheap\nelse\n grep -e '' /tmp/all_dtest_tests_j11_dtests_offheap_raw > /tmp/all_dtest_tests_j11_dtests_offheap || { echo \"Filter did not match any tests! Exiting build.\"; exit 0; }\nfi\nset -eo pipefail && circleci tests split --split-by=timings --timings-type=classname /tmp/all_dtest_tests_j11_dtests_offheap > /tmp/split_dtest_tests_j11_dtests_offheap.txt\ncat /tmp/split_dtest_tests_j11_dtests_offheap.txt | tr '\\n' ' ' > /tmp/split_dtest_tests_j11_dtests_offheap_final.txt\ncat /tmp/split_dtest_tests_j11_dtests_offheap_final.txt\n"
|
||||
- run:
|
||||
name: Run dtests (j11_dtests_offheap)
|
||||
no_output_timeout: 15m
|
||||
command: |
|
||||
echo "cat /tmp/split_dtest_tests_j11_dtests_offheap_final.txt"
|
||||
cat /tmp/split_dtest_tests_j11_dtests_offheap_final.txt
|
||||
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
if [ -n 'CQLSH_PYTHON=/usr/bin/python3.11' ]; then
|
||||
export CQLSH_PYTHON=/usr/bin/python3.11
|
||||
fi
|
||||
|
||||
java -version
|
||||
cd ~/cassandra-dtest
|
||||
mkdir -p /tmp/dtest
|
||||
|
||||
echo "env: $(env)"
|
||||
echo "** done env"
|
||||
mkdir -p /tmp/results/dtests
|
||||
# we need the "set -o pipefail" here so that the exit code that circleci will actually use is from pytest and not the exit code from tee
|
||||
export SPLIT_TESTS=`cat /tmp/split_dtest_tests_j11_dtests_offheap_final.txt`
|
||||
set -o pipefail && cd ~/cassandra-dtest && pytest --use-vnodes --num-tokens=16 --use-off-heap-memtables --skip-resource-intensive-tests --log-cli-level=DEBUG --junit-xml=/tmp/results/dtests/pytest_result_j11_dtests_offheap.xml -s --cassandra-dir=/home/cassandra/cassandra --keep-test-dir $SPLIT_TESTS 2>&1 | tee /tmp/dtest/stdout.txt
|
||||
- store_test_results:
|
||||
path: /tmp/results
|
||||
- store_artifacts:
|
||||
path: /tmp/dtest
|
||||
destination: dtest_j11_dtests_offheap
|
||||
- store_artifacts:
|
||||
path: ~/cassandra-dtest/logs
|
||||
destination: dtest_j11_dtests_offheap_logs
|
||||
environment:
|
||||
- ANT_HOME: /usr/share/ant
|
||||
- JAVA11_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JAVA8_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- LANG: en_US.UTF-8
|
||||
- KEEP_TEST_DIR: true
|
||||
- DEFAULT_DIR: /home/cassandra/cassandra-dtest
|
||||
- PYTHONIOENCODING: utf-8
|
||||
- PYTHONUNBUFFERED: true
|
||||
- CASS_DRIVER_NO_EXTENSIONS: true
|
||||
- CASS_DRIVER_NO_CYTHON: true
|
||||
- CASSANDRA_SKIP_SYNC: true
|
||||
- DTEST_REPO: https://github.com/apache/cassandra-dtest.git
|
||||
- DTEST_BRANCH: trunk
|
||||
- CCM_MAX_HEAP_SIZE: 1024M
|
||||
- CCM_HEAP_NEWSIZE: 256M
|
||||
- REPEATED_TESTS_STOP_ON_FAILURE: false
|
||||
- REPEATED_UTESTS: null
|
||||
- REPEATED_UTESTS_COUNT: 500
|
||||
- REPEATED_UTESTS_FQLTOOL: null
|
||||
- REPEATED_UTESTS_FQLTOOL_COUNT: 500
|
||||
- REPEATED_UTESTS_LONG: null
|
||||
- REPEATED_UTESTS_LONG_COUNT: 100
|
||||
- REPEATED_UTESTS_STRESS: null
|
||||
- REPEATED_UTESTS_STRESS_COUNT: 500
|
||||
- REPEATED_JVM_DTESTS: null
|
||||
- REPEATED_JVM_DTESTS_COUNT: 500
|
||||
- REPEATED_JVM_UPGRADE_DTESTS: null
|
||||
- REPEATED_JVM_UPGRADE_DTESTS_COUNT: 500
|
||||
- REPEATED_DTESTS: null
|
||||
- REPEATED_DTESTS_COUNT: 500
|
||||
- REPEATED_UPGRADE_DTESTS: null
|
||||
- REPEATED_UPGRADE_DTESTS_COUNT: 25
|
||||
- REPEATED_ANT_TEST_TARGET: testsome
|
||||
- REPEATED_ANT_TEST_CLASS: null
|
||||
- REPEATED_ANT_TEST_METHODS: null
|
||||
- REPEATED_ANT_TEST_COUNT: 500
|
||||
- JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- CASSANDRA_USE_JDK11: true
|
||||
j8_utests_system_keyspace_directory_repeat:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:latest
|
||||
|
|
@ -6078,6 +6480,107 @@ jobs:
|
|||
- JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- CASSANDRA_USE_JDK11: true
|
||||
j11_cqlsh_dtests_py311_vnode:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11:latest
|
||||
resource_class: medium
|
||||
working_directory: ~/
|
||||
shell: /bin/bash -eo pipefail -l
|
||||
parallelism: 4
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
- run:
|
||||
name: Clone Cassandra dtest Repository (via git)
|
||||
command: |
|
||||
git clone --single-branch --branch $DTEST_BRANCH --depth 1 $DTEST_REPO ~/cassandra-dtest
|
||||
- run:
|
||||
name: Configure virtualenv and python Dependencies
|
||||
command: |
|
||||
# note, this should be super quick as all dependencies should be pre-installed in the docker image
|
||||
# if additional dependencies were added to requirmeents.txt and the docker image hasn't been updated
|
||||
# we'd have to install it here at runtime -- which will make things slow, so do yourself a favor and
|
||||
# rebuild the docker image! (it automatically pulls the latest requirements.txt on build)
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
pip3 install --exists-action w --upgrade -r ~/cassandra-dtest/requirements.txt
|
||||
pip3 uninstall -y cqlsh
|
||||
pip3 freeze
|
||||
- run:
|
||||
name: Determine Tests to Run (j11_with_vnodes)
|
||||
no_output_timeout: 5m
|
||||
command: "# reminder: this code (along with all the steps) is independently executed on every circle container\n# so the goal here is to get the circleci script to return the tests *this* container will run\n# which we do via the `circleci` cli tool.\n\ncd cassandra-dtest\nsource ~/env3.11/bin/activate\nexport PATH=$JAVA_HOME/bin:$PATH\n\nif [ -n '' ]; then\n export \nfi\n\necho \"***Collected DTests (j11_with_vnodes)***\"\nset -eo pipefail && ./run_dtests.py --use-vnodes --skip-resource-intensive-tests --pytest-options '-k cql' --dtest-print-tests-only --dtest-print-tests-output=/tmp/all_dtest_tests_j11_with_vnodes_raw --cassandra-dir=../cassandra\nif [ -z '' ]; then\n mv /tmp/all_dtest_tests_j11_with_vnodes_raw /tmp/all_dtest_tests_j11_with_vnodes\nelse\n grep -e '' /tmp/all_dtest_tests_j11_with_vnodes_raw > /tmp/all_dtest_tests_j11_with_vnodes || { echo \"Filter did not match any tests! Exiting build.\"; exit 0; }\nfi\nset -eo pipefail && circleci tests split --split-by=timings --timings-type=classname /tmp/all_dtest_tests_j11_with_vnodes > /tmp/split_dtest_tests_j11_with_vnodes.txt\ncat /tmp/split_dtest_tests_j11_with_vnodes.txt | tr '\\n' ' ' > /tmp/split_dtest_tests_j11_with_vnodes_final.txt\ncat /tmp/split_dtest_tests_j11_with_vnodes_final.txt\n"
|
||||
- run:
|
||||
name: Run dtests (j11_with_vnodes)
|
||||
no_output_timeout: 15m
|
||||
command: |
|
||||
echo "cat /tmp/split_dtest_tests_j11_with_vnodes_final.txt"
|
||||
cat /tmp/split_dtest_tests_j11_with_vnodes_final.txt
|
||||
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
if [ -n 'CQLSH_PYTHON=/usr/bin/python3.11' ]; then
|
||||
export CQLSH_PYTHON=/usr/bin/python3.11
|
||||
fi
|
||||
|
||||
java -version
|
||||
cd ~/cassandra-dtest
|
||||
mkdir -p /tmp/dtest
|
||||
|
||||
echo "env: $(env)"
|
||||
echo "** done env"
|
||||
mkdir -p /tmp/results/dtests
|
||||
# we need the "set -o pipefail" here so that the exit code that circleci will actually use is from pytest and not the exit code from tee
|
||||
export SPLIT_TESTS=`cat /tmp/split_dtest_tests_j11_with_vnodes_final.txt`
|
||||
set -o pipefail && cd ~/cassandra-dtest && pytest --use-vnodes --num-tokens=16 --skip-resource-intensive-tests --log-cli-level=DEBUG --junit-xml=/tmp/results/dtests/pytest_result_j11_with_vnodes.xml -s --cassandra-dir=/home/cassandra/cassandra --keep-test-dir $SPLIT_TESTS 2>&1 | tee /tmp/dtest/stdout.txt
|
||||
- store_test_results:
|
||||
path: /tmp/results
|
||||
- store_artifacts:
|
||||
path: /tmp/dtest
|
||||
destination: dtest_j11_with_vnodes
|
||||
- store_artifacts:
|
||||
path: ~/cassandra-dtest/logs
|
||||
destination: dtest_j11_with_vnodes_logs
|
||||
environment:
|
||||
- ANT_HOME: /usr/share/ant
|
||||
- JAVA11_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JAVA8_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- LANG: en_US.UTF-8
|
||||
- KEEP_TEST_DIR: true
|
||||
- DEFAULT_DIR: /home/cassandra/cassandra-dtest
|
||||
- PYTHONIOENCODING: utf-8
|
||||
- PYTHONUNBUFFERED: true
|
||||
- CASS_DRIVER_NO_EXTENSIONS: true
|
||||
- CASS_DRIVER_NO_CYTHON: true
|
||||
- CASSANDRA_SKIP_SYNC: true
|
||||
- DTEST_REPO: https://github.com/apache/cassandra-dtest.git
|
||||
- DTEST_BRANCH: trunk
|
||||
- CCM_MAX_HEAP_SIZE: 1024M
|
||||
- CCM_HEAP_NEWSIZE: 256M
|
||||
- REPEATED_TESTS_STOP_ON_FAILURE: false
|
||||
- REPEATED_UTESTS: null
|
||||
- REPEATED_UTESTS_COUNT: 500
|
||||
- REPEATED_UTESTS_FQLTOOL: null
|
||||
- REPEATED_UTESTS_FQLTOOL_COUNT: 500
|
||||
- REPEATED_UTESTS_LONG: null
|
||||
- REPEATED_UTESTS_LONG_COUNT: 100
|
||||
- REPEATED_UTESTS_STRESS: null
|
||||
- REPEATED_UTESTS_STRESS_COUNT: 500
|
||||
- REPEATED_JVM_DTESTS: null
|
||||
- REPEATED_JVM_DTESTS_COUNT: 500
|
||||
- REPEATED_JVM_UPGRADE_DTESTS: null
|
||||
- REPEATED_JVM_UPGRADE_DTESTS_COUNT: 500
|
||||
- REPEATED_DTESTS: null
|
||||
- REPEATED_DTESTS_COUNT: 500
|
||||
- REPEATED_UPGRADE_DTESTS: null
|
||||
- REPEATED_UPGRADE_DTESTS_COUNT: 25
|
||||
- REPEATED_ANT_TEST_TARGET: testsome
|
||||
- REPEATED_ANT_TEST_CLASS: null
|
||||
- REPEATED_ANT_TEST_METHODS: null
|
||||
- REPEATED_ANT_TEST_COUNT: 500
|
||||
- JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- CASSANDRA_USE_JDK11: true
|
||||
j8_utests_long_repeat:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:latest
|
||||
|
|
@ -7664,6 +8167,106 @@ jobs:
|
|||
- REPEATED_ANT_TEST_COUNT: 500
|
||||
- JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
j8_cqlsh_dtests_py311_offheap:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:latest
|
||||
resource_class: medium
|
||||
working_directory: ~/
|
||||
shell: /bin/bash -eo pipefail -l
|
||||
parallelism: 4
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/cassandra
|
||||
- run:
|
||||
name: Clone Cassandra dtest Repository (via git)
|
||||
command: |
|
||||
git clone --single-branch --branch $DTEST_BRANCH --depth 1 $DTEST_REPO ~/cassandra-dtest
|
||||
- run:
|
||||
name: Configure virtualenv and python Dependencies
|
||||
command: |
|
||||
# note, this should be super quick as all dependencies should be pre-installed in the docker image
|
||||
# if additional dependencies were added to requirmeents.txt and the docker image hasn't been updated
|
||||
# we'd have to install it here at runtime -- which will make things slow, so do yourself a favor and
|
||||
# rebuild the docker image! (it automatically pulls the latest requirements.txt on build)
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
pip3 install --exists-action w --upgrade -r ~/cassandra-dtest/requirements.txt
|
||||
pip3 uninstall -y cqlsh
|
||||
pip3 freeze
|
||||
- run:
|
||||
name: Determine Tests to Run (j8_dtests_offheap)
|
||||
no_output_timeout: 5m
|
||||
command: "# reminder: this code (along with all the steps) is independently executed on every circle container\n# so the goal here is to get the circleci script to return the tests *this* container will run\n# which we do via the `circleci` cli tool.\n\ncd cassandra-dtest\nsource ~/env3.11/bin/activate\nexport PATH=$JAVA_HOME/bin:$PATH\n\nif [ -n '' ]; then\n export \nfi\n\necho \"***Collected DTests (j8_dtests_offheap)***\"\nset -eo pipefail && ./run_dtests.py --use-vnodes --use-off-heap-memtables --skip-resource-intensive-tests --pytest-options '-k cql' --dtest-print-tests-only --dtest-print-tests-output=/tmp/all_dtest_tests_j8_dtests_offheap_raw --cassandra-dir=../cassandra\nif [ -z '' ]; then\n mv /tmp/all_dtest_tests_j8_dtests_offheap_raw /tmp/all_dtest_tests_j8_dtests_offheap\nelse\n grep -e '' /tmp/all_dtest_tests_j8_dtests_offheap_raw > /tmp/all_dtest_tests_j8_dtests_offheap || { echo \"Filter did not match any tests! Exiting build.\"; exit 0; }\nfi\nset -eo pipefail && circleci tests split --split-by=timings --timings-type=classname /tmp/all_dtest_tests_j8_dtests_offheap > /tmp/split_dtest_tests_j8_dtests_offheap.txt\ncat /tmp/split_dtest_tests_j8_dtests_offheap.txt | tr '\\n' ' ' > /tmp/split_dtest_tests_j8_dtests_offheap_final.txt\ncat /tmp/split_dtest_tests_j8_dtests_offheap_final.txt\n"
|
||||
- run:
|
||||
name: Run dtests (j8_dtests_offheap)
|
||||
no_output_timeout: 15m
|
||||
command: |
|
||||
echo "cat /tmp/split_dtest_tests_j8_dtests_offheap_final.txt"
|
||||
cat /tmp/split_dtest_tests_j8_dtests_offheap_final.txt
|
||||
|
||||
source ~/env3.11/bin/activate
|
||||
export PATH=$JAVA_HOME/bin:$PATH
|
||||
if [ -n 'CQLSH_PYTHON=/usr/bin/python3.11' ]; then
|
||||
export CQLSH_PYTHON=/usr/bin/python3.11
|
||||
fi
|
||||
|
||||
java -version
|
||||
cd ~/cassandra-dtest
|
||||
mkdir -p /tmp/dtest
|
||||
|
||||
echo "env: $(env)"
|
||||
echo "** done env"
|
||||
mkdir -p /tmp/results/dtests
|
||||
# we need the "set -o pipefail" here so that the exit code that circleci will actually use is from pytest and not the exit code from tee
|
||||
export SPLIT_TESTS=`cat /tmp/split_dtest_tests_j8_dtests_offheap_final.txt`
|
||||
set -o pipefail && cd ~/cassandra-dtest && pytest --use-vnodes --num-tokens=16 --use-off-heap-memtables --skip-resource-intensive-tests --log-cli-level=DEBUG --junit-xml=/tmp/results/dtests/pytest_result_j8_dtests_offheap.xml -s --cassandra-dir=/home/cassandra/cassandra --keep-test-dir $SPLIT_TESTS 2>&1 | tee /tmp/dtest/stdout.txt
|
||||
- store_test_results:
|
||||
path: /tmp/results
|
||||
- store_artifacts:
|
||||
path: /tmp/dtest
|
||||
destination: dtest_j8_dtests_offheap
|
||||
- store_artifacts:
|
||||
path: ~/cassandra-dtest/logs
|
||||
destination: dtest_j8_dtests_offheap_logs
|
||||
environment:
|
||||
- ANT_HOME: /usr/share/ant
|
||||
- JAVA11_HOME: /usr/lib/jvm/java-11-openjdk-amd64
|
||||
- JAVA8_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- LANG: en_US.UTF-8
|
||||
- KEEP_TEST_DIR: true
|
||||
- DEFAULT_DIR: /home/cassandra/cassandra-dtest
|
||||
- PYTHONIOENCODING: utf-8
|
||||
- PYTHONUNBUFFERED: true
|
||||
- CASS_DRIVER_NO_EXTENSIONS: true
|
||||
- CASS_DRIVER_NO_CYTHON: true
|
||||
- CASSANDRA_SKIP_SYNC: true
|
||||
- DTEST_REPO: https://github.com/apache/cassandra-dtest.git
|
||||
- DTEST_BRANCH: trunk
|
||||
- CCM_MAX_HEAP_SIZE: 1024M
|
||||
- CCM_HEAP_NEWSIZE: 256M
|
||||
- REPEATED_TESTS_STOP_ON_FAILURE: false
|
||||
- REPEATED_UTESTS: null
|
||||
- REPEATED_UTESTS_COUNT: 500
|
||||
- REPEATED_UTESTS_FQLTOOL: null
|
||||
- REPEATED_UTESTS_FQLTOOL_COUNT: 500
|
||||
- REPEATED_UTESTS_LONG: null
|
||||
- REPEATED_UTESTS_LONG_COUNT: 100
|
||||
- REPEATED_UTESTS_STRESS: null
|
||||
- REPEATED_UTESTS_STRESS_COUNT: 500
|
||||
- REPEATED_JVM_DTESTS: null
|
||||
- REPEATED_JVM_DTESTS_COUNT: 500
|
||||
- REPEATED_JVM_UPGRADE_DTESTS: null
|
||||
- REPEATED_JVM_UPGRADE_DTESTS_COUNT: 500
|
||||
- REPEATED_DTESTS: null
|
||||
- REPEATED_DTESTS_COUNT: 500
|
||||
- REPEATED_UPGRADE_DTESTS: null
|
||||
- REPEATED_UPGRADE_DTESTS_COUNT: 25
|
||||
- REPEATED_ANT_TEST_TARGET: testsome
|
||||
- REPEATED_ANT_TEST_CLASS: null
|
||||
- REPEATED_ANT_TEST_METHODS: null
|
||||
- REPEATED_ANT_TEST_COUNT: 500
|
||||
- JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
- JDK_HOME: /usr/lib/jvm/java-8-openjdk-amd64
|
||||
j8_dtests_repeat:
|
||||
docker:
|
||||
- image: apache/cassandra-testing-ubuntu2004-java11-w-dependencies:latest
|
||||
|
|
@ -9287,6 +9890,10 @@ workflows:
|
|||
requires:
|
||||
- start_j8_cqlsh_tests
|
||||
- j8_build
|
||||
- j8_cqlsh_dtests_py311_vnode:
|
||||
requires:
|
||||
- start_j8_cqlsh_tests
|
||||
- j8_build
|
||||
- j8_cqlsh-dtests-py2-no-vnodes:
|
||||
requires:
|
||||
- start_j8_cqlsh_tests
|
||||
|
|
@ -9299,6 +9906,10 @@ workflows:
|
|||
requires:
|
||||
- start_j8_cqlsh_tests
|
||||
- j8_build
|
||||
- j8_cqlsh_dtests_py311:
|
||||
requires:
|
||||
- start_j8_cqlsh_tests
|
||||
- j8_build
|
||||
- start_j8_cqlsh_tests_offheap:
|
||||
type: approval
|
||||
- j8_cqlsh-dtests-py2-offheap:
|
||||
|
|
@ -9313,6 +9924,10 @@ workflows:
|
|||
requires:
|
||||
- start_j8_cqlsh_tests_offheap
|
||||
- j8_build
|
||||
- j8_cqlsh_dtests_py311_offheap:
|
||||
requires:
|
||||
- start_j8_cqlsh_tests_offheap
|
||||
- j8_build
|
||||
- start_j11_cqlsh_tests:
|
||||
type: approval
|
||||
- j11_cqlsh-dtests-py2-with-vnodes:
|
||||
|
|
@ -9327,6 +9942,10 @@ workflows:
|
|||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j8_build
|
||||
- j11_cqlsh_dtests_py311_vnode:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j8_build
|
||||
- j11_cqlsh-dtests-py2-no-vnodes:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
|
|
@ -9339,6 +9958,10 @@ workflows:
|
|||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j8_build
|
||||
- j11_cqlsh_dtests_py311:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j8_build
|
||||
- start_j11_cqlsh_tests_offheap:
|
||||
type: approval
|
||||
- j11_cqlsh-dtests-py2-offheap:
|
||||
|
|
@ -9353,6 +9976,10 @@ workflows:
|
|||
requires:
|
||||
- start_j11_cqlsh_tests_offheap
|
||||
- j8_build
|
||||
- j11_cqlsh_dtests_py311_offheap:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests_offheap
|
||||
- j8_build
|
||||
java8_pre-commit_tests:
|
||||
jobs:
|
||||
- start_pre-commit_tests:
|
||||
|
|
@ -9479,6 +10106,9 @@ workflows:
|
|||
- j8_cqlsh_dtests_py38_vnode:
|
||||
requires:
|
||||
- j8_build
|
||||
- j8_cqlsh_dtests_py311_vnode:
|
||||
requires:
|
||||
- j8_build
|
||||
- j8_cqlsh-dtests-py2-no-vnodes:
|
||||
requires:
|
||||
- j8_build
|
||||
|
|
@ -9488,6 +10118,9 @@ workflows:
|
|||
- j8_cqlsh_dtests_py38:
|
||||
requires:
|
||||
- j8_build
|
||||
- j8_cqlsh_dtests_py311:
|
||||
requires:
|
||||
- j8_build
|
||||
- start_j8_cqlsh_dtests_offheap:
|
||||
type: approval
|
||||
- j8_cqlsh-dtests-py2-offheap:
|
||||
|
|
@ -9502,6 +10135,10 @@ workflows:
|
|||
requires:
|
||||
- start_j8_cqlsh_dtests_offheap
|
||||
- j8_build
|
||||
- j8_cqlsh_dtests_py311_offheap:
|
||||
requires:
|
||||
- start_j8_cqlsh_dtests_offheap
|
||||
- j8_build
|
||||
- j11_cqlsh-dtests-py2-with-vnodes:
|
||||
requires:
|
||||
- j8_build
|
||||
|
|
@ -9511,6 +10148,9 @@ workflows:
|
|||
- j11_cqlsh_dtests_py38_vnode:
|
||||
requires:
|
||||
- j8_build
|
||||
- j11_cqlsh_dtests_py311_vnode:
|
||||
requires:
|
||||
- j8_build
|
||||
- j11_cqlsh-dtests-py2-no-vnodes:
|
||||
requires:
|
||||
- j8_build
|
||||
|
|
@ -9520,6 +10160,9 @@ workflows:
|
|||
- j11_cqlsh_dtests_py38:
|
||||
requires:
|
||||
- j8_build
|
||||
- j11_cqlsh_dtests_py311:
|
||||
requires:
|
||||
- j8_build
|
||||
- start_j11_cqlsh-dtests-offheap:
|
||||
type: approval
|
||||
- j11_cqlsh-dtests-py2-offheap:
|
||||
|
|
@ -9534,6 +10177,10 @@ workflows:
|
|||
requires:
|
||||
- start_j11_cqlsh-dtests-offheap
|
||||
- j8_build
|
||||
- j11_cqlsh_dtests_py311_offheap:
|
||||
requires:
|
||||
- start_j11_cqlsh-dtests-offheap
|
||||
- j8_build
|
||||
java11_separate_tests:
|
||||
jobs:
|
||||
- start_j11_build:
|
||||
|
|
@ -9591,6 +10238,10 @@ workflows:
|
|||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j11_build
|
||||
- j11_cqlsh_dtests_py311_vnode:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j11_build
|
||||
- j11_cqlsh-dtests-py2-no-vnodes:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
|
|
@ -9603,6 +10254,10 @@ workflows:
|
|||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j11_build
|
||||
- j11_cqlsh_dtests_py311:
|
||||
requires:
|
||||
- start_j11_cqlsh_tests
|
||||
- j11_build
|
||||
- start_j11_cqlsh-dtests-offheap:
|
||||
type: approval
|
||||
- j11_cqlsh-dtests-py2-offheap:
|
||||
|
|
@ -9617,6 +10272,10 @@ workflows:
|
|||
requires:
|
||||
- start_j11_cqlsh-dtests-offheap
|
||||
- j11_build
|
||||
- j11_cqlsh_dtests_py311_offheap:
|
||||
requires:
|
||||
- start_j11_cqlsh-dtests-offheap
|
||||
- j11_build
|
||||
- start_j11_utests_long:
|
||||
type: approval
|
||||
- j11_utests_long:
|
||||
|
|
@ -9696,6 +10355,9 @@ workflows:
|
|||
- j11_cqlsh_dtests_py38_vnode:
|
||||
requires:
|
||||
- j11_build
|
||||
- j11_cqlsh_dtests_py311_vnode:
|
||||
requires:
|
||||
- j11_build
|
||||
- j11_cqlsh-dtests-py2-no-vnodes:
|
||||
requires:
|
||||
- j11_build
|
||||
|
|
@ -9705,6 +10367,9 @@ workflows:
|
|||
- j11_cqlsh_dtests_py38:
|
||||
requires:
|
||||
- j11_build
|
||||
- j11_cqlsh_dtests_py311:
|
||||
requires:
|
||||
- j11_build
|
||||
- start_j11_cqlsh-dtests-offheap:
|
||||
type: approval
|
||||
- j11_cqlsh-dtests-py2-offheap:
|
||||
|
|
@ -9719,6 +10384,10 @@ workflows:
|
|||
requires:
|
||||
- start_j11_cqlsh-dtests-offheap
|
||||
- j11_build
|
||||
- j11_cqlsh_dtests_py311_offheap:
|
||||
requires:
|
||||
- start_j11_cqlsh-dtests-offheap
|
||||
- j11_build
|
||||
- start_utests_long:
|
||||
type: approval
|
||||
- j11_utests_long:
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue