Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-71824

run-condition plugin tests fail on Java 21 with EasyMock errors

      Failure messages include:

      [ERROR] Tests run: 22, Failures: 0, Errors: 22, Skipped: 0, Time elapsed: 1.402 s <<< FAILURE! -- in org.jenkins_ci.plugins.run_condition.core.StatusConditionTest
      [ERROR] org.jenkins_ci.plugins.run_condition.core.StatusConditionTest.testStringConstructorInvalidWorst -- Time elapsed: 0.408 s <<< ERROR!
      java.lang.IllegalArgumentException: Could not create type
              at org.easymock.bytebuddy.TypeCache.findOrInsert(TypeCache.java:170)
              at org.easymock.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399)
              at org.easymock.internal.ClassProxyFactory.createProxy(ClassProxyFactory.java:136)
              at org.easymock.internal.MocksControl.createMock(MocksControl.java:108)
              at org.easymock.internal.MocksControl.createMock(MocksControl.java:81)
              at org.easymock.IMocksControl.mock(IMocksControl.java:44)
              at org.easymock.EasyMock.mock(EasyMock.java:70)
      

          [JENKINS-71824] run-condition plugin tests fail on Java 21 with EasyMock errors

          Basil Crow added a comment -

          See https://github.com/easymock/easymock/issues/442 - this passes with EasyMock at commit d8beccd0, so we need to wait for EasyMock 5.2.0 to be released and upgrade the EasyMock dependency to fix this bug.

          Basil Crow added a comment - See https://github.com/easymock/easymock/issues/442 - this passes with EasyMock at commit d8beccd0, so we need to wait for EasyMock 5.2.0 to be released and upgrade the EasyMock dependency to fix this bug.

          Basil Crow added a comment -

          Duplicates JENKINS-71807.

          Basil Crow added a comment - Duplicates JENKINS-71807 .

            Unassigned Unassigned
            markewaite Mark Waite
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: