Skip to content

Commit 929c545

Browse files
committed
foo
1 parent 6337b45 commit 929c545

File tree

2 files changed

+46
-45
lines changed

2 files changed

+46
-45
lines changed

.github/workflows/build-lint-and-test.yml

Lines changed: 43 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
scylla-integration-tests:
5050
name: Scylla ITs
5151
runs-on: ubuntu-latest
52-
needs: [build-lint-and-unit-test]
52+
# needs: [build-lint-and-unit-test]
5353
timeout-minutes: 90
5454

5555
strategy:
@@ -117,29 +117,52 @@ jobs:
117117
path: ${{ env.INTEGRATION_TEST_BIN }}
118118
key: ${{ env.INTEGRATION_TEST_BIN_CACHE_KEY }}
119119

120-
- name: Install valgrind
121-
run: make install-valgrind-if-missing
120+
# - name: Install valgrind
121+
# run: make install-valgrind-if-missing
122122

123-
- name: Install binary dependencies
124-
run: make install-bin-dependencies
123+
# - name: Install binary dependencies
124+
# run: make install-bin-dependencies
125125

126-
- name: Run integration tests on Scylla ${{ steps.scylla-version.outputs.value }}
127-
id: run-integration-tests
128-
run: SCYLLA_VERSION="release:${{ steps.scylla-version.outputs.value }}" make run-test-integration-scylla
126+
# - name: Run integration tests on Scylla ${{ steps.scylla-version.outputs.value }}
127+
# id: run-integration-tests
128+
# run: SCYLLA_VERSION="release:${{ steps.scylla-version.outputs.value }}" make run-test-integration-scylla
129129

130-
- name: Upload test logs
131-
uses: actions/upload-artifact@v4
132-
if: steps.run-integration-tests.outcome == 'failure'
133-
with:
134-
name: test-logs-scylla-${{ matrix.scylla-version }}
135-
path: ./log/*
130+
- name: Run cluster using ccm (commands copied directly from IT run)
131+
run: |
132+
ccm create --scylla -n 1:0 -i 127.0.0. --version=release:${{ steps.scylla-version.outputs.value }} -b cpp-driver_${{ steps.scylla-version.outputs.value }}_1-0
133+
ccm updateconf --rt=10000 read_request_timeout_in_ms:10000 write_request_timeout_in_ms:10000 request_timeout_in_ms:10000 phi_convict_threshold:16 hinted_handoff_enabled:false enable_materialized_views:true dynamic_snitch_update_interval_in_ms:1000 native_transport_max_threads:1 concurrent_reads:2 concurrent_writes:2 concurrent_compactors:1 compaction_throughput_mb_per_sec:0 key_cache_size_in_mb:0 key_cache_save_period:0 memtable_flush_writers:1 max_hints_delivery_threads:1 cas_contention_timeout_in_ms:10000 file_cache_size_in_mb:0
134+
ccm start --wait-other-notice --wait-for-binary-proto --jvm_arg=--skip-wait-for-gossip-to-settle=0
136135
137-
- name: Upload CCM logs
138-
uses: actions/upload-artifact@v4
139-
if: failure()
140-
with:
141-
name: ccm-log-scylla-${{ matrix.scylla-version }}
142-
path: ${{ env.CCM_LOGS_PATTERN }}
136+
- name: print used ports
137+
if: always()
138+
run: |
139+
sudo apt-get install net-tools
140+
netstat -tulpn
141+
142+
- name: Some ccm prints
143+
if: always()
144+
run: |
145+
ccm list
146+
ccm status
147+
ccm node1 show
148+
149+
- name: Scylla logs
150+
if: always()
151+
run: ccm node1 showlog
152+
153+
# - name: Upload test logs
154+
# uses: actions/upload-artifact@v4
155+
# if: steps.run-integration-tests.outcome == 'failure'
156+
# with:
157+
# name: test-logs-scylla-${{ matrix.scylla-version }}
158+
# path: ./log/*
159+
160+
# - name: Upload CCM logs
161+
# uses: actions/upload-artifact@v4
162+
# if: failure()
163+
# with:
164+
# name: ccm-log-scylla-${{ matrix.scylla-version }}
165+
# path: ${{ env.CCM_LOGS_PATTERN }}
143166

144167
cassandra-integration-tests:
145168
runs-on: ubuntu-latest

Makefile

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,7 @@ EMPTY :=
22
SPACE := ${EMPTY} ${EMPTY}
33

44
ifndef SCYLLA_TEST_FILTER
5-
SCYLLA_TEST_FILTER := $(subst ${SPACE},${EMPTY},ClusterTests.*\
6-
:BasicsTests.*\
7-
:ConfigTests.*\
8-
:ConsistencyTwoNodeClusterTests.*\
9-
:ConsistencyThreeNodeClusterTests.*\
10-
:SerialConsistencyTests.*\
11-
:PreparedTests.*\
12-
:CassandraTypes/CassandraTypesTests/*.Integration_Cassandra_*\
13-
:BatchSingleNodeClusterTests*:BatchCounterSingleNodeClusterTests*:BatchCounterThreeNodeClusterTests*\
14-
:ErrorTests.*\
15-
:SslNoClusterTests*:SslNoSslOnClusterTests*\
16-
:SchemaMetadataTest.*KeyspaceMetadata:SchemaMetadataTest.*MetadataIterator:SchemaMetadataTest.*View*\
17-
:TracingTests.*\
18-
:ByNameTests.*\
19-
:CompressionTests.*\
20-
:LoggingTests.*\
21-
:PreparedMetadataTests.*\
22-
:UseKeyspaceCaseSensitiveTests.*\
23-
:-PreparedTests.Integration_Cassandra_PreparedIDUnchangedDuringReprepare\
24-
:ExecutionProfileTest.InvalidName\
25-
:*NoCompactEnabledConnection\
26-
:PreparedMetadataTests.Integration_Cassandra_AlterDoesntUpdateColumnCount\
27-
:UseKeyspaceCaseSensitiveTests.Integration_Cassandra_ConnectWithKeyspace)
5+
SCYLLA_TEST_FILTER := $(subst ${SPACE},${EMPTY},BasicsTests.Integration_Cassandra_Timestamps)
286
endif
297

308
ifndef CASSANDRA_TEST_FILTER
@@ -55,7 +33,7 @@ CASSANDRA_TEST_FILTER := $(subst ${SPACE},${EMPTY},ClusterTests.*\
5533
endif
5634

5735
ifndef CCM_COMMIT_ID
58-
export CCM_COMMIT_ID := 81076bce792a0fb3f2050e4c209a93e4a62ab55f
36+
export CCM_COMMIT_ID := master
5937
endif
6038

6139
ifndef SCYLLA_VERSION
@@ -203,7 +181,7 @@ else
203181
run-test-integration-scylla: build-integration-test-bin
204182
endif
205183
@echo "Running integration tests on scylla ${SCYLLA_VERSION}"
206-
valgrind --error-exitcode=123 --leak-check=full --errors-for-leak-kinds=definite build/cassandra-integration-tests --scylla --version=${SCYLLA_VERSION} --category=CASSANDRA --verbose=ccm --gtest_filter="${SCYLLA_TEST_FILTER}"
184+
valgrind --error-exitcode=123 --leak-check=full --errors-for-leak-kinds=definite build/cassandra-integration-tests --scylla --version=${SCYLLA_VERSION} --category=CASSANDRA --verbose=ccm --keep-clusters --gtest_filter="${SCYLLA_TEST_FILTER}"
207185
@echo "Running timeout sensitive tests on scylla ${SCYLLA_VERSION}"
208186
build/cassandra-integration-tests --scylla --version=${SCYLLA_VERSION} --category=CASSANDRA --verbose=ccm --gtest_filter="AsyncTests.Integration_Cassandra_Simple"
209187

0 commit comments

Comments
 (0)