From f9e617a6e798975055b12975f75adfae984d0d5a Mon Sep 17 00:00:00 2001 From: Danny Mccormick Date: Thu, 26 Dec 2024 16:29:10 -0500 Subject: [PATCH] easier debugging --- build.gradle.kts | 30 +++++++++---------- .../python/test-suites/portable/common.gradle | 17 ++++++----- 2 files changed, 24 insertions(+), 23 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 0adb29058479..af8db249034c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -502,40 +502,40 @@ tasks.register("pythonFormatterPreCommit") { } tasks.register("python39PostCommit") { - dependsOn(":sdks:python:test-suites:dataflow:py39:postCommitIT") - dependsOn(":sdks:python:test-suites:direct:py39:postCommitIT") - dependsOn(":sdks:python:test-suites:direct:py39:hdfsIntegrationTest") - dependsOn(":sdks:python:test-suites:direct:py39:azureIntegrationTest") + // dependsOn(":sdks:python:test-suites:dataflow:py39:postCommitIT") + // dependsOn(":sdks:python:test-suites:direct:py39:postCommitIT") + // dependsOn(":sdks:python:test-suites:direct:py39:hdfsIntegrationTest") + // dependsOn(":sdks:python:test-suites:direct:py39:azureIntegrationTest") dependsOn(":sdks:python:test-suites:portable:py39:postCommitPy39") // TODO (https://github.com/apache/beam/issues/23966) // Move this to Python 3.10 test suite once tfx-bsl has python 3.10 wheel. - dependsOn(":sdks:python:test-suites:direct:py39:inferencePostCommitIT") + // dependsOn(":sdks:python:test-suites:direct:py39:inferencePostCommitIT") } tasks.register("python310PostCommit") { - dependsOn(":sdks:python:test-suites:dataflow:py310:postCommitIT") - dependsOn(":sdks:python:test-suites:direct:py310:postCommitIT") + // dependsOn(":sdks:python:test-suites:dataflow:py310:postCommitIT") + // dependsOn(":sdks:python:test-suites:direct:py310:postCommitIT") dependsOn(":sdks:python:test-suites:portable:py310:postCommitPy310") // TODO: https://github.com/apache/beam/issues/22651 // The default container uses Python 3.10. The goal here is to // duild Docker images for TensorRT tests during run time for python versions // other than 3.10 and add these tests in other python postcommit suites. - dependsOn(":sdks:python:test-suites:dataflow:py310:inferencePostCommitIT") + // dependsOn(":sdks:python:test-suites:dataflow:py310:inferencePostCommitIT") } tasks.register("python311PostCommit") { - dependsOn(":sdks:python:test-suites:dataflow:py311:postCommitIT") - dependsOn(":sdks:python:test-suites:direct:py311:postCommitIT") - dependsOn(":sdks:python:test-suites:direct:py311:hdfsIntegrationTest") + // dependsOn(":sdks:python:test-suites:dataflow:py311:postCommitIT") + // dependsOn(":sdks:python:test-suites:direct:py311:postCommitIT") + // dependsOn(":sdks:python:test-suites:direct:py311:hdfsIntegrationTest") dependsOn(":sdks:python:test-suites:portable:py311:postCommitPy311") } tasks.register("python312PostCommit") { - dependsOn(":sdks:python:test-suites:dataflow:py312:postCommitIT") - dependsOn(":sdks:python:test-suites:direct:py312:postCommitIT") - dependsOn(":sdks:python:test-suites:direct:py312:hdfsIntegrationTest") + // dependsOn(":sdks:python:test-suites:dataflow:py312:postCommitIT") + // dependsOn(":sdks:python:test-suites:direct:py312:postCommitIT") + // dependsOn(":sdks:python:test-suites:direct:py312:hdfsIntegrationTest") dependsOn(":sdks:python:test-suites:portable:py312:postCommitPy312") - dependsOn(":sdks:python:test-suites:dataflow:py312:inferencePostCommitITPy312") + // dependsOn(":sdks:python:test-suites:dataflow:py312:inferencePostCommitITPy312") } tasks.register("portablePythonPreCommit") { diff --git a/sdks/python/test-suites/portable/common.gradle b/sdks/python/test-suites/portable/common.gradle index 99b477b2c7db..f5d5b7bbaad3 100644 --- a/sdks/python/test-suites/portable/common.gradle +++ b/sdks/python/test-suites/portable/common.gradle @@ -262,10 +262,11 @@ project.tasks.register("preCommitPy${pythonVersionSuffix}") { project.tasks.register("postCommitPy${pythonVersionSuffix}") { dependsOn = ['setupVirtualenv', "postCommitPy${pythonVersionSuffix}IT", - ':runners:spark:3:job-server:shadowJar', - 'portableLocalRunnerJuliaSetWithSetupPy', - 'portableWordCountSparkRunnerBatch', - 'portableLocalRunnerTestWithRequirementsFile'] + // ':runners:spark:3:job-server:shadowJar', + // 'portableLocalRunnerJuliaSetWithSetupPy', + // 'portableWordCountSparkRunnerBatch', + // 'portableLocalRunnerTestWithRequirementsFile' + ] } project.tasks.register("flinkExamples") { @@ -383,11 +384,11 @@ project.tasks.register("postCommitPy${pythonVersionSuffix}IT") { doLast { def tests = [ - "apache_beam/io/gcp/bigquery_read_it_test.py", - "apache_beam/io/external/xlang_jdbcio_it_test.py", - "apache_beam/io/external/xlang_kafkaio_it_test.py", + // "apache_beam/io/gcp/bigquery_read_it_test.py", + // "apache_beam/io/external/xlang_jdbcio_it_test.py", + // "apache_beam/io/external/xlang_kafkaio_it_test.py", "apache_beam/io/external/xlang_kinesisio_it_test.py", - "apache_beam/io/external/xlang_debeziumio_it_test.py", + // "apache_beam/io/external/xlang_debeziumio_it_test.py", ] def testOpts = ["${tests.join(' ')}"] + ["--log-cli-level=INFO"] def pipelineOpts = [