Skip to content

Bump org.mockito:mockito-core from 4.11.0 to 5.0.0 #680

Bump org.mockito:mockito-core from 4.11.0 to 5.0.0

Bump org.mockito:mockito-core from 4.11.0 to 5.0.0 #680

Re-run triggered September 19, 2024 08:36
Status Failure
Total duration 2m 8s
Artifacts

ci.yml

on: pull_request
Matrix: test-jdk8
Matrix: test-oracle
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

30 errors
Test OpenJDK 8 on ubuntu-latest
Process completed with exit code 1.
Test Oracle JDK 8 with KCMS=false
Process completed with exit code 1.
ProfileDeferralActivatorTest.testSpiRegistration: imageio/imageio-core/src/test/java/com/twelvemonkeys/imageio/color/ProfileDeferralActivatorTest.java#L21
Mockito cannot mock this class: class javax.imageio.spi.ServiceRegistry. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21.0.4+7-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-LTS JVM info : mixed mode, sharing OS name : Linux OS version : 6.8.0-1014-azure You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class javax.imageio.spi.ServiceRegistry, class java.lang.Object]
BufferedChannelImageInputStreamFileCacheTest.testClose: imageio/imageio-core/src/test/java/com/twelvemonkeys/imageio/stream/BufferedChannelImageInputStreamFileCacheTest.java#L409
Mockito cannot mock this class: interface com.twelvemonkeys.imageio.stream.Cache. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21.0.4+7-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-LTS JVM info : mixed mode, sharing OS name : Linux OS version : 6.8.0-1014-azure You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface java.nio.channels.SeekableByteChannel, interface java.io.Closeable, interface com.twelvemonkeys.imageio.stream.Cache, interface java.nio.channels.Channel, interface java.nio.channels.WritableByteChannel, interface java.nio.channels.ReadableByteChannel, interface java.nio.channels.ByteChannel]
BufferedChannelImageInputStreamMemoryCacheTest.testClose: imageio/imageio-core/src/test/java/com/twelvemonkeys/imageio/stream/BufferedChannelImageInputStreamMemoryCacheTest.java#L427
Mockito cannot mock this class: interface com.twelvemonkeys.imageio.stream.Cache. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21.0.4+7-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-LTS JVM info : mixed mode, sharing OS name : Linux OS version : 6.8.0-1014-azure You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface java.nio.channels.SeekableByteChannel, interface java.io.Closeable, interface com.twelvemonkeys.imageio.stream.Cache, interface java.nio.channels.Channel, interface java.nio.channels.WritableByteChannel, interface java.nio.channels.ReadableByteChannel, interface java.nio.channels.ByteChannel]
BufferedChannelImageInputStreamTest.testCloseChannel: imageio/imageio-core/src/test/java/com/twelvemonkeys/imageio/stream/BufferedChannelImageInputStreamTest.java#L406
Mockito cannot mock this class: interface java.nio.channels.SeekableByteChannel. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21.0.4+7-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-LTS JVM info : mixed mode, sharing OS name : Linux OS version : 6.8.0-1014-azure You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface java.nio.channels.SeekableByteChannel, interface java.io.Closeable, interface java.nio.channels.Channel, interface java.nio.channels.WritableByteChannel, interface java.nio.channels.ReadableByteChannel, interface java.nio.channels.ByteChannel]
BufferedFileImageInputStreamTest.testClose: imageio/imageio-core/src/test/java/com/twelvemonkeys/imageio/stream/BufferedFileImageInputStreamTest.java#L408
Mockito cannot mock this class: class java.io.RandomAccessFile. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21.0.4+7-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-LTS JVM info : mixed mode, sharing OS name : Linux OS version : 6.8.0-1014-azure You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, class java.io.RandomAccessFile, interface java.io.DataInput, interface java.io.Closeable, class java.lang.Object, interface java.io.DataOutput]
BufferedImageInputStreamTest.testClose: imageio/imageio-core/src/test/java/com/twelvemonkeys/imageio/stream/BufferedImageInputStreamTest.java#L323
Mockito cannot mock this class: interface javax.imageio.stream.ImageInputStream. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21.0.4+7-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-LTS JVM info : mixed mode, sharing OS name : Linux OS version : 6.8.0-1014-azure You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface java.io.DataInput, interface javax.imageio.stream.ImageInputStream, interface java.io.Closeable]
DirectImageInputStreamTest.testClose: imageio/imageio-core/src/test/java/com/twelvemonkeys/imageio/stream/DirectImageInputStreamTest.java#L374
Mockito cannot mock this class: class java.io.InputStream. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21.0.4+7-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-LTS JVM info : mixed mode, sharing OS name : Linux OS version : 6.8.0-1014-azure You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, class java.io.InputStream, interface java.io.Closeable, class java.lang.Object]
Test Oracle JDK 8 with KCMS=true
The job was canceled because "false" failed.
Test Oracle JDK 8 with KCMS=true
Process completed with exit code 1.
Test OpenJDK 21 on ubuntu-latest
Process completed with exit code 1.
ProfileDeferralActivatorTest.testSpiRegistration: imageio/imageio-core/src/test/java/com/twelvemonkeys/imageio/color/ProfileDeferralActivatorTest.java#L21
Mockito cannot mock this class: class javax.imageio.spi.ServiceRegistry. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21.0.4+7-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-LTS JVM info : mixed mode OS name : Mac OS X OS version : 14.6.1 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class javax.imageio.spi.ServiceRegistry, class java.lang.Object]
BufferedChannelImageInputStreamFileCacheTest.testClose: imageio/imageio-core/src/test/java/com/twelvemonkeys/imageio/stream/BufferedChannelImageInputStreamFileCacheTest.java#L409
Mockito cannot mock this class: interface com.twelvemonkeys.imageio.stream.Cache. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21.0.4+7-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-LTS JVM info : mixed mode OS name : Mac OS X OS version : 14.6.1 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.nio.channels.ReadableByteChannel, interface java.nio.channels.WritableByteChannel, interface java.nio.channels.Channel, interface java.nio.channels.ByteChannel, interface com.twelvemonkeys.imageio.stream.Cache, interface java.lang.AutoCloseable, interface java.nio.channels.SeekableByteChannel, interface java.io.Closeable]
BufferedChannelImageInputStreamMemoryCacheTest.testClose: imageio/imageio-core/src/test/java/com/twelvemonkeys/imageio/stream/BufferedChannelImageInputStreamMemoryCacheTest.java#L427
Mockito cannot mock this class: interface com.twelvemonkeys.imageio.stream.Cache. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21.0.4+7-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-LTS JVM info : mixed mode OS name : Mac OS X OS version : 14.6.1 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.nio.channels.ReadableByteChannel, interface java.nio.channels.WritableByteChannel, interface java.nio.channels.Channel, interface java.nio.channels.ByteChannel, interface com.twelvemonkeys.imageio.stream.Cache, interface java.lang.AutoCloseable, interface java.nio.channels.SeekableByteChannel, interface java.io.Closeable]
BufferedChannelImageInputStreamTest.testCloseChannel: imageio/imageio-core/src/test/java/com/twelvemonkeys/imageio/stream/BufferedChannelImageInputStreamTest.java#L406
Mockito cannot mock this class: interface java.nio.channels.SeekableByteChannel. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21.0.4+7-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-LTS JVM info : mixed mode OS name : Mac OS X OS version : 14.6.1 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.nio.channels.ReadableByteChannel, interface java.nio.channels.WritableByteChannel, interface java.nio.channels.Channel, interface java.nio.channels.ByteChannel, interface java.lang.AutoCloseable, interface java.nio.channels.SeekableByteChannel, interface java.io.Closeable]
BufferedFileImageInputStreamTest.testClose: imageio/imageio-core/src/test/java/com/twelvemonkeys/imageio/stream/BufferedFileImageInputStreamTest.java#L408
Mockito cannot mock this class: class java.io.RandomAccessFile. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21.0.4+7-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-LTS JVM info : mixed mode OS name : Mac OS X OS version : 14.6.1 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class java.lang.Object, interface java.io.DataInput, class java.io.RandomAccessFile, interface java.io.DataOutput, interface java.lang.AutoCloseable, interface java.io.Closeable]
BufferedImageInputStreamTest.testClose: imageio/imageio-core/src/test/java/com/twelvemonkeys/imageio/stream/BufferedImageInputStreamTest.java#L323
Mockito cannot mock this class: interface javax.imageio.stream.ImageInputStream. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21.0.4+7-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-LTS JVM info : mixed mode OS name : Mac OS X OS version : 14.6.1 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.io.DataInput, interface javax.imageio.stream.ImageInputStream, interface java.lang.AutoCloseable, interface java.io.Closeable]
DirectImageInputStreamTest.testClose: imageio/imageio-core/src/test/java/com/twelvemonkeys/imageio/stream/DirectImageInputStreamTest.java#L374
Mockito cannot mock this class: class java.io.InputStream. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21.0.4+7-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-LTS JVM info : mixed mode OS name : Mac OS X OS version : 14.6.1 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class java.lang.Object, class java.io.InputStream, interface java.lang.AutoCloseable, interface java.io.Closeable]
Test OpenJDK 21 on macos-latest
Process completed with exit code 1.
Test OpenJDK 8 on macos-13
Process completed with exit code 1.
ProfileDeferralActivatorTest.testSpiRegistration: imageio\imageio-core\src\test\java\com\twelvemonkeys\imageio\color\ProfileDeferralActivatorTest.java#L21
Mockito cannot mock this class: class javax.imageio.spi.ServiceRegistry. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21.0.4+7-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-LTS JVM info : mixed mode, sharing OS name : Windows Server 2022 OS version : 10.0 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class javax.imageio.spi.ServiceRegistry, class java.lang.Object]
BufferedChannelImageInputStreamFileCacheTest.testClose: imageio\imageio-core\src\test\java\com\twelvemonkeys\imageio\stream\BufferedChannelImageInputStreamFileCacheTest.java#L409
Mockito cannot mock this class: interface com.twelvemonkeys.imageio.stream.Cache. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21.0.4+7-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-LTS JVM info : mixed mode, sharing OS name : Windows Server 2022 OS version : 10.0 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.nio.channels.ByteChannel, interface java.nio.channels.Channel, interface java.lang.AutoCloseable, interface java.io.Closeable, interface java.nio.channels.WritableByteChannel, interface java.nio.channels.SeekableByteChannel, interface java.nio.channels.ReadableByteChannel, interface com.twelvemonkeys.imageio.stream.Cache]
BufferedChannelImageInputStreamMemoryCacheTest.testClose: imageio\imageio-core\src\test\java\com\twelvemonkeys\imageio\stream\BufferedChannelImageInputStreamMemoryCacheTest.java#L427
Mockito cannot mock this class: interface com.twelvemonkeys.imageio.stream.Cache. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21.0.4+7-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-LTS JVM info : mixed mode, sharing OS name : Windows Server 2022 OS version : 10.0 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.nio.channels.ByteChannel, interface java.nio.channels.Channel, interface java.lang.AutoCloseable, interface java.io.Closeable, interface java.nio.channels.WritableByteChannel, interface java.nio.channels.SeekableByteChannel, interface java.nio.channels.ReadableByteChannel, interface com.twelvemonkeys.imageio.stream.Cache]
BufferedChannelImageInputStreamTest.testCloseChannel: imageio\imageio-core\src\test\java\com\twelvemonkeys\imageio\stream\BufferedChannelImageInputStreamTest.java#L406
Mockito cannot mock this class: interface java.nio.channels.SeekableByteChannel. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21.0.4+7-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-LTS JVM info : mixed mode, sharing OS name : Windows Server 2022 OS version : 10.0 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.nio.channels.ByteChannel, interface java.nio.channels.Channel, interface java.lang.AutoCloseable, interface java.io.Closeable, interface java.nio.channels.WritableByteChannel, interface java.nio.channels.SeekableByteChannel, interface java.nio.channels.ReadableByteChannel]
BufferedFileImageInputStreamTest.testClose: imageio\imageio-core\src\test\java\com\twelvemonkeys\imageio\stream\BufferedFileImageInputStreamTest.java#L408
Mockito cannot mock this class: class java.io.RandomAccessFile. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21.0.4+7-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-LTS JVM info : mixed mode, sharing OS name : Windows Server 2022 OS version : 10.0 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface java.io.Closeable, class java.io.RandomAccessFile, interface java.io.DataOutput, interface java.io.DataInput, class java.lang.Object]
BufferedImageInputStreamTest.testClose: imageio\imageio-core\src\test\java\com\twelvemonkeys\imageio\stream\BufferedImageInputStreamTest.java#L323
Mockito cannot mock this class: interface javax.imageio.stream.ImageInputStream. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21.0.4+7-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-LTS JVM info : mixed mode, sharing OS name : Windows Server 2022 OS version : 10.0 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, interface javax.imageio.stream.ImageInputStream, interface java.io.Closeable, interface java.io.DataInput]
DirectImageInputStreamTest.testClose: imageio\imageio-core\src\test\java\com\twelvemonkeys\imageio\stream\DirectImageInputStreamTest.java#L374
Mockito cannot mock this class: class java.io.InputStream. If you're not sure why you're getting this error, please open an issue on GitHub. Java : 21 JVM vendor name : Eclipse Adoptium JVM vendor version : 21.0.4+7-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 21.0.4+7-LTS JVM info : mixed mode, sharing OS name : Windows Server 2022 OS version : 10.0 You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [interface java.lang.AutoCloseable, class java.io.InputStream, interface java.io.Closeable, class java.lang.Object]
Test OpenJDK 21 on windows-latest
Process completed with exit code 1.
Test OpenJDK 8 on windows-latest
Process completed with exit code 1.