[ 
https://issues.apache.org/jira/browse/FLINK-34040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17805575#comment-17805575
 ] 

Matthias Pohl commented on FLINK-34040:
---------------------------------------

:facepalm: The test class is annotated with {{@FailsOnjava17}}. master was 
probably not based on a version of FLINK-33914 where the {{<excludeGroups/>}} 
configuration property was correctly injects.

> ScalaSerializersMigrationTest.testStableAnonymousClassnameGeneration fails in 
> GHA with JDK 17 and 21
> ----------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-34040
>                 URL: https://issues.apache.org/jira/browse/FLINK-34040
>             Project: Flink
>          Issue Type: Sub-task
>          Components: API / Scala, Build System / CI
>    Affects Versions: 1.19.0
>            Reporter: Matthias Pohl
>            Priority: Major
>              Labels: github-actions, test-stability
>
> {code}
> Error: 13:05:23 13:05:23.538 [ERROR] Tests run: 1, Failures: 1, Errors: 0, 
> Skipped: 0, Time elapsed: 0.375 s <<< FAILURE! -- in 
> org.apache.flink.api.scala.migration.ScalaSerializersMigrationTest
> Error: 13:05:23 13:05:23.538 [ERROR] 
> org.apache.flink.api.scala.migration.ScalaSerializersMigrationTest.testStableAnonymousClassnameGeneration
>  -- Time elapsed: 0.371 s <<< FAILURE!
> Jan 07 13:05:23 org.junit.ComparisonFailure: 
> expected:<...MigrationTest$$anon$[8]> but was:<...MigrationTest$$anon$[1]>
> Jan 07 13:05:23       at org.junit.Assert.assertEquals(Assert.java:117)
> Jan 07 13:05:23       at org.junit.Assert.assertEquals(Assert.java:146)
> Jan 07 13:05:23       at 
> org.apache.flink.api.scala.migration.ScalaSerializersMigrationTest.testStableAnonymousClassnameGeneration(ScalaSerializersMigrationTest.scala:60)
> Jan 07 13:05:23       at 
> java.base/java.lang.reflect.Method.invoke(Method.java:580)
> {code}
> The error only happens in the [master GHA 
> nightly|https://github.com/XComp/flink/actions/workflows/nightly-dev.yml] for 
> JDK 17 and 21.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to