|
49 | 49 | scylla-integration-tests: |
50 | 50 | name: Scylla ITs |
51 | 51 | runs-on: ubuntu-latest |
52 | | - needs: [build-lint-and-unit-test] |
| 52 | + # needs: [build-lint-and-unit-test] |
53 | 53 | timeout-minutes: 90 |
54 | 54 |
|
55 | 55 | strategy: |
@@ -117,29 +117,52 @@ jobs: |
117 | 117 | path: ${{ env.INTEGRATION_TEST_BIN }} |
118 | 118 | key: ${{ env.INTEGRATION_TEST_BIN_CACHE_KEY }} |
119 | 119 |
|
120 | | - - name: Install valgrind |
121 | | - run: make install-valgrind-if-missing |
| 120 | + # - name: Install valgrind |
| 121 | + # run: make install-valgrind-if-missing |
122 | 122 |
|
123 | | - - name: Install binary dependencies |
124 | | - run: make install-bin-dependencies |
| 123 | + # - name: Install binary dependencies |
| 124 | + # run: make install-bin-dependencies |
125 | 125 |
|
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 |
129 | 129 |
|
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 |
136 | 135 |
|
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 }} |
143 | 166 |
|
144 | 167 | cassandra-integration-tests: |
145 | 168 | runs-on: ubuntu-latest |
|
0 commit comments