This is an automated email from the ASF dual-hosted git repository.
chamikara pushed a commit to branch transform_service_test_suite
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/transform_service_test_suite
by this push:
new c6a74a0f706 updates
c6a74a0f706 is described below
commit c6a74a0f70659d00aa61cb26eaa9859daf4ae61c
Author: Chamikara Jayalath <[email protected]>
AuthorDate: Mon Feb 12 15:07:19 2024 -0800
updates
---
.../workflows/beam_PostCommit_TransformService_Direct.yml | 1 +
.../groovy/org/apache/beam/gradle/BeamModulePlugin.groovy | 13 ++++++++++---
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/beam_PostCommit_TransformService_Direct.yml
b/.github/workflows/beam_PostCommit_TransformService_Direct.yml
index ce72907c0c7..5efca5b481d 100644
--- a/.github/workflows/beam_PostCommit_TransformService_Direct.yml
+++ b/.github/workflows/beam_PostCommit_TransformService_Direct.yml
@@ -86,6 +86,7 @@ jobs:
-PuseWheelDistribution \
-PpythonVersion=${{ matrix.python_version }} \
--stacktrace \
+ --info \
- name: Archive Python Test Results
uses: actions/upload-artifact@v4
if: failure()
diff --git
a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
index 8307489c604..876875d9ea7 100644
--- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
@@ -2622,8 +2622,12 @@ class BeamModulePlugin implements Plugin<Project> {
def serviceArgs =
project.project(':sdks:python').mapToArgString(expansionServiceOpts)
System.err.println '********** xyz123 BeamModulePlugin: starting
transform service ...'
executable 'sh'
- args '-c', ". ${project.ext.envdir}/bin/activate &&
$pythonDir/scripts/run_expansion_services.sh stop --group_id ${project.name} &&
$pythonDir/scripts/run_expansion_services.sh start $serviceArgs"
- System.err.println '********** xyz123 BeamModulePlugin: DONE
starting transform service ...'
+ args '-c', ". ${project.ext.envdir}/bin/activate &&
$pythonDir/scripts/run_expansion_services.sh stop --group_id ${project.name} &&
$pythonDir/scripts/run_expansion_services.sh start $serviceArgs >
./transform_service_start_log 2>&1"
+ System.err.println '********** xyz123 BeamModulePlugin: DONE
starting transform service LOG:\n'
+ String fileContents = new
File('./transform_service_start_log').text
+ System.err.println fileContents
+ System.err.println "\nEND LOG\n\n"
+
}
}
}
@@ -2662,8 +2666,11 @@ class BeamModulePlugin implements Plugin<Project> {
// teardown test env
System.err.println '********** xyz123 BeamModulePlugin: stopping
transform service ...'
executable 'sh'
- args '-c', ". ${project.ext.envdir}/bin/activate &&
$pythonDir/scripts/run_expansion_services.sh stop --group_id ${project.name}"
+ args '-c', ". ${project.ext.envdir}/bin/activate &&
$pythonDir/scripts/run_expansion_services.sh stop --group_id ${project.name} >
./transform_service_stop_log 2>&1"
System.err.println '********** xyz123 BeamModulePlugin: DONE stopping
transform service ...'
+ String fileContents = new File('./transform_service_stop_log').text
+ System.err.println fileContents
+ System.err.println "\nEND LOG\n\n"
}
setupTask.configure {finalizedBy cleanupTask}