SEPURI-SAI-KRISHNA opened a new issue, #13158: URL: https://github.com/apache/seatunnel/issues/13158
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22Bug%22) and found no similar issues. This is a remaining case of #12889, which #12895 closed. ### What happened A change that only touches `seatunnel-translation-spark` gets `RUN_ENGINES=["spark"]` (#12812). In that scope `transform-v2-it-part-2` fails on both JDKs with 11 errors like this one, in [this fork run](https://github.com/SEPURI-SAI-KRISHNA/seatunnel/actions/runs/42083768435): ```log org.junit.platform.commons.PreconditionViolationException: None of the supporting TestTemplateInvocationContextProviders [TestCaseInvocationContextProvider] provided a non-empty stream ``` The 11 tests are in `TestSQLIT` (3), `TestTableFilterIT` (2) and `TestDynamicCompileIT` (6). Each is disabled on Spark with `@DisabledOnContainer`, so it has no container left. #12895 fixed this by adding `ContainerSelectionCondition` to the `TestSuiteBase` in `seatunnel-e2e-common`. The transform suites extend a different class, the `TestSuiteBase` in `seatunnel-transforms-v2-e2e-common`, which does not have it. Adding that one extension to the transform `TestSuiteBase` works. I ran the real test classes with `RUN_ENGINES=spark` and no containers: | Test | `dev` | With `ContainerSelectionCondition` | |---|---|---| | `TestTableFilterIT` (2 tests) | `PreconditionViolationException` | skipped | | `TestSQLIT.testNestedType`, `testVectorFunctions`, `testInnerQuery` | `PreconditionViolationException` | skipped | `TestTableFilterIT` is also disabled on Flink, and with `RUN_ENGINES=flink` it goes the same way, from `PreconditionViolationException` to skipped. I did not run `TestDynamicCompileIT` this way, because it starts a mock server container for the class. Its 6 tests use the same annotation. The same job scope also fails `DruidIT.testDruidSink`, for another reason: `fakesource_to_druid.conf` declares `decimal(16, 1)` and the test expects `99999.99999999`, while Spark 3.3.0 sends `100000.0`. #11307 already changes that conf, so I am leaving it there. I would like to submit a PR for the `TestSuiteBase` change. ### SeaTunnel Version dev (df59bb4cd1). I ran the table above on 6191598c29, and the transform E2E modules and the `e2e.common.junit` package have not changed since. The CI run above was on 7c565f3a24, a commit on top of 9f741b9c64 that changes only `seatunnel-translation-spark` and docs. ### SeaTunnel Config ```conf Not applicable, this is E2E test infrastructure. ``` ### Running Command ```shell # The local form of this scope, from #12812. It needs containers, so I did not run it here. RUN_ENGINES=spark ./mvnw -B verify -DskipUT=true -DskipIT=false -pl :seatunnel-transforms-v2-e2e-part-2 -am -Pci ``` ### Error Exception ```log org.junit.platform.commons.PreconditionViolationException: None of the supporting TestTemplateInvocationContextProviders [TestCaseInvocationContextProvider] provided a non-empty stream ``` ### Zeta or Flink or Spark Version Spark 2.4.6 and 3.3.0 in the CI containers ### Java or Scala Version JDK 11 and 17 ### Screenshots _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
