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

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

XMLWordPrintable

      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)
      

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

              Created:
              Updated:
              Resolved: