@@ -205,7 +205,7 @@ jobs:
205205 fi
206206
207207 - name : Upload agent jar
208- uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
208+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
209209 with :
210210 name : opentelemetry-javaagent.jar
211211 path : javaagent/build/libs/opentelemetry-javaagent-*-SNAPSHOT.jar
@@ -216,14 +216,14 @@ jobs:
216216 mkdir sboms
217217 cp javaagent/build/spdx/*.spdx.json sboms
218218
219- - uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
219+ - uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
220220 name : Upload SBOMs
221221 with :
222222 name : opentelemetry-java-instrumentation-SBOM.zip
223223 path : " sboms/*.json"
224224
225225 test :
226- name : test${{ matrix.test-partition }} (${{ matrix.test-java-version }}, ${{ matrix.vm }})
226+ name : test${{ matrix.test-partition }} (${{ matrix.test-java-version }}, ${{ matrix.vm }}, indy ${{ matrix.test-indy }} )
227227 runs-on : ubuntu-latest
228228 strategy :
229229 matrix :
@@ -233,6 +233,7 @@ jobs:
233233 - 17
234234 - 21
235235 - 23
236+ - 24-ea
236237 vm :
237238 - hotspot
238239 - openj9
@@ -241,8 +242,13 @@ jobs:
241242 - 1
242243 - 2
243244 - 3
245+ test-indy :
246+ - false
247+ - true
244248 exclude :
245249 - vm : ${{ inputs.skip-openj9-tests && 'openj9' || '' }}
250+ - test-java-version : 24-ea
251+ vm : openj9
246252 fail-fast : false
247253 steps :
248254 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -272,7 +278,7 @@ jobs:
272278
273279 # vaadin tests use pnpm
274280 - name : Cache pnpm modules
275- uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
281+ uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
276282 with :
277283 path : ~/.pnpm-store
278284 key : ${{ runner.os }}-test-cache-pnpm-modules
@@ -307,6 +313,7 @@ jobs:
307313 ${{ env.test-tasks }}
308314 -PtestJavaVersion=${{ matrix.test-java-version }}
309315 -PtestJavaVM=${{ matrix.vm }}
316+ -PtestIndy=${{ matrix.test-indy }}
310317 -Porg.gradle.java.installations.paths=${{ steps.setup-test-java.outputs.path }}
311318 -Porg.gradle.java.installations.auto-download=false
312319 ${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
@@ -324,15 +331,22 @@ jobs:
324331 with :
325332 result-encoding : string
326333 script : |
327- const { data: workflow_run } = await github.rest.actions.listJobsForWorkflowRun({
328- owner: context.repo.owner,
329- repo: context.repo.repo,
330- run_id: context.runId,
331- per_page: 100
332- });
333334 const matrix = JSON.parse(process.env.matrix);
334- const job_name = `common / test${ matrix['test-partition'] } (${ matrix['test-java-version'] }, ${ matrix.vm })`;
335- return workflow_run.jobs.find((job) => job.name === job_name).html_url;
335+ const job_name = `common / test${ matrix['test-partition'] } (${ matrix['test-java-version'] }, ${ matrix.vm }, indy ${ matrix['test-indy'] })`;
336+
337+ const workflow_jobs_nested = await github.paginate(
338+ github.rest.actions.listJobsForWorkflowRun,
339+ {
340+ owner: context.repo.owner,
341+ repo: context.repo.repo,
342+ run_id: context.runId,
343+ per_page: 100
344+ },
345+ (response) => {
346+ return response.data;
347+ },
348+ );
349+ return workflow_jobs_nested.flat().find((job) => job.name === job_name).html_url;
336350
337351 - name : Flaky test report
338352 if : ${{ !cancelled() }}
@@ -347,15 +361,15 @@ jobs:
347361
348362 - name : Upload deadlock detector artifacts if any
349363 if : failure()
350- uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
364+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
351365 with :
352- name : deadlock-detector-test-${{ matrix.test-java-version }}-${{ matrix.vm }}-${{ matrix.test-partition }}
366+ name : deadlock-detector-test-${{ matrix.test-java-version }}-${{ matrix.vm }}-${{ matrix.test-partition }}-indy-${{ matrix.test-indy }}
353367 path : /tmp/deadlock-detector-*
354368 if-no-files-found : ignore
355369
356370 - name : Upload jvm crash dump files if any
357371 if : failure()
358- uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
372+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
359373 with :
360374 name : javacore-test-${{ matrix.test-java-version }}-${{ matrix.test-partition }}
361375 path : |
@@ -415,11 +429,11 @@ jobs:
415429 run : ./gradlew :smoke-tests:test -PsmokeTestSuite=none --no-daemon ${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
416430
417431 - name : Test
418- run : ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }}${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
432+ run : ./gradlew :smoke-tests:test -PsmokeTestSuite=${{ matrix.smoke-test-suite }} ${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
419433
420434 - name : Upload jvm crash dump files if any
421435 if : failure()
422- uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
436+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
423437 with :
424438 name : javacore-smoke-test-${{ matrix.smoke-test-suite }}-${{ matrix.os }}
425439 # we expect crash dumps either in root director or in smoke-tests
@@ -489,13 +503,17 @@ jobs:
489503 working-directory : gradle-plugins
490504
491505 - name : Build distro
492- run : ./gradlew build --init-script ../../.github/scripts/local.init.gradle.kts${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
506+ run : ./gradlew build --init-script ../../.github/scripts/local.init.gradle.kts ${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
493507 working-directory : examples/distro
494508
495509 - name : Build extension
496- run : ./gradlew build --init-script ../../.github/scripts/local.init.gradle.kts${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
510+ run : ./gradlew build --init-script ../../.github/scripts/local.init.gradle.kts ${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
497511 working-directory : examples/extension
498512
513+ - name : Build benchmark-overhead
514+ run : ./gradlew assemble ${{ inputs.no-build-cache && ' --no-build-cache' || '' }}
515+ working-directory : benchmark-overhead
516+
499517 - name : Run muzzle check against extension
500518 run : ./gradlew muzzle --init-script ../../.github/scripts/local.init.gradle.kts
501519 working-directory : examples/extension
0 commit comments