The GitHub Actions job "Build Docker Image" on 
flink-kubernetes-operator.git/flip-504 has failed.
Run started by GitHub user schongloo (triggered by schongloo).

Head commit for run:
9e6fb51d3f03ae259b9ea9fb30553d963796ce83 / schongloo <[email protected]>
[FLIP-504] Test the BlueGreen client and agent against Flink 2.x

The client and agent run inside the user's job, so they have to work on every
Flink major the operator supports. Their tests only ever ran against the
operator's Flink 1.20; under -Dflink.version=<2.x> the client's tests compiled
but failed with NoClassDefFoundError.

- The client depended on flink-kubernetes-operator-api first, and Maven's
  nearest-first-declared rule kept the api's flink-core and flink-annotations at
  1.20 next to Flink 2.x runtime jars. The api's Flink dependencies are now
  excluded, so every Flink jar follows ${flink.version}.
- The agent's tests use stubs, so nothing checked the Flink methods it matches 
by
  name. FlinkContractTest checks execute(StreamGraph) on 
StreamExecutionEnvironment
  and StreamContextEnvironment, and that getConfiguration() returns a
  Configuration, against the Flink on the classpath. A renamed method would
  otherwise make the agent silently intercept nothing.
- CI runs both modules' tests against Flink 2.0.1, 2.1.1 and 2.2.1 after the
  regular build, which covers 1.20.

Client (39) and agent (6) tests pass on 1.20.4, 2.0.1, 2.1.1 and 2.2.1.

Report URL: 
https://github.com/apache/flink-kubernetes-operator/actions/runs/36793139934

With regards,
GitHub Actions via GitBox

Reply via email to