This is an automated email from the ASF dual-hosted git repository.

Abacn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 1523d052061 fix TransformService Java 17 setup and IO perf release 
checkout (#40034)
1523d052061 is described below

commit 1523d052061973ba44414fd34845c1019d4e8385
Author: Abdelrahman Ibrahim <[email protected]>
AuthorDate: Sun Sep 6 16:12:56 2026 +0300

    fix TransformService Java 17 setup and IO perf release checkout (#40034)
---
 .../beam_PostCommit_Java_IO_Performance_Tests.json            |  2 +-
 .../beam_PostCommit_TransformService_Direct.json              |  2 +-
 .../workflows/beam_PostCommit_Java_IO_Performance_Tests.yml   | 11 +++++++----
 .github/workflows/beam_PostCommit_TransformService_Direct.yml |  6 +++++-
 4 files changed, 14 insertions(+), 7 deletions(-)

diff --git 
a/.github/trigger_files/beam_PostCommit_Java_IO_Performance_Tests.json 
b/.github/trigger_files/beam_PostCommit_Java_IO_Performance_Tests.json
index 1b1ef86e917..4f9719d7185 100644
--- a/.github/trigger_files/beam_PostCommit_Java_IO_Performance_Tests.json
+++ b/.github/trigger_files/beam_PostCommit_Java_IO_Performance_Tests.json
@@ -1,5 +1,5 @@
 {
   "comment": "Modify this file in a trivial way to cause this test suite to 
run",
-  "modification": 2,
+  "modification": 3,
   "https://github.com/apache/beam/pull/39990": "removing dead code from 
FnApiDoFnRunner"
 }
diff --git a/.github/trigger_files/beam_PostCommit_TransformService_Direct.json 
b/.github/trigger_files/beam_PostCommit_TransformService_Direct.json
index 0942404b0eb..540e8267eaf 100644
--- a/.github/trigger_files/beam_PostCommit_TransformService_Direct.json
+++ b/.github/trigger_files/beam_PostCommit_TransformService_Direct.json
@@ -1,5 +1,5 @@
 {
   "comment": "Modify this file in a trivial way to cause this test suite to 
run",
-  "revision": 3,
+  "revision": 5,
   "https://github.com/apache/beam/pull/39990": "removing dead code from 
FnApiDoFnRunner"
 }
diff --git a/.github/workflows/beam_PostCommit_Java_IO_Performance_Tests.yml 
b/.github/workflows/beam_PostCommit_Java_IO_Performance_Tests.yml
index 383db7e137f..872f0541f39 100644
--- a/.github/workflows/beam_PostCommit_Java_IO_Performance_Tests.yml
+++ b/.github/workflows/beam_PostCommit_Java_IO_Performance_Tests.yml
@@ -75,6 +75,13 @@ jobs:
         comment_phrase: ${{ matrix.job_phrase }} ${{ matrix.test_case }}
         github_token: ${{ secrets.GITHUB_TOKEN }}
         github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }} ${{ 
matrix.test_case }})
+    # Configure the runner from this workflow revision before any later
+    # checkout of a release tag. The release's setup-environment-action may
+    # pin a gradle/actions SHA that Apache no longer allowlists.
+    - name: Setup environment
+      uses: ./.github/actions/setup-environment-action
+      with:
+        java-version: default
     - name: Get Beam latest release
       if: github.event_name == 'schedule' #This has scheduled runs run against 
the latest release
       run: |
@@ -87,10 +94,6 @@ jobs:
         ref: ${{ env.BEAM_VERSION }}
         repository: apache/beam
         persist-credentials: false
-    - name: Setup environment
-      uses: ./.github/actions/setup-environment-action
-      with:
-        java-version: default
     - name: run scheduled javaPostcommitIOPerformanceTests script
       if: github.event_name == 'schedule' #This ensures only scheduled runs 
publish metrics publicly by changing which exportTable is configured
       uses: ./.github/actions/gradle-command-self-hosted-action
diff --git a/.github/workflows/beam_PostCommit_TransformService_Direct.yml 
b/.github/workflows/beam_PostCommit_TransformService_Direct.yml
index ee942bbcab6..742980d8b93 100644
--- a/.github/workflows/beam_PostCommit_TransformService_Direct.yml
+++ b/.github/workflows/beam_PostCommit_TransformService_Direct.yml
@@ -76,7 +76,9 @@ jobs:
       - name: Setup environment
         uses: ./.github/actions/setup-environment-action
         with:
-          java-version: default
+          # Transform Service expansion containers are Java 17
+          # (BeamModulePlugin transformServiceJavaContainerSuffix).
+          java-version: '17'
           python-version: |
             3.10
             ${{ matrix.python_version }}
@@ -85,6 +87,8 @@ jobs:
         with:
           gradle-command: 
:sdks:python:test-suites:direct:xlang:transformServicePythonUsingJava
           arguments: |
+            -PtestJavaVersion=17
+            -Pjava17Home=$JAVA_HOME_17_X64
             -PpythonVersion=${{ matrix.python_version }}
       - name: Archive Python Test Results
         uses: actions/upload-artifact@v7

Reply via email to