[ https://issues.apache.org/jira/browse/FLINK-33655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Nuyanzin updated FLINK-33655: ------------------------------------ Description: ASM 9.5 (which has support for java 21) came only with ArchUnit 1.1.0 With current ArchUnit(1.0.1) in case of jdk21 it fails {noformat} mvn clean install -DskipTests -Dfast -Pjava21-target mvn verify -pl flink-architecture-tests/flink-architecture-tests-production/ -Darchunit.freeze.store.default.allowStoreUpdate=false {noformat} like {noformat} {noformat} was: {noformat} 23:21:01.875 [ERROR] org.apache.flink.api.scala.migration.ScalaSerializersMigrationTest.testStableAnonymousClassnameGeneration Time elapsed: 0.209 s <<< FAILURE! org.junit.ComparisonFailure: expected:<...MigrationTest$$anon$[8]> but was:<...MigrationTest$$anon$[1]> at org.junit.Assert.assertEquals(Assert.java:117) at org.junit.Assert.assertEquals(Assert.java:146) at org.apache.flink.api.scala.migration.ScalaSerializersMigrationTest.testStableAnonymousClassnameGeneration(ScalaSerializersMigrationTest.scala:60) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) {noformat} it could/should be skipped in same way it is skipped for java 17 > Upgrade Archunit to 1.1.0+ > -------------------------- > > Key: FLINK-33655 > URL: https://issues.apache.org/jira/browse/FLINK-33655 > Project: Flink > Issue Type: Sub-task > Components: Tests > Affects Versions: 1.19.0 > Reporter: Sergey Nuyanzin > Assignee: Sergey Nuyanzin > Priority: Major > > ASM 9.5 (which has support for java 21) came only with ArchUnit 1.1.0 > With current ArchUnit(1.0.1) in case of jdk21 it fails > {noformat} > mvn clean install -DskipTests -Dfast -Pjava21-target > mvn verify -pl flink-architecture-tests/flink-architecture-tests-production/ > -Darchunit.freeze.store.default.allowStoreUpdate=false > {noformat} > like > {noformat} > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)