@@ -179,7 +179,7 @@ jobs:
179179 doctest/build/testclusters/docTestCluster-0/logs/*
180180 integ-test/build/testclusters/*/logs/*
181181
182- bwc-tests :
182+ bwc-tests-rolling-upgrade :
183183 needs : Get-CI-Image-Tag
184184 runs-on : ubuntu-latest
185185 strategy :
@@ -190,37 +190,83 @@ jobs:
190190 options : ${{ needs.Get-CI-Image-Tag.outputs.ci-image-start-options }}
191191
192192 steps :
193- - name : Run start commands
194- run : ${{ needs.Get-CI-Image-Tag.outputs.ci-image-start-command }}
195-
196- - uses : actions/checkout@v4
197-
198- - name : Set up JDK ${{ matrix.java }}
199- uses : actions/setup-java@v4
200- with :
201- distribution : ' temurin'
202- java-version : ${{ matrix.java }}
203-
204- - name : Run backward compatibility tests
205- run : |
206- chown -R 1000:1000 `pwd`
207- su `id -un 1000` -c "./scripts/bwctest.sh"
208-
209- - name : Upload test reports
210- if : ${{ always() }}
211- uses : actions/upload-artifact@v4
212- continue-on-error : true
213- with :
214- name : test-reports-ubuntu-latest-${{ matrix.java }}-bwc
215- path : |
216- sql/build/reports/**
217- ppl/build/reports/**
218- core/build/reports/**
219- common/build/reports/**
220- opensearch/build/reports/**
221- integ-test/build/reports/**
222- protocol/build/reports/**
223- legacy/build/reports/**
224- plugin/build/reports/**
225- doctest/build/testclusters/docTestCluster-0/logs/*
226- integ-test/build/testclusters/*/logs/*
193+ - name : Run start commands
194+ run : ${{ needs.Get-CI-Image-Tag.outputs.ci-image-start-command }}
195+
196+ - uses : actions/checkout@v4
197+
198+ - name : Set up JDK ${{ matrix.java }}
199+ uses : actions/setup-java@v4
200+ with :
201+ distribution : ' temurin'
202+ java-version : ${{ matrix.java }}
203+
204+ - name : Run backward compatibility tests in rolling upgrade
205+ run : |
206+ chown -R 1000:1000 `pwd`
207+ su `id -un 1000` -c "./scripts/bwctest-rolling-upgrade.sh"
208+
209+ - name : Upload test reports
210+ if : ${{ always() }}
211+ uses : actions/upload-artifact@v4
212+ continue-on-error : true
213+ with :
214+ name : test-reports-ubuntu-latest-${{ matrix.java }}-bwc
215+ path : |
216+ sql/build/reports/**
217+ ppl/build/reports/**
218+ core/build/reports/**
219+ common/build/reports/**
220+ opensearch/build/reports/**
221+ integ-test/build/reports/**
222+ protocol/build/reports/**
223+ legacy/build/reports/**
224+ plugin/build/reports/**
225+ doctest/build/testclusters/docTestCluster-0/logs/*
226+ integ-test/build/testclusters/*/logs/*
227+
228+ bwc-tests-full-restart :
229+ needs : Get-CI-Image-Tag
230+ runs-on : ubuntu-latest
231+ strategy :
232+ matrix :
233+ java : [21, 24]
234+ container :
235+ image : ${{ needs.Get-CI-Image-Tag.outputs.ci-image-version-linux }}
236+ options : ${{ needs.Get-CI-Image-Tag.outputs.ci-image-start-options }}
237+
238+ steps :
239+ - name : Run start commands
240+ run : ${{ needs.Get-CI-Image-Tag.outputs.ci-image-start-command }}
241+
242+ - uses : actions/checkout@v4
243+
244+ - name : Set up JDK ${{ matrix.java }}
245+ uses : actions/setup-java@v4
246+ with :
247+ distribution : ' temurin'
248+ java-version : ${{ matrix.java }}
249+
250+ - name : Run backward compatibility tests in full restart
251+ run : |
252+ chown -R 1000:1000 `pwd`
253+ su `id -un 1000` -c "./scripts/bwctest-full-restart.sh"
254+
255+ - name : Upload test reports
256+ if : ${{ always() }}
257+ uses : actions/upload-artifact@v4
258+ continue-on-error : true
259+ with :
260+ name : test-reports-ubuntu-latest-${{ matrix.java }}-bwc
261+ path : |
262+ sql/build/reports/**
263+ ppl/build/reports/**
264+ core/build/reports/**
265+ common/build/reports/**
266+ opensearch/build/reports/**
267+ integ-test/build/reports/**
268+ protocol/build/reports/**
269+ legacy/build/reports/**
270+ plugin/build/reports/**
271+ doctest/build/testclusters/docTestCluster-0/logs/*
272+ integ-test/build/testclusters/*/logs/*
0 commit comments