You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by Hang Ruan <ru...@apache.org> on 2025/12/25 08:47:49 UTC

[Ask Help] Update migration tests failed for Flink 2.2.0

Hi, dev.

I try to follow the `Checklist to declare the process completed`
section in doc https://cwiki.apache.org/confluence/display/FLINK/Creating+a+Flink+Release
for Flink 2.2.0.

But the command `mvn clean package -Pgenerate-migration-test-data
-Dgenerate.version=2.2 -nsu -Dfast -DskipTests` does not generate
enough test files in the `flink-tests` module.

Could anyone help to take a look at this?

FYI:
- 2.1.0 : https://github.com/apache/flink/pull/26855/files
- 2.2.0 : https://github.com/apache/flink/pull/27317

Best,
Hang

Re: [Ask Help] Update migration tests failed for Flink 2.2.0

Posted by Hang Ruan <ru...@apache.org>.
No problem. I will update this part in the wiki.

Best,
Hang

On Mon, Dec 29, 2025 at 5:12 PM Leonard Xu <xb...@gmail.com> wrote:
>
> Thank you, Hang!
>
> Could you kindly update the release wiki ?
>
> Best,
> Leonard
>
> On Mon, Dec 29, 2025 at 5:06 PM Hang Ruan <ru...@apache.org> wrote:
>
> > Hi, dev.
> >
> > Based on the corresponding code, I found the correct operation method.
> > The general steps are as follows:
> >
> > 1. Modify the file
> >
> > `apache/flink:flink-test-utils-parent/flink-migration-test-utils/src/main/resources/most_recently_published_version`
> >
> > 2. Install `flink-test-utils-parent` locally once.
> >
> > 3. Execute `mvn clean package -Pgenerate-migration-test-data
> > -Dgenerate.version=xxx -nsu -Dfast -DskipTests`
> >
> > Hopefully, this will help with future releases of RM.
> >
> > On Thu, Dec 25, 2025 at 4:47 PM Hang Ruan <ru...@apache.org> wrote:
> > >
> > > Hi, dev.
> > >
> > > I try to follow the `Checklist to declare the process completed`
> > > section in doc
> > https://cwiki.apache.org/confluence/display/FLINK/Creating+a+Flink+Release
> > > for Flink 2.2.0.
> > >
> > > But the command `mvn clean package -Pgenerate-migration-test-data
> > > -Dgenerate.version=2.2 -nsu -Dfast -DskipTests` does not generate
> > > enough test files in the `flink-tests` module.
> > >
> > > Could anyone help to take a look at this?
> > >
> > > FYI:
> > > - 2.1.0 : https://github.com/apache/flink/pull/26855/files
> > > - 2.2.0 : https://github.com/apache/flink/pull/27317
> > >
> > > Best,
> > > Hang
> >

Re: [Ask Help] Update migration tests failed for Flink 2.2.0

Posted by Leonard Xu <xb...@gmail.com>.
Thank you, Hang!

Could you kindly update the release wiki ?

Best,
Leonard

On Mon, Dec 29, 2025 at 5:06 PM Hang Ruan <ru...@apache.org> wrote:

> Hi, dev.
>
> Based on the corresponding code, I found the correct operation method.
> The general steps are as follows:
>
> 1. Modify the file
>
> `apache/flink:flink-test-utils-parent/flink-migration-test-utils/src/main/resources/most_recently_published_version`
>
> 2. Install `flink-test-utils-parent` locally once.
>
> 3. Execute `mvn clean package -Pgenerate-migration-test-data
> -Dgenerate.version=xxx -nsu -Dfast -DskipTests`
>
> Hopefully, this will help with future releases of RM.
>
> On Thu, Dec 25, 2025 at 4:47 PM Hang Ruan <ru...@apache.org> wrote:
> >
> > Hi, dev.
> >
> > I try to follow the `Checklist to declare the process completed`
> > section in doc
> https://cwiki.apache.org/confluence/display/FLINK/Creating+a+Flink+Release
> > for Flink 2.2.0.
> >
> > But the command `mvn clean package -Pgenerate-migration-test-data
> > -Dgenerate.version=2.2 -nsu -Dfast -DskipTests` does not generate
> > enough test files in the `flink-tests` module.
> >
> > Could anyone help to take a look at this?
> >
> > FYI:
> > - 2.1.0 : https://github.com/apache/flink/pull/26855/files
> > - 2.2.0 : https://github.com/apache/flink/pull/27317
> >
> > Best,
> > Hang
>

Re: [Ask Help] Update migration tests failed for Flink 2.2.0

Posted by Hang Ruan <ru...@apache.org>.
Hi, dev.

Based on the corresponding code, I found the correct operation method.
The general steps are as follows:

1. Modify the file
`apache/flink:flink-test-utils-parent/flink-migration-test-utils/src/main/resources/most_recently_published_version`

2. Install `flink-test-utils-parent` locally once.

3. Execute `mvn clean package -Pgenerate-migration-test-data
-Dgenerate.version=xxx -nsu -Dfast -DskipTests`

Hopefully, this will help with future releases of RM.

On Thu, Dec 25, 2025 at 4:47 PM Hang Ruan <ru...@apache.org> wrote:
>
> Hi, dev.
>
> I try to follow the `Checklist to declare the process completed`
> section in doc https://cwiki.apache.org/confluence/display/FLINK/Creating+a+Flink+Release
> for Flink 2.2.0.
>
> But the command `mvn clean package -Pgenerate-migration-test-data
> -Dgenerate.version=2.2 -nsu -Dfast -DskipTests` does not generate
> enough test files in the `flink-tests` module.
>
> Could anyone help to take a look at this?
>
> FYI:
> - 2.1.0 : https://github.com/apache/flink/pull/26855/files
> - 2.2.0 : https://github.com/apache/flink/pull/27317
>
> Best,
> Hang